1. Computing

Discuss in my forum

Angela Bradley

By , About.com GuideJune 13, 2006

Follow me on:

$_SERVER[’PHP_SELF’], $_SERVER[’SCRIPT_NAME’], and $_SERVER['REQUEST_URI'] are all very similar... so what exactly is the difference? In this article we expose each to different scenarios and show what they actually return. This will help you better understand the difference between them, so you can determine what will work best for the script you are creating.
Comments
August 18, 2008 at 12:57 am
(1) bwyqg hrgnskb says:

cmbk kzyl bwqykdfnh lchosbd iowvny njdua vdyfocrb

October 10, 2008 at 10:47 am
(2) Ramiro Medina says:

Thanks, this was useful, I didn’t know the difference between PHP_SELF and SCRIPT_NAME.

March 21, 2009 at 3:24 pm
(3) samer says:

thenk you very mach…………….

June 14, 2012 at 1:04 pm
(4) prasad says:

what is the actual difference between PHP_SELF AND SCRIPT_NAME

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Top Related Searches script name request uri

©2013 About.com. All rights reserved.