HELP needed!!! Question about server STATUS code!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Eddy_25
Forum Newbie
Posts: 7
Joined: Mon Mar 22, 2004 2:45 am
Contact:

HELP needed!!! Question about server STATUS code!

Post by Eddy_25 »

Greets!

I'm first timer here and i have a question. I am developing some tracking website, and have few problems.

Is it possible to get server STATUS CODE (404 for not found and so on..) when user tries to get a page from some server on the net. It includes possibility to put a code on that's website dir. I hope you understand what my problem is. For example, when user tries to connect to a http://www.somedomain.com/missing_page.php and he gets "404 Page not found" error, i want to know that. Reading server log file is not possible. Maybe somehow else?

Thank you for your help!
User avatar
softsolvers
Forum Commoner
Posts: 75
Joined: Fri Feb 13, 2004 4:26 am
Location: India

Post by softsolvers »

Hello
Welcome to this forum,this a place where u will certainly found the solution,
Now coming to the point ,i am not getting what ur problem actually is ,will u be more specific .
Eddy_25
Forum Newbie
Posts: 7
Joined: Mon Mar 22, 2004 2:45 am
Contact:

Post by Eddy_25 »

Thanks!

Here is the problem. I'm developing visitor activity tracking software. So, one of requirements me to do that is, after user creates account on my site, to place some php(or html, asp) code on his pages that will send me needed data. That is global idea of how tracking works. Well, now we get to problem - i want also to recieve status codes (404 Not found, 30? Not modified, and so on) when visitors tries to get some pages from his website. Is that possible at all?!

Please also look at my message named "HELP NEEDED 2!!! ... "

Thanks a lot
Post Reply