Re: [PHP] floored by floor()

2010-10-14 Thread Glen Fuller
On 10/14/2010 7:49 AM, chris h wrote: floor(32703) is different then floor(327.03 * 100). The former is an int, while the later is a float. Read those links that were sent :) Chris. On Thu, Oct 14, 2010 at 2:14 AM, Glen Fuller wrote: On 10/13/2010 10:48 PM, Mattias Thorslund wrote: Hi

Re: [PHP] floored by floor()

2010-10-14 Thread Glen Fuller
quot; as expected Any ideas why this happens, and how to work around it? Thanks, Mattias Wouldn't that be equivalent to floor(32703), and since 32703 is the nearest integer to 32703 it returns it? Glen Fuller -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
[moving to general list as per Mikko's request] short_open_tag is not deprecated. What if you want to use in your template? There is no point removing Hello everyone. > I've been writing for some time now at the > last project and it really sucks. I understand reason on depricating > short_ope

[PHP] Re: [PHP-DEV] Re: Is it true that short_open_tag is deprecated in PHP 6?

2009-04-14 Thread Glen
ze if I've caused anyone any inconvenience. Glen. * http://aspn.activestate.com/ASPN/Mail/Message/php-dev/3710073 Mikko Koppanen wrote: > On Tue, Apr 14, 2009 at 1:26 PM, Glen <mailto:glen...@gmail.com>> wrote: > > I didn't say PHP tags were valid XML. I said sh

Re: [PHP] gethostbyaddr and IPv6

2008-11-22 Thread Glen C
On 11/22/2008 02:17 AM, Lars Torben Wilson wrote: 2008/11/21 Glen Carreras<[EMAIL PROTECTED]>: On 11/22/2008 12:10 AM, Lars Torben Wilson wrote: Hi Glen, Works for me. IPv6 support was added in 2001. You didn't say what version of PHP you are having this problem with, so it's

[PHP] gethostbyaddr and IPv6

2008-11-21 Thread Glen C
008 22:43:37] PHP Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not in a.b.c.d form in C:\www\tests\saved\host.php on line 7 Google has not been my friend in this matter... Any insight? Thanks, Glen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP MySql Extension No Loading

2005-08-29 Thread Glen Zimmerman
ache, so that's not the problem. See my other comments below. > -Original Message- > From: Glen Zimmerman [mailto:[EMAIL PROTECTED] > Sent: 27 August 2005 22:39 > To: php-general@lists.php.net > Subject: RE: [PHP] PHP MySql Extension No Loading > > Yes, I hav

RE: [PHP] PHP MySql Extension No Loading

2005-08-29 Thread Glen Zimmerman
;[EMAIL PROTECTED]> 08/29/2005 2:36:34 AM >>> I thought you had to put the php.ini in the c:\windows directory? -----Original Message- From: Glen Zimmerman [mailto:[EMAIL PROTECTED] Sent: 27 August 2005 22:39 To: php-general@lists.php.net Subject: RE: [P

RE: [PHP] PHP MySql Extension No Loading

2005-08-27 Thread Glen Zimmerman
Yes, I have the dll in the right place (C:\php\ext), and PHPIniDir is set to C:\php where php.ini is located.  I know that php.ini is being picked up, because the changes I make to the file take affect when I restart Apache.  PHP is loading properly as the php function, phpinfo, does display

[PHP] PHP MySql Extension No Loading

2005-08-26 Thread Glen Zimmerman
I am setting up Apache 2.0.54 with PHP 5.0.4 on a Windows 2000 work station running MySQL 4.1.12a-nt.  When I start Apache, I receive the error message, "PHP Startup:  Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll'.   I have C:\PHP set in the environment variable path.   In the p

[PHP] mysql error

2005-04-01 Thread Glen Beamson
") or die('Could not connect: ' . mysql_error().mysql_errno()); Many thanks, Glen. Send instant messages to your online friends http://uk.messenger.yahoo.com

Re: [PHP] Reading specific data from a .txt file into PHP

2001-01-16 Thread Glen Scott
function :) Assuming the first field (i.e. CYGL) is unique, just read each line and check using a regular expression whether it matches the city you require. If it matches, you can stop reading the file and do whatever you need to do with the line. Regards, Glen --

Re: [PHP] Version Difference

2001-01-16 Thread Glen Scott
oes not. Do you have magic_quotes_gpc set in your php.ini file on your RaQ server? - Glen - Design Solution Limited t: +44 (0)1502 513008 f: +44 (0)1502 588622 e: [EMAIL PROTECTED] w: http://www.designsolution.co.uk Nouvotech Ho