Posted by Norman Peelman on 12/07/07 14:02
Kim wrote:
> Following up on my questions, and concerns.
>
> I did re-write the script, stripped all HTML parts out and used php-
> cgi.exe due to its possibility of using $_GET.
> I do know I could just as easily have used $argv and $argc with
> php.exe. Not sure if this also allows loading non-compiled modules
> (either via php.ini or dl() PHP function) - I didnt check.
>
> Re-wrote the code so it uses more functions and less "free" code
> parts.
>
> So the script ended up with being able to run via CLI after a little
> re-writing.
> Script runs successfully on target machine. Windows Server 2003 and
> PHP 5.1.4.
Excellent!
Norm
[Back to original message]
|