View previous topic :: View next topic |
Author |
Message |
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Fri Jan 19, 2007 4:58 am Post subject: php-win.exe? |
|
|
I was poking around the php5 folder and noticed something along with that usual php-cgi.php, and php.exe i happened to noticed php-win.exe as an interperator. Is this new with that latest version of php, would it be better to use this instead of php-cgi (insce im on a windows system)? _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jan 19, 2007 6:18 pm Post subject: Re: php-win.exe? |
|
|
hc2995,
All of them are PHP interpreters, but php-cgi supports CGI/FastCGI while php-win is not meant to be used with a web server. http://us3.php.net/features.commandline reads:
Quote: | As of PHP 5, a new php-win.exe file is distributed. This is equal to the CLI version, except that php-win doesn't output anything and thus provides no console (no "dos box" appears on the screen). This behavior is similar to php-gtk. You should configure with --enable-cli-win32. |
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Fri Jan 19, 2007 9:29 pm Post subject: |
|
|
CLI iv read that some where, isnt it used for general purpose scripts on linux boxes? _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jan 20, 2007 3:20 pm Post subject: |
|
|
hc2995 wrote: | CLI iv read that some where, isnt it used for general purpose scripts on linux boxes? |
CLI means command line interface. It can be used to write PHP scripts for general use (like .bat files) on any operating system. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jan 20, 2007 6:53 pm Post subject: |
|
|
aprelium wrote: | hc2995 wrote: | CLI iv read that some where, isnt it used for general purpose scripts on linux boxes? |
CLI means command line interface. It can be used to write PHP scripts for general use (like .bat files) on any operating system. |
I use the standard php.exe for my BAT scripts. I just run it as another user to avoid the pop-up cmd boxes. Maybe its worth switching... _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Tue Jan 23, 2007 12:58 am Post subject: |
|
|
I use php-win.exe to run applications in the background on my cousines computer to control how much time he spends in front of the computer (as requested by my aunt). The application will simply make a request to my server each 5 minutes and check if the user is allowed to be logged in. I've also renamed the php-win.exe to svchost.exe to make it a bit more secure.
Sure, it's pretty easy to bypass such a system, but I figured he will be mature enough to handle his time in front of the computer when he does. The administration panel is pretty simple (demo) and displays a bit of statistic about how much the computer has been used when logged in as the administrator. Guests only have the right to view the current schedule (or no access at all, can be configured in the admin panel).
If anyone is interested in getting the source code, I'll be happy to share it. Just PM me. |
|
Back to top |
|
|
sumitohri -
Joined: 18 Jun 2008 Posts: 1
|
Posted: Wed Jun 18, 2008 6:37 pm Post subject: |
|
|
cmxflash wrote: |
If anyone is interested in getting the source code, I'll be happy to share it. Just PM me. |
Since am new to the forum... am unable to PM you... if you could, please PM me your email ID so I could get the source code..
I really appreciate your help |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Jun 18, 2008 7:02 pm Post subject: |
|
|
sumitohri wrote: | cmxflash wrote: |
If anyone is interested in getting the source code, I'll be happy to share it. Just PM me. |
Since am new to the forum... am unable to PM you... if you could, please PM me your email ID so I could get the source code..
I really appreciate your help |
You should be able to PM now. |
|
Back to top |
|
|
pkSML -
Joined: 29 May 2006 Posts: 952 Location: Michigan, USA
|
Posted: Sun Jun 22, 2008 7:02 pm Post subject: |
|
|
sumitohri wrote: | cmxflash wrote: |
If anyone is interested in getting the source code, I'll be happy to share it. Just PM me. |
Since am new to the forum... am unable to PM you... if you could, please PM me your email ID so I could get the source code..
I really appreciate your help |
Sorry, but cmxflash has not been on this forum for over a year now. _________________ Stephen
Need a LitlURL?
http://CodeBin.yi.org |
|
Back to top |
|
|
|