Current location: Hot Scripts Forums » Programming Languages » PHP » looking for a simple command (not a script)


looking for a simple command (not a script)

Reply
  #1 (permalink)  
Old 12-20-05, 08:54 PM
id10tn00b's Avatar
id10tn00b id10tn00b is offline
Newbie Coder
 
Join Date: Oct 2004
Location: new mexico
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
looking for a simple command (not a script)

i am writing a script that will show output slowly. like youre reading it over a 300bps modem at 1/4 speed or slower. i can make the script but i must be searching for the wrong terms because i cant seem to find the statement, command whatever that will make a pause or wait or ??

once i know, i can use a while loop to read the input for output. maybe i can use a for loop to make the pause, or is there a better way?

you may be asking why i would do this... its for a website. one thats reallyslow

thanks.
__________________
http://www.yougetalife.com
i <?php therefore $i == am;
http://www.coredumpcomputerservice.com
Reply With Quote
  #2 (permalink)  
Old 12-20-05, 09:33 PM
Keith's Avatar
Keith Keith is offline
Community Liaison
 
Join Date: Feb 2004
Posts: 1,232
Thanks: 1
Thanked 11 Times in 11 Posts
Reply With Quote
  #3 (permalink)  
Old 12-22-05, 06:29 PM
id10tn00b's Avatar
id10tn00b id10tn00b is offline
Newbie Coder
 
Join Date: Oct 2004
Location: new mexico
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
thats close

thats kinda what im working for, but as they noted, if someone loaded the page multiple times, it would DoS my server putting many processes to sleep() and thus opening more...

that is a push in the right direction tho. maybe running a page that takes a minute to load might not be good for the server tho, as i was reading the comments on the sleep page, it seems that the page would be served at the slow rate and if someone disconnected, the page would still be served as the server doesnt know that the browser closed or went elsewhere and would continue running the script. maybe the data transfer should be instant but i need something clientside to make it appear slow... its just for making a joke. i got reallyslow.com and have some ideas.

thanks again, but i might need to rethink this lol.
__________________
http://www.yougetalife.com
i <?php therefore $i == am;
http://www.coredumpcomputerservice.com
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 10:17 AM
Raffle/Lottery Script (Very profitable!), Coded it myself. Voltaire General Advertisements 2 01-02-06 11:55 PM
Simple Banner Script n00bie Script Requests 0 03-07-05 11:29 PM
looking for simple photo gallery script rookie Script Requests 0 03-01-05 10:38 AM
Need help with this keyword script - i'm sure it's simple! dudeman248 JavaScript 2 05-19-04 05:11 PM


All times are GMT -5. The time now is 06:23 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.