Jump to content

$_POST['filepath'] ... Not working ?


mikk809h

Recommended Posts

Hello pros.

 

 

I've been working on a website, and i just figured out that a thing is completely wrong.

 

I am entering the website with: "website.com/something.php?name='Hello/system/root/advance.exe'"

but somehow the $_POST['name'] is null...

 

My current php code which just prints that post data:

 

 

<?php
  $postedFileName = $_POST["name"];
  echo $postedFileName; /*#--  Here it doesnt echo anything --#*/
?>

 

 

 

Isnt it possible to use forwardslashes in php?

 

Thanks in Advance

Link to comment
https://forums.phpfreaks.com/topic/288740-_postfilepath-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.