Reply to Re: zip_read strangeness

Your name:

Reply:


Posted by Ben Hallert on 01/10/07 15:10

(forehead slap)

I just figured it out.

I had trimmed the foreach loop from my original code snippet when I put
it in, then, realizing it would help make it readable, I put it back.
....but instead of putting it back intact, I just retyped it from
memory. It turns out that my foreach loop pushed out a different
variable name, but the $filename string I was using was leftover from a
few lines before.

So, local namespace variables might havesaved my from my own stupidity.
The code works when I actually pass it a variable name that changes.
Whooops....

On the plus side, there's code on Google Groups showing how to read out
the contents of a zip from PHP now, heh.

Regards,

Ben

[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

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