You are here: Re: associate user account with filename « PHP Programming Language « IT news, forums, messages
Re: associate user account with filename

Posted by Anonymous on 09/14/07 18:41

Reggie wrote:
>
> On Sep 14, 3:23 pm, Anonymous <anonym...@nowhere.invalid> wrote:
> > Reggie wrote:
> >
> > > am trying to associate username with filename in a upload script.
> >
> > > I get this error:
> > > Parse error: syntax error, unexpected T_STRING in /home/fhlinux169/c/
> > > clashoff.co.uk/user/htdocs/upload.php on line 42
> >
> > Why don't you just look at line 42 then?
> >
> > > $myfilename=basename( $_FILES['uploaded']['name'])
> >
> > > mysql_connect("$host", "$username", "$password")or die("cannot
> > > connect");
> >
> > Pretty obvious, you missed a semicolon in the line above 42.
> >
> > Bye!
>
> Where did i miss a semicolon.I cant see it.Am new to PHP

You missed it here:

$myfilename=basename( $_FILES['uploaded']['name']) <-

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация