![]() |
Upload file/Check if its already there?
Helloooooooooooooo.
Just need a bit of assistance with this. Using the following script to upload a file how would i go about checking if the file is already on server and if it is bail out? PHP Code:
|
lol nevermind i got it i just droped
PHP Code:
|
I don't think you're being pedantic enough here. I think what you need to do is write an asynchronous call to a remote script on another server that can in turn tunnel back over ssh and trigger a setuid root script that will grep your entire filesystem for any matches or even just possible matches.
Otherwise, you could wind up with a duplicate file. :) |
| All times are GMT. The time now is 10:36 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0