[eluser]bilal ghouri[/eluser]
how to Ignore 404 error in get_meta_tags or fopen in PHP ?
I really need to know it..
for example, we have a custom 404 page.
when we use fopen on it, it gives error 404 stream thingy.
is there any way to ignore the error and open the page and fetch its content?
Please help !!
I know I can add a @ to stop warnings, but This wont work.
this will just stop executing the script without any error.
I want the script to be executed even if there is a 404 error, in clear words:
fetch the error 404 page
I am using get_meta_tags to fetch the page(only meta tags) , I tried fopen
I am mainly trying to get the meta tags from the page ( even if it is a custom 404 error page )
Please help !!!!
Thanks in advance