<?php
$url = "http://localhost/index.php?email=$email_address&event_id=$event_id";
// Your Url Like
// http://localhost/index.php?email=test@gmail.com&event_id=12
//GET PARAMS FROM URL
$email = $_GET['email'];
$event_id = $_GET['event_id'];
?>