PHP 실습2

1.php

<?php
echo $_GET['name'].",".$_GET['id'];
?>

2.php

<html>
  <head>
    <title></title>
  </head>
  <body>
    <?php
      echo file_get_contents($_GET['id'].".txt");
    ?>
  </body>
</html>

특정 값 전달 방법 (GET) 에 대하여 살펴봅시다.

 

Language

Get in touch with us

"If you would thoroughly know anything, teach it to other."
- Tryon Edwards -