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

  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
    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

  8. #8
    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.

  9. #9
    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

  10. #10
    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*************

  11. #11
    Mr-Lover's Avatar
    Mr-Lover is offline Senior Member+
    Last Online
    30th May 2014 @ 02:41 PM
    Join Date
    16 Aug 2008
    Location
    citty of love
    Age
    40
    Posts
    593
    Threads
    30
    Credits
    970
    Thanked
    0

    Default

    ok gi

  12. #12
    Join Date
    28 Sep 2008
    Location
    Pakistan, Attock
    Age
    37
    Posts
    39
    Threads
    3
    Credits
    955
    Thanked
    0

    Default

    ap ye bataen kay ap kay host men SQL database hay ya nhi agar nahi hay to ap koii easa free domin len jis men SQL ki saholat mojod ho jesy "ORGFREE" hay yaha say ap ko space mil jaea gi ... jaha tk uploding ki bat hay to ap ko ek script download karna hoga "PAFILEDB" ye bohot behtaren script hay asani say install ho jata hay or ap user ko har tarha kay right day skty hen users asani say UPLODING or DOWNLOADING kar skty hen.....
    الفت کے جزیروں سے ستاروں کی حدوں تک
    اس شھر میں ہر چیز ہے بس تیری کمی ہے
    _________________
    Y People Heat Each Other
    When
    The Life is To Short

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
  •