how to set $PHP_SELF ?
Posted: Thu Mar 01, 2007 1:07 pm
Everah | Please use
Please tell me how to set and use
$_SERVER['PHP_SELF'];
$PHP_SELF;
Everah | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
[quote="[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1"][b]3.[/b] Do not make multiple, identical posts. This is viewed as spam and will be deleted.[/quote]
Hi I am using php5 and I don't know how to set PHP_SELF. When I run the following code I am getting dummy.php which I don't know from where it is coming.Code: Select all
<?php
echo $_SERVER['PHP_SELF'];
?>Please tell me how to set and use
$_SERVER['PHP_SELF'];
$PHP_SELF;
Everah | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]