Jump to content

*SOLVED* 404 page referer?


Gonwee

Recommended Posts

Is there a way with PHP to get the link that results in a 404, that way my custom 404 page can pass the info to me threw the mail function?

And will,
[code]
function ($_POST[]);
[/code]
Do the same as
[code]
function ($_POST['a']);
function ($_POST['b']);
function ($_POST['c']):
and so on...
[/code]
Link to comment
Share on other sites

Do you mean is there a way for PHP to find the links that result in a 404 error message. As far as I know there isn't anyway to do that. However you can use $_SERVER['HTTP_REFERER'] this will return the page that the user last came from, so I guess this can help you alittile but there isn't away with PHP to find dead links.
Link to comment
Share on other sites

I have another question. I have a form that will be for updating rows of the table, the stuff is going to go in a textarea and has html tags. Right now it just shows the last bit of it, but in the source it has all the other stuff.

nevermind, i got it(i'm an idiot)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.