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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:44:24+00:00 2026-05-28T16:44:24+00:00

I am working on making my own custom CMS in PHP by hand and

  • 0

I am working on making my own custom CMS in PHP by hand and I have a few constants I have defined. Is there an easy way to modify the constants?

I was thinking about using something like fopen() and then changing it, but I have never used the filesystem functions.

  • 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-28T16:44:25+00:00Added an answer on May 28, 2026 at 4:44 pm

    A constant is an identifier (name) for a simple value. As the name
    suggests, that value cannot change during the execution of the script

    (except for magic constants, which aren’t actually constants). A
    constant is case-sensitive by default. By convention, constant
    identifiers are always uppercase.

    The name of a constant follows the same rules as any label in PHP. A
    valid constant name starts with a letter or underscore, followed by
    any number of letters, numbers, or underscores. As a regular
    expression, it would be expressed thusly:
    [a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*

    From: Constants (PHP mamual)

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

Sidebar

Related Questions

I got my own custom font working in Java, but I have one problem,
Hi im making a custom Textbox i got everty thing working but how do
We're making this web app in PHP and when working in the reports we
I'm working on making my own boot loader and kernel in D, and I've
I have started working on my own project, but I am stuck due to
I'm making my own web browser for the iPad, and I have a problem
I am working on a programming assignment in which we are making our own
I am making my own Pattern Lock for android phone, i have Done the
I have been working on my own library/framework for the learning experience for a
I've been working on making my own little text editor using a RichTextBox(MyRTB). I've

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.