(session.use_cookies,0); //use no session cookies
session_cache_limiter(null); //use no session cache limiter
session_id($sid); //set the session id as got from parameter 1
//read the session variables:
echo $_SESSION[name];
?
-thanks, Eli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Eli wrote:
Hi..
Thanks for your help. I searched a bit more, combined with your data,
tested, and found a solution. :-)
Oops.. forgot the most important line..
#!/usr/local/bin/php -q
?php
//initialize parameters:
if ($argc2)
exit(ERROR: session id must be provide as parameter.\n);
$sid=$argv
Hello All,
I have PHP installed on Apache and Unix with several vhosts so each vhost
has its own user account on Unix.
Now when accessing a webpage, Apache runs with user httpd.. but I want it to
run as the user of the vhost account.. How can I do that?
thanks in advnce,
-Lorderon
--
PHP
I asked it before, and got a fine tool at this site:
http://www.babysimon.co.uk/khtml2png/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the site).
What technologies I use for that? Is it possible with PHP?
-thanks, Eli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
- nocache: no-one.
But session_cache_expire() function sets expire on what? the session timeout
or the page cache timeout?
-thanks, Eli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
- nocache: no-one.
But session_cache_expire() function sets expire on what? the session timeout
or the page cache timeout?
-thanks, Eli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is the preferred way to get command line options,
is there a way to give errors and take long arguments with getopt(),
and how would one parse though the array returned from $optclass-getopt?
Code examples of anyone using getopt(); or Getopt.php would be greatly
appreciated.
thanks
eli
PS anyone ever
. And overall, not by
that much?
So is 4.2.1 that much bigger to cancel out the reduced compile? Or are
removing those parts just so small that it doesn't make much of a
difference?
Eli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
problem solving afterwards we have decided
that Apache 2.0 with it's threads would have helped us greatly under our
load.
the problem is that we were just getting ready (in say a month) to go
live with a very large PHP piece ... and if they can't work together ...
well ... hr.
Thanks,
Eli
was definitely safe, then perhaps some
people, like us, could start using it earlier, knowing that we weren't
doing other stuff (like image manipulation, DB access, etc.)
Eli
The best way for PHP's Apache 2.0 module to escape from experimental
status is to have the confidence of sites like yours
, and knowingly breaking for someone, when we didn't
have to, is 'bad'. (bad use of government money too, at least seen as
such). So I can test on my spare server, load it myself as I see fit, but
not send 'real people' there.
Eli
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
101 - 112 of 112 matches
Mail list logo