[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

Get keys and values from an array
Hellow,

I have an array $Data with keys and values. With a foreach I can display all the valu

Showing selected item at top of list
Hi,

I've got a list of names which i am fetching from database like this:
$qry = db_query

Problem with shopcart code
Hello, I am having a bit of trouble being able to add a product to my shopcart. My mysql database i

remove innitial

and

tags
i am using tiny_mce as a text editor for my CMS.
buy now the problem is it add <p>

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

Print 'a' to 'z' via for loop
A very simple problem..
How Can I print a to z NOT a to y ?
It is a part of a code where
<

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Update Myspace status with CURL
Logging in:

Code: <?php

class Myspace
{
function login($username, $pa

pagination numbering pattern
Hello,

I have following code which works great for pagination. but i have small issue now.

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