Changeset 186 for administrace/index.php
- Timestamp:
- Jan 1, 2008, 2:22:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
administrace/index.php
r185 r186 4 4 if(!array_key_exists('HTTPS', $_SERVER)) 5 5 { 6 Header('Location: https'.substr($_SERVER["SCRIPT_URI"], 4));7 die();6 // Header('Location: https://'.$_SERVER['HTTP_HOST'].substr($_SERVER["SCRIPT_NAME"], 4)); 7 // die(); 8 8 } 9 9 … … 30 30 $Database->select_db('wow'); 31 31 $Database->insert('gm_news', array('author' => $_SESSION['UserId'], 'text' => addslashes($_POST['text']), 'time' => 'NOW()')); 32 echo('Zpráva vloena.<br>');32 //echo('Zpráva vloena.<br>'); 33 33 } 34 34 break; … … 50 50 } 51 51 52 //echo(phpinfo()); 52 53 ShowFooter(); 53 54
Note:
See TracChangeset
for help on using the changeset viewer.