PDA

View Full Version : Help me .. output of script on calling html page ??



prem
November 30th, 2000, 11:26
Hi
I want to call a script from an html page
<html>
...
..
<http://www.someotherwebsite.com/script-name>
..
</html>

and I want the script to be called and the output of the script ( some text ) to be displayed in place of the script on the html page . The calling html page will not be resting on my server. That is, say I add a footer/signature to my html email <http://www.xyz.com/script-name> I want the script name to be replaced by the output of the script.

How do I do it .. can I do it with perl or javascript .. please tell me as detailed as possible ..
Thanks and regards
Deb

perlboy
November 30th, 2000, 17:20
Javascript is DEFINITELY going to be easier. I haven't got much experiance with that, BUT for perl, you could manipulate an image Library so that it outputed the text as a gif image.

From there you could then have the information within the email.

ashben
December 1st, 2000, 02:36
<html>
:
:
<SCRIPT LANGUAGE="javascript" src="http://www.domain.com/script.inc">
</SCRIPT>
:
:
</html>