Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP GET variables

Name: Anonymous 2008-10-14 19:54

My URLs are currently way too long, so I'm thinking of using index.php as a redirect to other parts of my site. What I had in mind is www.example.com/?nigger. The thing is that I'm using free hosting (inb4 shitstorm), and I have to change hosts once in a while. Are there any server configurations (which support PHP at all) that wouldn't work with this?

Name: Anonymous 2008-10-17 21:04

>>16
My server's definately the most weirdly setup (/a doesn't even redirect to /a/) - And example.org/?nigger won't work (I believe it trys to read a file called .php) - But in most cases it will.

example.org/phpfile/pathinfo will work on most servers which have something like multiviews (or just a rewrite) to change phpfile to phpfile.php (wouldn't work on a default Apache install)
Exception is if there's also a directory called phpfile Apache will probably use that first.

example.org/phpfile.php/pathinfo is uglier but safer than the above.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List