Search found 8 matches

by kandarpmistry
Sat Mar 27, 2010 7:41 am
Forum: PHP - Code
Topic: captcha not showing
Replies: 0
Views: 122

captcha not showing

captcha.php: <?php session_start(); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=...
by kandarpmistry
Thu Mar 25, 2010 6:28 am
Forum: PHP - Code
Topic: file command errors
Replies: 0
Views: 43

file command errors

PHP CODE: <?php error_reporting(E_ALL ^E_NOTICE); $count_my_page = ("hitcounter.txt"); $hits = file($count_my_page); $hits[0] ++; $fp = fopen($count_my_page , "w"); fputs($fp , "$hits[0]"); fclose($fp); echo $hits[0]; ?> ERRORS: Warning: fopen(hitcounter.txt) [function....
by kandarpmistry
Wed Mar 03, 2010 6:55 am
Forum: PHP - Code
Topic: validation not working 2
Replies: 0
Views: 99

validation not working 2

pickle | Please use [ code=php ], [ code=text ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: :arrow: Posting Code in the Forums to learn how to do it too. Herein, i am trying to perform validation and retain their values a...
by kandarpmistry
Wed Mar 03, 2010 5:50 am
Forum: PHP - Code
Topic: validation not working
Replies: 2
Views: 466

validation not working

<?php error_reporting(E_ALL); require 'formhelpers.php'; if ($_POST['_submit_check']==1) { if ($form_errors = validate_form()) { show_form($form_errors, $ENG, $GUJ, $HIN, $MAR); } else { process_form( ); } } else { show_form(); } function show_form($errors = '', $ENG='', $GUJ='', $HIN='', $MAR='') {...
by kandarpmistry
Tue Mar 02, 2010 6:42 am
Forum: PHP - Code
Topic: script 2 not running
Replies: 1
Views: 560

script 2 not running

script 1: <?php require 'formhelpers.php'; if ($_POST['_submit_check']==1) { if ($form_errors = validate_form( )) { show_form($form_errors, $selected); } else { process_form( ); } } else { show_form( ); } function show_form($errors = '', $selected='') { echo '<!doctype html public "-//w3c//dtd ...
by kandarpmistry
Tue Feb 16, 2010 5:55 am
Forum: PHP - Code
Topic: user login script not running
Replies: 1
Views: 208

user login script not running

<!doctype html public "-//w3c//dtd html 3.2//en"> <html> <body background="querybackground.jpg"> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p style="font-family:times; color:black; font-size:20px; text-align:center">CUSTOMER LOGIN</p> <p style= text-align:&...
by kandarpmistry
Tue Feb 16, 2010 5:18 am
Forum: PHP - Code
Topic: undefined variable in login script
Replies: 1
Views: 142

undefined variable in login script

<!doctype html public "-//w3c//dtd html 3.2//en"> <html> <body background="querybackground.jpg"> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p style="font-family:times; color:black; font-size:20px; text-align:center">CUSTOMER LOGIN</p> <p style= text-align:&q...
by kandarpmistry
Sun Feb 14, 2010 12:03 am
Forum: PHP - Code
Topic: user login script problem
Replies: 1
Views: 67

user login script problem

<!doctype html public "-//w3c//dtd html 3.2//en"> <html> <body background="querybackground.jpg"> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p style="font-family:times; color:black; font-size:20px; text-align:center">CUSTOMER LOGIN</p> <p style= text-align:&q...