Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 10-04-2014, 02:54 PM   #4
Beagle123
Registered User
 
Join Date: Oct 2014
Location: Los Angeles
Posts: 11
You would need to write the code in php to download the header for the webpage, then if it returns a "not found" (404?) error message, have your php script spit out the alternate link. This will be very slow. You may not want to do it. I'd look for an alternative unless this is really low-volume e.g. for your personal use.
__________________
My current business site written in php:


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Beagle123 is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:23 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.