User Profile

Collapse

Profile Sidebar

Collapse
codejunkie
codejunkie
Last Activity: Mar 9 '08, 10:26 PM
Joined: Jan 22 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • codejunkie
    started a topic Getting URL of IFRAME that is generated by script
    in PHP

    Getting URL of IFRAME that is generated by script

    Iframe is generated on my page by a script like this...

    Code:
    <script src="http://example.com/make_iframe"></script>
    How can I get the source code of the generated iframe (or the URL of it)?

    Help would be greatly appreciated.
    See more | Go to post

  • codejunkie
    started a topic Getting links from feeds
    in PHP

    Getting links from feeds

    My last post was not clear I guess, so here I provide and example.

    I'm trying to get links from feeds, for example this article feed:

    Code:
    <script language="javascript" src="http://js.amazines.com/articlefeed.js?c=,68&t=1&b=1&m=5&h=3&r=0&a=&uid=a62ff736-bcd5-48a8-9d2d-2ad50964deb9"></script>
    Any idea what I should do or any resources on this? I've searched...
    See more | Go to post

  • codejunkie
    started a topic Scan page for all links
    in PHP

    Scan page for all links

    Hello everyone. Matt here.

    I've been struggling to find a solution to this problem. I need to scan a page for ALL and ANY links but preg_match_all as in this script can never do it:
    Code:
    <?php
    $URL = 'http://google.com/search?q=gold';
    
    preg_match_all("/<a href=['\"](.*?)['\"][ ]?/i",file_get_contents($URL),$matches);
    
    print_r($matches[1]);
    ?>
    I...
    See more | Go to post
No activity results to display
Show More
Working...