![]() |
|
[PHP] [SOURCE]Default 404 Page Retriever - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183) +---- Thread: [PHP] [SOURCE]Default 404 Page Retriever (/showthread.php?tid=4290151) |
[SOURCE]Default 404 Page Retriever - Team4o4 - Jun 16, 2014 Hello everyone! I have just added a feature to my 404 shell that I thought you guys might find useful! This function will retrieve the default 404 page for the current domain, and fix any 'localized' href/src links. A live demo can be found here to show that it works(Make sure to scroll to the bottom): http://www.lakewaymud.org/images/4.php Spoiler (Click to View) This could be used for other people developing shell scripts and want to mock the original domain's 404 page. Not 100% sure if this is the correct section. |