Reply
Errors With Php_self After Host Transfer. Help!!
Old 06-21-2007, 02:11 PM Errors With Php_self After Host Transfer. Help!!
Junior Talker

Posts: 4
Name: Peter
I had my site up and running no problem. I had it on one of my hosting accounts and had the domain name forward to the folder the site was in. Well I decided to just get hosting for the site so i could enjoy some more options. Well now all my forms that had

HTML Code:
<form name="whatever" method="post" actions="<?php echo $_SERVER['PHP_SELF']; ?>">
as the action now do not work correctly. Before they directed to them selves perfectly. such as www.test.com/page.php would goto www.test.com/page.php, but now it goes to just page.php.

I know I can add in the $_SERVER['HTTP_HOST'] to make it work but why is it doing this!?!?

Is there an easier fix?
droopz17 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Reply     « Reply to Errors With Php_self After Host Transfer. Help!!
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 10.10024 seconds with 12 queries