Mid-Atlantic Developer Conference - Call for Speakers


Please answer this simple SPAM challenge: nine minus four?
(Example: nine)

The Note You're Voting On

l0rdphi1 at liquefyr dot com
14 years ago
More fun includes files without file extensions.

Simply add that ForceType application/x-httpd-php bit to an Apache .htaccess and you're set.

Oh yea, it gets even better when you play with stuff like the following:


e.g. www.example.com/somepage/55


foreach ( explode('/',$_SERVER['PATH_INFO']) as $pair ) {
$key,$value) = split('=',$pair,2);
$param[$key] = stripslashes($value);

e.g. www.example.com/somepage/param1=value1/param2=value2/etc=etc

Enjoy =)

<< Back to user notes page

To Top