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