Jump to content

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
https://forums.phpfreaks.com/topic/6265-solved-404-page-referer/
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
https://forums.phpfreaks.com/topic/6265-solved-404-page-referer/#findComment-22640
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.