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 8018213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:04:54+00:00 2026-06-04T21:04:54+00:00

As dangerous as it sounds, I would like users to be able to create

  • 0

As dangerous as it sounds, I would like users to be able to create their own PHP programs on my website.

Is there any way for me to make a code so that when the user posts theirs, they aren’t DELETING or EDITING a file that already exists, maybe using RegExp?

Thanks

  • 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-06-04T21:04:55+00:00Added an answer on June 4, 2026 at 9:04 pm

    If you were handy with server administration you could probably figure something out. You might want to ask this on server fault. I think if you copied the files to one directory that had the correct permissions (550 maybe), it won’t let the script write anything but I’m not really sure.

    The one suggestion that I would have is to add set_time_limit() to the top off all the scripts to keep runtime short. Also I would setup a script that only allows so many executions at one time so your server doesn’t get smashed.

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

Sidebar

Related Questions

I would like to know if there are dangerous safety/security issues when a application
I would know if it's dangerous Run A Backgrounworker2 in a RunWorkerComplete1 like this
This might sound strange (or even dangerous) but I would like to deploy one
After the parse, I would like to remove dangerous code and write it out
I think octal literals are Very Dangerous Things™, and I'd like them to be
Firstly: I'm a lowly web designer who knows just enough PHP to be dangerous
Several days ago I attended a seminar and they were talking about dangerous PHP
ASP.NET has the ability to detect potentially dangerous input from the client. I'd like
There are some fairly powerful tools like SIMBL or Airfoil/Instant Hijack which use code
How dangerous is this php code? What can be done about it? $name =

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.