Ask your own question, for FREE!
Computer Science 8 Online
OpenStudy (anonymous):

@Eyad look at this php program i made:

OpenStudy (anonymous):

//program1 <?php $name = $_GET['name']; $age = $_GET['age']; if($age = '18') { echo'Hello to the website '.$name.', you are allowed to use this website.'; } else { echo'Hello to the website '.$name.', you are not allowed to use this website.'; } ?>

OpenStudy (anonymous):

Lemme Check it

OpenStudy (anonymous):

//html program it will direct the execution to program1 <html> <body> <form action="get.php" method="get"> <b> Enter your name: </b> <input type="text" name="name"> <br> <b> Enter your age: </b> <input type="text" name="age"> <input type="submit"> </form> </body> </html>

OpenStudy (anonymous):

save program1 as get.php and 2nd by site.php

OpenStudy (anonymous):

ok

OpenStudy (anonymous):

@Diyadiya

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!