0

Here is how you get a variable name for a get statement

By link: http://www.example.com/index.php?foldername

By form:

<form method="get" action = ""> <input type="text" name ="adsda" /> </form> <?php foreach ($_GET as $name => $val) { echo htmlspecialchars($name . ': ' . $val) . "\n"; } ?> 

How can you get a name from a directory name in PHP?

http://www.example.com/foldername1 http://www.example.com/foldername2 

Can you do it without creating folders? (For example if someone did this for searching something)

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.