At 05:45 AM 2/25/04, Seba wrote:
It means that the session_start function has not changed (has restored
the old value) the session id value. Set your browser to do not accept
cookies, and it will work.
That's not an option, people other than myself have to log in and I
have no control over
I would appreciate some help to save my few remaining hairs.
I have an administrative program starting with
session_start()
It starts by asking for userid and password.
It's been working for over a year with no problems. Within the last couple of
day something strange has been h
I could do this in perl but I'm being stubborn :-)
When I run the following code as a regular user, everything fails.
When I run it as root the directory is created and the chmod
works. However, chown reports:
chown failed: Operation not permitted
Here is the code.
$Directory2Create = "/hom
what does posix_getlogin() return? perhaps you aren't really running the
script as root...
posix_getlogin() return a empty string. However, the script is
definitely
running as root. The same script is creating directories in another user's
account using mkdir()
If the script U
Has anyone had success in changing the ownership of a directory
for within a PHP script? I am running as root an have tries
exec()
passthru()
``back ticks
system()
This works fine in a Perl script:
`chown egovdemo:nobody /home/e-govdemo/htdocs`;
They are back ticks. Same line in the PHP scr
> Im new to PHP and am trying to upload images to the server and store the
>file name into mySQL database.. but i dont have a clue how to do this...
>all i know is i need to use other than that im lost.
# Function MakeUploadForm() ###
funct
Don't run PWS. Go to nusphere.com and get the complete package
of Apache, PHP, Perl, and MySQL works like a champ.
At 05:17 PM 11/27/01 -0500, MM wrote
>I am a newbie running 4.06 on PWS in Win 98. Any sample script about
>sessions I can find just hangs in Personal Web Server. Session id gets
>c
Thanks Shane,
>Can you not just set the cookie again [using the updated expiry date].
Problem is that session_register() automatically sets a cookie
which is set to expire when the browser is closed.
Now that I think about it, the default cookie expiration is set in
the php.in
Speaking of cookies, is there a way using session control
to modify the expiration date of a cookie? I would like to add
a check box in a login dialog that says "remember me"
Thanks
Urb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
>for submit buttons... I think that escaping from standard form look and
>feel can
>improve the site layout ...
Respectively disagree. That's like saying let put the ignition on
the arm
rest to improve the layout. Much research has been done and users almost
universally like things th
This is sharp.
http://php.net/fopen
actually bring up:
http://www.php.net/manual/en/function.fopen.php
Is there any documentation on how they do that?
Urb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Look at $HTTP_USER_AGENT.
Urb
> Anybody know how to code in HTML or perl to find the browser
>say
>
>if
>{
>do this
>}
>else if
>{
> do this
>}
>
>Thanks and regards
>-Balaji
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For ad
Looking through the documentation and several book I
can not find a PHP file function that mimics Perl's
truncate(FH,offset);
This is very handy to remove the contents of an existing file.
Am I overlooking something?
Urb
--
PHP General Mailing List (http://www.php.net/)
To u
Bingo,
he said as he slapped his forehead with open palm.
Thanks a 10**6
Urb
At 10:42 AM 5/20/01 +0200, Christian Reiniger wrote:
>readdir returns the file/directory name without path, is_file and is_dir
>expect a complete filenam with path. So unless you only examine your
>c
>>while ($Directory=readdir($DirHandle)) {
>>
>> $IsFile = is_file($Directory);
>> $IsDir = is_dir($Directory);
>> echo " is file=$IsFile - is dir=$IsDir\n";
>>
>> Works fine on Windows box, on a Unix box (RedHat) both
>>is_file() and is_dir() return null no matter what the contents o
>Below the code i use. Everything works, the $mailto variable is buils up
>from a database and contains more then one email adresses. Now my
>question: how can i make the receivers of my message NOT to see the
>email addresses of all the receivers, so then can't reply to all?
Send the m
As a follow up on my last post, the following works
on my Windows system but not on my Unix system:
$Type = filetype($Directory);
On Unix it always returns a null value.
Urb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
I'm using the follow snippet while traversing a directory.
while ($Directory=readdir($DirHandle)) {
$IsFile = is_file($Directory);
$IsDir = is_dir($Directory);
echo " is file=$IsFile - is dir=$IsDir\n";
Works fine on Windows box, on a Unix box (RedHat) both
is_file() and i
18 matches
Mail list logo