squiggerz Posted July 29, 2007 Share Posted July 29, 2007 Ok, what I'm trying to do is take a page as a query string in a script (ie. http://www.mysite.com/getheaders.php?url=http://www.vid2c.com/show_video.php?video_id=0a82ec5e1e25d1c6df87439b60fe8847&rand=924708232484.5725/) I'm trying to get all the actual files's urls, like on that page I am trying to get the actual urls for the js file, php, 2 swf files, the flv file etc, which I know will have to be in a loop somehow with a regular expression match to find all the links to these files in the code from the original vid2c.com/... url. Is it possible to return the location of these files through the headers using curl? I use LIVE HTTP Headers extension for Firefox, so I know it is possible to get the actual urls for all the files, is it possible to do this through PHP or am I completely off base? Thanks in advance for any insight. SQ Link to comment https://forums.phpfreaks.com/topic/62343-curl-response-headers-or-something-like-that/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.