tmallen Posted February 17, 2008 Share Posted February 17, 2008 I'm using a dynamic method to generate pages in a Yahoo store. In short, Yahoo has some funny-looking HTML comments that its servers understand how to parse into relevant product information. I was wondering why my pages weren't rendering properly, and I was able to solve my problems by using a cache script: Yahoo will only render these comments properly if the file is set to 775, so using chmod() to the result file was enough to make the generated pages work normally. This all feels very roundabout: Is there a way to make my files rendered dynamically (not the cache ones, the older method I explained) be recognied as 775 by the server? I'd really like to avoid having to cache all of these pages. Thanks! Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 17, 2008 Share Posted February 17, 2008 chmod("/somedir/somefile", 0755); Quote Link to comment Share on other sites More sharing options...
tmallen Posted February 17, 2008 Author Share Posted February 17, 2008 I chmodded all relevant files to 775. The cache script does make the output files 775. My point was to be able to generate these product pages using the few PHP files, and not needing to use a caching method. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.