[PHP] Resize an image from URL

2002-12-10 Thread fragmonster
Hi, I want to resize an image from an URL if it is too large. Is there a way to know the size (width and height) of an image from an url without download it? For exemple: getWidth(http://www.toto.com/imlage.gif) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Resize an image from URL

2002-12-10 Thread fragmonster
as a 16-bit integer. see details of the format here: http://www.daubnet.com/formats/GIF.html hth loki# Fragmonster wrote: Hi, I want to resize an image from an URL if it is too large. Is there a way to know the size (width and height) of an image from an url without download it? For exemple

[PHP] Number of sessions

2002-12-17 Thread fragmonster
Hello, Is there a way to count how many sessions are opened on a PHP web site? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Use of undefined constant error

2002-12-17 Thread fragmonster
Hello, I've got a strange pb. Here's my code ? if(isset($_GET[id])){ do something... else do something else } ? When I call myfile.php I've got the somthing else with no error. When I call myfile.php?id=1 I've got the something but with an error message Notice: Use of undefined constant id -

[PHP] Use of undefined constant error

2002-12-17 Thread fragmonster
Hello, I've got a strange pb. Here's my code ? if(isset($_GET[id])){ do something... else do something else } ? When I call myfile.php or myfile.php?id=1 I've got an error message Notice: Use of undefined constant id - assumed 'id' in ... Please help -- PHP General Mailing List

[PHP] who is connected?

2002-12-18 Thread fragmonster
Hello, Can you share your method to display the users who are connected to your web site? I did it, but I don't know if it's a good way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] who is connected?

2002-12-18 Thread fragmonster
/creative ways, I'd love to hear them also. Jason Reid [EMAIL PROTECTED] -- AC Host Canada www.achost.ca - Original Message - From: fragmonster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 1:05 AM Subject: [PHP] who is connected? Hello, Can you share your method

[PHP] Re: JavaScript or browser detection

2002-12-19 Thread fragmonster
Hope it helps you: http://developer.netscape.com/docs/examples/javascript/browser_type_oo.html Steve Vernon wrote: Hiya, I know it is probably out there somewhere, but I cannot find out a script to detect the browser. I have seen it, and I sorta remember how to do it, but I just can't find

[PHP] Pb installaling gd extension on a win32 server

2002-12-20 Thread fragmonster
Hello, I have migrate my site from a linux to a win32 server :-{ I need to use the php_gd.dll library but my pb is that I've downloaded the php installer from php.net with no external extensions included. So, I have downloaded the php_gd.dll, put it into a directory (d:\php\extension) I have