Jump to content

Help!! Need to modify the way php calls a script!!


laavanya14

Recommended Posts

Hi Guys,

I am new to this forum and php :p

Let me explain a little on what i am doing.

I did a class in php called AuthenticationModule, which would check the integrity of the page and replace if there are some unauthorized changes.
to do that all i need to do now is

[code]$authenticatePage   = new AuthenticationModule('scripts/Football.html')  [/code]


each time i want to authenticate the page. this will automatically restore and call the original page

My question is
How can i see php to do that for all my page i am calling, meaning links, forms.... Meaning i want to change the way php calls the scripts by doing that first.

somebody once told me that i could modify the php.exe file to do that line. I also want it to be working when i call html files

Thank you in advanced?
Link to comment
Share on other sites

Hello Lavanya,
Wishes from Karthi keyan. you are pretty well in your question. if you want to change the way of PHP calls then you have to modify the Source codes and recompile PHP. you can add some custom functions in PHP Source and you can call some function like Lavanya(); with out defining that function inside of your PHP code. try to modify the PHP Source and Recompile it. :)

Thank you,
Karthi keyan.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.