FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to call external php script from html?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to call external php script from html? [message #173398 is a reply to message #172998] Thu, 07 April 2011 17:08 Go to previous messageGo to previous message
Tobiah is currently offline  Tobiah
Messages: 30
Registered: April 2011
Karma:
Member
> Hi,
>
> well, the php script is a curl script that fetches and displays the
> content of the external site (url defined in code) and should return
> parsed data (echo $html) to the calling page inside a <div> tag. Thus
> when the request data is returned to the calling page it contains the
> content of the external site inside some div. PHP script itself works
> fine, so looking for way to call it directly from the html page.
>
> Regards,

Maybe you should just load the php script into an <iframe>.

Toby
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lookup zip by IP address
Next Topic: browser url with #...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 08:26:19 GMT 2024

Total time taken to generate the page: 0.05002 seconds