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! Link to comment https://forums.phpfreaks.com/topic/91564-php-script-permissions/ Share on other sites More sharing options...
Stooney Posted February 17, 2008 Share Posted February 17, 2008 chmod("/somedir/somefile", 0755); Link to comment https://forums.phpfreaks.com/topic/91564-php-script-permissions/#findComment-469002 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. Link to comment https://forums.phpfreaks.com/topic/91564-php-script-permissions/#findComment-469011 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.