Advanced Search

Results 1 to 7 of 7

Thread: Please! hold on with the upload...

  1. #1
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Please! hold on with the upload...

    imagine 3 pages...
    on the first you collect 2 variable
    (for example name and last name, in forms field ofcourse)
    on the second page you show the 2 variables from the first page
    and collect 2 more variables(for example address and phone number,in forms field too)
    and on the 3 page all the data being saved into some database (say sql)

    well this is all simple cause we got the basic commands

    Code:
    Code:
    request.form
    request.querystring
    Upload.form
    but when the case comes to uploading...
    how can i choose a file at the beggining - on the first page (with the browse button)
    and carry it with me to the second page, and from there to the third page ,where it will be uploaded


  2. #2
    Join Date
    Oct 2005
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    well you have the upload form, find one have it upload the file then make a note of the url and post the url into the database and also request the url from the database, i hope thats right?

    then you can show the url..
    Hey new design new look, goto xudas for personal webdsign help.. (:

  3. #3
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default no no

    the problem is not with the saving url into database but in the uploading itself...
    i want for example to browse file c:\wonderland\rome.jpg
    this file will be choosen on the first page...
    when i will submit the first page we will enter to the second page...but still this file won't be uploaded...and than...when we will submit the second page...and will pass into the third page it will be uploaded...
    , how can i delay this upload between pages?
    Last edited by hantz; 09-23-2007 at 06:15 PM.

  4. #4
    Join Date
    Oct 2005
    Posts
    255
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I have no clue on that but i do understand what you are trying to do, your like verifying the information with the user in a way,

    I would goto php.net and look up something like remember variables or sumthin,

    I think you could do something with ookies where it saves the cookies and then you can poll from it or sumthin, lol, I hope you figure it out...
    Hey new design new look, goto xudas for personal webdsign help.. (:

  5. #5
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy i mean

    we got
    Code:
    <INPUT TYPE=FILE SIZE=40 NAME="FILE1">
    is there a way to control value?
    or order "name" and to save it in temp dim before uploading, so we could upload it later...

  6. #6
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i need to upload my files from the first form and then keep passing the destination path (obtained from File.Path) as a hidden variable to all other forms
    but the BIG Question is how to do this?

  7. #7
    Join Date
    Sep 2007
    Posts
    58
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default what works?

    tell me about it?
    i got nothing working here besides my lamp!


    HOW CAN WE CHECK THE SIZE OF THE FILE BEFORE UPLOADING?
    when i'm uploading my files and after a long 90sec it giving me-"file is too large..."
    that is so bad and not logical...
    Last edited by hantz; 09-27-2007 at 11:34 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
  •