Re: [PHP] transformation to htm file when downloaded

2004-04-15 Thread Curt Zirzow
* Thus wrote Gabino Travassos ([EMAIL PROTECTED]): > Hello All > > I'm just starting to get PHP, and I'm wondering about the security of the > code I write. It _seems_ that when I try to download the PHP file directly > (like using Save Target As...) it will download only as an HTML file and my >

Re: [PHP] transformation to htm file when downloaded

2004-04-15 Thread Daniel Clark
The PHP code is processed on the web server and removed. Only the HTML and images are sent back to the clients browser. > I'm just starting to get PHP, and I'm wondering about the security of the > code I write. It _seems_ that when I try to download the PHP file directly > (like using Save Tar

Re: [PHP] transformation to htm file when downloaded

2004-04-15 Thread Gabino Travassos
> If you are saving to SQL you can limit this from the SQL end as well > as the PHP code, but it's worth doing at the PHP level too. By contraining the size of the string to "tiny" or whatever, right? I could also use Javascript, but I like that PHP is more of an invisible hand. I'm not using myS

Re: [PHP] transformation to htm file when downloaded

2004-04-15 Thread Gabino Travassos
> GT> seems to be the common behavior. Is there a way someone can extract my php > GT> file without this transformation? > > In a nutshell - no. > > Not without your server being compromised (i.e. hacked into or > misconfigured). > > GT> One of the things I'm starting with is a simple blog/guestboo

Re: [PHP] transformation to htm file when downloaded

2004-04-15 Thread Richard Davey
Hello Gabino, Thursday, April 15, 2004, 4:15:49 PM, you wrote: GT> seems to be the common behavior. Is there a way someone can extract my php GT> file without this transformation? In a nutshell - no. Not without your server being compromised (i.e. hacked into or misconfigured). GT> One of the