Re: [PHP] Howto connect to the internet using php

2005-07-21 Thread Angelo Zanetti

cant u use the exec() function to call system commands...



Steven wrote:

> Is there any way for me to use php to make my windows xp pc connect to
> the internet, either by starting the windows dialer or by some other
> means?  The windows machine uses a standard 56k dialup to connect to
> the internet.
>
> Thanks
> Steve
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Howto connect to the internet using php

2005-07-21 Thread Mikey

Steven wrote:

Is there any way for me to use php to make my windows xp pc connect to 
the internet, either by starting the windows dialer or by some other 
means?  The windows machine uses a standard 56k dialup to connect to 
the internet.


Thanks
Steve

If you have your machine already set-up to connect automatically to the 
internet (i.e. when your browser is started) then all that is necessary 
is to execute something that needs an internet connection - for example 
you could CURL a web page.


Mind you, if you had done a 2 minute google, maybe you would have found: 
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rasdial.mspx


HTH,

Mikey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Howto connect to the internet using php

2005-07-21 Thread André Medeiros
On Thu, 2005-07-21 at 12:10 +0200, Steven wrote:
> Is there any way for me to use php to make my windows xp pc connect to 
> the internet, either by starting the windows dialer or by some other 
> means?  The windows machine uses a standard 56k dialup to connect to the 
> internet.
> 
> Thanks
> Steve
> 

http://www.dx21.com/SCRIPTING/RUNDLL32/VIEWITEM.ASP?OID=126&CMD=P-A

:)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Howto connect to the internet using php

2005-07-21 Thread André Medeiros
On Thu, 2005-07-21 at 12:10 +0200, Steven wrote:
> Is there any way for me to use php to make my windows xp pc connect to 
> the internet, either by starting the windows dialer or by some other 
> means?  The windows machine uses a standard 56k dialup to connect to the 
> internet.
> 
> Thanks
> Steve
> 

There might be a way of doing it through rundll32, although I'm not sure
wich. 

On the php side, once you uncovered how to do it, you would just
exec() / system() the function :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Howto connect to the internet using php

2005-07-21 Thread Cafer Simsek
Hi

It may posible with .Net and COM functions, I think.

see : http://www.php.net/manual/en/ref.com.php

Best Regards

-Cafer

Prş, 2005-07-21 tarihinde 12:10 +0200 saatinde, Steven yazdı:
> Is there any way for me to use php to make my windows xp pc connect to 
> the internet, either by starting the windows dialer or by some other 
> means?  The windows machine uses a standard 56k dialup to connect to the 
> internet.
> 
> Thanks
> Steve
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Howto connect to the internet using php

2005-07-21 Thread Steven
Is there any way for me to use php to make my windows xp pc connect to 
the internet, either by starting the windows dialer or by some other 
means?  The windows machine uses a standard 56k dialup to connect to the 
internet.


Thanks
Steve

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php