File Upload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all

Can someone tell me why PHP give all this erros, when it really opens the file and displays all it's contents ?



Uploading files...
File Type: text/plain
UP: /tmp/teste.txt
UP2: teste.txtFile uploaded successfully


*Warning*: fopen(teste.txt): failed to open stream: Permission denied in */usr/local/apache2/htdocs/projecto/examples/upload.php* on line *87*


*Warning*: fwrite(): supplied argument is not a valid stream resource in */usr/local/apache2/htdocs/projecto/examples/upload.php* on line *88*

*Warning*: fclose(): supplied argument is not a valid stream resource in */usr/local/apache2/htdocs/projecto/examples/upload.php* on line *89*
Preview of uploaded file contents:
------------------------------------------------------------------------
This is a test <- File content





cheers all Thx in advance

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux