Помогите найти откуда берется параметр в POST запросе?

Discussion in 'PHP' started by Poasher, 23 Jul 2013.

  1. Poasher

    Poasher New Member

    Joined:
    29 Jun 2013
    Messages:
    5
    Likes Received:
    0
    Reputations:
    0
    Сайт http://slando.ua/post-new-ad/

    при загрузке изображение передается следующий запрос:

    Code:
    -----pluploadboundaryp180476lpo3g41fen1a2e1cbajgqq
    
    Content-Disposition: form-data; name="name"
    
    p180476l9kl561ppe1cgadvo48pp.JPG
    
    -----pluploadboundaryp180476lpo3g41fen1a2e1cbajgqq
    Content-Disposition: form-data; name="file"; filename="Сландо.JPG"
    Content-Type: image/jpeg
    
    
    
    помогите найти откуда берется этот параметр name?
    Спасибо.
     
  2. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    Code:
            guid: function () {
                var n = new Date().getTime().toString(32),
                    o;
                for (o = 0; o < 5; o++) {
                    n += Math.floor(Math.random() * 65535).toString(32)
                }
                return (g.guidPrefix || "p") + n + (f++).toString(32)
            },
    
     
    _________________________
  3. Poasher

    Poasher New Member

    Joined:
    29 Jun 2013
    Messages:
    5
    Likes Received:
    0
    Reputations:
    0
    Спасибо.
    Но не понятно что такое (f++) в return.?
     
  4. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    var f = 0;
     
    _________________________
  5. Poasher

    Poasher New Member

    Joined:
    29 Jun 2013
    Messages:
    5
    Likes Received:
    0
    Reputations:
    0
    Спасибо большое!