Reply to Re: Is this a PHP script?? BASH?? Please review!

Your name:

Reply:


Posted by Synapse Syndrome on 10/27/06 16:05

"David T. Ashley" <dta@e3ft.com> wrote in message
news:k260h.155798$882.46442@fe38.usenetserver.com...
> "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.
>
>> This is an example of the faulty output:
>> http://test404.damnserver.com
>>
>> Following is what I have been told is a PHP script. It is meant for a
>> freebsd or MacOS server. It apparently unpacks a zip file, deletes some
>> temp files that MacOS makes, and renames the files to make them URL
>> friendly. It then edits the Content.xml file with the filename changes.
>>
>> First of all, is this actually a PHP script?
>
> Yes.
>
>> 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.
>
>> 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".
>
>> and he thinks it's actually a BASH file.
>
> It is not a BASH file. This is guaranteed PHP. I see many PHP functions
> in the script ... it is PHP.
>
>>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.
>
>> I need something that does the same thing for a Windows server running
>> the website linked earlier. I also do not want the unzip function, and
>> it needs to be taken out.
>>
>> I would be grateful for any thoughts or opinion on this.
>
> Reverse-engineer and reimplement.

Thanks for your comments. The only problem is that I have no real
programming skill. I just know some HTML/CSS coding, so adjusting this code
to run on Windows looks pretty difficult to me, let alone translating to
..ASP.

But, ideally, I wouild like it to run on .ASP, as my webserver is already
running that.

How long do you think it would take a beginner to go through this script and
get it running on Windows as PHP?

Cheers.

ss.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация