At 6/28/08 06:51 PM, gumOnShoe wrote:
At 6/28/08 06:48 PM, different wrote:
Your code works fine on my machine. Check to see if your PHP version is up to date with this code:
<?php
phpinfo();
?>
You're looking for a version number greater than 4.0.2.
Just a second while I run this... I already checked the local host and said it was ver 5 something, but I'll double check.
Update:
PHP Version 5.2.0
System Windows NT KIRKLAND 5.1 build 2600
Build Date Nov 2 2006 11:50:55
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Program Files\EasyPHP 2.0b1\apache\php.ini
PHP API 20041225
PHP Extension 20060613
Zend Extension 220060519
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies