Re: [PHP-WIN] system() call in PHP5 on win2003

2007-07-09 Thread Niel Archer
Hi Sounds like a permission problem. You don't mention which HTTP server you're using, but I know with Apache (and likely so with IIS also) PHP can't run with 'Everyone' permissions as that is not the same as 'Anyone at all'. If memory serves, Everyone is authenticated users + anonymous users +

[PHP-WIN] system() call in PHP5 on win2003

2007-07-09 Thread Xiaogang
We used to use php 4 on our web server on win2000, and use the system() to call some DOS programs. That how we call it: $cmd = "c:\\Inetpub\\wwwroot\\test.exe"; $last_line = system($cmd, $retval); print ("\nretval =\"". $retval. "\"\n"); It was working perfectly for years.

Re: [PHP-WIN] System integration Step 2

2006-02-16 Thread Martin Alsinet
> But now, does anyone now how to retrieve the username and password that > the user uses to logon to their PC so as to now authenticate for the > application against Active Directory? You got me interested, so I checked it again and there is an apache module that lets you authenticate against AD

RE: [PHP-WIN] System integration Step 2

2006-02-15 Thread Matt Murphy
PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wed 2/15/2006 12:25 AM To: php-windows@lists.php.net Subject: [PHP-WIN] System integration Step 2 Hi guys, Got LDAP working and I am able to authenticate against Active Directory. But now, does anyone now how to retrieve the username and password tha

[PHP-WIN] System integration Step 2

2006-02-14 Thread dale
Hi guys, Got LDAP working and I am able to authenticate against Active Directory. But now, does anyone now how to retrieve the username and password that the user uses to logon to their PC so as to now authenticate for the application against Active Directory? Kind Regards, Dale -- PHP Windows

RE: [PHP-WIN] System integration

2006-02-14 Thread Matt Murphy
essage- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, February 13, 2006 11:34 PM > To: php-windows@lists.php.net > Subject: [PHP-WIN] System integration > > Hi guys, > > Does anyone know or got an idea of how to access the user > accounts of

Re: [PHP-WIN] System integration

2006-02-14 Thread Martin Alsinet
On 2/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi guys, > > Does anyone know or got an idea of how to access the user accounts of > Active Directory using PHP? You can use adLDAP: http://adldap.sourceforge.net/ ..."adLDAP is a PHP class that provides LDAP authentication with Active Dire

[PHP-WIN] System integration

2006-02-13 Thread dale
Hi guys, Does anyone know or got an idea of how to access the user accounts of Active Directory using PHP? I need to integrate my intranet application's authentication with that of Active Directory. Any help or ideas will be greatly appreciated. Kind Regards, Dale -- PHP Windows Mailing List

Re: RE: [PHP-WIN] system() on Windows 2003

2005-02-14 Thread Raul IONESCU
February 11, 2005 1:51 AM .To: Jason Beaver; php-windows@lists.php.net .Subject: Re: [PHP-WIN] system() on Windows 2003 . .You shoud type system('cmd /c 'copy /b prnfile lpt4:', $result); .in order to work. ..I have a script that calls: .. system('c

Re: [PHP-WIN] system() on Windows 2003

2005-02-11 Thread Raul IONESCU
You shoud type system('cmd /c 'copy /b prnfile lpt4:', $result); in order to work. .I have a script that calls: . system('copy /b prnfile lpt4:', $result); .or: . system('type prnfile > lpt4', $result); .the result is '1' and it doesn't send it to lpt4. .I have tried: .

[PHP-WIN] system() on Windows 2003

2005-02-10 Thread Jason Beaver
I have a script that calls: system('copy /b prnfile lpt4:', $result); or: system('type prnfile > lpt4', $result); the result is '1' and it doesn't send it to lpt4. I have tried: system('type prnfile', $result); the result of that is '0' and it puts all the info in the file on the brows

[PHP-WIN] system and exec

2002-10-14 Thread Will
I just recently did an upgrade from php 4.0.6 to 4.2.3 and several system calls that I used in my software no longer work. Both system and exec return no output from the command but if I add a '> error.log' redirect the error.log is created as an empty file. I have apache running as an acutal us

RE: [PHP-WIN] system()

2001-10-31 Thread Ross Fleming
;d be interested to hear. anyone? Ross -Original Message- From: Ross Fleming [mailto:[EMAIL PROTECTED]] Sent: 01 November 2001 01:36 To: PHP Windows mailing list Subject: [PHP-WIN] system() Hi folks, I've written a C program that takes input from stdin that I want to run from a php scrip

[PHP-WIN] system()

2001-10-31 Thread Ross Fleming
Hi folks, I've written a C program that takes input from stdin that I want to run from a php script. Whenever I want to run the program I give the command parser.exe < filename.xyz and it runs the program fine. However, I want to do the same from inside a php script, no probs I thought, system(

[PHP-WIN] System cannot fork

2001-08-29 Thread Stephane Megy
I'm making intense use of system() but I have a message saying that "I cannot fork". I know that it was a bug on the previous 4.0.5 version for the Win32 distribution BUT that is supposed to be corrected in 4.0.6. Does someone knows about this problem ? -- PHP Windows Mailing List (http://www.

Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Delbono
> > system("e:\\tmp\file.bat") > > but it gives me "Access is denied try please: > > system("e:\\tmp\\file.bat") furthermore: if you call the script from the server way.. "http://localhost/executeme.php"; you have to either 1. Login to the machine as a user with "execute" Permission on th

Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Alessio Bernesco Làvore
I'm afraid you can't reach files on network mapped disks. They're impossible to reach also with commands like fopen and similars, so probably you cannot use system() or exec() and so on. I'm wrong? Alessio. "jong jong" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP-WIN] system(), Access is denied

2001-06-27 Thread Frank M. Kromann
Running jobs from the command line usally uses another userid, with different rights than when run fram the web server. the web server normaly installs an uses IUSER_ to execute scripts. Further more a mapping made from a command line will not be available to other users on the same maschine.

[PHP-WIN] system(), Access is denied

2001-06-26 Thread jong jong
Hi, I am a Win NT4.0 user and just start to use PHP. I don't have much web programming experience. Now I need your help. I try to use system() to run a batch file which sitting on a mapped network drive like this : system("e:\\tmp\file.bat") but it gives me "Access is denied". I can run this b

Re: [PHP-WIN] system, exec, passthru gehen nicht

2001-02-25 Thread Markus Wagner
alain samoun wrote: > > Hey! if you start talking german here, I will start talking french ;) I think I will loose this game. (:-) Sorry that I took the wrong language. -- Markus Wagner email: [EMAIL PROTECTED] Hobby: 747 Jumbo-Jet, Pontiac -- PHP Windows Mailing List (http://www.php.net/)

RE: [PHP-WIN] system, exec, passthru gehen nicht

2001-02-25 Thread alain samoun
Hey! if you start talking german here, I will start talking french ;) Alain Message from Alain Samoun [EMAIL PROTECTED] -Original Message- From: Oliver Charlet [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 24, 2001 1:15 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] system

Re: [PHP-WIN] system, exec, passthru gehen nicht

2001-02-24 Thread Oliver Charlet
Hi, wir haben das gleiche Problem und sind damit soweit: läuft nur unter Windows/PHP4/DLL nicht. Als CGI läuft es (wir sind dabei, das CGI als Work Around parallel zur DLL zu betreiben) Falls Dir da was besseres einfällt, lass es uns wissen. Olli p.m.: Dieser BUG ist eine absolute Frechheit!

[PHP-WIN] system, exec, passthru gehen nicht

2001-02-22 Thread Markus
Hallo Hab system, exec und passthru ausprobiert aber nichts geht. Code: $result = passthru("d:\\blat.exe",$erg); echo $result . "," . $erg; Ausgabe: ,1 Umgebung: 2000 + Apache + PHP4.0.5Dev + CGI WARUM ? -- Markus Wagner email: [EMAIL PROTECTED] Hobby: 747 Jumbo-Jet, Pontiac -- PHP Windo

[PHP-WIN] system commands on windows

2001-02-15 Thread Microsoft News
my php is 4.0 installed on NT 4.0 option pack 4.0 . When I try to run a system command through a php script, it does not work. Pl. suggest ? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP-WIN] system function doesn't work

2001-02-01 Thread Emile Schenk
when I use the system function (or similars) on my system: win2k+apache I get tghe following error: unable to fork Anyone got a solution? Emile. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To