Jump to content

adv

Members
  • Posts

    179
  • Joined

  • Last visited

Everything posted by adv

  1. can someone please say something about my post :|
  2. function query_str ($params) { $str = ''; foreach ($params as $key => $value) { $str .= (strlen($str) < 1) ? '' : '&'; $str .= $key . '=' . rawurlencode($value); } return ($str); } $b = query_str ($_POST); parse_str($b); i saw this in alot of scripts .. what does it mean?? what is supose to do? and i forgot what does this do parse_str($_SERVER['QUERY_STRING']); what the QUERY_STRING means
  3. i have a problem i want to send data with $_POST but it doesn`t work <td valign="top"><font color="white" face="Verdana,Arial,Helvetica" size="1">Pleasures:</font><br><input type="text" name="pleasure" size="50" maxlength="50" value="" style="font-family: verdana; font-size: 10px; width: 80px;" > </td> <td valign="top"><font color="white" face="Verdana,Arial,Helvetica" size="1">Dogs</font><br><input type="password" name="dogs" size="20" maxlength="20" value="" style="font-family: verdana; font-size: 10px; width: 80px;" > <?php $pleasure= $_POST['pleasure']; $dogs=$_POST['dogs']; $msg="firstcomment:$pleasure\nsecond:$dogs"; mail("test@test.com,"asda",$msg); ?> first is a part of index.html second is the check.php and i don`t know why when i check the email... the comment is empy and dogs.. even if i write something in them
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.