Hey everyone! I just wanted to share my image uploading script I created. It takes an image (or multiple images), and uploads that picture to a folder, and then also generates a thumbnail and puts it in a separate folder. The destination folder is specified by the uploader before uploading images, and if the folder does not exist, then it creates it.

'//includes database connection and defines security()'
The security function is not defined anywhere else in that script, according to that comment. So if that is true, this script is useless as not everyone understands PHP.

09-12-2013, 10:43 PM

markman641

Quote:

Originally Posted by 0x3

'//includes database connection and defines security()'
The security function is not defined anywhere else in that script, according to that comment. So if that is true, this script is useless as not everyone understands PHP.

it's not "useless". you have to take your own knowledge and make one simple function. if you don't know how to do that, then you shouldn't even be coding websites
but for the noobs, i will edit the script

09-13-2013, 12:24 AM

0x3

Quote:

Originally Posted by markman641

it's not "useless". you have to take your own knowledge and make one simple function. if you don't know how to do that, then you shouldn't even be coding websites
but for the noobs, i will edit the script

Do car manufactures release cars that are broken? No they release cars that are finished. No body will finish your script for you, its a custom function, it is in the package. This is not some big open source project that is well known, nor even a company project, so what would be the point in someone else finishing this?

09-14-2013, 02:05 AM

markman641

Quote:

Originally Posted by 0x3

Do car manufactures release cars that are broken? No they release cars that are finished. No body will finish your script for you, its a custom function, it is in the package. This is not some big open source project that is well known, nor even a company project, so what would be the point in someone else finishing this?

Car manufacutrers release cars that require some user configuration. this is exactly what the script is. every programmer sanitizes things differently.

Nobody else needs to "finish it". They can simply delete the security function or implement their own. Or google how to secure/sanitize post/get values. it's not rocket science. also, i would edit the original post but it's not letting me because I think it's too old. So here is the config file: