|
Posted by Rik on 10/26/06 17:20
David T. Ashley wrote:
> "Synapse Syndrome" <synapse@NOSPAMgomez404.elitemail.org> wrote in
> message news:wLudnUuBnvKmQt3YRVnyuA@bt.com...
>> Hi
>>
>> I've been given what I am told is a PHP script to be used on my
>> server. I do not know any PHP.
>
> As I mentioned in my previous post, it appears to be PHP.
It is indeed.
>> I need it to run on a Windows server running IIS.
>
> You should be able to do this. The script isn't that complicated.
> You should be able to reimplement it using a M$-friendly language,
> such as .ASP.
>
> PHP does run under Windows, but it might be easier to go with the M$
> tool chain.
Well, in PHP it's just that easy.
The problem here is the script highly relies on shell_exec() for some
things (that needn't be shell functions, and mostly can be handled by
native PHP functions.
>> But someone that I gave it to look at has said that he thinks that
>> it does some strange functions.
>
> At first glance, the script looks rather standard. I'm not seeing any
> "strange functions".
I think he's talking about the shell_exec()'s.
>> and I have no hope of getting it to run on Windows.
>
> The script is not that complicated. Just go through it line-by-line,
> look up all the functions at http://www.php.net, and see what you can
> do on Windows. You can either use PHP under Windows or reimplement
> some other way, perhaps .ASP.
Yup, it's a fairly easy script. I wouldn't do it for free though :-).
--
Rik Wasmus
[Back to original message]
|