Re: can't get imagecopy, etc. function to work.

From: Date: Tue, 01 Apr 2003 12:31:07 +0000
Subject: Re: can't get imagecopy, etc. function to work.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-141810@lists.php.net to get a copy of this message
If imagecopy function does not exists, gd is not either installed or enabled. Check your php.ini if it is enabled and the extension dir if the extenssion is there. If it is not there, run configure once again with the right options, also read INSTALL. Wo Chang wrote:
Dear Experts, Seems like I can't use any of the followings even though I'm running PHP 4.3.2-RC1: * imagecreatefromjpeg * imagecopy * etc. Am I right the gd-2.x has already integrated with PHP 4.3.2-RC1 and the gd also has the jpeg integrated? Or, should do I have to bring in the jpeg-6x myself? If I need to bring in the jpeg-6x myself, should I install it within the ext/gd sub-dir? Thing wanted to do: create a separate thumbnail jpeg file from an org. jpeg file. Any better idea? Please advice. Thanks in advanced. --Wo ----- Original Message ----- From: "Wo Chang" <wchang@nist.gov> To: <php-general@lists.php.net> Sent: Friday, August 23, 2002 2:33 PM Subject: how can php applications use session control to track multiple users?
Dear Experts, I know you can use session_register to register varialbes, but how do you use sessions for multiple users? Ex. $valid_user = $username; // let's say $username has "JSmith" session_register("valid_user"); but if another user (SWhite) logins, then the valid_user now has the value of "SWhite" and the earlier user "JSmith" is gone. So, how do you make the sessions looks like: JSmith|s:6:"JSmith";SWhite|s:6:"SWhite"; Is this the way how people usually implment to track multiple users? Any hints would be greatly appreciated! --Wo


« previous php.general (#141810) next »