Jump to content

How to run php automatically


narik

Recommended Posts

You might want to explain what you mean by "automatically".  You mean when your PC starts the PHP service starts, or you want PHP scripts to automatically run at certain times?

 

Read your question back to yourself before posting and ask yourself if it makes sense.

You really need to be clearer.

 

PHP is an interpreted language. The interpreter is called by a web server when the web server sees the tag <?php in a file called something.php. PHP in this instance runs automatically.

 

I guess this is more of a coding query given the forum you've posted in in which case I'm going to guess that your query is, "how can I get PHP to run at certain times without relying on people visiting my website at that time?". The answer to that is cron jobs on unix based servers, and windows scheduling on windows based servers. I'd suggest googling these terms and doing some reading, although you will need server admin privileges to be able to set either up.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.