$HTTP_SERVER_RESPONSE
Im using fopen to check for deadlinks in a db i have.
Some domains for whatever reason dont seem to allow the use of fopen() Id like to obtain the response ( if any) generated from the domains that fopen tries and fails to open.
This way if i get a 301, 302, 404 etc I can log it and take the appropriate action.
Does anyone know of something like $HTTP_SERVER_RESPONSE that returns status codes like 301, 404, 302 etc.
Thanks for any suggestions