Re: [PHP] Having resource variables over several scripts

2005-10-10 Thread Benjamin Mack
Hey, actually, the key problem is that: I installed this ssh2 extension and want to connect to e.g. a server, and then, maybe on the next page, enter a command that will be executed on that server and so on. I can't connect to a server everytime (or: i COULD but I don't want to) because it tak

[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