"From this day to the ending of the world, But we in it shall be remembered -- We few, we happy few, we band of brothers."
Verwijderd
Volgens mij ook niet. Als je echt via php wil uploaden, kan je wel vanuit het php-script ftp-opdrachten uitvoeren.Op maandag 25 juni 2001 19:36 schreef RedRoon het volgende:
Volgens mij niet, PHP in safe mode ondersteund geen fileuploads (dacht ik)
volgens mij moet je met php in safe mode de dir waarnaar je wilt uploaden chmod 777 doen, en dan dus wel een andere dir aangeven dan de standaard /tmp ...
en nee, ik houd niet van voetbal... :)
Hoi,
Misschien is het handig als je eerst de help van f2s leest:
Is PHP running in SAFE MODE?
Yes. The PHP engine is compiled as a safe mode enabled Apache module. This makes it execute PHP scripts extremely quickly and safely. If the safe mode is too restrictive for your requirements, eg: you want to create a file upload script, then the php cgi engine can be used instead.
To run the slower cgi version of PHP your php file should end in .cgi and include at the top of the file the line:
#!/usr/bin/php
For more details on cgi scripts please see the Perl section of the website FAQ.
[Back to top]
Succes...
Misschien is het handig als je eerst de help van f2s leest:
Is PHP running in SAFE MODE?
Yes. The PHP engine is compiled as a safe mode enabled Apache module. This makes it execute PHP scripts extremely quickly and safely. If the safe mode is too restrictive for your requirements, eg: you want to create a file upload script, then the php cgi engine can be used instead.
To run the slower cgi version of PHP your php file should end in .cgi and include at the top of the file the line:
#!/usr/bin/php
For more details on cgi scripts please see the Perl section of the website FAQ.
[Back to top]
Succes...
Pagina: 1