Forum: PHP Jul 9th, 2007 |
| Replies: 3 Views: 934 Last night, I encounter this script maybe it is what you want.
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=606&lngWId=8 |
Forum: PHP Jul 9th, 2007 |
| Replies: 16 Views: 3,430 It is not 100% match for using OCR to read the image right? Plus the image is created which randomly content. Even the attacker collect more than 1000 of images that have been appear on the login,... |
Forum: PHP Jul 9th, 2007 |
| Replies: 4 Views: 7,568 For example: In my php code, I want to get HTML from one specific website to do some analyzing... like $html = gethtml('www.daniweb.com') or $html = gethtml('www.google.com') something like that....... |
Forum: PHP Jul 8th, 2007 |
| Replies: 4 Views: 7,568 Anyone know how to get HTML code from the URL in php? |
Forum: PHP Jul 8th, 2007 |
| Replies: 16 Views: 3,430 To prevent from those attacker that use robot to do multi-attempt, I think
we can use Secure Code Image technique. Robot cannot guess what
code that contain in the image so that robot is useless to... |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,358 Worked!!! Thanks you... sorry to ask many question... :D
But I am really new at that CLASS system in PHP :D thanks
ago. |
Forum: PHP Jul 8th, 2007 |
| Replies: 16 Views: 3,430 Maybe it is little unclear. So I give you a real time example:
First I fail to login at : 0:00am so the SESSION will be expire in 0:15am
However, I attempt again but fail at 0:05am so the... |
Forum: PHP Jul 8th, 2007 |
| Replies: 16 Views: 3,430 Everytime user fail to login, set session expire to next 15 minutes. so mean that if they fail more than 5 times it will be block 15 minutes |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,358 Probally, nothing is printed. EMPTY :D |
Forum: PHP Jul 8th, 2007 |
| Replies: 16 Views: 3,430 In my opinion, you should create $_SESSION['attempt'] and make it
expire every 5 minutes. Everytimes user fail to login, $_SESSION[attempt]
will increase by 1 if user attempt more than 5 times then... |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,358 Another question:
class A{
public $msg = '';
public function set_msg($new_msg) {
global $msg;
$msg = $new_msg;
} |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,358 |
Forum: PHP Jul 8th, 2007 |
| Replies: 10 Views: 1,358 How can I use variable from the outside of the class? For example:
<?php
$outside = 'Hello';
class A {
function printme() {
print $outside;
} |
Forum: PHP Jun 15th, 2007 |
| Replies: 9 Views: 4,097 After I disable some php extension, finally, it's working. When I ran my
code I saw a nice table of php info. However, I also got immediately
apaches error and suddenly shut down my apaches server.... |
Forum: PHP Jun 14th, 2007 |
| Replies: 9 Views: 4,097 Anyway, it doesn't work. But I found these error on my Apaches Server. |
Forum: PHP Jun 12th, 2007 |
| Replies: 9 Views: 4,097 I have tried what you told me to do. But still not work.....
Here it is my code:
<html>
<head></head>
<body>
<?php
print "testing";
?>
</body> |
Forum: PHP Jun 12th, 2007 |
| Replies: 9 Views: 4,097 Thanks! It is worked now. However, I have encounter about problem.
When I started my server, there wasn't any error but when I run my php
script it won't work at all.
Here my php script
<?... |
Forum: PHP Jun 11th, 2007 |
| Replies: 9 Views: 4,097 It is my first time in here and also my first question. I hate to admit it that
I got stuck now. I got the Apache set up on my new computer and also
the PHP5. After that, I modified the Apache2... |