Re: mail problem
| From: | Dennis Seavers | Date: | Sun, 11 Jul 2004 07:55:59 +0000 |
| Subject: | Re: mail problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190172@lists.php.net to get a copy of this message | ||
Jason, et al:
Is it not true that $HTTP_POST_VARS is more secure than $_POST, even though
the latter is a superglobal? Doesn't the former acount for un-updated
server versions?
If it isn't, what disadvantage is there to using $HTTP_POST_VARS? Why
should one use $_POST instead?
(P.S.: Aidan Lister, this may be a dumb question, but please don't bother
responding.)
> [Original Message]
> From: Justin Patrin <papercrane@gmail.com>
> To: Jason Wong <php-general@gremlins.biz>
> Cc: <php-general@lists.php.net>
> Date: 07/11/2004 12:29:24 AM
> Subject: Re: [PHP] mail problem
>
> You should also be using $_POST instead of $HTTP_POST_VARS. $_POST is
> a superglobal, so you can use it anywehere, it's shorter ;-), and it's
> the "official" way to access post vars.
>
> On Sun, 11 Jul 2004 08:52:54 +0800, Jason Wong <php-general@gremlins.biz>
wrote:
> > On Sunday 11 July 2004 08:33, Joao Gomes wrote:
> >
> > > I am a beginner in php and I am trying to send emails from my
machinne, I
> > > dont have any mail server installed in my computer (e.g. sendmail),
btw i
> > > am running Windows XP, i wrote this script:
> >
> > [snip]
> >
> > > and changed the php.ini to:
> > >
> > > [mail function]
> > > ; For Win32 only.
> > > SMTP = smtp@uol.com.br
> >
> > SMTP (ie SMTP server) should be of the form: xxx.domain.tld, ie you
should not
> > have "smtp@" in there.
> >
> > --
> > Jason Wong -> Gremlins Associates -> www.gremlins.biz
> > Open Source Software Systems Integrators
> > * Web Design & Hosting * Internet & Intranet Applications Development *
> > ------------------------------------------
> > Search the list archives before you post
> > http://marc.theaimsgroup.com/?l=php-general
> > ------------------------------------------
> > /*
> > Death is God's way of telling you not to be such a wise guy.
> > */
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> > !DSPAM:40f08d67207261637984098!
> >
> >
>
>
> --
> DB_DataObject_FormBuilder - The database at your fingertips
> http://pear.php.net/package/DB_DataObject_FormBuilder
>
> paperCrane --Justin Patrin--
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php