You forgot ] somewhere before line 61, and maybe even something else.

Andres, Cyrille wrote:

thx, but I still have the same error
I think I have a poltergheist in my computer !!!

-----Original Message-----
From: Jonathan Sharp [mailto:js-lists@;sharpmedia.net]
Sent: Wednesday, October 30, 2002 11:13 AM
To: Andres, Cyrille
Cc: PHP List; php
Subject: Re: [PHP] parse error


try:
$fp = fopen('temp/'.$userfile_name[($i-1)], "w+");

-js


Andres, Cyrille wrote:

Hello everybody,

maybe I am dumb , I dunnow, I have a parse error here and I don't

understand

why :

$fp=fopen("temp/$userfile_name[$i-1]","w+");

the error I get is : Parse error: parse error, expecting `']'' in
D:\Data\WebSSL\tm\RFP\upload2.php on line 61


THANX !!! :(((
==============================================

Cyrille ANDRES
IT-Tools Technician

Siemens Shared Services, LLC
Travel Management
1650 Technology Drive,m/s 243
San Jose, CA 95110

phone: (408) 764-9250
fax: (408) 764-9258









--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to