$server_url In Php Script On Godaddy Returns My Local Computer, I Want Godaddys Host Returned:?
RSS

$server_url In Php Script On Godaddy Returns My Local Computer, I Want Godaddys Host Returned:?

Category: FAQ   Time: 2009-09-14   Tags: , , , , , , , , ,

Hi
I am running my files on godaddy server/ host.
I am using: $server_url/validate.php, which i send to users to validate there email address.
Problem is, $server_url is returning:http://computer_name/webs…
my code:

Click <a href='$server_url/login/validate.php?a=$… to complete the registration

server_url returns my local computer name when run online, really confused.
I have trie dto find where server_url is initialized but its not initialised anywhere!
shall i just replace server_url with hard coded name of godaddy host?
thanks ina adavce
Tovia Singer

Next: Is There A Domain Name Selling Agency Or Domain Buying Firm?
Previous: What Would Be A Good Domain Name For A Website? I’m In The Real Estate And Loan Business.?
"$server_url In Php Script On Godaddy Returns My Local Computer, I Want Godaddys Host Returned:?" was posted on Monday, September 14th, 2009 at 3:32 am.

2 Responses to “$server_url In Php Script On Godaddy Returns My Local Computer, I Want Godaddys Host Returned:?”
  1. JoelKatz(2009-09-14):

    I wouldn’t. I would just do:
    href=”/login/valid…

  2. *Courtny & Ivy BFFL!!*(2009-09-14):

    i dont understand what you are talking about or i would help you

Leave a Reply

 
Recent Posts
Random Posts