PHP Tutorial: Protect your Website with CAPTCHA: Create your own: Part 2



Learn how to protect your website from crawlers and SPAM robots. Create your own CAPTCHA using the PHP GD library. The Font used in this tutorial is called Anonymous Clippings and was obtained at dafont.com

In this part we develop the captcha class and implement all the static methods that we will be using. Using the output buffer we return the image base64 encoded into the html file. We test the captcha using a form that requires the user to input the code that appears in the image.

GitHub Respository:

How to Use Custom Font in Xcode 8 Swift 3



Please watch: “How to use Activity Indicator View in Swift 3”

-~-~~-~~~-~~-~-

In This Tutorial Developing a Basic “Custom Font” App for iOS 10 using Xcode 8 & Swift 3.

STEP 1 : Create a New Xcode Project
– Open Xcode
– Create a New Xcode Project
– Single View Application Click Next
– Enter Product Name, Language Swift or Devices Universal Click Next
Select Destination for Save your Project and Click Create.

STEP 2 : Add Label and Import Font File Into Xcode Project
— Goto Object Library and Find UILabel and Drag and Drop into View Controller
– Goto Menu Bar Click #File + #AddFiles Click and Select Font File and Click Add Button

STEP 3 : apply Font Into Label
– Goto Main.Storyboard Select View Controller
– Goto Attributes Inspector Click Font Button
– After Click Font Button and Select Custom Option
– After Select Custom Option Click Family Button and Find Font if you import into Project automatically show in font family …

xcode tutorials

PHP Tutorial: Protect your Website with CAPTCHA: Create your own: Part 1



Learn how to protect your website from crawlers and SPAM robots. Create your own CAPTCHA using the PHP GD library. The Font used in this tutorial is called Anonymous Clippings and was obtained at dafont.com

http://www.dafont.com/anonymous-clippings.font

In this part we create the captcha class and declare all the static methods that we will be using. Also the font file was base64 encoded and was assigned to a variable in order to embed the font into the PHP file. This will make the captcha class portable.

GitHub Respository: https://github.com/DigitalPhantom/PHP-Captcha

PHP Tutorial: Protect your Website with CAPTCHA: Create your own: Part 1



Learn how to protect your website from crawlers and SPAM robots. Create your own CAPTCHA using the PHP GD library. The Font used in this tutorial is called Anonymous Clippings and was obtained at dafont.com

http://www.dafont.com/anonymous-clippings.font

In this part we create the captcha class and declare all the static methods that we will be using. Also the font file was base64 encoded and was assigned to a variable in order to embed the font into the PHP file. This will make the captcha class portable.

GitHub Respository: https://github.com/DigitalPhantom/PHP-Captcha