Posts: 16
Threads: 3
Joined: Oct 2009
Reputation:
0
From the script you gave me just now.
There is 2 127.0.0.1 IP addresses print out on the screen.
Therefore,I guess there is nothing wrong with the script.
Posts: 16
Threads: 3
Joined: Oct 2009
Reputation:
0
Haha...
My original script works for you?
Maybe my version of Apache is more sensitive than your Apache server.
Posts: 1,778
Threads: 163
Joined: Jun 2007
Reputation:
218
10-21-2009, 11:04 AM
(This post was last modified: 10-21-2009, 11:04 AM by Omniscient.)
If you had error_reporting on you probably would have seen why it didn't work. Which is that you can't add the header() function once the page content is served. You would get the "Header Already Sent" error.
I am here to rescue you.
This is Support Forums not Support PMs. Do not PM me for support unless it's private and site related.