Quick Questions
Hi all,
Just a couple of quick questions:
Firstly I have a html page which calls
a cgi script. The script can take up to
a minute to complete. I just want to put
a message on the screen saying something
like "..please wait... processing.." just
to stop people thinking nothing is happening. If I put it into the html page
before the script is called it disappears.
Any Ideas?
Secondly I am about to move a new website
to permanent webspace after testing. I have
quite a few cgi scripts on the site some
will work in both Unix & NT which OS do you
think is better to go for?
Any help would be greatly appreciated -
Many thanks in advance.
Regards
Steve
Orpheus posted this at 19:16 — 26th March 2000.
They have: 568 posts
Joined: Nov 1999
I think you should use an autoreload tag in the HTML or some javascript that will disapear after it loads.
And UNIX will always beat windows NT. Perl was meant to run on UNIX.
Rob Pengelly posted this at 19:23 — 26th March 2000.
They have: 850 posts
Joined: Jul 1999
For the first question, you could just edit your script and add somthing simple like:
print "Content-type:text/html\n\n";
print "Status: Processing...<br>";
--Have script here--
print "Status: Done<br>":
------------------
The most used and accepted excuse for missing classes in University is "My Grandmother Died".
http://www.wiredstart.com : The Technology Start Page
http://www.thehungersite.com - http://www.therainforestsite.com
http://www.ratemymullet.com - Beauty is only mullet deep.
fairhousing posted this at 21:12 — 26th March 2000.
They have: 1,587 posts
Joined: Mar 1999
u could have a javascript alert box pop up to let them know to be patient.
use unix
------------------
CLICK 4 some tested resources for making money $, hosting, and web promotions.
Traffic-Website.com free traffic, affiliate programs, hosting, & domain names.
My Site got hacked, but i'm coming back?
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.