Reply to Re: Perplexing PHP mail

Your name:

Reply:


Posted by Jeppe Uhd on 08/16/05 09:18

imemail2@gmail.com wrote:
> Hi everyone, im starting out in PHP and kinda pieced this together,
> this form apparently worked on another server, but is not working on
> the new one. Running PHP 5 on os X. The form mails ok, but the fields
> are all blank. The Apache error log gives this:

register_globals On/Off
The old server probably had it on, and the new one off

2 ways to solve the problem:

1 (the preferred) change all the variables used to
$_REQUEST["variable_name"]
2 (the old way) change register_globals to On (in php.ini)
The old way can have some securityproblems if you don't "think before you
code"...

> [error] PHP Notice: Undefined variable: yesviolation in
> application.php on line 12
> [Sun Aug 14 22:41:02 2005] [error] PHP Notice: Undefined variable:
> noviolation in application.php on line 12

--
MVH Jeppe Uhd - NX http://nx.dk
Webhosting for nψrder og andet godtfolk

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация