Jump to content

Screen Scraping Multiple pages

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
6 replies to this topic

#1
tomcromp

tomcromp

    Newbie

  • Members
  • Pip
  • 3 posts
Hello im looking for some help with a php screen scraping script basically im looking to grab; Episode, Title, Type, Production Code, First Aired And Summary. You can see the code im using at http://www.e2tv.tv/p.txt and http://www.e2tv.tv/cScrape.txt but when you go to p.php just shows a blank page. please tell me where im going wrong and how to fix it please.

Cheers
Tom

#2
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
it doesn't echo anything anywhere?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#3
tomcromp

tomcromp

    Newbie

  • Members
  • Pip
  • 3 posts
what would i echo to show the results?

Tom

#4
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
you need to echo everything you want to show up on the page.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#5
tomcromp

tomcromp

    Newbie

  • Members
  • Pip
  • 3 posts
yeah but in that what would i echo?

#6
Guest_Jaan_*

Guest_Jaan_*
  • Guests
Can you show us your code ?

#7
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
Try to echo outside the foreach loop and inside it, to show what is running and not. I suspect that the foreach loop isn't ran at all...
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall