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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:32:24+00:00 2026-06-13T21:32:24+00:00

I am looking for a ways to open a document, in this case the

  • 0

I am looking for a ways to open a document, in this case the code below is the output of a function I wrote. Within this output I get access to some additional files I would like to edit, in this case the css files.

Can I get ideas of how to open/edit them once I click on them?

<tr>
      <td class="form_select"><input id="select_all_form15" name="select_all_form15" type="checkbox" value="Forms" class="case" /></td>
      <td class="form_id">1334261250</td>
      <td class="form_url"><a href="/forms/hatternet/deland/email/index.php" target="_blank">Lifetime Email Request</a></td>
      <td class="form_autofill">HATTERNET</td>
      <td class="form_save">form.css</td>
      <td class="form_save"></td>
      <td class="form_save"></td>
      <td class="form_save"></td>
      <td class="form_dates"></td>
</tr>
  • 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-13T21:32:25+00:00Added an answer on June 13, 2026 at 9:32 pm

    You’re going to need an additional script to handle this, but the function you’re looking for to read an entire file from disk to a variable is:

    file_get_contents(); // Reads the contents of a file into a variable
    file_put_contents(); // Writes a variable to a file
    

    Docs are here: https://www.php.net/manual/en/function.file-get-contents.php
    and: https://www.php.net/manual/en/function.file-put-contents.php

    You’ll then have to output the contents of the file being edited to a textarea so that you can edit it, and then when you post the changes back, you’ll have to write them to the file again.

    However, using this technique, you MUST be extremely careful, it’s possible to completely screw yourself over. You need to restrict file editing only to the files you actually want users to edit. So if it’s only style.css that should be editable, make sure that your script can only read and write to that file and nothing else.

    You’ll also need to make sure there’s some sort of authentication in front of this script so that other people can’t make changes to your website.

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

Sidebar

Related Questions

I'm looking for ways to express this Python snippet in Perl: data = {A:
I'll start by describing a scenario, I'm open to other ways of doing this
I'm looking for ways to reduce the wasted time spent to open all the
I am looking for a way to code a link to open an instant
there may be other ways to do this but I'm looking for an fairly
I know this is a probable open ended question, and I have tried looking
I have searched around looking for ways to get at the CDATA section text
I'm looking for quicker ways to navigate in vim. Say, I open the following
I'm writing some JVM instance related application and looking at open source to see
i have this simple script of a popunder window: function loadpopunder(){ win2=window.open(popunder,,winfeatures) win2.blur() window.focus()

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.