Thread View: alt.irc.mirc.scripts
5 messages
5 total messages
Started by Miguel Carapinha
Tue, 30 Mar 1999 00:00
Running a script automatically when a page loads????
Author: Miguel Carapinha
Date: Tue, 30 Mar 1999 00:00
Date: Tue, 30 Mar 1999 00:00
14 lines
1748 bytes
1748 bytes
hi.. I'd like to know how do I call a script on the server through an HTML page, automatically, when the page loads. I've typed the directive <!--#exec ..........> but it doesn't work.. Please help me... I'd appreciate a lot. Regards Miguel Carpinha miguel@bimotor-gamer.pt
Re: Running a script automatically when a page loads????
Author: Hajo Pflueger
Date: Tue, 30 Mar 1999 00:00
Date: Tue, 30 Mar 1999 00:00
21 lines
2202 bytes
2202 bytes
Hi, > I'd like to know how do I call a script on the server through an HTML page, > automatically, when the page loads. > > I've typed the directive <!--#exec ..........> but it doesn't work.. I think none of the newsgroups you've chosen to extremely crosspost fits your problem. Think before you post. Your HTML-page probably has to be called "something.shtml" instead of "something.html" and your server must be configured to run SSI _and_ to allow the exec-command. Ask your server's admin. See also your errorlog. Cheatah -- I am a signature-virus. Why not copy me into your sig? Come to Cheatah's World at http://cheatah.net/ The World of Linkrotations, Fun and more! Get your OWN FREE Linkrotation!
Re: Running a script automatically when a page loads????
Author: Tim Slattery
Date: Wed, 31 Mar 1999 00:00
Date: Wed, 31 Mar 1999 00:00
24 lines
1800 bytes
1800 bytes
>I'd like to know how do I call a script on the server through an HTML page, >automatically, when the page loads. > >I've typed the directive <!--#exec ..........> but it doesn't work.. > >Please help me... > >I'd appreciate a lot. > >Regards >Miguel Carpinha >miguel@bimotor-gamer.pt Try this: </SCRIPT> <SCRIPT LANGUAGE="JavaScript" EVENT="onload" FOR="window"> [put your JavaScript here] </SCRIPT> -- Tim Slattery Slattery_T@bls.gov
Re: Running a script automatically when a page loads????
Author: No Spam
Date: Wed, 31 Mar 1999 00:00
Date: Wed, 31 Mar 1999 00:00
25 lines
1860 bytes
1860 bytes
Put your script into an IMG tag. Make sure that the script returns a properly formatted image, then you can do whatever you want. <IMG SRC="myscript.cgi"> Miguel Carapinha wrote in message <922808405.999527@orodruin.esoterica.pt>... >hi.. > >I'd like to know how do I call a script on the server through an HTML page, >automatically, when the page loads. > >I've typed the directive <!--#exec ..........> but it doesn't work.. > >Please help me... > >I'd appreciate a lot. > >Regards >Miguel Carpinha >miguel@bimotor-gamer.pt > > > >
Re: Running a script automatically when a page loads????
Author: Erik Morr
Date: Sat, 03 Apr 1999 00:00
Date: Sat, 03 Apr 1999 00:00
48 lines
2551 bytes
2551 bytes
This is a multi-part message in MIME format. --------------F8C6137AAB90686F01D74E48 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try this in the <BODY> tag: <body onLoad="functionname()"> or just insert the code inline. If you need to run a server side code (e.g., asp) just write the code anywhere you need it to run on the page between <% %> tags. Erik. Miguel Carapinha wrote: > hi.. > > I'd like to know how do I call a script on the server through an HTML page, > automatically, when the page loads. > > I've typed the directive <!--#exec ..........> but it doesn't work.. > > Please help me... > > I'd appreciate a lot. > > Regards > Miguel Carpinha > miguel@bimotor-gamer.pt --------------F8C6137AAB90686F01D74E48 Content-Type: text/x-vcard; charset=us-ascii; name="emorr.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Erik Morr Content-Disposition: attachment; filename="emorr.vcf" begin:vcard n:Morr;Erik x-mozilla-html:FALSE org:INDUSTRiNET, INC adr:;;;;;; version:2.1 email;internet:emorr@access1.net title:CTO x-mozilla-cpt:;0 fn:Erik Morr end:vcard --------------F8C6137AAB90686F01D74E48--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads