Page 1 of 2 12 LastLast
Results 1 to 12 of 15

Thread: urgently required please how can i let my visitors to upload files directly

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    06 Sep 2007
    Location
    Larkana
    Age
    36
    Posts
    52
    Threads
    11
    Credits
    1,030
    Thanked
    0

    Default urgently required please how can i let my visitors to upload files directly

    assalamoalikum

    dear friends if any one knows than plese reply me that how can i let my web site visitors to upload files directly from web site? and i will get them. Is there any web site which offer such service for free? please reply i am waiting....
    Last edited by askfriends; 13th January 2008 at 09:47 PM. Reason: mistakes
    Download Latest Bollywood Songs in HD Video and MP3 Format
    Download Youtube Videos Fast as 123, no need any java plugin, Click Here

  2. #2
    HDD is offline Member
    Last Online
    9th September 2008 @ 07:34 PM
    Join Date
    28 May 2007
    Posts
    39
    Threads
    3
    Thanked
    0

    Default

    Quote askfriends said: View Post
    assalamoalikum

    dear friends if any one knows than plese reply me that how can i let my web site visitors to upload files directly from web site? and i will get them. Is there any web site which offer such service for free? please reply i am waiting....
    you need to install any file uploading script.

  3. #3
    Join Date
    11 Jan 2008
    Location
    Gujranwala
    Age
    46
    Posts
    18
    Threads
    1
    Credits
    999
    Thanked
    0

    Default

    First you need to find out which file uploading component is supported by your hosting server.

    There are also free uploading scripts available for both Windows and Linux servers.

  4. #4
    shakeel's Avatar
    shakeel is offline Senior Member+
    Last Online
    22nd July 2016 @ 07:02 PM
    Join Date
    04 Sep 2006
    Location
    Islamabad
    Posts
    177
    Threads
    30
    Credits
    992
    Thanked
    3

    Default

    if you are using PHP and Apache then I can help you.

  5. #5
    Join Date
    06 Sep 2007
    Location
    Larkana
    Age
    36
    Posts
    52
    Threads
    11
    Credits
    1,030
    Thanked
    0

    Default

    Quote shakeel said: View Post
    if you are using PHP and Apache then I can help you.
    no iam using free server and i dont use any language to create web site or web pages i simply use WYSIWYG html editor softwares to create web page or u can view my web site xxxxxxxxxxxxxx and then suggest me how to do that
    Last edited by Sheeda_Pastol; 14th December 2009 at 11:49 AM. Reason: mfa site link removed

  6. #6
    ursanir is offline Junior Member
    Last Online
    20th January 2008 @ 03:01 PM
    Join Date
    14 Jan 2008
    Age
    41
    Posts
    1
    Threads
    0
    Credits
    0
    Thanked
    0

    Default

    hi,

    i think free hosting server don't allow to file upload through component...

    sanir

  7. #7
    Join Date
    06 Sep 2007
    Location
    Larkana
    Age
    36
    Posts
    52
    Threads
    11
    Credits
    1,030
    Thanked
    0

    Default

    Quote ursanir said: View Post
    hi,

    i think free hosting server don't allow to file upload through component...

    sanir
    dear u may be right but i think 3rd party websites offer such resources for free as www.megaupload.com does.

  8. #8
    sbdpk is offline Senior Member+
    Last Online
    3rd August 2013 @ 10:53 AM
    Join Date
    31 Jan 2009
    Location
    Rawalpindi
    Age
    34
    Posts
    66
    Threads
    5
    Credits
    0
    Thanked
    3

    Default

    Quote askfriends said: View Post
    no iam using free server and i dont use any language to create web site or web pages i simply use WYSIWYG html editor softwares to create web page or u can view my web site www.askfriends.host.sk and then suggest me how to do that
    Create your site here to upload files php,my sql supported server
    Last edited by Sheeda_Pastol; 13th June 2009 at 01:17 AM. Reason: MFA/commercial site link removed

  9. #9
    ahsanshah is offline Member
    Last Online
    6th March 2014 @ 07:03 PM
    Join Date
    02 Dec 2007
    Gender
    Male
    Posts
    1,542
    Threads
    217
    Thanked
    56

    Default

    salaam bahi jaan mujay bi iss ki zaroorat ha ager kissi bahi ko patah ho to plz bata dain

  10. #10
    sanishan is offline Senior Member+
    Last Online
    29th March 2018 @ 09:03 AM
    Join Date
    28 Dec 2007
    Age
    37
    Posts
    118
    Threads
    26
    Credits
    24
    Thanked
    4

    Default

    Asalam o alikum!

    Janam askfriends may sirf yeh kahna chahta hon kay agar app apni stie per uploading rakhain gay to yeh bahoot hi mushkil kaam hay... app apni site per koi chota sa script laga kay file upload kar saktain hain lakin... kuch hacker Shell ko jpg yah direct php asp may upload kar kay app ki site ko down kar saktain hain with in few sec. baar hal may app ko file uploading ka script day raha hon. is ki koi girecnty nahi hay.. kah yeh shell ko rook sakay....

    PHP Code:
    <?php header('Content-type: application/vnd.wap.xhtml+xml'); ?>
    <?php 
    echo '<?xml version="1.0"?' '>'?>
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>File Upload Example</title>
      </head>

      <body>
        <h1>Data Received at the Server</h1>
        <hr/>
        <p>

    <?php
    foreach ($_POST as $key => $value){
    ?>

    <b>Name-value Pair Info:</b><br/>
    Field name: <?php echo $key?><br/>
    Field value: <?php echo $value?><br/><br/>

    <?php
    }

    $optionalFileName $_POST['filename'];

    if (
    $_FILES['myFile']['error'] == UPLOAD_ERR_OK){
      
    $fileName $_FILES['myFile']['name'];
    ?>

    <b>Uploaded File Info:</b><br/>
    Content type: <?php echo $_FILES['myFile']['type']; ?><br/>
    Field name: myFile<br/>
    File name: <?php echo $fileName?><br/>
    File size: <?php echo $_FILES['myFile']['size']; ?><br/><br/>

    <?php
      
    /* Save the uploaded file if its size is greater than 0. */
      
    if ($_FILES['myFile']['size'] > 0){
        if (
    $optionalFileName == "")
          
    $fileName basename($fileName);
        else
          
    $fileName $optionalFileName;

        
    $dirName '/file_uploads/';    // <--- link to your Folder Jasay Images or other

        
    if (move_uploaded_file($_FILES['myFile']['tmp_name'], $dirName $fileName)){
    ?>

    <b>The uploaded file has been saved successfully.</b>

    <?php
        
    }
        else{
    ?>

    <b>An error occurred when we tried to save the uploaded file.</b>

    <?php
        
    }
      }
    }
    ?>

        </p>
      </body>
    </html>
    آئی ٹی کی نئی انفارمیشن کے لئے
    https://www.youtube.com/channel/UCko...IpC9fl2qiz4PbA

  11. #11
    kanch's Avatar
    kanch is offline Senior Member+
    Last Online
    3rd June 2012 @ 04:58 PM
    Join Date
    11 Jan 2009
    Age
    35
    Posts
    111
    Threads
    6
    Credits
    0
    Thanked: 1

    Default Hmm

    Quote sanishan said: View Post
    Asalam o alikum!

    Janam askfriends may sirf yeh kahna chahta hon kay agar app apni stie per uploading rakhain gay to yeh bahoot hi mushkil kaam hay... app apni site per koi chota sa script laga kay file upload kar saktain hain lakin... kuch hacker Shell ko jpg yah direct php asp may upload kar kay app ki site ko down kar saktain hain with in few sec. baar hal may app ko file uploading ka script day raha hon. is ki koi girecnty nahi hay.. kah yeh shell ko rook sakay....

    PHP Code:
    <?php header('Content-type: application/vnd.wap.xhtml+xml'); ?>
    <?php 
    echo '<?xml version="1.0"?' '>'?>
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <title>File Upload Example</title>
      </head>

      <body>
        <h1>Data Received at the Server</h1>
        <hr/>
        <p>

    <?php
    foreach ($_POST as $key => $value){
    ?>

    <b>Name-value Pair Info:</b><br/>
    Field name: <?php echo $key?><br/>
    Field value: <?php echo $value?><br/><br/>

    <?php
    }

    $optionalFileName $_POST['filename'];

    if (
    $_FILES['myFile']['error'] == UPLOAD_ERR_OK){
      
    $fileName $_FILES['myFile']['name'];
    ?>

    <b>Uploaded File Info:</b><br/>
    Content type: <?php echo $_FILES['myFile']['type']; ?><br/>
    Field name: myFile<br/>
    File name: <?php echo $fileName?><br/>
    File size: <?php echo $_FILES['myFile']['size']; ?><br/><br/>

    <?php
      
    /* Save the uploaded file if its size is greater than 0. */
      
    if ($_FILES['myFile']['size'] > 0){
        if (
    $optionalFileName == "")
          
    $fileName basename($fileName);
        else
          
    $fileName $optionalFileName;

        
    $dirName '/file_uploads/';    // <--- link to your Folder Jasay Images or other

        
    if (move_uploaded_file($_FILES['myFile']['tmp_name'], $dirName $fileName)){
    ?>

    <b>The uploaded file has been saved successfully.</b>

    <?php
        
    }
        else{
    ?>

    <b>An error occurred when we tried to save the uploaded file.</b>

    <?php
        
    }
      }
    }
    ?>

        </p>
      </body>
    </html>


    Yeh Kaam nahin karegy orr shayad aap Banned na ho jaen....

    if i think... Main apko uploading wali Script donga single.php k naam se jis main aap password protect and multi uplaod with change directory and create delete bhi kar sakty hain.. Mean File Managment Thanks..

  12. #12
    mgsoftsys is offline Member
    Last Online
    8th April 2011 @ 09:28 AM
    Join Date
    23 Jun 2008
    Age
    33
    Posts
    854
    Threads
    107
    Thanked
    20

    Default

    ok main apko wo script deisghn kr k dey sakta hoon contact me

    mgsoftsys*************

Page 1 of 2 12 LastLast

Similar Threads

  1. Cloud Download Files Directly into Dropbox, G-Drive etc
    By Umar-Hayat in forum General Discussion
    Replies: 30
    Last Post: 26th October 2015, 03:48 PM
  2. Replies: 12
    Last Post: 6th December 2014, 07:24 AM
  3. Replies: 46
    Last Post: 3rd June 2010, 10:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •