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 +
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.
> 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
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
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
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
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
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
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
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:
.
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
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
;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
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(
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.
> > 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
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
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.
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
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/)
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
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!
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
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
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
25 matches
Mail list logo