Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2007-05-11, 03:18 PM   #4
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
Damn, if no one else has anything... with PHP, I guess I'd start with something like this:

Code:
$file = file($url); // get file contents
if ( eregi("http://www.somedomain.com/some-page.htm", $file) ) { 
DO SOMETHING
} // if file has url
You can use it both ways. Regex in the eregi function would allow you to check for valid links, but my brain is too mushy to think about that right now.

I imagine that's not quite what you're looking for though.
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
 


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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:42 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc