SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 35 of 35
  1. #26
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by RayWilk View Post
    I can not see any mention of the selected file: C:\Documents and Settings\XP Vienna\Desktop\Ray scans\1a.jpg
    That is showing you want comes from the server.

    If you want to check that the image gets uploaded to the server, you can use the Net tab, and in there will be a POST or GET from the form being submitted. Its status will tell you if it was successfully received by the server.

    If it's a POST, when you open that up there will be four tabs - Header, Post, Response, and HTML



    The above example here is from uploading an image to tineye.com



    The Post tab will contain the encoded image that was submitted to the server.

    That's how you can confirm that the image is actually being sent from the client to the server. From there, things depend on the server to do its job correctly.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  2. #27
    SitePoint Addict
    Join Date
    Feb 2012
    Location
    Kiwi in Bangkok
    Posts
    373
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul, thank you for your quick reply, ok good I am learning more about Firebug,

    could you please Log In to my site, go to the Wanted Ads page and see what you can discover about Images uploads

    your help greatly appreciated

    Ray

  3. #28
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by RayWilk View Post
    Hi Paul, thank you for your quick reply, ok good I am learning more about Firebug,

    could you please Log In to my site, go to the Wanted Ads page and see what you can discover about Images uploads

    your help greatly appreciated

    Ray
    With an image upload, the transfer seems to be successful.

    Here is the data that I see from Google Chrome

    Code:
    DNS Lookup - 1ms
    Connecting - 26ms
    Sending    - 168ms
    Waiting    - 1.18s
    Receiving  - 2ms
    So the image was transferred to the server, and the server responsed without issue.

    That's about all the help I can give you from the client side of things.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  4. #29
    SitePoint Addict
    Join Date
    Feb 2012
    Location
    Kiwi in Bangkok
    Posts
    373
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul,

    ok, So the image was transferred to the server, and the server responded without issue.

    I looked on my hosting server in the uplimg folder ( I presume that were uploaded images should be) and it has many many site_pin_93ad3c7140aaa43bf05b4223144ff5c4.jpg site_pin_93ad3c7140aaa43bf05b4223144ff5c4.jpg

    yet no image that I uploaded, can we see/find where the uploads are going? route?


  5. #30
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by RayWilk View Post
    yet no image that I uploaded, can we see/find where the uploads are going? route?

    I cannot help with the server side of things. Good luck.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  6. #31
    SitePoint Addict
    Join Date
    Feb 2012
    Location
    Kiwi in Bangkok
    Posts
    373
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul,

    where can we see the path/route in my site scipts/HTML where images are being sent?

    to see what folders are being sent/uploaded to?


  7. #32
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by RayWilk View Post
    Hi Paul,

    where can we see the path/route in my site scipts/HTML where images are being sent?

    to see what folders are being sent/uploaded to?

    When the client submits the image to the server-side script, it gets stored temporarily on the server. The server-side script would then uses a command like move_uploaded_file() to move it from temporary storage to a more permanent location.

    This is the JavaScript forum, which deals with the client-side scripting language, so most of our knowledge here is about the client.
    The people in the php forum have far better knowledge on how the server-side handles file uploads, because PHP is the scripting language that runs on the server-side.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  8. #33
    SitePoint Addict
    Join Date
    Feb 2012
    Location
    Kiwi in Bangkok
    Posts
    373
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul,

    ok I understand, thank you for your support

    happy day

  9. #34
    SitePoint Addict
    Join Date
    Feb 2012
    Location
    Kiwi in Bangkok
    Posts
    373
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Paul

    using Firefox, I Save Page As/ Webpage complete, on my Sell page.

    now I have a sell_item.php.htm file

    yet it differs from my sell_item.php file ?

    how do these relate/interact

    your help appreciated

    Ray

  10. #35
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by RayWilk View Post
    using Firefox, I Save Page As/ Webpage complete, on my Sell page.

    now I have a sell_item.php.htm file

    yet it differs from my sell_item.php file ?

    how do these relate/interact
    PHP runs its code on the server. The output from what it runs is sent to the client. What you saved is that output that is sent to the client.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •