|
Posted by tool on 05/04/06 14:10
In article <G_e6g.6344$TT.1904@twister.nyroc.rr.com>,
danapub2@weavemaker.com says...
> <techjohnny@gmail.com> wrote in message
> news:1146712732.908890.6470@j73g2000cwa.googlegroups.com...
> > Ok, I'm just trying to prevent people from viewing and downloading the
> > php code. Since some of the form.php is in html, is there an easy way
> > to convert to complete .php without having to add "echo "line"; " in
> > each part of the html?
>
> Look at the "heredoc" syntax. Pay particular attention to the fact that you
> can put PHP variables within the heredoc text.
>
>
>
how can people look at your php files? looking at your directory with a
browser shouldnt show them. at least not on my server it doesnt. doesnt
all php not inside html just get run by the server not sent to the
browser ?
to have it somewhere else
<FORM ACTION = "myscripts/dothis.php">
Cantyou just have your php code on the htm page call funtions in a file
in that directory?
that shouldnt let anyone get at it I dont think.
perhaps someone would explain if I',m wrong?
Navigation:
[Reply to this message]
|