so the aim is that the student will be redirected to moodle using iframe and after adding the assignment from external the student need to be logout ......thanks in advance:)
<?php session_start(); if(isset($_SESSION['key'])) { ?> <iframe src="http://localhost/moodle/moodle/mod/assign/view.php?id=4" width="100%" height="600px" align="center">please upload assingment</iframe> using this iframe i want to show the student only the upload button <?php } else {enter code here header("location:login.php"); } ?>
1.4m articles
1.4m replys
5 comments
57.0k users