SMS gateway services will allow for this. you typically pay for each ext message but can upsell the value of them. Read the post above for an example service we used to run.
protip: for us carriers 99% of text messaging can be accessed by email via
example being #@verizon.com
Hi im trying to get this to work and im not having any luck can u explain how to get this php to work ive never worked with it b4. when i hit submit the actual php file comes up and nothing happens
So are you running this on a testing server on your PC?
You need to call the files via http://domain, on a WAMP/LAMP box probably http:/localhost/testpage.php. If you access it via the file structure like, c:\path\to\files\.test.php it'll not be run through the server's php interpreter so you get the text file. You can acesss HTML via the file structure because the .html file extensin is probably associated with a browser. It'll display correctly, directly opened in a browser but PHP will not. So if you mix that up you'll get the problem you're having. An HTML page with a form with the action to a PHP page opened via the file structure in a browser. The HTML page will display but the PHP one will show as text.
Always view PHP pages through the webserver, eg http://yadda/yadda.
Last edited by SyCo; 01-13-2009 at 10:45 AM.
i uploaded it to my host here is the site http://www.miamicriminallawattorney.com/sample.html it doesnt look right i know because im not @ that point yet to make it look nice im just trying to get the text thing working first. ty so very much for your information thus far.
this is the message i get
Method Not Allowed
The requested method POST is not allowed for the URL /scripts/send_sms.php.
i would like to do away with the carrier drop down and have that hidden along with the "to" section just a given that its going to go there so people do not abuse the texting and start using the site to text thier friends and eat up the transfer data quota.
Last edited by Smoke1; 01-13-2009 at 12:08 PM.
Contact your Host. I think that's a configuration error. They should allow POST. You should create a simple test page with a simple form that posts to itself and reads an input with php.
Something like this
Check for errors and forward them to your host. Use the simple URL to report the problem to keep confusion to a minimum.
<form method="post" action="<?php echo $_SERVER['SCRIPT_NAME']?>">
<input type="text" name="test" id="test">
is this kinda right......?
link is http://www.miamicriminallawattorney....s/testies.html
and the php is http://www.miamicriminallawattorney....ripts/test.php
this is all like chineese to me man im more lost than a blind man on a deserted island lookin for a tity bar.
For a final test try this and just this on a new page.
save it as info.php and visit it via an http:// address in your browser.
You should get a page with blue boxes full of server information.
Who is your host?
If you don't get the info page then they have not configured their server correctly. If they clam to support PHP they have screwed up badly. My advice, go somewhere else. If they can't get something simple like this right, run away, they will never be able to handle the security aspects of running a server.
this is the link http://www.miamicriminalattorney.com/scripts/info.php
i made the php file with just what you had put in and this is what it told me
The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
You have to answer all the questions asked of you in the replies to your posts. It's frustrating helping you when you don't answer, because without the info we're guessing and that's a waste of time.
So again, who is your host?
What package/account/deal do you have with them.
cc.earthlink.net is the host and we have the general $19 a month plan
There is no $19 a month plan. What is the plans name?
It looks like they support PHP in the $17.98 prosite plan and they should support POST too in all accounts.
You need to contact Earthlink support.
its starter site web hosting plan
Hosting Bill Plan: Starter Site
Web Space: 5000 MB
Data Transfer: 20 GB/month
Monthly Fee: $19.95
i just installed this on the server is this what i was missing
phpBB is a popular way to add forums to a Web site. The straightforward administration interface lets you get up and running quickly, while phpBB's flexibility lets you customize the look and feel of your forums to match your Web site.
phpBB Final Installation
Install Date: Tue Jan 13 10:40:31 PST 2009
The phpBB script files can be found in your /webdocs/phpbb folder.
After installation, click Set Up Your Forums to create an admin username and password for your forum. Complete this step immediately to secure your forum.
After setup, several directories must be removed in order to ensure the security of your forum. Use the file manager to delete the following folders: /phpbb/install and /phpbb/contrib
OK Smoke. You're new here and to PHP, so I've really been patient. I asked you to contact your host. That's the next thing you have to do. You should have already don't that by now so we know if that's the problem. I even gave you a simple script to make communication with them easier and more clear. There is nothing more that can be done for you until you do that.
The starter site package has PHP5 so you should be able to use it. PHPbb is a forum script package included free with your hosting. Not a great bargain as it's free anyway but it might be easier to install. Only install it if you want to add a forum/message board to your site. It's not the solution you are looking for to this problem. Contact your host and if they don't fix it tell us what they said.
ty so much for the patience and willingness to help me out u rock
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)