Learning Path

Writing Secure Code in PHP

Learn secure programming techniques implemented in PHP.

What you will learn

This learning path will walk you through all of the most important concepts and cornerstones of modern secure PHP programming. This includes consideration of environment, avoiding old insecure practices and being proactively paranoid with your code. By the end of the path, you will be prepared to put these concepts into practice and able to successfully create secure code in PHP.

Wistia video thumbnail


Operating Environment

Course — 00:36:23

K0009, K0016, K0070, K0140, K0603

This course sets the context for Writing Secure Code in PHP.

Cryptography Weaknesses

Course — 01:24:10

K0007, K0009, K0016, K0018, K0019, K0070, K0140, K0190, K0336, K0403

In this course, you’ll explore the importance of using the best tools for the job.

Code-Data Separation

Course — 01:02:04

K0009, K0016, K0070, K0140, K0624

Take a look at ensuring segregation of trusted and untrusted items.

Application Logic

Course — 01:13:13

K0007, K0009, K0016, K0068, K0070, K0140

This course discusses securing common logic within your application.


Course — 00:24:53

K0007, K0009, K0016, K0068, K0070, K0140, K0624

This course explores the importance of securing your API interactions.

Development Process

Course — 01:10:58

K0009, K0016, K0068, K0070, K0140, K0153, K0178

Take a look at the process of ensuring the security of our development process.


Course — 01:06:18

K0032, K0178, K0205, K0286

Securing the infrastructure that runs our code.

Writing Secure Code in PHP Skill Assessment

Assessment — 43 questions — 00:21:30

Secure Coding – PHP

Lab — 00:30:00

This lab covers multiple secure coding errors commonly found in PHP, including includes, evals, and both local and remote file inclusion attacks.

Meet the author

David Myers is a senior full-stack software engineer specializing in the development of complex web applications, with over 18 years of experience developing for the web. He primarily works within the LAMP stack of technologies but often utilizes whatever technology is needed. This includes Nginx, Python and Redis when discussing back-end technologies and ES6, Typescript, jQuery and Angular for front-end technologies. He has a broad range of experience working with clients and companies across many different industries.

The details

Learning path insights

How to claim CPEs

Should you complete this learning path, you’ll be able to download a certificate of completion. Use this to claim your CPEs or CPUs.

Associated NICE Work Roles

All Infosec training maps directly to the NICE Workforce Framework for Cybersecurity to guide you from beginner to expert across 52 Work Roles.

  • All-Source Analyst
  • Mission Assessment Specialist
  • Target Developer

No software. No set up. Unlimited access.

Skip the server racks and spin up a realistic environment with one click. Infosec Skills cyber ranges require no additional software, hardware or server space so your team can spend less time configuring environments and more time learning. Unlimited cyber range access is included in every lnfosec Skills subscription so your team can skill up however they learn best.

Plans & pricing

  • Infosec Skills Personal

    $299 / year

    • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Custom certification practice exams (e.g., CISSP, Security+)
    • Skill assessments
    • Infosec peer community support
  • Infosec Skills Teams

    $799 per license / year

    • Team administration and reporting
    • Dedicated client success manager
    • Single sign-on (SSO)
      Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
    • Integrations via API
      Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
    • 190+ role-guided learning paths and assessments (e.g., Incident Response)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Create and assign custom learning paths
    • Custom certification practice exams (e.g., CISSP, CISA)
    • Optional upgrade: Guarantee team certification with live boot camps

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

You're in good company


We use Infosec Skills to provide continuous training to our technicians and to prepare them for various certifications. Infosec Skills allows us to create personalized training programs that focus on each of our technicians’ particular roles and see their progress as they take courses. We also, recommend it to clients to make their IT support teams better.

Caleb Yankus


This has been utilized to bridge the skills gap across our cyber team and to aid them as they prepare for their various certifications. It also has provided a nice learning foundation for our various cyber team members to utilize as we continue to find ways for cross-utilization with operations while minimizing the downtime needed to ensure everyone’s knowledge is the same.

Daniel Simpson


We use Infosec Skills to provide base level knowledge for employees. We also use the services to provide in depth learning for employees as they encounter new technologies. If an employee is is assigned to a new project, we can rely on Infosec Skills to provide a rapid concentrated learning environment. This rapid concentrated learning positions our employees for success.

Infosec Skills Teams client