+ Reply to Thread
Results 1 to 5 of 5

Thread: How can i create an upload page for my visitors?

  1. #1
    laupkram's Avatar
    laupkram is offline x10Hosting Member laupkram is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    32

    Exclamation How can i create an upload page for my visitors?

    How can i create an upload page for my visitors? and able them to send it directly to my e-mail address

  2. #2
    fahimtm is offline x10Hosting Member fahimtm is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    You Stalker!
    Posts
    52

    Re: How can i create an upload page for my visitors?

    Erm...I got something..It's not exactly right but you uhave to change it abit..

    <br />Upload an Profile Image:<br />
    <form name="imageuploader" method="post" action="uploadpic.php" enctype="multipart/form-data">
    <i>Path of Image:</i> <input type="file" name="imagefile">
    <br>
    <input type="submit" name="Submit" value="Upload Image">
    </form>
    <br />(Max 10000 file bytes , Must be file extention gif, jpg, jpeg, png, bmp....)<br />
    (Images are resized to 150 x 150)<br />';

    Not sure if thats right...but you will have to add the email bit...sorry..thats as much as I can do.

  3. #3
    Thewinator is offline x10 Lieutenant Thewinator is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    [NL]
    Posts
    256

    Re: How can i create an upload page for my visitors?

    fahimtm it nice of you to show us an html form, but i think laupkram is more interested in the php part of that.

    a lot can be done with the default form handlers, but the
    input type="file" and http://php.net/move_uploaded_file
    are probebly most important



  4. #4
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: How can i create an upload page for my visitors?

    Here is an AJAX file uploader:

    http://www.hotscripts.com/Detailed/66212.html

    And here an more advancer in PHP:

    http://www.hotscripts.com/Detailed/62619.html
    Last edited by galaxyAbstractor; 10-28-2007 at 01:41 PM.

  5. #5
    rickle42 is offline x10Hosting Member rickle42 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    59

    Re: How can i create an upload page for my visitors?

    Use something like the form mentioned above. Then in the PHP file just get the file with a var, and then use php mail() function to mail it to yourself.

+ Reply to Thread

Similar Threads

  1. which one is best to create a dynamic page?
    By satheesh in forum Crossfire
    Replies: 9
    Last Post: 10-07-2007, 11:29 AM
  2. Cannot upload file, create file, create folder, etc
    By chidedneck in forum Free Hosting
    Replies: 9
    Last Post: 09-13-2007, 11:18 PM
  3. How to create home page and others
    By nassir49 in forum Free Hosting
    Replies: 5
    Last Post: 09-06-2007, 04:53 AM
  4. Create a Layout for CT Profile Page.
    By Starshine in forum The Marketplace
    Replies: 1
    Last Post: 06-08-2007, 04:42 PM
  5. Upload page - How?
    By Bobbah in forum Free Hosting
    Replies: 5
    Last Post: 08-20-2006, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers