One way to get rid of this error message is to make your form use GET instead of POST. Just keep in mind that this is not always an appropriate solution (read below). Always use POST if you are performing an action that you don’t want to be repeated, if sensitive information is being transferred or if your form contains either…
Tag: PHP
Bez kategorii
Problem z pytaniami do widoków w MySQL 5
by root • • 0 Comments
Wiesz coś może o zmianach w MySQL-u? Zainstalowałem w domu wer 5.1.46 > i nie wykonuje mi zapytań odwołujących się do widoków (utworzonych > gdzie indziej i zaimportowanych razem z całą bazą). Natomiast > phpMyAdmin po otwarciu dowolnej tabeli z dowolnej bazy pokazuje dane > ale na dole wyświetla błąd: „ogólne funkcje relacyjne zostały >…
Bez kategorii
Wybór arkusza stylu w zależności od przeglądarki
by root • • 0 Comments
if (strpos($_SERVER[’HTTP_USER_AGENT’], 'MSIE’) !== false) { echo '<link rel=”stylesheet” type=”text/css” href=”style2.css”>’; }else if (strpos($_SERVER[’HTTP_USER_AGENT’], 'Mozilla’) !== false) { echo '<link rel=”stylesheet” type=”text/css” href=”style.css”>’; }else if (strpos($_SERVER[’HTTP_USER_AGENT’], 'Opera’) !== false) { echo '<link rel=”stylesheet” type=”text/css” href=”style.css”>’; }
Bez kategorii
XML w PHP
by root • • 0 Comments
'<?php $plik=fopen(’aktualnosci.xml’, 'r’); $dane=fread($plik, filesize(’aktualnosci.xml’)); fclose($plik);