Jump to content
php.lv forumi

Skripts


*jancis38*

Recommended Posts

Tātad šāds te skripts:

<?php
$login = $_POST['login'];
$password = $_POST['password'];
$pass = file("p4r0l3s-waxmackajokjaoscjadcjaodicjodasjdosjsoidsjofisdjfosdijfsdoifjdsoifjsdojsdiofjoia
jmx,cmlaxkmckamcajaosiad.txt");
$log = "0";
foreach($pass as $user) {
$case = explode(":|:", $user);
if($login == $case[0] && $password == $case[1]) {
$log = "1";
}}
if($log == "1") {
include("http://csw.sytes.net/members/member.php");
}
else 
{
include("http://csw.sytes.net/login/error.php");
}
?>

kas man būtu jāizdara lai skripts paliek tas pats, un visulaiku ir viens *.php fails, lai man naw jātaisa vairāki faili..

nu tipo lai mainās tikai šis te..

include("http://csw.sytes.net/members/member.php");

ceru ka sapratāt.

Link to comment
Share on other sites

×
×
  • Create New...