You are here: Re: Securing PHP scripts. « PHP Programming Language « IT news, forums, messages
Re: Securing PHP scripts.

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация