Search found 3 matches

by daktau
Wed Oct 28, 2009 12:46 pm
Forum: PHP - Code
Topic: field minimum
Replies: 2
Views: 400

Re: field minimum

Since you're posting on this php board I'm assuming that you want to use php to determine the password length involving a trip and back to the server. You could always use javascript for a clientside check and / or the php. for php use something like this... <? $minimum_password_length = 6; $passwor...
by daktau
Wed Oct 28, 2009 12:36 pm
Forum: PHP - Code
Topic: Really simply image problem
Replies: 2
Views: 479

Re: Really simply image problem

Try the $_POST with quotes.
eg. $_POST['name']

You could also try doing a
print_r($_POST);

as that would tell you exactly what th server is receiving from the post.

cheers,
George
by daktau
Wed Oct 28, 2009 8:48 am
Forum: PHP - Code
Topic: can't explain fwrite error
Replies: 0
Views: 91

can't explain fwrite error

Hi All, Does anyone know what is causing the error in this code? <? $errorLog_FilePath = "error_log.txt"; $handle = @fopen($errorLog_FilePath,'a+'); $strError = "hi!"; if(!fwrite($handle, $strError)){ //this is line 5      echo('Cannot write to file'); } ?> I get: Parse error: sy...