Jump to content


Photo

Including/Pulling Website Data


  • Please log in to reply
3 replies to this topic

#1 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 26 February 2006 - 10:48 AM

Hi.

Just wondering if anyone can point me in the right direction (anyone who says left, right or straight on will be shot) where my website will just pull in the page using (using php) to include www.uniquesyntax.co.uk and www.uniquesyntax.com ?

Thanks

Hardbyte.

#2 hitman6003

hitman6003
  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 26 February 2006 - 01:30 PM

Straight on to the manual, hang a left to the cURL functions (http://www.php.net/curl), if you don't like that, take a right to file_get_contents (http://www.php.net/file_get_contents) and the other file reading functions.

#3 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 26 February 2006 - 03:12 PM

LOL - thanks for your reply.

Whats the "include" function about? Will this only include files within the webspace?

As uniquesyntax.co.uk and uniquesyntax.com are external, what about fsock?

Thanks - Newbie here...

#4 Hardbyte

Hardbyte
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts
  • LocationMidlands, UK

Posted 27 February 2006 - 09:26 AM

Hi.

How about reading from a text file and modifying it? Then saving it back to the text file. Would this be includes?








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users