php-windows Digest 22 Mar 2003 17:36:05 -0000 Issue 1647
Topics (messages 19084 through 19086):
Re: Subject: Cookies
19084 by: Neil Smith
determine host platform - win32 / *nix
19085 by: John M. Calvert
Imagecreatefromjpeg problem.
19086 by: FBN
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Try looking in your C:\\Documents And Settings\username\cookies folder,
then sorting the list by domain (you may be running on localhost so it
would show up there)
NB : Your setcookie line is broken - please check the syntax, as
time()1209600 is not valid PHP!
Cheers,
Neil Smith.
At 04:28 22/03/2003 +0000, you wrote:
From: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Fri, 21 Mar 2003 20:52:59 EST
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Subject: Cookies
Hi, where can I locate a cookie that I set through my PHP script. I use the
following line:
setcookie("username", $name, time()1209600);
...with the $name variable being "Tryst" for example. I've search my Computer
(Windows XP) and can't find the cookie. I've seached for the word "Username"
and "Cookie", but the results from Cookie display all other cookies on my
computer and not the one that I supposedly set. But, if I use
$user = $_COOKIE["username"];
I get the value "Tryst" stored in the variable, which means the cookie must
be getting set.
Any ideas where I may have to look for this cookie??
Tryst
--- End Message ---
--- Begin Message ---
Hello, how do I determine from code the host platform running PHP? For
example, php.dl() requires a different module name under Win32 and *nix so
for more portable code I would like to write something like:
if (php_platform() == WIN32)
dl('module.dll');
else
dl('module.so');
Does this exist?
John M. Calvert, M.Sc., MCSD
1310521 Ontario Inc.
49 Belmont Ave.
Ottawa ON K1S 0V2
(613) 730-9851
http://members.rogers.com/john-m-calvert/
--- End Message ---
--- Begin Message ---
Hi.
I'm using php 4.3.0 with apache on winxp pro (gd2 bubled version).
I'm writed a script that receive an uploaded file and if it's a jpeg
move it in a directory for later use.
All goes right but if the uploaded jpeg file is corrupted in some case
the function ImagecreatefromJpeg don't return any error and apache
process start run at 100% of the cpu end the script don't stop even
after max execution time.
what's the problem?
any ideas?
thanks
*FbN*
--- End Message ---