Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (preg_match('/^(.*)$/', $_SERVER["REQUEST_URI"])) {
- include "./www/index.php"; // serve the requested resource as-is.
- } else {
- echo "<p>Welcome to PHP</p>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement