Re: Re: Can someone - anyone see my error?

From: Date: Mon, 26 Aug 2002 04:06:19 +0000
Subject: Re: Re: Can someone - anyone see my error?
Groups: php.general 
Request: Send a blank email to php-general+get-114097@lists.php.net to get a copy of this message
Just curious... Have you tried it with POSTed variables? As in the case mentioned? Just wondering... Anyway, I'll try it myself later... - E
using register_globals=on and trying to echo out the $5400 errors as expected, but php sees the correct entry in the $_GET superglobal array as it should. running a simple foreach($_GET as $key => $val) returns a key of
5400 and a value of 1000 on a page with the querystring of page.php?5400=1000, so you should be able to pull that info into another variable correctly. Jason Reid jason@achost.ca -- AC Host Canada www.achost.ca ----- Original Message ----- From: "Eric Pignot" <eric.pignot@alinto.com> To: <php-general@lists.php.net> Sent: Sunday, August 25, 2002 7:24 PM Subject: [PHP] Re: Can someone - anyone see my error?
<form enctype="multipart/form-data" action="postbit.php" method="post">
<input type="hidden" name="5400" value="1000"> Send this file: <input name="userfile" type="file"> <input type="submit" value="Send File"> </form>
I am not really replying to your question, but just as a remark, in php, a
variable needs to start with a letter or and underscire. (must be detailed
in the doc) So I have absolutely no idea how PHP will interpret this line : <input type="hidden" name="5400" value="1000"> (and I would be curious to know how it actually does ! can you tell me ? )
bye Eric -- 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
_________________________________________________________________ ハイセンスな商品を気軽に購入 MSN ショッピング http://shopping.msn.co.jp/

« previous php.general (#114097) next »