[PHP] GetImageSize() problem...

2001-05-03 Thread Eric Knudstrup
I am having an issue with 4.0.5 where the following code snippet: $orig = imagecreatefromjpeg($tmp); echo 'orig x: ' . imagesx($orig) . ' orig y: ' . imagesy($orig) . ''; $orig_size = getimagesize($tmp); echo "orig x: $orig_size[0] orig y: $orig_si

Re: [PHP] GetImageSize() problem...

2001-05-03 Thread Eric Knudstrup
I think that was the first thing I tried. It might have something to do with the actual image itself. Images created with th PHP/GD routines come up with acceptable results. Thanks, Eric Quoting Dan Lowe <[EMAIL PROTECTED]>: > Previously, Eric Knudstrup said: > > I am havin

RE: [PHP] PHP Editor for Linux

2001-03-30 Thread Eric Knudstrup
I'm looking for a PHP mode for XEmacs and really miss c-mode. Do you know of any packages for it? Eric > -Original Message- > From: Phillip Bow [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 30, 2001 7:18 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP Editor for Linux > > > Read

[PHP] Requiring variables to be pre-declared?

2001-04-04 Thread Eric Knudstrup
Being new to PHP from the C world, is there anyway that I can enforce that variables are declared for being used? There have been a couple of times where I have been driven nuts trying to find out why something isn't working and found that a variable name was off. Eric -- PHP General Mailing L

[PHP] Extensions question...

2001-09-03 Thread Eric Knudstrup
I have been searching for this in the Zend docs and examples, but I don't see it anywhere. In a PHP extension how do I access the elements of an array that has been passed in? Thanks, Eric "My mother's maiden name is not a password; my social security number is not a PIN" - Kevin Mitnick --