Jump to content

reading local source


Dtonlinegames

Recommended Posts

hey guys,

 

Is there anyway I can read a local PHP scripts source or can I only read its output?

 

as in this file in public_html>index.php can read public_html>example.php's source code?

 

I'm trying to build a plug and play system for my admin application at work so I dont have to go round integrating everything with constructors all the time.

 

Cheers in advance guys :)

Link to comment
Share on other sites

I just thought how it would be so much easier, I can save my PHP files without the <?php ?> wrappers so the server doesnt execute it and give me the output  ;) I can scan the files all I want that way using preg_match_all then

 

If anyone has any better ways of doing this then great! :D

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.