View Single Post
Old 01-31-2008, 11:57 AM  
comeplay
Confirmed User
 
comeplay's Avatar
 
Join Date: Nov 2004
Location: Greater Washington DC
Posts: 1,435
quick php question?

Does this make any sense to any of you?

1. I have a PHP site - it loads all pages referencing < head.inc.php >

2. I need a curl feature to include in the < head.inc.php > file that performs 1 of 2 things.

Step 1 - downloads a webpage that contains YES or NO only from a different server and based on the results either:

(a) result = yes (does nothing - page loads as normal)
(b) result = no (forwards the user to a different website address)
__________________
Top virtual hosts for under 10$? www.hostmylife.com | icq 50663030
comeplay is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote