|
||||||
| PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
can anybody help with php code that can change the sender id to text, so that the receiver would see somethin like "James company" and not "012565355"...
in this case i am using a gsm phone connected to my pc. |
| Sponsored Links |
|
|
|
|||||
|
Can you post your the code you are currently using?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||
|
there softwares like ozeki sms server that connects to the phone via the computer but the script..
here is the send script Code:
<?php
$gatewayURL = 'http://localhost:9333/ozeki?';
$request = 'login=admin';
$request .= '&password=abc123';
$request .= '&action=sendMessage';
$request .= '&messageType=SMS:TEXT';
$request .= '&recepient='.urlencode('+36205222245');
$request .= '&messageData='.urlencode("Hello World");
$url = $gatewayURL . $request;
//Open the URL to send the message
file($url);
?>
This is the second example code they have... Code:
<?php
if ($submit=="Send")
{
$url='http://localhost:9333/ozeki?';
$url.="action=sendMessage";
$url.="&login=admin";
$url.="&password=abc123";
$url.="&recepient=".urlencode($recepient);
$url.="&messageData=".urlencode($message);
$url.="&sender=".urlencode($sender);
file($url);
}
?>
<html>
<form method=post action='index.php'>
<table border=0>
<tr>
<td>Sender</td><td><input type='text' name='sender'></td>
</tr>
<tr>
<td>Recepient</td><td><input type='text' name='recepient'></td>
</tr>
<tr>
<td>Message</td><td><input type='text' name='message'</td>
</tr>
<tr>
<td colspan=2><input type=submit name=submit value=Send>
</form>
</tr>
</table>
</form>
</html>
Last edited by seyz4all; 08-22-2008 at 02:21 AM. Reason: needed to add somthin |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Applications for Your Mobile Phone | Kernel | Programming News | 0 | 08-12-2008 02:41 PM |
| Mobile Phone Keys | Jordan | Technology Ramble | 5 | 05-15-2008 02:25 AM |
| Detect Mobile Phone | Chan | JavaScript and CSS | 1 | 09-06-2007 01:04 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |
Goal: 100,000 Posts
Complete: 97%