Re: [PHP] I HAVE A PROBLEM HERE...
Generally I would expect one of two possibilities in this scenario.. either a) you are passing thru the url (limited I believe to about 255 characters)...if so use a form with METHOD=post or b) you are storing in a DB and the size of the field in the db is too small (in general most rdbms' will just cut the string off to fit without any warning). Have you tried doing a dump of $HTTP_POST_VARS and $HTTP_GET_VARS? HTH,Tom i assume you mean your passing the variable as part of the url...PHP_SELF?a=something (is this what your doing) if so make sure you use rawurlencode/urlencode before passing the variable and rawurldecode/urldecode on the variable afterwards... --- Joshman [EMAIL PROTECTED] wrote: the php file wont submit to the next file (which is th same file actually: $PHP_SELF ) because the variable is too big for some reason aparently, evn though i have other variables larger than that particular one... __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] I HAVE A PROBLEM HERE...
Supposively all php variables arent suppose to have size limits, for example, I have a php file with a variable the about the size of 40 bytes, but it wont let me submit the variable for some stupid reason, somebody tell me what parameter I have to set to the variable so it WILL work.. and/or why it is not working the way php.net says it should. thanks.. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] I HAVE A PROBLEM HERE...
Problem isn't size, you may have a syntax error...perhaps if you give more detail, submit the variable to what? What do you mean it won't let you? rm --- Joshman [EMAIL PROTECTED] wrote: Supposively all php variables arent suppose to have size limits, for example, I have a php file with a variable the about the size of 40 bytes, but it wont let me submit the variable for some stupid reason, somebody tell me what parameter I have to set to the variable so it WILL work.. and/or why it is not working the way php.net says it should. thanks.. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] I HAVE A PROBLEM HERE...
the php file wont submit to the next file (which is th same file actually: $PHP_SELF ) because the variable is too big for some reason aparently, evn though i have other variables larger than that particular one... -Josh Rm [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Problem isn't size, you may have a syntax error...perhaps if you give more detail, submit the variable to what? What do you mean it won't let you? rm --- Joshman [EMAIL PROTECTED] wrote: Supposively all php variables arent suppose to have size limits, for example, I have a php file with a variable the about the size of 40 bytes, but it wont let me submit the variable for some stupid reason, somebody tell me what parameter I have to set to the variable so it WILL work.. and/or why it is not working the way php.net says it should. thanks.. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] I HAVE A PROBLEM HERE...
Sorry for jumping in not knowing the full story.. is this going into a DB on submit? if so check your char sizes on the DB table fields if their not big enough then you will not be able to submit propperly. Peter Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm list-help: mailto:[EMAIL PROTECTED] list-unsubscribe: mailto:[EMAIL PROTECTED] list-post: mailto:[EMAIL PROTECTED] Delivered-To: mailing list [EMAIL PROTECTED] To: [EMAIL PROTECTED] From: Joshman [EMAIL PROTECTED] Date: Mon, 6 Aug 2001 21:16:15 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Posted-By: 216.58.212.17 Subject: Re: [PHP] I HAVE A PROBLEM HERE... X-Mozilla-Status: X-Mozilla-Status2: X-UIDL: 588e28a02a933636c3a843cd9908ce74 the php file wont submit to the next file (which is th same file actually: $PHP_SELF ) because the variable is too big for some reason aparently, evn though i have other variables larger than that particular one... -Josh Rm [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Problem isn't size, you may have a syntax error...perhaps if you give more detail, submit the variable to what? What do you mean it won't let you? rm --- Joshman [EMAIL PROTECTED] wrote: Supposively all php variables arent suppose to have size limits, for example, I have a php file with a variable the about the size of 40 bytes, but it wont let me submit the variable for some stupid reason, somebody tell me what parameter I have to set to the variable so it WILL work.. and/or why it is not working the way php.net says it should. thanks.. -Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Peter Houchin Sun Rentals STR Manager Phone: 03 9329 1455 Fax: 03 9329 6755 [EMAIL PROTECTED] http://www.sun.com.au/rentals = _ __ /\ /_/_/_\/ |_/ \ /_/_/___ __ __ __ / \ \_/_/_\ /_/ /_/ /_/ /_/ \ _ / ___\_\_\/ /_/_/_/ /_//\/_/\_/ \/\_/ \_//_/_/ /_/_/_/ /_/ \/_/v /_/_/_/_/ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ /_/_ _/_/ __ __ __ /_/ __ __ /_/_/_/_/ /_/_/_/ /_/ /_/ /_/ /_/\_\/_//_/_/_/ /_/ \_\ /_/ _/ /_//\/_/ /_/ /_/__\_\ /_/___ _\_\_\ /_/\_\/_/_/_/ /_/ \/_/ /_/ /_/\_\/_/_/_//_/_/_/ = Telephone : (03) 9329 1455 Facsimile : (03) 9329 6755 * We rent the dot in .COM! ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] I HAVE A PROBLEM HERE...
i assume you mean your passing the variable as part of the url...PHP_SELF?a=something (is this what your doing) if so make sure you use rawurlencode/urlencode before passing the variable and rawurldecode/urldecode on the variable afterwards... --- Joshman [EMAIL PROTECTED] wrote: the php file wont submit to the next file (which is th same file actually: $PHP_SELF ) because the variable is too big for some reason aparently, evn though i have other variables larger than that particular one... __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]