How to set up: enter email address to download a pdf file

John Seth johnseth at phoenixwing.com
Sat Mar 18 22:31:04 MST 2006


My hosting provider locks you in as well. No issues with writing files ack
and forth, or to MySQL databases. My question would be, does your provider
have available to you, PHP and/or MySQL ? If you have php you can write to
a text file in a protected directory (using .htaccess or similar) so that
only you can access the output file.  The other would be to create a
database and table within which to store the information.

PHP will allow you to do almost anything you want, and is restricted more
by what your provider has allowed.  As such, I can't turn off my global
vars in PHP, unless I rent a whole server and have my own PHP compiled and
set for it to be "off".

If you have PHP, check out http://phpclasses.org/, there is a lot of PHP
snippets and code there. In my mind, I don't trust anyone's code other
than what I've written, but I do tend to use code from PHPclasses.org. I
generally thoroughly read and test it for holes and modify it to fit my
needs before using it.

  ~ Tony

-- 
To each their own...

> On Sat, 2006-03-18 at 13:25 -0700, Mike Garfias wrote:
>> Its still possible.  I've built sqlite databases on my mac, and moved
>> them to
>> my linux server with no issues.
>>
>> SQLite ends up being some libs, and a single file.
>>
>> Craig White spoke forth with the blessed manuscript:
>> > he's using a hosting system
> ----
> actually, my reference to his using a hosting system was that they would
> impose restrictions upon what apache can do and if I ran a hosting
> system, which I don't and am not certain of the implications, I am not
> sure that I would allow apache to write files anywhere but to a temp
> filesystem
>
> A db is what I suggested in the first place.
>
> Craig
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



More information about the PLUG-discuss mailing list