| | |
File upload help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Nah im not going to process it, unless you can edit my script to check for, which i highly doubt, that should be it.
Also i've been doing some research and just wanted to ask you is there a way I can use ftp in my script to upload the file so that I won't have to change those settings or will this process still require for those setting to be changed?
Also i've been doing some research and just wanted to ask you is there a way I can use ftp in my script to upload the file so that I won't have to change those settings or will this process still require for those setting to be changed?
Last edited by Scottmandoo; Mar 26th, 2008 at 5:13 am.
My Sites: SlickTunes and Loved By Design
check for viruses:
- your hosting must be allowed to execute files (which I seriously doubt)
- you have to know where the antivirus program is and what parameters it expects
- then use exec() to run it
- your script can use FTP if PHP has been compiled with FTP support - but that's likely
- but it wouldn't solve your problem - you would need your users to use FTP instead of HTTP upload
- set up a separate FTP user with access only to a specified directory (so that he cannot mess with your scripts)
- this directory must not be allowed to run PHP scripts (best if it's outside httpdocs) otherwise someone will misuse it to run a spam-bot
Petr 'PePa' Pavel
The more information you give the more relevant answer you get.
Please consider using "Add to ... Reputation" and mark your thread as Solved if you found what you were looking for. By giving feedback you help others.
The more information you give the more relevant answer you get.
Please consider using "Add to ... Reputation" and mark your thread as Solved if you found what you were looking for. By giving feedback you help others.
Thanks a lot, I don't think I could ask anymore from you, though if theres anything I need help with i'll let you know, if thats fine with you, but until then I think this topic has been solved as all I can do now is just wait for my host to update the php.ini.
Thanks again,
Scottmandoo
Thanks again,
Scottmandoo
Last edited by Scottmandoo; Mar 26th, 2008 at 5:29 am.
My Sites: SlickTunes and Loved By Design
![]() |
Similar Threads
- File Upload Help (PHP)
- File upload problem (PHP)
- Need file upload code for word Doc (HTML and CSS)
Other Threads in the PHP Forum
- Previous Thread: print function.
- Next Thread: send data from while loop to mysql database
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess 301 access ajax apache api array beginner binary broken cakephp checkbox class cms code compression cron curl database date directory display download dropdown dynamic echo email error file files folder form forms function functions google href htaccess html httppost image include insert integration ip java javascript joomla limit link login loop mail md5 menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search secure select server sessions sms soap source space speed sql structure syntax system table tutorial update upload url validation validator variable video votedown web xml youtube





