Need Help

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
hello i am going to remake my site and well i want to place all my code
in a database were i can access the code and output, just how can i
make it so when i access this code it outputs exactly the same way it
would if i were just putting it in a regular php file?
how i can do this?

oh and made this
echo 'hello my name is sam';
can some one help me make it work, because it would save me lots of
time, thanks.

Re: Need Help

Quoted text here. Click to load it

If i get it right, is all you need.

Met vriendelijke groeten,
Tim Van Wassenhove <

Re: Need Help wrote:
Quoted text here. Click to load it

Defining a stream wrapper is one way to do this.

Re: Need Help

Yes, a stream wrapper is the only way to get exactly the same as if it
was read from a regular file.

Look at the example in the documentation of stream_wrapper_register(),
remove the write method, and you have got nearly everything you need !

Re: Need Help

I Don't really understand how stream_wrapper_register(),  or Streams
can help me with my problems could you please explain?

Site Timeline