On Mon, Jul 20, 2009 at 12:10 PM, Amritesh
Rachelwar<[email protected]> wrote:
> Dear,
>
> Thanks now it is working fine but now if i put one echo command it is not
> working....
> Now it is only sending sms...

As I told you before you can use php header function or cURL.
Try googling for a php curl howto ;)
Why are you so lazy? :P

> Script is
>
>
> <html>
> <body>
> <?php
> echo "Some has seen Ur website";
>  $URL =
> "http://10.100.100.199:12345/cgi-bin/sendsms?username=abcd&password=xyz&from=Amritesh&to=919423654587&text=Hi";;
>  header("Location: ". $URL);
> ?>
> </body>
> </html>
>
>
> On Mon, Jul 20, 2009 at 2:41 AM, Jovan Kostovski <[email protected]> wrote:
>>
>> 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
>
>



-- 
Advice for software developers and horse racing enthusiasts: Avoid hacks

Reply via email to