Need a image uploading script HELP!

dinukap4

Well-known member
  • Mar 18, 2008
    10,896
    274
    83
    <?
    session_start();
    $_SESSION['firsttimeupload']= "ok";
    ?>

    <body bgcolor="#FF6699">
    <br />
    <br />
    <br />
    <br />
    <center>
    <p>Choose the image you want to upload, The image must be less than 5000 kb in size.</p>
    <form action="upload.php" enctype="multipart/form-data"
    method="POST">
    <p>Select a file:
    <input type="file" name="user_file" size="50">
    <br />
    <br />
    <input type="submit" name="submit" value="Upload Now" />
    </p>
    </form>
    <br><h2><a href='library.php'>View Images Library</a></h2>
    </center>

    plz can some edit this script,so when some 1 upload a image it will go to this adress

    slslab.tk/image/data
     

    sri_lion

    Member
    Sep 14, 2006
    12,908
    102
    0
    Kuala Lumpur
    You cannot upload a picture using HTML alone!

    You must let people know what is your problem exactly!

    You can see there "action = upload.php" if nothing happens you must look into that file and also your DB settings whether the path for the picture is getting stored there or not!
     

    dinukap4

    Well-known member
  • Mar 18, 2008
    10,896
    274
    83
    sri_lion said:
    You cannot upload a picture using HTML alone!

    You must let people know what is your problem exactly!

    You can see there "action = upload.php" if nothing happens you must look into that file and also your DB settings whether the path for the picture is getting stored there or not!

    can u plz make me 1 ,if u can :lol:
     

    sri_lion

    Member
    Sep 14, 2006
    12,908
    102
    0
    Kuala Lumpur
    dinukap4 said:
    can u plz make me 1 ,if u can :lol:

    HAHA :lol: Do you think I will do it? Ofcourse NOT! :frown:

    Sorry to say this, you always expect others to do things for you, without you putting in any effort, I'm saying this for your own good!

    There's google, and there are millions of these common scripts out on the Internet, just 5 minutes of searching you can find those!

    I'll give you some good scripting sites for a start..

    www.planet-source-code.com
    www.kirupa.com

    See them, try to integrate it into the system.. if you get errors then come and reply here so we can discuss about it...
     

    dinukap4

    Well-known member
  • Mar 18, 2008
    10,896
    274
    83
    sri_lion said:
    HAHA :lol: Do you think I will do it? Ofcourse NOT! :frown:

    Sorry to say this, you always expect others to do things for you, without you putting in any effort, I'm saying this for your own good!

    There's google, and there are millions of these common scripts out on the Internet, just 5 minutes of searching you can find those!

    I'll give you some good scripting sites for a start..

    www.planet-source-code.com
    www.kirupa.com

    See them, try to integrate it into the system.. if you get errors then come and reply here so we can discuss about it...

    TNX for yo ADVICE :lol: :D :P