Jump to content


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

  • Please log in to reply
1 reply to this topic

#1 laavanya14

  • Members
  • PipPip
  • Member
  • 16 posts

Posted 04 April 2006 - 05:37 PM

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

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

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?

#2 karthikeyan_coder

  • Members
  • PipPipPip
  • Advanced Member
  • 201 posts

Posted 04 April 2006 - 07:08 PM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users