[newb] Image hosting help.


Posted on 16th Feb 2014 07:03 pm by admin

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

No comments posted yet

Your Answer:

Login to answer
144 Like 7 Dislike
Previous forums Next forums
Other forums

Pagination won't carry results past page 2.
Hi all,

I've worked out my pagination script and its paginating fine until I click next from

Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spa

PHP error. Need help urgently
Hi,

I am programming a php site and have a problem that i just cant find out how to fix. When

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

Getting rid of quotes when printing data
Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function esca

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

Reg Ex
Im trying to search for the string: srv_9 (Dead ???)

I thought to use preg_match, however I d

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

Add "width" check when upload
Hi!

Can someone add a function that is checking if picture witdh is bigger then 800px whwn up

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash