Re[2]: [PHP] Using PPP with PHP

2003-07-10 Thread Burhan Khalid
On Thursday, July 10, 2003, 8:41:03 PM, Jay wrote:

JB> [snip]
JB> Umm, use exec() to call the dialing program?
JB> [/snip]

JB> That works on the surface, but the PPP program returns some vital
JB> information about its connection status that is required for use by any
JB> subsequent file operations. The information is returned via STDOUT.

How about piping the output to a file and then checking that file with
PHP?


-- 
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com


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



RE: [PHP] Using PPP with PHP

2003-07-10 Thread Mike Migurski
>[snip]
>Umm, use exec() to call the dialing program?
>[/snip]
>
>That works on the surface, but the PPP program returns some vital
>information about its connection status that is required for use by any
>subsequent file operations. The information is returned via STDOUT.

so try system() instead. Or one of the other methods referenced in
http://php.net/manual/en/function.exec.php

-
michal migurski- contact info and pgp key:
sf/cahttp://mike.teczno.com/contact.html


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



RE: [PHP] Using PPP with PHP

2003-07-10 Thread Jay Blanchard
[snip]
Umm, use exec() to call the dialing program?
[/snip]

That works on the surface, but the PPP program returns some vital
information about its connection status that is required for use by any
subsequent file operations. The information is returned via STDOUT.

Thanks!

Jay

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



Re: [PHP] Using PPP with PHP

2003-07-10 Thread Adam Voigt
Umm, use exec() to call the dialing program?



On Thu, 2003-07-10 at 13:22, Jay Blanchard wrote:
> Good afternoon gurus and gurettes!
> 
> Has any of you had any experience using PPP (Point-to-Point Protocol)
> with PHP? I need to work with it to establish a connection to a remote
> server on a remote network and was hoping that I could use PHP.
> Currently I can manually establish I dial-up using PPP over a modem. I
> would like to automate the process as much as possible. Any help would
> be grandly appreciated.
> 
> Jay
-- 
Adam Voigt ([EMAIL PROTECTED])
Linux/Unix Network Administrator
The Cryptocomm Group


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



[PHP] Using PPP with PHP

2003-07-10 Thread Jay Blanchard
Good afternoon gurus and gurettes!

Has any of you had any experience using PPP (Point-to-Point Protocol)
with PHP? I need to work with it to establish a connection to a remote
server on a remote network and was hoping that I could use PHP.
Currently I can manually establish I dial-up using PPP over a modem. I
would like to automate the process as much as possible. Any help would
be grandly appreciated.

Jay

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