try adding this for debug reasons.

var_dump($e_number,$e_string); // Tell me what you get
litewarez Reviewed by litewarez on . help with a php script !! hi guyz just for practice i started to code a small script which checks if the remote host or site is online ... and then it gives back the result ... here : http://isonline.warezsociety.org/index.php when i test it on my pc with easyphp everything goes well , but i uploaded the script to my host and many times when i submit a website which doesnt exist it says its online ... on my pc everything was ok never got wrong answer .... any idea ?? Rating: 5