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.

jimmi

Members
  • Joined

  • Last visited

  1. Based on these basic requirements is it possible to find some snippets to use? Willing to pay for some help on this if I can get hold of a functional outcome to my demand.
  2. Hi thanks for reply, yes it would literaly be a customer logs in then within that account privilege is there file/spreadsheet.
  3. Im looking to try and make part of my website secure for customers to login individualy and access a file such as a spreadsheet relevant to each customer. Im no good at server side and have no idea how to go about it can anybody help with this, I have looked over a few mysql tutorials etc but think i need some help to simplify my requirements. Does the hole website need to become secure? can i set the accounts up for individuals and have them access the file relevant to them?
  4. Think Ive sorted it now thanks for your time and help.
  5. <?php function clean($data) { $data = trim(stripslashes(strip_tags($data))); return $data; } $exploits = "/(content-type|bcc:|cc:|document.cookie|onclick|onload|javascript|alert)/i"; $profanity = "/(beastial|bestial|blowjob|clit|cum|cunilingus|cunillingus|cunnilingus|****|ejaculate|fag|felatio|fellatio|****|fuk|fuks|gangbang|gangbanged|gangbangs|hotsex|jism|jiz|orgasim|orgasims|orgasm|orgasms|phonesex|phuk|phuq|porn|pussies|pussy|spunk|xxx)/i"; $spamwords = "/(viagra|phentermine|tramadol|adipex|advai|alprazolam|ambien|ambian|amoxicillin|antivert|blackjack|backgammon|texas|holdem|poker|carisoprodol|ciara|ciprofloxacin|debt|dating|porn)/i"; $bots = "/(Indy|Blaiz|Java|libwww-perl|Python|OutfoxBot|User-Agent|PycURL|AlphaServer)/i"; if (preg_match($bots, $_SERVER['HTTP_USER_AGENT'])) { exit("<p>Known spam bots are not allowed.</p>"); } foreach ($_POST as $key => $val) { $c[$key] = clean($val); if (preg_match($exploits, $val)) { exit("<p>Exploits/malicious scripting attributes aren't allowed.</p>"); } elseif (preg_match($profanity, $val) || preg_match($spamwords, $val)) { exit("<p>That kind of language is not allowed through our form.</p>"); } } $show_form = true; $error_msg = NULL; if (isset($c['submit'])) { if (empty($c['name']) || empty($c['email']) || empty($c['comments'])) { $error_msg .= "Name, e-mail and Comments are required fields. \n"; } elseif (strlen($c['name']) > 15) { $error_msg .= "The name field is limited at 15 characters. Your first name or nickname will do! \n"; } elseif (!ereg("^[A-Za-z' -]*$", $c['name'])) { $error_msg .= "The name field must not contain special characters. \n"; } elseif (!ereg("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,6})$",strtolower($c['email']))) { $error_msg .= "That is not a valid e-mail address. \n"; } if ($error_msg == NULL) { $show_form = false; if (!empty($c['url']) && !ereg("^(http|https)", $c['url'])) { $c['url'] = "http://" . $c['url']; } $subject = "Automatic Form Email"; $message = "You received this e-mail message through your website: \n\n"; foreach ($c as $key => $val) { $message .= ucwords($key) . ": $val \n"; } $message .= "IP: {$_SERVER['REMOTE_ADDR']} \n"; $message .= "Browser: {$_SERVER['HTTP_USER_AGENT']}"; if (strstr($_SERVER['SERVER_SOFTWARE'], "Win")) { $headers = "From: inbox@canterburyroaddaynursery.co.uk \n"; $headers .= "Reply-To: {$c['email']}"; } else { $headers = "From: inbox@canterburyroaddaynursery.co.uk <inbox@canterburyroaddaynursery.co.uk> \n"; $headers .= "Reply-To: {$c['email']}"; } $recipient = "inbox@canterburyroaddaynursery.co.uk"; $root_address = "root@canterburyroaddaynursery.co.uk"; ini_set("sendmail_from", $root_address); if (mail($recipient,$subject,$message,$headers)) { echo "<p>Your mail was successfully sent.</p>"; } else { echo "<p>Your mail could not be sent this time.</p>"; } } } if (!isset($c['submit']) || $show_form == true) { function get_data($var) { global $c; if (isset($c[$var])) { echo $c[$var]; } } if ($error_msg != NULL) { echo "<p><strong style='color: red;'>ERROR:</strong><br />"; echo nl2br($error_msg) . "</p>"; } }?>
  6. This did make the page viewable minus the contact form fields?
  7. Hi all, I changed my hosting and now I have this error on viewing the page. To be honest I do not know PHP a lot if at tall so would like some advice on how to get my page viewable again like it was only a few hours ago with my old hosting. Parse error: syntax error, unexpected $end in /hermes/bosweb/web139/b1392/ipg.chaininformationdesi/public_html/canterburyroaddaynursery.co.uk/contact.php on line 229 http://www.canterburyroaddaynursery.co.uk/contact.php
  8. How would i go about obtaining a domain name that a clients old designer owns or runs? What would i need to advise that person to be doing with this domain name so i/client can take it over, apart from the DNS change what would i ask them to do for me if they are willing to?
  9. Thank you for your valuable input i have been trying all sorts to resolve without any luck. I would have been lost without a little help from someone who clearly knows what they are talking about, Thanks you again.
  10. I have come to a dead end with this and tried different ways so that IE6 will render my page correctly but it just isnt to be unless someone on here can rescue me. The last straw was using absolute positioning on my contact page for a google map which IE6 laughs at me once again and does not position it where i want to. Can some please have a butchers at it and see if they can advise me on what i can do to get the problem sorted. If there isnt a resolve is there a way of hiding the map with some java if a user is using IE6? http://www.o18.org.uk/contact.php
  11. jimmi posted a topic in Web Browsers
    I have floated a google map right next to a small contact form which sits ok in IE8 etc but in IE6 my form appears under the map to the left. Can anyone have a look at it see where i'm going wrong please. http://www.o18.org.uk/contact.php
  12. You so nice to me Dizi
  13. Thanks Tery and Diz, I was just curious really i wasn't sure if they had the right to. Strange seeing your design being taken and used everywhere but i suppose if i did'nt want it to be used anywhere else other then the website i should have stated that within the contract terms and conditions.
  14. I designed a Logo for someone that then used it to produce a sign, merchandise and even took the EPS apart and used it in other parts of the business set up. What i want to know, What can i do about this? Also do i have any right in moaning about it with me not stating in the contract what the logo is to be used for?
  15. Thanks for your help bocaj, only error i'm left with now is a PNG fix. Does anyone know a way to get the following validated? Line 84, Column 132: Attribute "onload" exists, but can not be used for this element. …one" width="250" height="21" onload="fixPNG(this)"/></h1>

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.