Help with PHP server on Jaguar

BitWit

Flash/JavaScript nerd
OK, for starters, I have used the machowto installer and successfully have the phpinfo file working fine.

I'm doing a test, which basically is an html file with a form that asks for a filename and filedata then when you submit it, it "gets" to a php file that saves the data in a text file with your supplied name.

I have used this script on a windows apache server configured with PHP (with globals off), and it works just fine, but on my new Jaguar setup, I'm getting these errors:

PHP:
Warning:  Unknown(/Users/dave/Sites/datasave.php): failed to open stream: Permission denied in Unknown on line 0
 
 Warning:  (null)(): Failed opening '/Users/dave/Sites/datasave.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

So, it looks like I have some configuring to do here, right? can anyone help me?
 
it most likely that the file is not executable... try to chmod 777 on the datasave.php file...

cause on window-based system, it is automatically set the file to write permission...

i hope this will help...
 
Uh. actually i think it is more likely an issue with trying to save the data in a file.
 
Back
Top