Advertisement
nzisaacnz

mb_parse_str not working

Jul 27th, 2016
777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. php > echo "FORMDATA:\n\n$a\n\n/FORMDATA";
  2. FORMDATA:
  3.  
  4. ------------------------------b2449e94a11c
  5. Content-Disposition: form-data; name="user_id"
  6.  
  7. 3
  8. ------------------------------b2449e94a11c
  9. Content-Disposition: form-data; name="post_id"
  10.  
  11. 5
  12.  
  13. /FORMDATAphp > mb_parse_str($a,$out);
  14. php > print_r($out)
  15. php > ;
  16. Array
  17. (
  18. [------------------------------b2449e94a11c
  19. Content-Disposition:_form-data;_name] => "user_id"
  20.  
  21. 3
  22. ------------------------------b2449e94a11c
  23. Content-Disposition: form-data; name="post_id"
  24.  
  25. 5
  26. )
  27. php >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement