Hi, I have checked and rechecked and now I got the following error message in thelog 2007-06-01 13:42:03 [10636] [14] INFO: PPG: Accept request </wappush> from <127.0.0.1> 2007-06-01 13:42:03 [10636] [14] WARNING: PAP COMPILER: pap_compile: parse error in pap source 2007-06-01 13:42:03 [10636] [14] WARNING: PPG: pap control entity erroneous, the request unacceptable
I have attached the code here if someone can help me what is missing. I have change the necessary login details as either xxxx or 9999. Appreciate for any assistance; rgds Azaman On 6/1/07, Juan Nin <[EMAIL PROTECTED]> wrote:
thnx! :) I'm glad it worked! When I started with PPG I found some lack of information on the topic, and lots of people asked always the same questions about it... So once I could get it working I wrote that for others to be able to use it :) Regards, Juan R Martin wrote: > Nice Mini-Howto! :) > > You're right! It was a line feed. I was able to discover the issue by > trying all possibilities one by one. Im just waiting for the provider > to actually enable PPG to be sent to phones... > > On 5/31/07, *Juan Nin* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > wrote: > > well, that's my mini howto :P > > you probably have some incorrect linefeeds due to copying the PHP > code > from the webpage > each line from $body and $post must be in a single line > > for example, from my webbrowser I see this: > > '<address > address-value="WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN <at> > *ppg*.nokia.com"/>'."\r\n". > > which is in 2 lines, while it should be: > > '<address > address-value="WAPPUSH=+'.$country_code.$phone.'/TYPE=PLMN <at> > *ppg*.nokia.com"/>'."\r\n". > > in only one line (be careful, maybe your mail client cuts it into > 2 lines too!!!) > so every string in $post and $body must be in a single line > > I hope I've been clear enough :) > if not, let me know! > > Regards, > > Juan > >
-- Hj Azaman Hj Suleiman Tel: +6738143127
waptest.php
Description: application/httpd-php
