ID: 20271 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Apache related Operating System: All PHP Version: 4.3.0-pre2 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Your nameserver is broken, see: http://www.rfc-editor.org/rfc/std/std13.txt Secion 3.5. Preferred name syntax, Page [10], shows allowed characters for hostnames. The underscore is not one of them. Previous Comments: ------------------------------------------------------------------------ [2002-11-05 18:54:14] [EMAIL PROTECTED] If you create a host with an underscore in the domain you are unable to set cookie. I created one with the name site_v1.domain.com and any attempt to set a cookie was unsuccessful, I then used the IP address instead and it worked fine. I then tested this on a different system with the following code. <?php setcookie('name', 'value', time()+3600); echo '<pre>'; print_r($_COOKIE); echo '</pre>'; ?> Yes i did reload the page. I've tried php 4.2.3 and 4.3.0-pre2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20271&edit=1
