Results 1 to 3 of 3

Thread: Modify definition.php file with php form

  1. #1
    Join Date
    Apr 2008
    Posts
    28
    Thanks
    8
    Thanked 1 Time in 1 Post

    Question Modify definition.php file with php form

    I have seen how to change an existing file using the text area, but how would you just extract and edit the variables of the defines tags in file of php defines statements, for use for example to modify site logos and heading texts that are defined in such files? Any help would be much apreciated thank you

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I don't think that you could unless you used a really advanced script that you would have to make.
    Sorry,
    Nile
    Jeremy | jfein.net

  3. #3
    Join Date
    Apr 2008
    Posts
    28
    Thanks
    8
    Thanked 1 Time in 1 Post

    Default

    someone has mentioned about using
    get_defined_constants() which will list all define( 'LABEL', 'value' );

    but not sure how to use it

    Form page reading file and listing seleced defines values in text area box, which can be changed, on submit it updates the definition.php file with the new values for the selected LABELS.

    thats about what i want to acheive

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •