|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi everyone, How many characters can a variable holds? -- Thanks for your attention. Jean Pierre Daviau -- windows Xp asus p4 s533/333/133 Intel(R) Celeron (R) CPU 2.00 GHz Processor Radeon7000 0x5159 agp |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Jun 17, 11:55 am, "Jean Pierre Daviau" <O...@WasEno.ugh> wrote:
> Hi everyone, > > How many characters can a variable holds? > > -- > Thanks for your attention. > > Jean Pierre Daviau > -- > windows Xp > asus p4 s533/333/133 > Intel(R) Celeron (R) CPU 2.00 GHz > Processor Radeon7000 0x5159 agp >From the manual: <http://www.php.net/manual/en/language.types.string.php> "It is no problem for a string to become very large. There is no practical bound to the size of strings imposed by PHP, so there is no reason at all to worry about long strings." |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> > <http://www.php.net/manual/en/language.types.string.php> > > "It is no problem for a string to become very large. There is > no > practical bound to the size of strings imposed by PHP, so there > is no > reason at all to worry about long strings." > Is it the same for a $var = request['textarea'] ? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> Is it the same for a $var = request['textarea'] ? > I found that I omitted the <form method="post" in my html while copy and pasting somehow. So the browser was using GET. Everything is ok. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
>> How many characters can a variable holds?
>From the manual: > > <http://www.php.net/manual/en/language.types.string.php> > > "It is no problem for a string to become very large. There is no > practical bound to the size of strings imposed by PHP, so there is no > reason at all to worry about long strings." Of course, there are some limits regarding the memory usage of the process, but I guess that wasn't the question. ![]() Anze |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
you should use $_POST['variablename'] if you can, not $_request[''] as
it may cause some secutity issues. |
|
![]() |
| Outils de la discussion | |
|
|