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 to
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 have e.g
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, October 10, 2005 11:03 AM
To: php-general@lists.php.net
Subject: [PHP] Having resource variables over
: [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, etc
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 over several scripts
Ok
5 matches
Mail list logo