Jump to content

tonyr1988

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tonyr1988's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I need to be able to grab some information from a remote HTML file. All I have so far is: $content = file_get_contents($url); The problem is, I have no idea what to do. I need contents within the <dd> </dd> tags, preferably in an array. I guess I could keep doing a find on <dd> tags and erase everything before it + 4 (for the tag space), and take it up to the </dd> tag, but it seems really drawn out and confusing.... Can I use ereg to do this? I have never done anything with that at all, so I have no clue. Can someone please get me started?
  2. I could've sworn that I did this on a separate project about a year ago, but now I'm thinking that I'm crazy. I need to be able to access the source of a remote HTML file (not PHP source or anything that requires FTP access....just the normal stuff you'd get from a "View Source") and then parse it. Is this even possible? I've been searching Google and various PHP forums, and can't find anything.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.