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.

Jem

Privileged
  • Joined

  • Last visited

  1.    Jem reacted to a post in a topic: PHP function help (Greatest Common Factor)
  2. Using SSL is not going to prevent the shop from being hacked. Suggesting this is quite misleading IMO.
  3.    Jem reacted to a post in a topic: PHP variables / arrays
  4. Sorry, I wasn't specific, I meant what's the mail provider of the recipient address; e.g. gmail, yahoo, or through your own domain (which I guess is what you're saying ) I ask because it's easy to whitelist certain incoming mail through some providers. If you're having these mails sent to an account hosted through your domain, is SpamAssassin enabled on the account?
  5. It happens sometimes. I need more details - what mail provider are you using?
  6. No, that's perfectly fine.
  7. Hehe, it's ok, I'm only messing
  8. You seem to have already put the code into contact.php? As long as I have that right, it will work from there
  9. You won't see PHP when you view source because it's parsed before it reaches the browser - that means that PHP is doing its job I've just had a look at your contact.php and it still says mail_form_v2.php in the form: <form action="mail_form_v2.php" method="post"> This needs changing to: <form action="contact.php" method="post">
  10. PHP is processed by the server before it reaches the browser - that means the files you've linked to are of no use to us whatsoever. Anyway, captcha issues are normally down to not having the right PHP graphics library.
  11. I was going to link you to Chris Shiftlett's article on it yesterday but every time I went to his blog it tried to show me any other blog entry than the one I wanted. Sorry I couldn't back that up with a little more background data Glad you found the info though.
  12. Two suggestions: 1) use mysql_real_escape_string() instead of addslashes 2) sanitise the IP as well - certain parts of $_SERVER are just as manipulatable as $_POST/etc
  13. Jem replied to Shane Barrett's topic in Server Side
    I don't have an installed copy of Joomla to hand to answer the first one, but a bespoke e-commerce solution with over 1000 products (and 10 different price lists stacking up over 10k records; cart details at over 14k records) that I made for a work client is only using 2MB. Another example... my 7 year old blog with over 18,000 comments and nearly 1,000 entries is only using about 10MB. Most hosts offer multiple GB of database space. That's quite a lot
  14.    Jem reacted to a post in a topic: Text Wont Go Centre
  15. If the make and model are going in, it sounds like if (strrpos($theData, "£") === false ) { is always reporting false. Your echo "hello"; - does that ever echo hello?
  16. Are you asking which should you use out of htmlspecialchars and strip_tags? Both. strip_tags first to get rid of any html, then htmlspecialchars to deal with any left over stray characters ( < > & etc). If you're working with a database you should also use mysql_real_escape_string (or prepared statements). With regards to other common attacks, I have some good bookmarks here: http://delicious.com/jemjabella/security Ps. less of the 'chaps' if you don't mind
  17.    Jem reacted to a post in a topic: MySQL and SQL
  18. Again, the OP did state that it's not just phpinfo() not working. If PHP isn't set up properly the PHP version will display in cpanel but it doesn't necessarily mean anything. Jo needs to get in touch with his/her host.
  19. This was specified in the first post

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.