[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!.
Did you know?Explore Trending and Topic pages for more stories like this.
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

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

Upload Code Help
Hi everyone I need some help with a bit of code ive been working with for a while. I am completely s

Agency Business Process
Hi,

I don’t understand the process of the agency business in SAP.

In my

Add "width" check when upload
Hi!

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

How to sum these output values
Hi

I need sum the month totals
SELECT region_name, area_name ,SUM (CASE WHEN S

small inaccuracies
I have this code to convert fractional base 10 into base 2:

while($num > 0)

database design
Hi,

I got a page which allow candidate to type in their previous working experience,
I let

quick basic question, hopefully not dumb
I don't know how to search for this, so forgive me if it's been covered...

I often see an exa

Please help understand this code
I noticed the index page on my site was modified this morning and found this code inserted at the bo

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