[PHP-DEV] RE: [PHP] Sending variables between PHP pages
Yes, thanks a lot, but i need to mantain the connection open for manage a transaction, an everytime that I open a new database connection, the system begins a new transaction and I lose the last one. Do you understand, me? Do you know the way for do that? I think it is imposimble in web applications at all, because there is no persistent connection between db server and web server + PHP service. You can try for example mysql_pconnect() function (or it's analog for your db engine) but still I don't think it is possible ;((( Only applications can make this for you NOT PHP and Web ;((( -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Re: [PHP] Sending variables between PHP pages
Yes, Im thinking the same... :-(( Thanks again Intruder - Original Message - From: Intruder [EMAIL PROTECTED] To: Berlina [EMAIL PROTECTED]; php-general-list [EMAIL PROTECTED]; php-dev-list [EMAIL PROTECTED]; php-db-list [EMAIL PROTECTED] Sent: Friday, January 04, 2002 12:38 PM Subject: RE: [PHP] Sending variables between PHP pages Yes, thanks a lot, but i need to mantain the connection open for manage a transaction, an everytime that I open a new database connection, the system begins a new transaction and I lose the last one. Do you understand, me? Do you know the way for do that? I think it is imposimble in web applications at all, because there is no persistent connection between db server and web server + PHP service. You can try for example mysql_pconnect() function (or it's analog for your db engine) but still I don't think it is possible ;((( Only applications can make this for you NOT PHP and Web ;((( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] RE: [PHP] Sending variables between PHP pages
how can I send a connection database variable, from one PHP page to other PHP page, and maintance the database connection open during both pages? I don't think one can do that. There is NO need for that. You can write header.php file and include it in the beginning of each PHP page where you need db connection and footer.php which you can include at the bottom of each page with X_close() function in it. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]