Re: Globals off and passing data

From: Date: Sat, 08 Feb 2003 23:59:36 +0000
Subject: Re: Globals off and passing data
Groups: php.general 
Request: Send a blank email to php-general+get-134872@lists.php.net to get a copy of this message
I'm opening a socket to the remote machine and using post to send the data. But please enlighten me, what is the usual method of accessing a remote database? Jason Wong wrote: On Sunday 09 February 2003 06:32, Paul wrote: >> I'm working in a multitiered envoronment in development. I'd like to turn globals >> off, but I can't figure out how to pass data back and forth between machines. I'm sending >> data to a database machine using POST, and I can use>> the data once it gets there, but I >> can't seem to get anything back. At the moment I'm using a meta refresh statement to get >> back to the next page on the web server on the originating machine (would like something more >> elegant than this to go to the next page, but just getting some data back>> is first on my >> list). Does such a thing as a tutorial exist for this? Perhaps you could elaborate on what your setup is and what you're doing. For example, what do you mean by "sending data to a database machine using POST"? The usual method of accessing a remote database does not involve the use of "POST".

« previous php.general (#134872) next »