ChrisMartino Posted October 28, 2009 Share Posted October 28, 2009 Hey there, I'm new to php, I know some basics and i can code PWN, I'm only 14 but I'm interested in PHP, I have bought a dedicated server, (With unlimited bandwidth of corse, And 2tb Hard drives), And everything is running smooth, I'm looking into coding a image hosting site, Without user registration, Something similar to this: http://hosting.mrkrabz.net/ Were it checks the file size, File extensions and also creates a name for it e.g, If you uploaded image.png, It would do a random number/letter like this "3d2bjk43image.png" and it would save that image to the directory "/image", Some help would be appreciated!. P.S i hope i can do it so i can make it so people cannot upload PHP scripts ect, Because i don't want idiots uploading shell scripts and braking my dedi . Link to comment https://forums.phpfreaks.com/topic/179311-newb-image-hosting-help/ Share on other sites More sharing options...
WolfRage Posted October 28, 2009 Share Posted October 28, 2009 The most important part of making this will be a reliable check of the file type but more importantly the file extension. I explianed this yesterday so take a look and hopefully it can help to get you started. http://www.phpfreaks.com/forums/index.php/topic,274458.msg1297396.html#msg1297396 Link to comment https://forums.phpfreaks.com/topic/179311-newb-image-hosting-help/#findComment-946185 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.