RE: [PHP] Cutting off first 4 characters using array input names??

2002-10-30 Thread Ford, Mike [LSS]
 -Original Message-
 From: John W. Holmes [mailto:holmes072000;charter.net]
 Sent: 30 October 2002 01:15
 To: 'Jarrad Kabral'; [EMAIL PROTECTED]
 
 Pretty sure this is a known bug; it's been discussed on here a few
 times. Do a search for it.

Oh yeah, at least half a dozen -- I found them the other day whilst searching for 
something else!  It's reported as fixed in the development CVS version, so you might 
want to try 4.3.0pre2 or a later snapshot from http://snaps.php.net/

Cheers!

Mike

-
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning  Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730  Fax:  +44 113 283 3211 

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




[PHP] Cutting off first 4 characters using array input names??

2002-10-29 Thread Jarrad Kabral
Hi Group,

I have a problem where when I use array html input names like
value[client_name] PHP cuts off the first 4 characters?

example code:

input type=text name=value[client_name] value=12345678 /
input type=text name=value[student_name] value=12345678 /

On the next page there should be a variable called $value with those values
inside it.

This is how it comes out when I do a print_r straight after on the page its
getting posted to.

[value] = Array ( [client_name] = 5678 [student_name] = 5678 ) 

This used to work and return the entire string on our old server (PHP 4.2.2)
but we just moved to a new dedicated server (PHP 4.2.3) and now it screwed.

Any thoughts?


Regards
Jarrad Kabral






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




RE: [PHP] Cutting off first 4 characters using array input names??

2002-10-29 Thread John W. Holmes
Pretty sure this is a known bug; it's been discussed on here a few
times. Do a search for it.

---John Holmes...

 -Original Message-
 From: Jarrad Kabral [mailto:JarradK;cordell.com.au]
 Sent: Tuesday, October 29, 2002 6:23 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Cutting off first 4 characters using array input
names??
 
 Hi Group,
 
 I have a problem where when I use array html input names like
 value[client_name] PHP cuts off the first 4 characters?
 
 example code:
 
 input type=text name=value[client_name] value=12345678 /
 input type=text name=value[student_name] value=12345678 /
 
 On the next page there should be a variable called $value with those
 values
 inside it.
 
 This is how it comes out when I do a print_r straight after on the
page
 its
 getting posted to.
 
 [value] = Array ( [client_name] = 5678 [student_name] = 5678 )
 
 This used to work and return the entire string on our old server (PHP
 4.2.2)
 but we just moved to a new dedicated server (PHP 4.2.3) and now it
 screwed.
 
 Any thoughts?
 
 
 Regards
 Jarrad Kabral
 
 
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




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