arg...zend tutorial problem
| From: | Kurth Bemis | Date: | Fri, 06 Oct 2000 01:49:28 +0000 |
| Subject: | arg...zend tutorial problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18809@lists.php.net to get a copy of this message | ||
i'm using http://www.zend.com/zend/tut/photogallery.php to make a simple foto gallery....i hit this problem....
Parse error: parse error, expecting `')'' in /www/usaexpress/test/upload/picupload.php on line 35
and line 35 is:
34 srand(microtime());
35 $id = sprintf("%c%d",ord(?A?)+rand(0,26),time());
36 $dirname = "$filepath/$id";
37 mkdir($dirname,0700);
whats wrong?
~kurth
Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer
kurth@usaexpress.net
http://www.usaexpress.net/kurth
ICQ - 6624050
Call Sign - N1TYW
PGP key available - http://www.usaexpress.net/kurth/pgp
Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net (http://www.distributed.net)