The DNS Guys |
Anycast DNS 25 Nameservers Worldwide |
DNS Failover Host Monitoring & Auto Rollback |
Outbound SMTP Smart Relay, SASL |
| Subversion Hosting OpenID Servers & XMPP |
DNSSEC TSIG & Secondary DNS |
easyRoute53 Amazon Route53 GUI |
![]() ![]() |
Dec 13 2002, 01:03 PM
Post
#1
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 16 Joined: 4-December 02 From: Boston Member No.: 214 |
When i use the following code it does not work.
<FORM ACTION="<?=$PHP_SELF?>" METHOD="post"> I do not get the correct value for the action. I think its some setting in my php.ini file, but don't know which one. |
|
|
|
Dec 13 2002, 03:13 PM
Post
#2
|
|
|
RMS is my Hero ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 632 Joined: 27-September 02 From: Louisiana Member No.: 5 |
it is not a setting in your php.ini file
$php_self is the current page that it is on ...use it when you are posting to the same page you get your information from...try taking out the = sign also. -------------------- My BASIC Signature
10 PRINT "My Signature" 20 GOTO 10 |
|
|
|
Dec 13 2002, 03:34 PM
Post
#3
|
|
|
Whats this Lie-nix Thing? ![]() Group: Members Posts: 16 Joined: 4-December 02 From: Boston Member No.: 214 |
I understand what the command does, i worded my question incorrectly. I have used this before on other webservers and all is fine. I asked about the php.ini file only because someone mentioned global_variables.
I tried taking out the equal sign. I added a space between the question mark and the $ sign, still nothing. When i view the source of the page, its not showing the current page, only shows. FORM ACTION="<? $PHP_SELF ?>" METHOD="post"> |
|
|
|
Dec 13 2002, 03:56 PM
Post
#4
|
|
|
RMS is my Hero ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 632 Joined: 27-September 02 From: Louisiana Member No.: 5 |
you have to set register_globals to On
in your php.ini file....that might fix it -------------------- My BASIC Signature
10 PRINT "My Signature" 20 GOTO 10 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 05:25 AM |