actually what I am doing is creating an area where users can manipulate data
on a page without having harmful code executed.  It is  faster to use a 
flat text file
than a database.  I will have these files named something else that will 
not be
able to be executed either.

I don't want it executed ever... but I do want html to work normally.. When 
they
want to change the contents of the file they use another page to write it.

It frees up more time for me to work on other projects rather than small edits.

Rick




At 02:39 PM 3/13/01 +1030, David Robley wrote:
>On Tue, 13 Mar 2001 13:54, Chris Cocuzzo wrote:
> > I'm slightly confused as to why you would not want it parsed and
> > executed...or I should say...what would be the differences in using the
> > include function vs. reading it in like a file??
> >
> > Chris
> >
> > -----Original Message-----
> > From: Rick St Jean [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, March 12, 2001 10:15 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] includes
> >
> >
> > I am looking for a simple way to include a file and not have it parsed.
> > But I also do no want to strip out the html and php.  Is there a way
> > to do a nice and simple include and set parsing to false?
> >
> > Right now I use a fopen and fgets to read from the file.
> >
> > include() will parse it and execute it.
> >
> > All I want to do is include it raw... any ideas?
>
>
>Well, if one wanted to show the actual content of the file, for whatever
>reason. Say one were building a routine to do a showsource, for instance.
>That's not what you are doing, is it Rick?
>
>--
>David Robley                        | WEBMASTER & Mail List Admin
>RESEARCH CENTRE FOR INJURY STUDIES  | http://www.nisu.flinders.edu.au/
>AusEinet                            | http://auseinet.flinders.edu.au/
>             Flinders University, ADELAIDE, SOUTH AUSTRALIA
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

##########################################################
#  Rick St Jean,
#  [EMAIL PROTECTED]
#  President of Design Shark,
#  http://www.designshark.com/
#  Quick Contact:  http://www.designshark.com/messaging.ihtml
#  Tel: 905-684-2952
##########################################################


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to