If you are holding a string with a valid number in it e.g. "5.7" then
the conversion is done automatically. See the manual section Language
Reference / Types / Strings / String conversion to numbers. If you are
holding a string with the number in words e.g. "Five" then you'll need
to write your
Hi there
What's the function to convert a string to an int.
Cheers
Louis
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Call to undefined function" always means that the function is not available
to php. Have you verified that PHP is actually loading the .dll's -- call
phpinfo().
What you don't say is whether or not you are using ISAPI for CGI. Besides
that, extension dll's are normally located in the "extension
Well, fread reads the entire file, and we need to check the lines to
see if they contain our tag, and so that is why i used fgets. fread
also puts the entire file into RAM, and that can cause memory problems
with large files. But, I forgot a few pieces of my function, so I'm
adding a better versi
Will somebody please help me!!!
I'm trying to set up my web server for PHP and MySQL. I've installed PHP
5.0.3 and it works fine.
I've installed MySQL 4.1.9 and it works fine.
BUT, I can't access MySQL from PHP. I have put the php_mysqli.dll and
libmysql.dll in the C:\PHP folder, removed the ';' f
I just used WAMP5 to install apache 1.3.33 and php 4.3.10 on Windows XP.
All is good except that when i do a:
error_log("this\nis\na\ntest");
the output in the error.log looks like:
[Sat Jan 15 11:24:51 2005] [error] this\nis\na\ntest
If i run the same on other servers it comes out like:
[Sat Ja
If you upgraded to 4.1.x from 4.0.x then it's likely you need updated
libraries (DLL files).
Armando
Joseph L. Mueller wrote:
Just upgraded to MSQL 4.1.8 and PHP 4.3.10 and am running apache 2.0.43
on Win XP. When trying to connnect to Mysql I get the following error:
"Warning: mysql_connect():
Just upgraded to MSQL 4.1.8 and PHP 4.3.10 and am running apache 2.0.43
on Win XP. When trying to connnect to Mysql I get the following error:
"Warning: mysql_connect(): Client does not support authentication
protocol requested by server; consider upgrading MySQL client in
C:\Documents and Sett