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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:44:35+00:00 2026-06-09T08:44:35+00:00

I have a php page with a MySQL db behind it which my clients

  • 0

I have a php page with a MySQL db behind it which my clients use.

At times I have to add a ‘System Message’ to the top of the page to tell them about planned maintenance or upcoming changes or whatever.

At the moment I do this by opening up the PHP page by FTP and adding a bit of HTML text.

My question is, can you think of a way where I could, for instance, email an address which would take the content of the email and post the text on the Php page as my ‘System Message’?

Or it wouldnt have to be an email, but some hands off way I could add text without opening the FTP or mySQL db – ideally that I could just send from my phone via 3g..

Look forward to your ideas…

  • 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-09T08:44:36+00:00Added an answer on June 9, 2026 at 8:44 am

    I wouldn’t suggest you to use an email, but rather have an admin interface with a <textarea> or a CKEditor or TinyMCE where you can change the text, click save, and it’d change an external HTML page (custom_content.html) to whatever content you input using post and file_put_contents("custom_content.html", $_POST["text"]). You’d have to change your main site to require_once or include_once this html page though.

    If you decide to use the admin system method, either make sure your URL has some sort of uniqueness (random characters) or make a login that you have to fill out before using it first, as both of these methods, if exposed, could be used to XSS attack your site.

    That said, if you want the email system (again, I’m not recommending you to), you could have a cron job that connects to your email server with IMAP or POP (using existing libraries) and check for new messages, and if those messages are from a certain email and include a certain subject, and then do the same thing back-end as in the admin system (replacing the HTML files content, and including it on the main page).

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

Sidebar

Related Questions

I have a a php page which updates a mySql database it works fine
I have a simple php page that displays data from a mysql database. I
When showing data from a mysql table on an php page does it have
I have created a php/mysql based chat page.It is like gmail chat.once i click
I have a sample page that uses 2 PHP files and a MySql database,
I have a php page that pulls data from a mysql database based on
I have a php page which displays class schedule data for each user from
I have a php page which shows an entire time schedule for a user
i have one php page with paging option i use follwoing sql statement to
I have a Php page the code for which is below, I am trying

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.