在链接 URL 中添加默认电子邮件变量



我想在链接中添加一个变量电子邮件地址(因此当有人点击链接时,电子邮件地址会动态填充(,这会重定向PHP。电子邮件地址因访问链接的人而异。所以我想知道,我如何在普通 URL 地址中添加变量电子邮件,然后它会干预并添加到 PHP 重定向?

这是代码,但不起作用...

<?PHP
$subid=$_GET[subid];
$email=$_GET[email];
?>
<html>
<head>
    <meta http-equiv="refresh" content="0;url=http://xentrk.com/?a=41&c=308&s1={{ email|default:'null' }}<?PHP echo $subid;?>" />
</head>
<body>

您在URL中使用echo $subid

这当然应该$email

在这种情况下,这是代码:

<?php
$subid=$_GET['subid'];
$email=$_GET['email'];
?>
<html>
<head>
    <meta http-equiv="refresh" content="0;url=http://xentrk.com/?a=41&c=308&s1={{ email|default:'null' }}<?php echo $email;?>" />
</head>
<body>

相关内容

最新更新