Posts: 692
Threads: 96
Joined: Oct 2009
Reputation:
15
This is sort of an "under the wraps" idea because I don't want anyone to steal it (yes it's that good). Basically I need to use HTML to get certain text from one page, and print it on another. I know the <span id"---"> of the text that I need on the remote page. Is there any way I can do this?
Posts: 1,150
Threads: 105
Joined: Oct 2009
Reputation:
32
Is this just for a static html page? Or will you have any PHP etc. on it?
Do you know how to make games? Do you know 3d Modeling? If so then visit
Posts: 692
Threads: 96
Joined: Oct 2009
Reputation:
15
12-19-2009, 02:15 PM
(This post was last modified: 12-19-2009, 02:16 PM by RPicard.)
It's my understanding that the code needs to be all HTML. But I can try PHP.
edit- 500th posts!
Posts: 1,150
Threads: 105
Joined: Oct 2009
Reputation:
32
I'm just trying to see if it'll open any vulnerabilities if you use XSS that's why I was asking that. Is it on the same server/webpage? Or are you wanting to pull this from a different site?
Do you know how to make games? Do you know 3d Modeling? If so then visit
Posts: 1,351
Threads: 111
Joined: Oct 2009
Reputation:
40
You could use PHP "file_get_contents" to get source of the other website, and then preg_match or js dom to find the <span id....
and echo/document.write it on the second page.
Posts: 1,351
Threads: 111
Joined: Oct 2009
Reputation:
40
There is no way you can load any type of content from other servers or files with html only, you will need to use php or javascript...
with php the output will be html only.....