PHP Script

PHP Script SearchSearch

SMS & MMS Technical Forum » NowSMS Support - MMS & Advanced Issues (Product Support Only) » Archive through July 14, 2004 » PHP Script « Previous || Next »
Author Message
Unregistered guest
Posted on Thursday, April 15, 2004 - 05:21 pm:   


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?


Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2309
Registered: 10-2002
Posted on Monday, April 19, 2004 - 02:06 pm:   

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="" (substituting in the correct IP address or host name), and that would do the trick.


Login Login / Register Logout Logout Search Last 30 Days Topics Topics