Hello,
I have a bash script update.sh that contains:
rsync -- delete -avz -e ssh ${files} [EMAIL PROTECTED]:/red
when I use that script ./update.sh as root, it works like a charm as I set up
the private/public key properly.
When run from a php script through the apache webserver
The rsync line i
>
>
>
from the doc:
"Cookies are part of the HTTP header, so setcookie() must be called before
any output is sent to the browser. This is the same limitation that header()
has."
http://ca.php.net/cookies
- Original Message
From: Tim Daff <[EMAIL PROTECTED]>
Hello,
I am running php 5.1.6 on a Centos 5.0 box (installed with yum). My php app
uses pdo_sqlite. The issue is that I am going to have to use a special version
of sqlite with some custom functions. How do I control which version of sqlite,
php is calling?
Thanks for any advice
Hello,
I am runnign on a Centos 5.0 php 5.1.6 as Server API Apache 2.0 Handler
I launched a script, which contains an infinite loop, from bash typing:
php script.php
I'd like to end that process. when typing ps -A, I don't see it. Is it
inside the Apache server? How could I reach it? I am quite
Stut wrote
>What you're wanting to do can be achieved by setting the path on the
>session cookies. You may be able to do this by calling ini_set to change
>session.cookie_path before calling session_start.
ini_set('session.cookie_path', '/A/');
session_start();
That's a good solution; it works f
that this is a brand new session and assign a new
session_id() which would solve my problem. Is there a way to achieve that?
Regards,
- Original Message
From: Stut <[EMAIL PROTECTED]>
To: Jean-Christophe Roux <[EMAIL PROTECTED]>
Cc: php-general@lists.php.net
Sent: Thursda
Hello,
I have folder A with the following php script:
in folder B (same level as A), there is
when running the script in B, in can see the value 10. How can I make sure that
the $_SESSION['dummy'] is not shared between the two scripts? I could change
the name but that would not be convenient.
Hello,
I have this php script of 3,500 lines with a big switch that is such that on
each pass maybe 300 lines of codes are executed at most. The current speed
of the file is ok. I like to keep the file like that because at each pass
there is a check on the whole script and it fails if there is
8 matches
Mail list logo