Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5967563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:57:44+00:00 2026-05-22T19:57:44+00:00

Several days ago I attended a seminar and they were talking about dangerous PHP

  • 0

Several days ago I attended a seminar and they were talking about “dangerous” PHP functions. They did not say however that should we use them. They named eval(), preg_match(), exec() and a lot more.

Though I don’t use them, or don’t use them often sometimes I have to. Is it considered bad practice to use those functions? Even if I know that where I use them no user can reach it?

Edit:
For the preg_match() questions, check out this:
preg_match() security hole

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T19:57:45+00:00Added an answer on May 22, 2026 at 7:57 pm

    All of those methods basically allow injected code to be run on your system if you don’t protect against it. There’s a chance of you shooting yourself in the foot if you do use them without knowing what the dangers are. If you’re fully aware of what you’re doing, and you have no alternative but to use this method, then there isn’t much else you can do in any case.

    This question has a pretty comprehensive list of exploitable functions in PHP

    Exploitable PHP functions

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Several days ago I had a question about removing index.php from the address bar,
Several days ago, all mail() calls in my custom PHP application cause a 500
Merging in my Mercurial repository is not working like I expected. Several days ago
I asked several days ago about finding the most deeply nested lists . I
Several days ago,I post a question here about class inheritance Then someone provide a
I have spent several days now researching Hibernate and have several small questions about
Small and pretty nasty problem I've seen several days ago, asked to my friend
I started studied MongoDB about 2~3 days ago, and I am feeling pretty happy
Several days ago I posted this question(I don't know if it's proper to open
I know that cout have buffer several days ago, and when I google it,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.