|
Posted by Erwin Moller on 10/06/06 12:47
Bob Bedford wrote:
> Hi all,
>
> I'm trying to pass a fopen() ressource result as a parameter.
>
> $x=fopen($filename);
> header('location:myfile.php?ressource='.$x);
>
> but it doesn't seem to work.
>
> How to do so ?
>
> Bob
Hi Bob, you don't.
A resource is something you can create for the duration of your script, so
when your script finishes, it is gone.
In your case I would pass the filename, and let the receiving script make
its own resource based on the filename.
Regards,
Erwin Moller
[Back to original message]
|