John Yu wrote:
Runas has a /savecred to load a saved credential, maybe that will help?
I did try that before. When I was in the shell I could use runas
/savecred with a php script and only had to input the password once.
However, I couldn't get this to work within PHP when using exec(). I
thin
Runas has a /savecred to load a saved credential, maybe that will help?
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 10:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Running PHP scripts as a different user
De Greef SéBastien wrote:
> w
Ron: You need to use stripslashes() when passing a serialized string
via HTTP requests.
error_reporting(E_ALL);
if (isset($_POST['serialArray'])) {
$stripped = stripslashes($_POST['serialArray']);
echo "";
// Works
$unserialized = unserialize($stripped);
print_r($unserialized);
} else
De Greef SéBastien wrote:
why don't you try runas in the exec() function ?
runas requires you to enter the password credentials after you've
executed the command. I'm not aware of how to pass information like
that while PHP is trying to use exec(), it just hangs waiting for input
that never com
I've set variables for session.save_path = c:/php4/tmp in the php.ini,
when starting request from the browser to the server (Win+Apache+PHP)
for example http://localhost/test/test_session.php
the temporary sessions files are created, and stored session information.
When second request arrived to th
PHP 5 should allow you to instantiante .net classes.
However, I can't get the classic example
Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
?>
to work. It gives a "Failed to instantiate .Net object" error, although the
.NET framework is installed.
Does anyo
In my (limited)experience, session variables won't work with Apache on
windows until you set the session.save_path variable in the php.ini
file to a directory for the temporary session files to go in. Why it
works in IIS I'm not sure - I have never used it.
Regards,
Jonathan Pilborough
=
--
Hi, i am newby,
My PHP Session and Cookie working fine with Windows and IIS
webserver, but dont work at all on windows and apache web server
php.ini and httd.conf are default setting, and folows the
instalations instructions.
can anyone help?
__
Hi there,
Using php 4.3.6 with apache 2.0.49 on XP.
mod_ssl is correctly loaded: my server correctly listens and reacts on ssl
port.
However I can't access any other https url from a PHP script.
file_get_contents("https://www) always fails with : "Unable to find the
wrapper "https" - did you f
Hi, i am newby,
My PHP Session and Cookie working fine with Windows and IIS
webserver, but dont work at all on windows and apache web server
php.ini and httd.conf are default setting, and folows the
instalations instructions.
can anyone help?
_
10 matches
Mail list logo