Bug #16943: Undefined variable

2002-05-01 Thread krizz

From: [EMAIL PROTECTED]
Operating system: Windows XP
PHP version:  4.2.0
PHP Bug Type: Compile Warning
Bug description:  Undefined variable

Hello

The following programm works, but not on my computer...
the variable email always is empty on my system, even if i filled the
input box. A friend of mine testet it too, and it works fine on his
system.But on my system the Html output appears in the browser. I fill
something in the inputform, i press on the OK button , but nothing
happens... I  use this programm with Apache/1.3.24 (Win32) PHP/4.2.0RC4
running...

can u find a mistake? i cannot... 


?
  echo Newsletter;
if (!isset($email))
  { 
  echo form action=index.php method=post;
  echo input type=text name=email;
  echo br;
  echo input type=submit value =OK;
  echo /form;
  }

if (isset($email) ) echo $email;

if (!isset($email) ) echo no;

/*mail($email,WWW.38HQ.DE - NEWS -, Danke Oskar \n du bist nun auf dem
38hq newsletter);*/
?




-- 
Edit bug report at http://bugs.php.net/?id=16943edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16943r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16943r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16943r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16943r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16943r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16943r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16943r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16943r=submittedtwice




Bug #16943 Updated: Undefined variable

2002-05-01 Thread krizz

 ID:   16943
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: Compile Warning
 Operating System: Windows XP
 PHP Version:  4.2.0
 New Comment:

Thanks for your helpbut i cannot find something..its my first time
doing PHP.so...dont think i am crazy ..:-)

but can u give me an example how to solve this basic problem?


Previous Comments:


[2002-05-01 08:52:45] [EMAIL PROTECTED]

this is not a bug; bogus. please check
http://www.php.net/release_4_2_0.php



[2002-05-01 08:44:32] [EMAIL PROTECTED]

Hello

The following programm works, but not on my computer...
the variable email always is empty on my system, even if i filled the
input box. A friend of mine testet it too, and it works fine on his
system.But on my system the Html output appears in the browser. I fill
something in the inputform, i press on the OK button , but nothing
happens... I  use this programm with Apache/1.3.24 (Win32) PHP/4.2.0RC4
running...

can u find a mistake? i cannot... 


?
  echo Newsletter;
if (!isset($email))
  { 
  echo form action=index.php method=post;
  echo input type=text name=email;
  echo br;
  echo input type=submit value =OK;
  echo /form;
  }

if (isset($email) ) echo $email;

if (!isset($email) ) echo no;

/*mail($email,WWW.38HQ.DE - NEWS -, Danke Oskar \n du bist nun auf
dem 38hq newsletter);*/
?








-- 
Edit this bug report at http://bugs.php.net/?id=16943edit=1