php-db | 2001072
Date: 07/16/01
- Next message: CC Zona: "Re: [PHP-DB] Re: the body of the response"
- Previous message: Matthew Loff: "RE: [PHP-DB] remote database exchange"
- In reply to: Ken Sommers: "Re: [PHP-DB] Re: the body of the response"
- Next in thread: CC Zona: "Re: [PHP-DB] Re: the body of the response"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <00c801c10e3f$758ba8a0$b943500c <email protected>>,
mrsql.php <email protected> (Ken Sommers) wrote:
> are you saying that i can grab the output of your echo() statements in YOUR
> PHP script by Fopen()ing your URL
Yes, you can use it that way.
> IF so,, is this done much?
It's done. I can't quantify how often. But it's not considered usual or
unorthodox, if that's what you're asking.
> or are there easier more stable less error-prone
> ways to access remote databases?
A) If you're trying to access a remote DBMS with fopen(), then the
probability is very high that's your whole strategy is bass-ackwards. So
if that's what's behind these questions, your confusion is
understandable--time to do a major re-think (and/or, as Ken has already
suggested, spend more time with a PHP manual).
B) What makes you think fopen is unstable or error-prone? I'd expect any
connection to a remote server to have a higher risk of errors than a local
connection, but you seem to believe that fopen() itself introduces new
opportunities for errors above-and-beyond the remote connection itself.
That I would not expect to be the case.
-- CC-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: CC Zona: "Re: [PHP-DB] Re: the body of the response"
- Previous message: Matthew Loff: "RE: [PHP-DB] remote database exchange"
- In reply to: Ken Sommers: "Re: [PHP-DB] Re: the body of the response"
- Next in thread: CC Zona: "Re: [PHP-DB] Re: the body of the response"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

