How to set up: enter email address to download a pdf file
Craig White
craigwhite at azapple.com
Sat Mar 18 12:47:11 MST 2006
he's using a hosting system
Craig
On Sat, 2006-03-18 at 12:42 -0700, Mike Garfias wrote:
> Apache writing to the local dir is fine.
>
> The catch is, you have to verify the content that is going in the file. Make
> sure its a real address.
>
> What I'd probably do is use SQLite or another RDBMS and store the address,
> then take the user to the download page.
>
> Craig White spoke forth with the blessed manuscript:
> > On Sat, 2006-03-18 at 13:57 -0500, joe wrote:
> > > Can anyone tell me a simple way to set up a routine on my website
> > > so people can download a pdf file simply by entering their email
> > > address and have the submitted email addresses saved on the web
> > > hosting system?
> > ----
> > generally not a great idea to have apache capable of writing files
> > anywhere except to maybe a non-executable temp file system which is
> > probably not what you want to accomplish.
> >
> > It might be easier to have a form that someone fills out that sends an
> > email or creates a row in a database prior to downloading the file but
> > the methodology would depend greatly on the type of code that the side
> > is using (i.e. perl/cgi, rubyonrails, php or static html) and what the
> > hosting server is permitting you to do. Might be a good thing to ask
> > your hosting server.
> >
> > 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
> >
> > !DSPAM:11,441c5bc9154861402915076!
> >
> >
> ---------------------------------------------------
> 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