I have a web page that uses cookies. I am trying to adapt it to process parameters that are on the URL. I added the php shown below, but I the page shows up as containing only the DOCTYPE.
php is enabled and working within html pages (I have another page where I succesfully rewrite the META tag). Seems to me this should work so I probably have a basic misunderstanding. Can someone help? Thanks.
<!DOCTYPE HTML>
<?php
if ( $_GET("rID") == "auth" ){
setcookie("rID","auth");
setcookie("authCode", $_GET("authCode"));
setcookie("GP_UID", $_GET("GP_UID"));
}
?>
<html>
<head>...