Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

artbax451

Members
  • Joined

  • Last visited

  1. I didn't write the script, but the statemant like this ... if(empty($_SESSION['6_letters_code'] ) || strcasecmp($_SESSION['6_letters_code'], $_POST['6_letters_code']) != 0) It means, that session should be started at first. The function session_start() ought to be put on the top of script.
  2. artbax451 replied to moham's topic in Server Side
    Hi, My advice, paste your code here and tell me what you exactly want to achieve. If you mean sql query, I will try to help you, but it seems that you need php form which will be updating your records in date base?
  3. Hi SvenVDB, I think, that your code might work properly, but the script should starting with the line <?php start_session(); ?> Session must start at first. Change it and all should be working fine..but I didn't check this script. I looked at the few first line of code. Who added the line on the top?? You,SvenVDB? or it was before.. $your_email ='blabla@hotmail.com';// <<=== update to your email address This is tag <form> ??: <table width="100%" border="0" cellpadding="5" cellspacing="0" id="contactformulier"> <tr> <td colspan="2"><?php if(!empty($errors)){ echo "<div id='error' class='err'>".nl2br($errors)."</div>"; } ?><div id='contact_form_errorloc' class='err'></div><h1>Contactformulier</h1></td> </tr> <tr> <td align="left" valign="top">Naam:</td> <td align="left" valign="top"><input type="text" name="name" value='<?php echo htmlentities($name) ?>'></td> </tr> <tr> <td align="left" valign="top">E-mail:</td> <td align="left" valign="top"><input type="text" name="email" value='<?php echo htmlentities($visitor_email) ?>'></td> </tr> <tr> <td align="left" valign="top">Bericht:</td> <td align="left" valign="top"><textarea name="message" rows=8 cols=30><?php echo htmlentities($user_message) ?></textarea></td> </tr> <tr> <td align="left" valign="top"> </td> <td align="left" valign="top"><p><img src="captcha_code_file.php?rand=<?php echo rand(); ?>" id='captchaimg' ><br> Vul bovenstaande code in:<br> <input id="6_letters_code" name="6_letters_code" type="text"> <br> Kan de afbeelding niet lezen? Klik dan <a href="javascript: refreshCaptcha();">hier</a> om te vernieuwen. <br> </p></td> </tr> <tr> <td align="left" valign="top"> </td> <td align="left" valign="top"><input type="submit" value="Verzenden" name='submit'></td> </tr> </table> and why this line is in different place than the form and the submit button ?? <form method="post" name="contact_form" enctype="multipart/form-data" action="<?php echo htmlentities($_SERVER['PHP_SELF']); ?>" onsubmit="return validatePage1();"> can't belive that the code was working fine ...this is really wrong code.. and where is closing of tag? </form>

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.