Re: . becomes _ when submitting page

From: Date: Mon, 09 Sep 2002 18:37:33 +0000
Subject: Re: . becomes _ when submitting page
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-15728@lists.php.net to get a copy of this message
Hmmm, I guess you're right. But I have some vague memories from useing dots in name attributes before. But that was with ASP & IIS... I have some excuse for using dots, it's Windows filenames. They come with dots and I can't change the attribute names because it's refering to the file. I guess I will have to go around it with hidden fields and indexes... Too bad, it was such a brilliant solution with the filename in the name attribute :( Anyway, thanx for enlightning me! Regards Kjell Ignatius Reilly wrote: > Your naming conflicts with javascript. Remember what dots are used for in > js. > > Avoid using other characters than alphanum and underscore. There is no > reason you should need to use any other character. > > I am not quite even sure that it is valid HTML to use dots in attributes > values. > > HTH > > Ignatius > > ____________________________________________ > ----- Original Message ----- > From: "Kjell Hansen" <kjell.hansen@telia.com> > To: <php-windows@lists.php.net> > Sent: Sunday, September 08, 2002 7:12 PM > Subject: [PHP-WIN] . becomes _ when submitting page > > > Hi, > > In my HTML page I have a textarea called "filename.ext" when I submit > > the page I get "filename_ext" in my $_POST array. > > > > Anyone know why?!??!? > > > > TIA > > Kjell > > > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > >

« previous php.windows (#15728) next »