On Mon, Jul 20, 2009 at 11:13 AM, Amritesh
Rachelwar<[email protected]> wrote:
>  elinks -dump "http://localhost:80/test.php";
> it gives out put only
> Hello World

What else can you expect from a script which prints "Hello World" and
defines a variable called $URL? :D
Use the php header function or cURL to create http request.

Try with the following script:

<?php
  $URL = 
"http://10.100.100.199:12345/cgi-bin/sendsms?username=abcd&password=wxyz&from=Amritesh&to=919423087634&text=Hi";;
  header("Location: ". $URL);
?>


BR, Jovan

Reply via email to