Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
if ($access != "true")
{
exit;
}
// тук останалата част от кода.
?>
<?php
$access = "true";
?>
header('Location: index.php');
Да, но така пак ще може да се отвори:Styl3rbg каза:Нарича се $GET Ето 2-3 урока
http://web-tourist.net/login/login/view.php?st=2101
http://www.w3schools.com/PHP/php_get.asp
А ето кода който аз ползвам в някоя проста системата
<?php
if($_GET['act'] == 'forsite') { include('forsite.php'); }
if($_GET['act'] == 'upload') { include('upload.php'); }
?>
На мястото на act стой следното
site.com/index.php?a=contact
A където пише forsite/upload
е site.com/index.php?a=contact
Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\accounts.php on line 24
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\xampp\htdocs\accounts.php on line 24
Access denied for user 'ODBC'@'localhost' (using password: NO)[SELECT * FROM users ORDER BY ID DESC LIMIT 0, 15]
if ( !defined('IN_VALID') )
{
echo "<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>";
die('<Center><B>ЗАЩИТА!</B><BR>За да се върнете назад натиснете <a href="index.php">тук</a></Center>');
}
define('IN_VALID', true);