Re: [PHP] any ideas : Unexpected character

2002-02-14 Thread Girish Nath
Hi I got this error : Warning: Unexpected character in input: ' in /home/altdesign/public_html/php/new admin/do_addauthor.php on line 14 Can you post the section around Line 14 from do_addauthor.php so we can take a look at it ? Regards Girish -- www.girishnath.co.uk - Original

Re: [PHP] any ideas : Unexpected character

2002-02-14 Thread Will Hives
== image/jpg || $type == image/gif || $type == image/pjpeg || $type == image/jpeg){ // is this a valid image? $time_tmp = time(); $time_tmp = substr($time_tmp, -4); $filename = $time_tmp._.$name; // just in case someone uploads matched