Jump to content

[SOLVED] Include PhP output on normal non php HTML server


lynxus

Recommended Posts

Hi guys,

 

Im trying to include the output of a php file into a normal html page.

http://212.125.94.168/imshout/dodata.php

 

What i mean is,

I have a html page. and i want to be able to insert whatever the output of that file is into it.

The problem is the html page is on a non php server, So i want a users  browser to go off run that above file and use the output in its own page.

 

I tried this using javascript but it doesnt work.

<script language="javascript" src="http://212.125.94.168/imshout/dodata.php"></script>

 

Any ideas?

 

Thanks

Graham

I suppose what im trying to say is..

 

That php file echoes "Hello"

 

In my .html page i want to do summat like.

 

---

getoutputfromphp.php how are you.

 

So the page would actually read " Hello how are you "

 

I cant use a php include as the normal HTML page doesnt have php. I would of thought javascript could do it but it doesnt seem to lol

Humm thats what ive tried.

 

What im trying to do is i will be offering data basically to other sites in a small table.

 

I have a php script that outputs this fine.

 

What i want to do though is offer it to other people, people who dont have php support. so somehow i want to give themn code like .. include:http://blaaaa.commoo.php

 

And then it will output ( include what i echo ) into their page.? See what i mean?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.