Re: [PHP] Having resource variables over several scripts

2005-10-10 Thread Benjamin Mack
t wouldn't seem very efficient and you might be better off just reaccessing the resources as needed. - Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 1:10 PM To: php-general@lists.php.net Subject: RE: [PHP] Having resource variables

RE: [PHP] Having resource variables over several scripts

2005-10-10 Thread Jeffrey Santos
ubject: RE: [PHP] Having resource variables over several scripts Ok, first let me disclaim that there are definitely a lot of people a lot smarter than me out there who may have figured this one out already, but as far as I know, resources like open file handles, database connection handles, objects,

RE: [PHP] Having resource variables over several scripts

2005-10-10 Thread tg-php
Ok, first let me disclaim that there are definitely a lot of people a lot smarter than me out there who may have figured this one out already, but as far as I know, resources like open file handles, database connection handles, objects, etc.. but especially anything that returns a resource numb

RE: [PHP] Having resource variables over several scripts

2005-10-10 Thread Jeffrey Santos
Ben, If you grab the resource and store it in a variable, you certainly should be able to send it via GET or POST. For that matter, you should be able to store the information in a SESSION variable too, so I'm not sure what is going wrong. Could you email the code you are using to grab the resou