Jump to content

Adrianphp

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by Adrianphp

  1. Maybe you should consider a small database like SQLite to work with. This should be okey and it could solve all your problems.
  2. try $total_pages = $post_count/10; for($i = 1; $i <= $total_pages; $i++){ if($_GET['page'] == $i){ echo $i.' '; } else { echo '<a href="' . $_SERVER['PHP_SELF'] . '?page='.$i.'">'.$i.'</a> '; } } not sure if it works... i wrote it in a hurry but it should be okey
  3. i see... so you cannot modify the ASP code. in this case maybe you should try using a client-side Captcha validator like http://www.archreality.com/jcap/index.shtml other solutions may be using a dummy page between the form and the ASP file to have a server-side validator process or using AJAX, but these are more complicated ways.
  4. the captcha PHP script that generates the picture should store the value of the validation code in a cookie, then the ASP script should check for the cookie and compare it with the value of the verification field. hope this helps???
  5. 1. use $_POST as array... example: try $_POST['FullName'] instead of $_POST[FullName] 2. $to = . $_POST .; rewrite to $to = $_POST['Email']; 3. remove error_reporting(0); to see exactly the errors or 4. check PHP log.
  6. yes, because $_POST['news_id'] is not an array... you only select ONE item from the select list. if you want to select multiple items from the select list you should try: <select multiple="multiple" name="news_id[]" class="FormStandard"> hope this helps
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.