?
Solved

how to load a script ?

Posted on 2000-03-06
4
Medium Priority
?
229 Views
Last Modified: 2013-12-25
Hi there, how can I load a script from within a html page, without clicking somewhere. (The script must run automaticly)
0
Comment
Question by:saskia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Expert Comment

by:maneshr
ID: 2589473
add the foll tag in your HTML page.

<meta http-equiv="refresh" content="5; URL=http://www.informns.k12.mn.us/cgi-bin/somescript.pl">

where 5 is the number of seconds before which the URL you want is loaded
0
 

Author Comment

by:saskia
ID: 2589518
Does that work on any platform and browser, and is it possible to load that in a frame ?
0
 
LVL 16

Expert Comment

by:maneshr
ID: 2589545
sure its an HTML tag which all the major browsers (IE & NS) understand.
0
 
LVL 1

Accepted Solution

by:
stephenblade earned 100 total points
ID: 2590539
Depends on what you wish to accomplish..

But the best way and this will work on any browser out there period Is to use SSI Ask your web hosting service if they allow it and if they do. use the following in your wep page:

<!--Exec cgi "Name of CGI"-->
And the cgi will be executed behind the scenes..

0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question