ID:               25513
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jpolaino at infonos dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Regexps related
 Operating System: Win Me
 PHP Version:      4.3.3
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-09-30 08:03:45] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2003-09-12 07:34:53] jpolaino at infonos dot com

Description:
------------
I have a application with 15 files and 6000 lines of code instaled on
server with PHP 4.2.3
This runs O.K.
I just installed PHP 4.3.3 in my PC for I+D.
Now I have several errors in many lines of code.
The error says "Php provocó un error en PHP4TS.DLL. Php se cerrará"
I press the option "Debug" and then Microsoft Visual C++ give the
message "Unhandled exception in php.exe (PHP4TS.DLL): 0xC00000FD: Stack
Overflow".
This ocurrs some times when I use the function isset() but I can not
reproduce the fail: when I try to make a short file with the code
¡¡this run!!
This error ocurrs too when I use the function eregi() in

eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $Mail);

when $Mail value is any value with two points "..", but when I try to
make a short file (see below) this run OK.

Please Can any one help me?

Thanks


Reproduce code:
---------------
<?php

if (isset($Mail))
{
   if (eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$",
$Mail))
      $Msg = "El mail <b>'$Mail'</b> es correcto<hr>";
   else
      $Msg = "<b>ERROR:</b> El mail <b>'$Mail'</b> es incorrecto<hr>";
}
echo  "   <html><head></head><body>
$Msg
<form method=post>
Mail <input type=text name=Mail>
<input type=submit value=Send>
</form></body></head>";

?>



------------------------------------------------------------------------


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

Reply via email to