>Stefano Baronio wrote: >> >Generaly speaking, I don't think you should use socket programming >in PHP for HTTP connections - PHP has a good HTTP infrastructure >using the fopen() and file() function calls. these calls will allow >you to easily do GET calls to Kannel and other HTTP applications. If >you need the ability to do POST calls, then PHP has an extension to >link with the excellent cURL library which does all kinds of HTTP >magic. > >I've had many problems with PHP socket programming and HTTP, and >moving to a cURL based implementation or using the internal file >wrappers for HTTP solved it for me. >
I agree on Oded's comments. our server (www.smsrelay.com in section developers) has a example library on how to do that in PHP. its made for our own sysstem but the parameters are exactly the same as in Kannel with the exception that the result looks a bit more detailt than a simple "Sent.t". -- Andreas Fink Fink-Consulting ------------------------------------------------------------------ Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [EMAIL PROTECTED] Homepage: http://www.finkconsulting.com ------------------------------------------------------------------ Something urgent? Try http://www.smsrelay.com/ Nickname afink
