-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* and then Thomas Edison Jr. declared....
> Glory & Power!
> 
> I'm using the following code now... the Error is gone,
> but it's still overwriting the old file. It's not
> changing the name.. not doing anything, just uploading
> this new file and replacing the old one.. 
> 

Well, I don't see any thing in your code that denotes the directory the
images are going in? The idea is to check if 'path/to/img/img.jpg'
exists and if so, name the upload img to something else. 

I also don't see anything in you php about the 'tmp_name' etc? are you 
sure you understand how to upload images? there is a very good section 
in the manual on file uploads. (i just learnt it myself for a project)
- -- 
Nick Wilson     //  www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE83Pp5HpvrrTa6L5oRAhYDAJ4ibvcPhX55WJ3HTtiz3rT20qK5TACfaEJ5
LuJKsZCN8TFmUQJFIzVMM14=
=meFO
-----END PGP SIGNATURE-----

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

Reply via email to