Thursday, February 5, 2009

Rapid Share Download Hack

how to skip the time countdown when you don’t have the premium account for Rapidshare. With these 2 method which I share with you, then you don’t have to wait more time to download it. To my fellow reader, I will share more Rapidshare link to you for the mp3 download, tutorial, ebooks.

1) Cheat using JavaScript :

  • click FREE button in the download page
  • type exactly in the browser’s address bar and hit ENTER button

javascript:alert(c=0)

  • click OK when a pop up appear on the screen
  • walla !! you light your cigar and wait for the download to finish


2) Changing your IP address

  • Go to command prompt or click START and RUN -WinXP
  • Type this and ENTER, each for the new line

ipconfig /flushdns
ipconfig /release
ipconfig /renew
exit

RSS Writer class


RSS Writer Class is a PHP class that can generate RSS (Rich/RDF Site Summary) XML documents. It extends the XML Writer class to generate XML-RSS documents. It features simplified definitions of channel and item properties, support for defining optional channel graphic images and search form text inputs, support for RSS specification versions 0.9, 0.91, 1.0, and 2.0, support for using namespace modules to extend the document property set, and an optional XSL stylesheet example to automatically view RSS documents as HTML pages in XML capable browsers.

Homepage:
http://www.phpclasses.org/rsswriter
Mirror site:
http://en.static.phpclasses.org/browse/package/560.html
Demo site:
http://www.phpclasses.org/browse/file/1879.html

PHPDevShell

PHPDevShell is a stable, secure, fast PHP Web administration framework. It allows rapid deployment of Web based PHP applications. It is robust, secure, clean, fast, and includes many administrative functions. It supports an unlimited number of users, user groups, security levels, menu tree levels, and menus.

Homepage:
http://www.phpdevshell.org/
Tar/GZ:
http://sourceforge.net/project/showfiles.php?group_id=184502
Tar/BZ2:
http://sourceforge.net/project/showfiles.php?group_id=184502
Zip:
http://sourceforge.net/project/showfiles.php?group_id=184502
Changelog:
http://phpdevshell.org/changelog

Gimphp - Image Class


gimphp is a PHP class library to write Gimp scripts directly in PHP. It uses the gimuse server to drive Gimp. You can use cut and paste Gimp options because concurrency is handled. It also includes an example of use to create cards.

Homepage:
http://www.alternativeoutput.it/gimphp/gimphp.php?lang=en
Tar/GZ:
http://www.alternativeoutput.it/download/gimphp_0.2.0.tgz

xulRecordset - Back to Mozilla


xulRecordset is a project to create XUL widget library with a recordset behaviour, like ADORecordset in Visual Basic. It uses PHP server-side and derived XUL widgets (using XBL) and Javascript client-side. Communication between the client and server is supported by the JPSpan library. An agenda is provided as an example to show how it works. You can move next, move previous, move first, move last, update, remove, add records, etc. The example runs against a MySQL database.

Homepage:
http://xulrecordset.sourceforge.net/
Tar/BZ2:
http://prdownloads.sourceforge.net/[..]ordset/xulRecordset.0.4.tar.bz2?download
Zip:
http://prdownloads.sourceforge.net/[..]lrecordset/xulRecordset.0.4.zip?download
Demo site:
http://xulrecordset.sourceforge.net/demo.html

grafist

Grafist is a bandwidth utilization viewer. It gets the bandwidth utilization information for network interfaces from the /proc/net/dev file in 15-second periods, and stores it in four data files (daily, weekly, monthly, and yearly). When a request is sent to index.php, it executes four programs to create graphics (using the GD library) and a summary for each file. Grafist provides localization support for 24 languages.

Homepage:
http://projects.comu.edu.tr/grafist/
Tar/GZ:
ftp://ftp.comu.edu.tr/[..]/linux/prog/grafist/grafist-2.0.0.tar.gz

Music Player Daemon


Music Player Daemon (MPD) is a server that allows remote access for playing music in various formats and managing playlists. It makes a great desktop player with frontend options (Qt, GTK, ncurses, Windows, and Web clients are available). It is also appropriate as a console player that is scriptable, and is especially useful if X is restarted frequently. A set of rapid development tools for clients are being developed and include a C library, Python module, PHP class, Perl module, and Java Class. The goals are to be easy to install and use, to have minimal resource requirements, to be stable and flexible, and easy to interface.

Homepage:
http://www.musicpd.org/
Tar/GZ:
http://downloads.sourceforge.net/musicpd/mpd-0.14.1.tar.gz
Tar/BZ2:
http://downloads.sourceforge.net/musicpd/mpd-0.14.1.tar.bz2
Debian package:
http://packages.debian.org/mpd

Tuesday, February 3, 2009

phpFreeChat

php Free Chat is a simple, fast, and customizable chat server that uses the filesystem for message and nickname storage. It uses AJAX to smoothly refresh and display the chat zone and the nickname zone. It supports customized CSS stylesheets and a plugin system that allows you to write your own storage routines.

Homepage:
http://www.phpfreechat.net
Tar/GZ:
http://downloads.sourceforge.net/phpfreechat/phpfreechat-1.2.tar.gz
Zip:
http://downloads.sourceforge.net/phpfreechat/phpfreechat-1.2.zip
Changelog:
http://www.phpfreechat.net/changelog/1.2
Bug tracker:
http://sourceforge.net/tracker/?group_id=158880&atid=809601
Mailing list archive:
http://sourceforge.net/mail/?group_id=158880
Demo site:
http://www.phpfreechat.net/demo

Create Excel file with PHP


php_writeexcel is a port of John McNamara's excellent Spreadsheet::WriteExcel Perl package to PHP. It allows you to generate Microsoft Excel documents on your PHP enabled Web server without any other tools.

Home:
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
Tar/GZ:
http://www.bettina-attack.de/[..]oad.php?file=php_writeexcel-0.3.0.tar.gz
Demo site:
http://www.bettina-attack.de/[..]y/view.php/projects/php_writeexcel/demo/

Mollify

Mollify is an AJAX based Web file manager with a clean and customizable user interface and a PHP backend. It is very easy to configure, including multiple fully configurable published directories with aliases.


Homepage:
http://www.jaervelae.com/mollify/
Tar/BZ2:
http://code.google.com/p/mollify/downloads/list
Changelog:
http://code.google.com/p/mollify/wiki/ChangeLog
Bug tracker:
http://code.google.com/p/mollify/issues/list
Mailing list archive:
http://groups.google.com/group/mollified

POP 3 client class


POP 3 client is a PHP class that allows you to access mail boxes using the POP3 protocol. It provides a stream wrapper class for retrieving messages like files using the PHP fopen function, establishes secure connections using TLS, accesses servers using normal and APOP login methods, supports authentication mechanisms such as PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix via Samba) via the PHP SASL library, and supports listing of message sizes, retrieval of a message at once, separating the headers from the body, retrieving a message in small chunks to not exceed the available memory, and deleting messages.

Homepage:
http://www.phpclasses.org/pop3class
Mirror site:
http://en.static.phpclasses.org/browse/package/2.html

media hive 0.9.3.2


The media hive is a streaming media server and Web-based content/playlist manager. It emphasizes usability by making it easy to manage a media catalog that contains multiple media types (mp3, mp4, ogg, flac, mpg, and avi), and by providing a very full-featured playlist. It also emphasizes extensibility by making it easy to develop new media parsers, playlist actions, event handlers, skins, and more. It has an entire custom tag library devoted to skin development, making it simple for the non-developer to create radically different Web-based user interfaces. It has no installation dependencies and runs on multiple platforms.

Homepage:
http://www.mhive.org/
Tar/GZ:
http://www.mhive.org/dist/mhive_unix_0_9_3_2.sh
OS X package:
http://www.mhive.org/dist/mhive_macos_0_9_3_2.dmg

Online html page analyser

URLinfo is a tool for handling web pages: finding information about it, translating it, finding related pages, etc. To use it, type a URL (web page address) into the box in the top frame. Then choose a tab (such as General or Cache), and click on the name of the specific tool you wish to use. The Translate and Search tabs require a bit more, but should be self-explanatory.

URL:http://url-info.appspot.com/

Gmail is not Gmail

Because of a new law suit, Gmail might not be able to keep using the name Gmail.

This is an old news, and Google have already done something to “unload” the name. The changes have been done quietly that the general public may not notice, but not to us developer. For example, because of its change in URL from gmail.google.com/gmail to mail.google.com/mail, gmail-lite and libgmailer failed to use immediately. Fortunately we discovered that and fixed it quickily. And now it seems that you cannot find any references to the word “Gmail” anywhere in its AJAX source code.

Google would probably rename Gmail back to “Google Mail”. Boring name, but safe. After this, I think Google will no longer “invent” new names for its new products. They will keep on using the pattern “Google xxxx”: Google Maps, Google Reader, Google Suggests, Google Desktop, Google OS (okay I faked this one), etc etc. You can see them in Google Labs.

What about all the “hacks” based on it, such as gmail-lite? Should we change to googlemail-lite and libgooglemailer also?

I think I will keep on using this name, unless they, uh, shoot sue me.

Sunday, February 1, 2009

Preventing Directory Listing htaccess

Do you have a directory full of images or zips that you do not want people to be able to browse through? Typically a server is setup to prevent directory listing, but sometimes they are not. If not, become self-sufficient and fix it yourself:

IndexIgnore *

The * is a wildcard that matches all files, so if you stick that line into an htaccess file in your images directory, nothing in that directory will be allowed to be listed.

On the other hand, what if you did want the directory contents to be listed, but only if they were HTML pages and not images? Simple says I:

IndexIgnore *.gif *.jpg

This would return a list of all files not ending in .jpg or .gif, but would still list .txt, .html, etc.

And conversely, if your server is setup to prevent directory listing, but you want to list the directories by default, you could simply throw this into an htaccess file the directory you want displayed:

Options +Indexes

If you do use this option, be very careful that you do not put any unintentional or compromising files in this directory. And if you guessed it by the plus sign before Indexes, you can throw in a minus sign (Options -Indexes) to prevent directory listing entirely--this is typical of most server setups and is usually configured elsewhere in the apache server, but can be overridden through htaccess.

If you really want to be tricky, using the +Indexes option, you can include a default description for the directory listing that is displayed when you use it by placing a file called HEADER in the same directory. The contents of this file will be printed out before the list of directory contents is listed. You can also specify a footer, though it is called README, by placing it in the same directory as the HEADER. The README file is printed out after the directory listing is printed.

Preventing hot linking of your images and other file types

Using .htaccess, you can disallow hot linking on your server, so those attempting to link to an image or CSS file on your site, for example, is either blocked (failed request, such as a broken image) or served a different content (ie: an image of an angry man) . Note that mod_rewrite needs to be enabled on your server in order for this aspect of .htaccess to work. Inquire your web host regarding this.

With all the pieces in place, here's how to disable hot linking of certain file types on your site, in the case below, images, JavaScript (js) and CSS (css) files on your site. Simply add the below code to your .htaccess file, and upload the file either to your root directory, or a particular subdirectory to localize the effect to just one section of your site:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg|js|css)$ - [F]
Be sure to replace "mydomain.com" with your own. The above code creates a failed request when hot linking of the specified file types occurs. In the case of images, a broken image is shown instead.

Serving alternate content when hot linking is detected

You can set up your .htaccess file to actually serve up different content when hot linking occurs. This is more commonly done with images, such as serving up an Angry Man image in place of the hot linked one. The code for this is:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ http://www.mydomain.com/angryman.gif [R,L]

Same deal- replace mydomain.com with your own, plus angryman.gif.

Time to pour a bucket of cold water on hot linking!

IP Restriction htaccess

Block an IP

Is there a pesky person perpetrating pain upon you? Stalking your site from the vastness of the electron void? Blockem! In your htaccess file, add the following code--changing the IPs to suit your needs--each command on one line each:

order allow,deny
deny from 123.45.6.7
deny from 012.34.5.
allow from all

You can deny access based upon IP address or an IP block. The above blocks access to the site from 123.45.6.7, and from any sub domain under the IP block 012.34.5. (012.34.5.1, 012.34.5.2, 012.34.5.3, etc.) I have yet to find a useful application of this, maybe if there is a site scraping your content you can block them, who knows.

You can also set an option for deny from all, which would of course deny everyone. You can also allow or deny by domain name rather than IP address (allow from .nobleatom.com works for www.nobleatom.com or virtual.nobleatom.com, etc.)

General Information about htaccess

Htaccess supports mod_rewrite module of apache.

This file is use to apply particular apache default functions on a directory.

This file can work on both windows and linux apache.

Filename: .htaccess

There can be some difference in writing htaccess for windows hosts as compared to the linux environment.
In some systems you cannot redirect the directory using the htaccess with the rewrite command as follow in linux.

If this file present in the root then all the sub directories will also follow the main root htaccess file. If sub directory also contain htaccess then it will follow its htaccess. So it means that you can write a single or each htaccess file for every directory.

Some usefull commands of htaccess.

1. Redirect through htaccess.

htaccess uses redirect to look for any request for a specific page (or a non-specific location, though this can cause infinite loops) and if it finds that request, it forwards it to a new page you have specified:

Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html

Note that there are 3 parts to that, which should all be on one line : the Redirect command, the location of the file/directory you want redirected relative to the root of your site (/olddirectory/oldfile.html = yoursite.com/olddirectory/oldfile.html) and the full URL of the location you want that request sent to. Each of the 3 is separated by a single space, but all on one line. You can also redirect an entire directory by simple using Redirect /olddirectory http://yoursite.com/newdirectory/

Using this method, you can redirect any number of pages no matter what you do to your directory structure. It is the fastest method that is a global affect.

2. Error Handling.

ErrorDocument code /directory/filename.ext
or
ErrorDocument 404 /errors/notfound.html
This would cause any error code resulting in 404 to be forward to yoursite.com/errors/notfound.html

Likewise with:
ErrorDocument 500 /errors/internalerror.html
Examples:
ErrorDocument 400 /errors/badrequest.html
ErrorDocument 401 /errors/authreqd.html
ErrorDocument 403 /errors/forbid.html
ErrorDocument 404 /errors/notfound.html
ErrorDocument 500 /errors/serverr.html

3. Password Protection

The first thing you will need to do is create a file called .htpasswd. I know, you might have problems with the naming convention, but it is the same idea behind naming the htaccess file itself, and you should be able to do that by this point. In the htpasswd file, you place the username and password (which is encrypted) for those whom you want to have access.

For example, a username and password of wsabstract (and I do not recommend having the username being the same as the password), the htpasswd file would look like this:

wsabstract:y4E7Ep8e7EYV

Notice that it is UserName first, followed by the Password. There is a handy-dandy tool available for you to easily encrypt the password into the proper encoding for use in the httpasswd file.

For security, you should not upload the htpasswd file to a directory that is web accessible (yoursite.com/.htpasswd), it should be placed above your www root directory. You'll be specifying the location to it later on, so be sure you know where you put it. Also, this file, as with htaccess, should be uploaded as ASCII and not BINARY.

Create a new htaccess file and place the following code in it:

AuthUserFile /usr/local/you/safedir/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic

require user wsabstract

The first line is the full server path to your htpasswd file. If you have installed scripts on your server, you should be familiar with this. Please note that this is not a URL, this is a server path. Also note that if you place this htaccess file in your root directory, it will password protect your entire site, which probably isn't your exact goal.

The second to last line require user is where you enter the username of those who you want to have access to that portion of your site. Note that using this will allow only that specific user to be able to access that directory. This applies if you had an htpasswd file that had multiple users setup in it and you wanted each one to have access to an individual directory. If you wanted the entire list of users to have access to that directory, you would replace Require user xxx with require valid-user.

The AuthName is the name of the area you want to access. It could anything, such as "EnterPassword". You can change the name of this 'realm' to whatever you want, within reason.

We are using AuthType Basic because we are using basic HTTP authentication.

These are some basic commands you can use. In my next post I will extend this discussion.
All rights are reserved. Nobleatom.com
Software Development Services.
Contact me: khubabmazhar596@hotmail.com

Web Design Increase Page Rank Internet blogs DigNow.net web directory1Abc DirectorySeo friendly web directory