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
tore 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 resource variable and the code to store it in a session? - Jeff -Original Message- From: Benjamin Mack [mailto:[EMAIL PROTECTED] Sent: Monday, O

RE: [PHP] Having resource variables over several scripts

2005-10-10 Thread Jeffrey Santos
b the resource variable and the code to store it in a session? - Jeff -Original Message- From: Benjamin Mack [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 11:03 AM To: php-general@lists.php.net Subject: [PHP] Having resource variables over several scripts Hey, I am trying to hav

[PHP] Having resource variables over several scripts

2005-10-10 Thread Benjamin Mack
Hey, I am trying to have e.g. a file opened over several scripts. When opening a file with "fopen" I receive a variable of the type resource (like "Resource ID #3"), but when I try to save this variable in the SESSION and try to use it on another page, I get a "null" variable. Because I need