You are here: Re: [Windows Nitwit] Distribute Script for Windows « PHP Language « IT news, forums, messages
Re: [Windows Nitwit] Distribute Script for Windows

Posted by DC Hart on 03/19/07 00:06

On Sun, 18 Mar 2007 23:47:13 GMT, Ian Hobson
<ian.hobson@ntlworld.com> opined:
> DC Hart wrote:
> > I do not have a Win machine. This works in WINE.
> >
> > I have a very simple command like script that takes an IP address
> > as the argument and then checks the TQMcube dnsbl for a listing.
> >
> > I packaged this in a zip along with a default php.ini, php.exe and
> > php5ts.dll. The presumed instructions are to copy the four files
> > to c:\windows with a warning not to overwrite anything that
> > already exists.
> >
> The traditional way to install a program is to copy it to a new
> subdir under %ProgramFiles%. If you really want to install into
> C:\windows, then install into %windir%.
>
> If the user has already installed php, your approach will pick up
> his php.exe and (probably) his php.ini because of the order on the
> path.
>
> Opening and closing command prompt windows is simply not done in
> windows, except as a techie kludge. Your users will not know how to
> do it.
>
Thanks. I actually have this in C but there are problems
cross-compiling the damned thing. Oh well.
--
"Black Hole": The economic effect of administering a DNSBL
Eliminate Spam at the Source: http://www.TQMcube.com
Don't Subsidize Criminals: http://boulderpledge.org

 

Navigation:

[Reply to this 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

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