Search the Community
Showing results for tags 'php4'.
-
Hi all, I was wondering, if 1. I activate all errors except notices: error_reporting(E_ALL & ~E_NOTICE); ini_set('display_errors', 1); 2. my environment is php5.5 3. I get no errors Is my code then php5? I do not use any OOP, do I have to, to use php5? regards, Milou.
-
Hello, As stated above I have that many lines of php4 to \work with, but no design docs of any kind. I tried php_uml, with some success but no call tree. Any suggestions on tools that can digest that many lines and show a call tree?? Thank You
-
Hello, Can any one help, I am trying to move from PHP 4 to PHP 5, and this is an error message I encounter. OneandOne are dropping support foir PHP4 after april this year, I had given up supprting this application, but seems I need to move it forward. This happens after I change the PHP Version variable at my PHP server on OneandOne from 4 to 5. Error Message: Warning msql_connect(): Connecting to 3.33.3.23 & 4.0 is not supported. Server is 4.0.27-max-log in /homepages .......................... This is the code which is being referenced. //open database $db_host = "db318.oneandone.co.uk"; $db_username = "dboxxxxxxxxx"; $db_password = "password"; $DB_name = "dbxxxxxxxxx"; $chan = mysql_connect ($db_host, $db_username, $db_password) or die("Unable to connect to $DB_name"); mysql_select_db($DB_name, $chan); Is there anything I should be changing? thank you John
-
I am running an old version of php. Can a cookie be secure and httponly at the same time? Also is it important to set the domain field? If so how can i dynamically get a domain in php? header( "Set-Cookie:". $Name."=".$Id."; expires=".$expires."; path="/"; domain="";Httponly; secure"); I noticed IE has some occasional issues with setting the cookie with the above code. Also the page breaks in IE if i add either secure or httponly or both. it works when i remove both.