View Full Version : Executing PHP code from a command line

05-21-2004, 01:59 AM
Is there any way to run a chunk of PHP code I have (to alter an SQL database I have) from a command line? Like, using an .exe with some parameters indicating the file or something?

05-21-2004, 06:22 AM
type in the command prompt

php filename.php