View Single Post
  #7  
Old 12-06-2005, 11:21 AM
 
Tim777 Tim777 is offline
 

Newbie
  
Join Date: Dec 2005
Posts: 3
 

Default

I'm trying to create pages in x-Cart "static pages" menu.
application: pages.php?level=E&pageid=

the pages are created in this folder with permissons 777:
public_html/skin1/pages/US/

if i use file name 'page_006.html", then it works,
but if I put "page_006.php" then it gives the error "Cannot save file: please check the write permissions."

The error is returned when this line is executed in pages.php:
$fd = @func_fopen($pages_dir.$filename, "w", true)

For some reason it works with any file name except .php or .exe.
I'm wondering if this is "func_fopen" restriction or some server settings.
__________________
Version 4.0.17

Outsmart Software | Ann Yvette | Business Plans | eBooks
Reply With Quote