You are here: Re: Problem with form variable that begins with a number « PHP Programming Language « IT news, forums, messages
Re: Problem with form variable that begins with a number

Posted by Oli Filth on 01/14/06 20:44

Chuck W. said the following on 14/01/2006 18:28:
> Hi there,
>
> I'm working a query that processes form variables. However one of the
> variables begins with a number. This is from a canned program so I
> actually need to remain, eg:
>
> <input type=text name="00N30000000qVb2" size=20>
>
> I need to proceess this variable on the page I post to, but obviously
> $00N30000000qVb2 won't work as a var in PHP. Any suggestions?
>

You shouldn't have register_globals on anyway. Turn it off, and use
$_GET["00N30000000qVb2"].

--
Oli

 

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

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