Re: URL too long

2007-03-09 Thread Eugene Kosov
Tom Smith wrote: Tatiana Lloret Iglesias wrote: Yes! that's the problem, GET method doesnt allow very very long url's ... how can I use POST from Perl code? do you have any example? GET and POST are part of XHTML, not Perl. Realy? :) I thought GET and POST are methods of HTTP protocol :) --

Re: URL too long

2007-03-01 Thread Tatiana Lloret Iglesias
Thanks a lot ... unfortunately URL doesnt work from a browser So finally i'm parsing the long query manually and joining results at the end.. Thanks! T On 3/1/07, Tom Phoenix <[EMAIL PROTECTED]> wrote: On 3/1/07, Tatiana Lloret Iglesias <[EMAIL PROTECTED]> wrote: > The query is so long

Re: URL too long

2007-03-01 Thread Tom Phoenix
On 3/1/07, Tatiana Lloret Iglesias <[EMAIL PROTECTED]> wrote: The query is so long because it's created "manually" in a java program and passed to perl script as input parameter Do you know whether or not the URL is valid? That is, if you use the java-generated URL in your favorite web browser

Re: URL too long

2007-03-01 Thread Tatiana Lloret Iglesias
The query is so long because it's created "manually" in a java program and passed to perl script as input parameter What I dont understand is that, if the website i'm connecting has a form GET how can I change this? I mean if it's a form from my application I can change HTML code without prob

Re: URL too long

2007-02-28 Thread Tom Smith
Tatiana Lloret Iglesias wrote: but the problem is that i cannot modify form html code because it's a public external website If the QUERY_STRING is too long for the URL, your only option is to use POST. GET will allow for "canned" queries--that is, you can create a link that will execut

Re: URL too long

2007-02-28 Thread Tatiana Lloret Iglesias
but the problem is that i cannot modify form html code because it's a public external website ... Thanks! t -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: URL too long

2007-02-28 Thread Tom Smith
Tatiana Lloret Iglesias wrote: Yes! that's the problem, GET method doesnt allow very very long url's ... how can I use POST from Perl code? do you have any example? GET and POST are part of XHTML, not Perl. All you need to do is change your tag to include method="post" instead of method="get"

Re: URL too long

2007-02-28 Thread Beginner
That depends on what your using, CGI or LWP. A CGI example might be $q->start_form(-method=>'POST'). Your need to check out the documentation for a full explanation. HTH, Dp. On 28 Feb 2007 at 19:05, Tatiana Lloret Iglesias wrote: > Yes! that's the problem, GET method doesnt allow very

Re: URL too long

2007-02-28 Thread Tatiana Lloret Iglesias
Yes! that's the problem, GET method doesnt allow very very long url's ... how can I use POST from Perl code? do you have any example? Thanks! T On 2/28/07, Beginner <[EMAIL PROTECTED]> wrote: I think GET request are restricted to 256 characters, try using POST instead. HTH, Dp. On 28 Feb 2

Re: URL too long

2007-02-28 Thread Tom Phoenix
On 2/28/07, Tatiana Lloret Iglesias <[EMAIL PROTECTED]> wrote: i have to browse a very long URL from my PERL script and it fails: Do you know how to make it works?? Do you know that you have the correct URL? If so, you merely need to fix your code. Since you didn't include any code, I'll su

Re: URL too long

2007-02-28 Thread Beginner
I think GET request are restricted to 256 characters, try using POST instead. HTH, Dp. On 28 Feb 2007 at 18:57, Tatiana Lloret Iglesias wrote: > Hi all, > > i have to browse a very long URL from my PERL script and it fails: > > http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITO

Re: URL too long

2007-02-28 Thread Igor Sutton Lopes
Hi Tatiana, On 2007/02/28, at 16:57, Tatiana Lloret Iglesias wrote: Hi all, i have to browse a very long URL from my PERL script and it fails: http://appft1.uspto.gov/netacgi/nph-Parser? Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2FPTO%2Fsearch- adv.html&r=0&p=1&f=S&l=50&Query=%28%22NRF3%22+AND+

URL too long

2007-02-28 Thread Tatiana Lloret Iglesias
Hi all, i have to browse a very long URL from my PERL script and it fails: http://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&u=%2Fnetahtml%2FPTO%2Fsearch-adv.html&r=0&p=1&f=S&l=50&Query=%28%22NRF3%22+AND+%22Colorectal+Cancer%22%29+OR+%28%22NRF3%22+AND+%22Colorectal+Carcinoma%22%