FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Trouble with sending e-mail from simple php script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Trouble with sending e-mail from simple php script [message #176566 is a reply to message #176560] Mon, 09 January 2012 17:01 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article
<a89e1ca8-5d6a-401a-aa81-bba71d5bc00a(at)v13g2000yqc(dot)googlegroups(dot)com>,
C <wrong(dot)address(dot)1(at)gmail(dot)com> wrote:

> On Jan 9, 3:53 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>> On Jan 9, 1:40 pm, C <wrong.addres...@gmail.com> wrote:

>>> On Jan 9, 2:36 pm, Captain Paralytic <paul_laut...@yahoo.com> wrote:
>>
>>>> On Jan 8, 6:57 pm, C <wrong.addres...@gmail.com> wrote:
>>
>>>> > I added four lines for those four variables.
>>>> > What does this really do? I already have those values in the
>>>> > variables. Why do we have to do this?
>>
>>>> You only have those values in variables if you are relying on
>>>> register_globals being on. The php manual has this to say on that
>>>> subject:
>>
>>>> Warning
>>>> This feature has been DEPRECATED as of PHP 5.3.0. Relying on this
>>>> feature is highly discouraged.
>>
>>>> 'nuff said?
>>
>>> THIS MIGHT BE IT. I will try at home in the evening.
>>
>> There is no "might" about it. Jeff's suggested lines:
>>
> -> $name = $_POST['name'];
> -> $orgn = $_POST['orgn'] etc etc
> ->
> -> are the way it is done nowadays, because register_globals no longer
> is.- Hide quoted text -

> You are right. This worked. I think I could also have set register
> globals to on in PHP.INI.

Well you could have done but don't, OK?

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scoping inside a block
Next Topic: Best PHP Training | PHP Development Training | PHP Training Institute
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 02:41:06 GMT 2024

Total time taken to generate the page: 0.05300 seconds