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.

ChrisSoutham

Members
  • Joined

  • Last visited

Solutions

  1. ChrisSoutham's post in PayPal IPN Going Astray was marked as the answer   
    I've managed to track down my problems - no idea if it's the same for you.
     
    Looking through my IPN log I can see that the response from PayPal when you return data can be either:
    HTTP/1.1 100 Continue HTTP/1.1 200 OK or just: HTTP/1.1 200 OK Now if you are using the original (and still in place) basic code example from PayPal themselves then this line won't work:  
    if (strcmp ($res, "VERIFIED") == 0)  
    as the response with 100 Continue will result in a -1 rather than a 0. I've swapped the above line out for:  
    if (preg_match("!(VERIFIED)\s*\Z!",$res) All seems to be well now, but boy did that take some tracking down - and even harder replicating!
  2. ChrisSoutham's post in htaccess friendly url problem was marked as the answer   
    You didn't say there was an error?
    Add something like print_r($_GET) or var_dump($_GET) and see if the variable is being passed though. In your original call you say ?oak-furniture= whereas your .htaccess file says ?id=
  3. ChrisSoutham's post in MMySQL Erro was marked as the answer   
    It's mostly likely that $items is coming through as a string - wrap it in a single quotes: WHERE id = '$items' and see what happens.
  4. ChrisSoutham's post in Adding to an existing Php script to allow more fields to be added to a contact form was marked as the answer   
    <?php $name = $_POST['name']; // contain name of person $email = $_POST['email']; // Email address of sender $web = $_POST['web']; // Your website URL $body = $_POST['text']; // Your message $institution = $_POST['institution']; $specify = $_POST['specify']; $receiver = "ismaakeel@gmail.com" ; // hardcorde your email address here - This is the email address that all your feedbacks will be sent to if (!empty($name) & !empty($email) && !empty($body)) { $body = "Name:{$name}\n\nWebsite :{$web}\n\nInstitution Type:{$institution}\nInstitution:{$specify}\n\nComments:{$body}"; $send = mail($receiver, 'Contact Form Submission', $body, "From: {$email}"); if ($send) { echo 'true'; //if everything is ok,always return true , else ajax submission won't work } } Something like the above should work just fine - you pull in the variables at the top and then include them in the body of the email.

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.