[PHP] Getting .gif properties
Hey all, I'm uploading .gifs using a php script and I'm wondering if there's some way I can avoid having to set the height/width properties manually. Windows stores this info automatically, and so does IE. Is there some way to read this information from the file itself? (I host on unix). Thanks, john., -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Listening on host:port - Windows
I'm running my test server on Windows XP SP3 and have been successfully running PHP 5 for some time using: php-cgi.exe -b 127.0.0.1:1 My live server is running on PHP 4.4 and that gives an incompatibility risk in problem solving. So I've removed PHP 5 on my test server and have installed PHP 4.4.9 but I can't find how I set host and port in php. Running php -v has confirmed that this is the cgi-fcgi version. I'm sure it's simple but I'm being driven nuts. TIA, John
RE: [PHP] Listening on host:port - Windows
Thanks, you are right. I used php.exe -v to confirm cgi version. My query is what parameter do I use to specify host and port? That will have the same effect as -b in php5. Sorry if I didn't make it clear. John _ From: ?? [mailto:delm...@gmail.com] Sent: Friday, June 05, 2009 8:24 AM To: j.fair...@bcs.org.uk Subject: Re: [PHP] Listening on host:port - Windows in php4,php.exe is the cgi version for default,and php-cli is the cli version in php5,php.exe is the cli version,and php-cgi is the cgi version i think you can use php.exe instead of php-cgi.exe in php4 2009/6/5 John Fairley I'm running my test server on Windows XP SP3 and have been successfully running PHP 5 for some time using: php-cgi.exe -b 127.0.0.1:1 My live server is running on PHP 4.4 and that gives an incompatibility risk in problem solving. So I've removed PHP 5 on my test server and have installed PHP 4.4.9 but I can't find how I set host and port in php. Running php -v has confirmed that this is the cgi-fcgi version. I'm sure it's simple but I'm being driven nuts. TIA, John