Fork me on GitHub

asp to php  Bottom

  • the subject is that littele program our website ! Well i tryed to change it but did not work out ! Can any body help me ?
    0 cant assign the Vars to it ! 0 changed to PHP as you may noticed this is asp ! How should i make it in PHP ?
  • Just a start

    lsbody="";
    for ($i=1, $i == Request.Form.Count, i++)
    {
    if (not ($_GET(i) == "" || $_GET(i) == "None" || $_GET(i) == "none"))
    lsbody= lsbody.$_GET(i)." : ".$_GET(i)."\n";
    }


    ps chr(10) shouldnt be used in asp, instead you use the globals vblf or vbcr

    I forget what the Request.Form.Count is in PHP (my brain isnt working today)
    also $_GET is no longer documented in PHP.net :( makes me sad cause I dont know what else to look up
  • I would use $_REQUEST instead of $_GET as it will then populate with post or get or cookie ;) other than that I don't know shit about ASP...

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • 0 users

This list is based on users active over the last 60 minutes.