Image

Imagesessodio wrote in Imagephp

Ok, so I basically have a file that looks like this on a remote server:

{HTML} {HEAD} {TITLE} title {/TITLE} {/HEAD} {BODY} {P /P}
{H1} heading one {/H1}
{H2}{SCRIPT LANGUAGE="JavaScript"}
ipa =("111.111.111.111")
pageref=("http://" + ipa + ":84/")
document.write("{a href=" + pageref + "}Click here to go to site{/a}")
document.write ("{P}")
{/SCRIPT}
{/H2}
  {P}
  {P}
  {P}
Ip address = 111.111.111.111 {P}
Updated on Saturday August 9 18:16:51 BST 2003
{/BODY}{/HTML}

Now, that page is created by a server, which then uploads the page to a webserver. How do I specifically take the ip address from the above page, and then load the page that is referanced by the link.

So basically, I want to load index.php on my server, and for that to include the page found at 111.111.111.111:84

Im figuring that there will need to be some sort of system of getting the specific line that contains the full ip address from the above example, and then dumps it into the src for a phpinclude or something. Any ideas would be appreciated. I assume that its a lot simpler than Im making out, and that there is probably a nice easy way to sort it.

Cheers.
Rawson

also, how do i do a plaintext style tag in livejournal?