You are here: Re: maximum length for $_GET « All PHP « IT news, forums, messages
Re: maximum length for $_GET

Posted by Tom on 08/31/07 17:52

On Wed, 29 Aug 2007 11:43:04 +0200, Gernot Frisch wrote...
>
>
>> Virtually limitless. The bottleneck in using very long urls seem to
>> be the
>> ua's & http servers themselves, especially MSIE.
>> <http://www.boutell.com/newfaq/misc/urllength.html>
>
>Oh! Much too short for me.
>Now, is there any way of using wget or some command line tool to write
>post data? If all fails, I could write a html file with a "submit"
>button, but that's no good idea.
>
>The background: I've written a game, where the users should be able to
>upload their created levels (ini file, about <2MB) from within the
>program. My programming language allows HTTP getting, but not with
>post data.
>
>thanks for any ideas.
>
>
>

Since you are restricting yourself to only the GET method, you don't have a
reasonable upload method through your form. In order to get a file from you
user's PC, I think you would need to use the POST method, so that they can
select the file they want to upload.

If you try it from the server end, I don't believe there is a way to identify,
locate and retrieve the information on a remote PC. Maybe have most of your
forms use the GET method and limit the POST method to just one form that uploads
a file. I've tried wget for pulling files from a server, but don't believe it
works well going the other direction.

Tom
--
Newsguy.com
Unlimited Accounts
Now with 32 concurrent connections

 

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

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