I am running some .php pages from command line under Win2003 and having trouble with one that accesses a local file.
I have one that will send an e-mail just fine, but another in the same directory that imports data from a .txt in the same directory says the file doesn't exist when it in fact does.
Are they any considerations with file operations when running from a command line? Both work fine in a browser.
This works
This doesn't
I have one that will send an e-mail just fine, but another in the same directory that imports data from a .txt in the same directory says the file doesn't exist when it in fact does.
Are they any considerations with file operations when running from a command line? Both work fine in a browser.
This works
Code:
c:\php\php.exe c:\internal\test\mail.php
This doesn't
Code:
c:\php\php.exe c:\internal\test\import.php