|
-
Apr 26th, 2004, 03:06 PM
#1
Thread Starter
Addicted Member
2 things. getting source of another site and parsing.
hi. i have two little problems. firstly, how do i get php to get the source code of another website? do i put an iframe in the page, or is there some sort of syntax to do it?
then, (i kind of know this, but just reminded myself...) what is the best way to parse some text out of a big piece of text (which can be in a variable...)
a few ways it could be done which would suit me would be to:
remove all the text beofre a specified point, eg. the text: "hello"
get a bit of text between two other bits of text. so, between "my " and " is", and i want to get "name". yah?
anyway, any help would be great, thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|