KBD

Keith Devens .com

Tuesday, October 7, 2008 Flag waving
QUOTING THE KEYLOGGER TO PISS PEOPLE OFF WHAT ARE YOU GOING TO DO ABOUT IT – Frostituté, Dragonblight (WoW Forums)
← Longhorn's Monad ShellJava 5.0? →

Daily link icon Sunday, July 4, 2004

Relationship between $PHP_SELF, $SCRIPT_NAME, and $PATH_INFO

I always forget this, so now while I think I have it right I'm posting it:

$_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];

← Longhorn's Monad ShellJava 5.0? →

Comments XML gif

Nathaniel (http://www.thornvalley.com) wrote:

Uh... Isn't it the other way around (PATH_INFO first)? Speaking of which... (checks the PHP docs) I don't see PATH_INFO as one of the $_SERVER variables listed (and phpinfo() running on my server seems to confirm this).

Maybe it's just me, though. Smiley 'oh well'

∴ Nathaniel | 5-Jul-2004 7:28pm est | http://www.thornvalley.com | #4927

Nathaniel (http://www.thornvalley.com) wrote:

Oops... I suppose I should post the URL to that documentation.

http://www.php.net/manual/en/reserved.variables.php

∴ Nathaniel | 5-Jul-2004 7:31pm est | http://www.thornvalley.com | #4928

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

new⇒Timesheet Calculator

Have you also seen TSheets.com?...

Time Tracker: Oct 7, 2:00am

new⇒Girls, please don't get breast implants

Hey everyone, 

I am new to this​blog and I have enjoyed reading all​your...

Sarah.M.: Oct 6, 9:45am

obout inc - ASP.NET controls

I like there components. I've got​it to work locally on my pc.​However I'm ...

Jeff: Oct 2, 4:43pm

Dumb substring behavior in C# (and Java)

Yes, the Substring function is not​helpful when you hit the length​problem,...

Mike Irving: Oct 2, 7:56am

Generated in about 0.497s.

(Used 8 db queries)

mobile phone