Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
<?php
if(blabla){
echo '<a href="blabla.php?<?php echo SID ?>">Seite blabla</a>';}
?>
ICH HABS, es liegt daran dass ich die SID ausgeben will, und dort <?php steht, obwohl ich schon im <?php drin bin, wie vermeide ich das, sodass nur der Link erscheint, wenn Passwort und Username richtig?
<?php
if(blabla){
echo '<a href="blabla.php?'.SID.'">Seite blabla</a>';}
?>
Ich würde dazu einfach mal die Doku konsultieren.das bringt mich nicht wirklich weiter, wäre es:
<?php
session_start();
$_SESSION = array();
if (isset($_COOKIE[session_name()])) {
setcookie(session_name(), '', time()-4, '/');
}
session_destroy();
header('Location: index.php');
?>