Of course the absolute safest way besides encryting
your PHP is to just store your state secrets in files
outside the web server's document tree.
i.e.
if your web server's document root is /var/www
?php
require(/var/super-secret/super-functions.php);
if ($theanswer == 42)
{
echo
Greetings,
How safe is the code written in PHP? For instance, if I have an equation or
some algorithm with some constants for calculations and I code them in PHP
for use on a website are they safe from being viewed or taken?
Thanks
James
--
PHP General Mailing List (http://www.php.net/)
The only real way to see the php code is if you don't have the webserver
set to parse the code...then it will just be displayed on the page (or
downloaded). If you're really paranoid, you can get a tool to encrypt
your php code. There's some free ones, but here's a costly one that I
know of:
-
From: James Shaker [mailto:[EMAIL PROTECTED]]
Subject: [PHP] The secrecy of PHP code
Greetings,
How safe is the code written in PHP? For instance, if I have an equation or
some algorithm with some constants for calculations and I code them in PHP
for use on a website are they safe
On Mon, 13 Aug 2001 09:43:56 -0500 impersonator of [EMAIL PROTECTED]
(Tyler Longren) planted I saw in php.general:
The only real way to see the php code is if you don't have the webserver
set to parse the code...then it will just be displayed on the page (or
downloaded). If you're really
Of course the absolute safest way besides encryting
your PHP is to just store your state secrets in files
outside the web server's document tree.
i.e.
if your web server's document root is /var/www
?php
require(/var/super-secret/super-functions.php);
if ($theanswer == 42)
{
echo
6 matches
Mail list logo