Reply to Re: $x = fopen ressource as as get parameter.

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация