...

View Full Version : Executing PHP code from a command line



PrincipalWisdom
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?

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

php filename.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum