Re: [PHP] SMS with php
Due to all the questions I am posting replies to this thread to a single message. I'm very intruiged how you have got this to work it was my understanding you needed to be running a server, such as kannel, and have a contract with an smsc? No, you don't need anything special. could U list the URL http://www.radio.net/rfc1861.txt?number=1861 http://www.ietf.org/rfc/rfc1568.txt?number=1568 This is old, Don't use it. The reason is not that any of the commands are unusable but there is no reason to go through the trouble of programming to do it to an out of date rfc. Thats the standard, but because of the other systems involved in delivering msgs then I don't think it possible just to do that without the co-operation of a third party smsc. You don't need any third party anything. It is exactly like sending a request to a web server (get, post, header, etc...) except the port number will be different and the commands are different. But, the premise is the same. OPen a socket, send request, process response, send request . I know the browser is usually doing a lot of this for you but the point is that if a company has a gateway out there you can send messages to it. for those who are interested there is a good wap/sms server, open source and generally funky kannel (kannel.3glabs.org) Not neccessary. You can do it with PHP, Perl, Python, C or anything else you can bind to a port. It is really not that difficult. If you own a wireless company and need to make the actual gateway all the pieces are available to stitch together. PHP or some other language for the internet gateway, RTNPP that will communicate with the actual terminal. Time is required but not a lot of money. Yes, but if you don't have a lot of traffic you can use a GSM modem as SMS-C. Anyway, any single message will costs as by contract with the carrier. I was not aware that any carrier would attempt to charge someone trying to contact one of their subscribers. Surely I misunderstood you here. I will talk to my employer about releasing the code I have. I am currently rewriting it for another application so I am not sure when it would be in a state to be released. It currently only has been tested with US based companies like skytel, Verizon, ATT, and the like. -- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602-8044 915-695-6962 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Fwd: Re: [PHP] SMS with php
http://www.ietf.org/rfc/rfc1861.txt?number=1861 There. How is that. You should still try google. You might turn up more to help you. -- Lewis Bergman Texas Communications 4309 Maple St. Abilene, TX 79602-8044 915-695-6962 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] SMS with php
Hi, Does anyone know how to send a sms message to a handphone using PHP? Thanks and regards, Alva Chew I have a class that does it. It is very easy. See the RFC on SNPP and some use standard mail servers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] foreach vs. while(list() = each())
One apparent problem with foreach() is it can misbehave code as follows. (4.0.4pl1, 4.0.5RC6) function foo($a) { foreach ($a[0] as $k = $v) { echo $k.$v; } } $a = 'abc'; foo($a); You'll get 'server not found' or browser waiting forever with this code. (If you don't, please let me know) Good point but I wouldn't characterize a launguage's or function's expectation that you use correct syntax as a problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Edit crontab to set schedule..
and i have this in mailbox when the scheduling failed: your terminal lacks the ability to clear the screen or position the cursor wget has always worked well for me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Page not found error
if I leave my browser on a php and then I click a link after lets say 5 or 10 minutes that links to another php page it says page not found even though the page is there. has anybody else experienced this error? Is this link passed as a value or something that might expire with a session? Just a wild guess. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] stumped on mailing a complete page
This question may have been asked a million times, but I have had no luck searching for a difinitive answer. I want to send a confirmation email upon receiving an order, and would like to send the page that I display on the browser to the user. I can not figure out how to send a page, like the links that let you mail a page to a friend on some sites. Any help would be much appreciated. Thanks, Brett Lets be clear. Do you want to send the page or just the important values from the page? One way I do this is like this: $successPage =EOF centerh1SUCCESS!!/h1/center lots of stuff here. A whole html page. EOF then you mail it like this mail('order.money.com', $headers, $successPage); or you just loop through all the post vars and build a body from that and mail it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] strange think with 'mail()'
mail("[EMAIL PROTECTED]","subjekt","inhalt", "Content-Type: text/html\nFrom: [EMAIL PROTECTED]"); the mail reaches me, is readable, but on the next time i start netscape its GONE ? I tryed some other header pieces, but all get the same effekt. What do the headers look like when it arrives? I suspect it disappears because they are screwed up. I would seperate them with '\r\n' instead of just '\n'. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Zend IDE price plans
Is anyone else dissappointed in the limited pricing options of the Zend IDE? I would love to buy the commercial license as about half of my work would fall into that. My problem is I don't want or need anything except the IDE. Are there other people in this same boat? I would like the IDE but don't want to pay for a bunch of stuff I don't want or need. I would think that there is some middle-goround somewhere. More than $50.00 for the personal license but less than the $850.00 for the whole big ball of wax. I would love to hear what others are thinking on this subject. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Zend IDE price plans
lagi wrote: They can charge the big companies who pay the microsoft tax for the extra nannying that they need/want/expect but why give the razor free and then charge $6000 per blade? Charge a nobrainer price (for a limited period) and we would all jump in i predict. You mean like the Commercial Subscription ($70/month) ?? The Encoder SE is available with that plan. In fact, that's almost the whole idea behind the Commercial subscription: to allow a very low entry for access to the Encoder technology. As I said before, This encoder stuff may be great for companies that sell software and that kind of recurring $70 cost make sense when you are selling a product. But, If you are an occasional freelance programmer or use php for just your companies sight you could probably care less about encoding. I just want the debugger. Thats it. I hope they make some kind of allowance for this as was hinted before but that isn't what Zend told me when I inquired about it. They just said "No, but your opinions are considered". Obviously Zend can do whatever they want with their own products. I just think that something between illeagal and everything should be offered to maximize sales. Also, Does anyone know if the IDE works on the snapshots? I didn't see anything to preclude it but it seemed to come packaged with a PHP version. I wouldn't want to give up the ability to code with the latest function to use an IDE. I guess I could just do without for that instance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]