[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

rand() function
just a general question guys a girls, is the rand() function 100% random or is it based on time?

FILTER_CALLBACK -- Files?
Hi All,

I'm using the php filter functions to validate my form data. For custom filters, I'm

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

Certain files upload, while others do not
I want to read the data from an uploaded file. Not sure why, but it only uploads for certain files.

error help - Dynamic Image
I've been working on making my site less cluttered in the directories and more secure lately. In an

string to currency format
Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount va

Dynamically allocating the number of rows in a table based on a variable value
Hi,
I have situation here which i cannot resolve, I have a variable temp which stores the num

Can't shake the "Warning: include()" error
I've just uploaded my site to a new server and where I have PHP include tags in my HTML, the browser

Is there something wrong?
Hi all,

Just a quick question... can someone look at this code and see if something is wrong?

What do you call the "token" thing?
You know how some sites have links that run on tokens? Tokens are links that only stay alive for a c

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