Lars Espelid wrote:
I'm running Apache 1.3.26, PHP 4.0.5 and WinXPpro.
My problem is as follows:
Try to execute this code:
if (ereg[^0-9], $num))
print "That's not a number!";
result: parsing error, expects ')' on the if-line.
This one does have a parse error....
if ( ereg ( [^0-9], $num ) )
Have also tried other expressions where I escape characters. They won't
When I write:
echo "HELLO \n";
I get: HELLO WORLD
(on one line!?)
Anyone know what's wrong? Do I need to install an extension?
Bottom of my httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
It's all about the Rush
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php