[PHP] Mail issues

2002-07-29 Thread Yves Vrancken

Greetings,

I have read up on using mail with PHP because I would like to implement it
on my website. I was wondering though, if I should implement safety measures
and if so, what kind of measures, under the following conditions:

1. If I want to give visitors the opportunity to sign up for a newsletter.
All they have to do is fill in their email adress and hit the submit button.
I could then configure the form in such a way that they would be subscribed
to the Majordomo mailinglist;

2. If I want to give visitors the opportunity to send an email using a form
on the website, so that they can submit questions or request information.

Should I really look into securing the mail, or is this is not necessary?

Thanks in advance,

Yves Vrancken







-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Speed issues.

2002-07-28 Thread Yves Vrancken

Thanks for the help, guys . I appreciate it. And Bas, thanks for that link.
Interesting material for a novice PHP-user as myself.

Yves Vrancken



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Speed issues.

2002-07-28 Thread Yves Vrancken

I didn't expect it to make too much of a difference. Thank you for your
answer.

Yves Vrancken


"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I haven't noticed ANY performance hit by skipping in and out of PHP and
HTML
> when it suits me.
>
> I imagine there *might* be a slight performance hit if you were building a
> LOT of table information with print or echo or printf, but the general
> answer to your question is usually "whatever suits you better".
>
> You could run some comparison tests with a microtimer to see what
happens...
>
> I doubt on a 50-100K HTML page that you could notice the difference,
unless
> the site or server got S**TLOADS of hits.
>
>
> Justin French
>
>
>
> on 28/07/02 5:56 PM, Yves Vrancken ([EMAIL PROTECTED]) wrote:
>
> > Greetings,
> >
> > I am new to PHP and trying to implement some PHP and MySQL on my
website. My
> > website has a lot of tables and inside some of those tables, I want to
> > display information that is drawn out of the MySQL database using PHP. I
was
> > wondering what goes faster:
> >
> > (A). Building the whole page normally up in HTML, doing the usual

> >  and so forth, and then inside the  calling up the PHP in order
to
> > display the information. For example:   
> >
> > (B). Doing everything in the PHP document, also the 'building' of the
> > tables, and then including the PHP script in the main page. For example
> > using printf("  and so forth.
> >
> > Thanks,
> >
> > Yves Vrancken
> >
> >
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Speed issues.

2002-07-28 Thread Yves Vrancken

Greetings,

I am new to PHP and trying to implement some PHP and MySQL on my website. My
website has a lot of tables and inside some of those tables, I want to
display information that is drawn out of the MySQL database using PHP. I was
wondering what goes faster:

(A). Building the whole page normally up in HTML, doing the usual 
 and so forth, and then inside the  calling up the PHP in order to
display the information. For example:   

(B). Doing everything in the PHP document, also the 'building' of the
tables, and then including the PHP script in the main page. For example
using printf("  and so forth.

Thanks,

Yves Vrancken



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php