Re: X-Kannel Header Problem

Raditha Dissanayake <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello,

I am a bit suprised that you are having trouble mixing GET and POST with 
the CGI module. If you do continue to have problems there are quite a 
few simple scripts around that can parse out the query string to obtain 
the get variables. You can probably write it yourself using the time it 
takes to google on it.

all the best



Rory Campbell-Lange wrote:

>Hi Benjamim
>
>Haven't tried with post. Should I?
>My sending url is constructed as a GET string, and CGI.pm doesn't like a
>mixture of POST and GET.
>
>On 06/10/03, Benjamin Lee ([email protected]) wrote:
>  
>
>>See comments inserted below... 
>>
>>On Sunday, 2003-10-05 at 10:34:21 AM, Rory Campbell-Lange scribbled:
>>    
>>
>>>I have a perl script that sends messages and needs to send DLR and
>>>validity information.
>>>      
>>>
>
>  
>
>>>my $dlr_url = uri_escape('http://localhost/cgi-bin/dlr.pl?row=$msgid&dlr=%d');
>>>$h->header('X-Kannel-DLR-Mask'      => 7);
>>>$h->push_header('X-Kannel-DLR-URL'  =>  $dlr_url);
>>>$h->push_header('X-Kannel-Validity' => 7200);
>>>my $ua = LWP::UserAgent->new(env_proxy => 1, keep_alive => 1, timeout => 30,);
>>>my $request = HTTP::Request->new('GET', $url, $h);
>>>      
>>>
>>Just checking... are you saying that...
>>my $request = HTTP::Request->new('POST', $url, $h);
>>                                ##^^^^##
>>    
>>


-- 
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/          |  http://www.raditha/megaupload/
Lean and mean Secure FTP applet with  |  Mega Upload - PHP file uploader
Graphical User Inteface. Just 150 KB  |  with progress bar.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.