User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 455,964 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,630 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 400 | Replies: 1
Reply
Join Date: Oct 2007
Posts: 20
Reputation: nishanthaMe is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
nishanthaMe nishanthaMe is offline Offline
Newbie Poster

infinite loop

  #1  
Nov 19th, 2007
I want to run an infinite loop,as soon as my web server start up.I can write php loop but how i start it from the start of the server without user request for starting.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,816
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 189
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: infinite loop

  #2  
Nov 19th, 2007
Make a index.php and write:

  1. <? while(true) {} ?>

Why do you need this?

Niek
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 9:03 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC