PHP Script | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through July 14, 2004 ⬆ |
◄ ► |
Author | Message | |||
bwgames Unregistered guest |
Hi, I've got the PHP script working if I put the data in the actual script, but I want to get a form, similar to the web interface's one. BUT, on a linux system, connecting to the server over HTTP. Can someone give me code for the form, with fields for the attachment that work on linux? Thanks, Ben | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2309 Registered: 10-2002 |
Hi Ben, Just take the existing form (you'll find it in the HTML subdirectory of NowSMS), and you can simply change the "form" header to include an "action" attribute that points to the NowSMS system. For example "Send Text Message.htm" has the following form header: <form method=Get enctype="application/x-www-form-urlencoded" onsubmit="clearTextBoxCounter()"> Add action="http://192.168.1.100:8800/" (substituting in the correct IP address or host name), and that would do the trick. -bn |