can any 1 help me with soe errors please??
Collapse
X
-
whitewarrior m8 its not necesarry that fopen will work on server if it is close/off from host side generally it is on but may be it off
yea as whitewarrior said
nige just chmod your logs folder to 777 or 775 it will work or if you dont have log folder just put a log folder and put info.txt file in it
Leave a comment:
-
yeh..i removed that in my script but i made a logs inserted into database mlogs when a user logging someones acct. with incorrect password, to know what they are doing with someones acct.,only the ip, host and browser is being inserted with the username that is trying to be hackedOriginally posted by huwad View Postits a phisher.. LOL.. planted in wapdesire/wickedempire's script..
it can be usefull, you can monitor your member's logs, including username, password, ip, and even user's agent.. logs in the directory of /logs.. but if you want you can remove it.. just remove this in your login.php
anyway.. you can fix that warning by setting /logs chmod to 777.. and secure that directory.. someone might access it.. use htaccess..PHP Code:if(trim($uid)!=""){
$fname = "../logs/".$uid.".txt";
$out = fopen($fname,"a+");
fwrite($out,$alli);
fclose($out);}

Leave a comment:
-
its a phisher.. LOL.. planted in wapdesire/wickedempire's script..Originally posted by nige View Postthe errors are on the page after you login the page you bookmark so you dont have to log in :
Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home/******/public_html/******/web/login.php on line 186
Warning: fwrite(): supplied argument is not a valid stream resource in /home/******/public_html/******/web/login.php on line 187
Warning: fclose(): supplied argument is not a valid stream resource in /home/******/public_html/******/web/login.php on line 188
Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home/*******/public_html/*******/web/login.php on line 263
Warning: fwrite(): supplied argument is not a valid stream resource in /home/*******/public_html/*******/web/login.php on line 264
Warning: fclose(): supplied argument is not a valid stream resource in /home/*******/public_html/*******/web/login.php on line 265
any help would be much appreciated thank you
it can be usefull, you can monitor your member's logs, including username, password, ip, and even user's agent.. logs in the directory of /logs.. but if you want you can remove it.. just remove this in your login.php
anyway.. you can fix that warning by setting /logs chmod to 777.. and secure that directory.. someone might access it.. use htaccess..PHP Code:if(trim($uid)!=""){
$fname = "../logs/".$uid.".txt";
$out = fopen($fname,"a+");
fwrite($out,$alli);
fclose($out);}
Last edited by huwad; 01.10.09, 02:15.
Leave a comment:
-
fopen works on ANY server unless its adnormal...Originally posted by Richie24 View Postfopen dont work on your server u need to remove them
Add folder called logs and cmod it to 777 and should be problem solved
Leave a comment:
-
can any 1 help me with soe errors please??
the errors are on the page after you login the page you bookmark so you dont have to log in :
Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home/******/public_html/******/web/login.php on line 186
Warning: fwrite(): supplied argument is not a valid stream resource in /home/******/public_html/******/web/login.php on line 187
Warning: fclose(): supplied argument is not a valid stream resource in /home/******/public_html/******/web/login.php on line 188
Warning: fopen(../logs/info.txt) [function.fopen]: failed to open stream: No such file or directory in /home/*******/public_html/*******/web/login.php on line 263
Warning: fwrite(): supplied argument is not a valid stream resource in /home/*******/public_html/*******/web/login.php on line 264
Warning: fclose(): supplied argument is not a valid stream resource in /home/*******/public_html/*******/web/login.php on line 265
any help would be much appreciated thank youTags: None
Leave a comment: