thnx for replies frd
but i have a lot ouputs in welcome.php
so i need to redirect the page to welcome.php...
User Profile
Collapse
-
-
yeah
i am using
ini_set('sessio n.bug_compat_wa rn', 0);
ini_set('sessio n.bug_compat_42 ', 0);
now its not giving warning but not redirecting the page welcome.php
see the code
header('locatio n:welcome.php);Leave a comment:
-
when i put error_reporting (E_ALL);
ini_set('displa y_errors', 'On');
function on my script it shows me the warning that why its not working
Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_global s is enabled. You can disable this functionality and...Leave a comment:
-
no error is presented in error.log file regarding this script.....
i think session isn't working .....Leave a comment:
-
php code working on localhost but not working online
my login php script is working on my localhost(OS:ub untu)
but when i put it online its not working.
php code for login script:
...Code:<?php include('config.php'); //including configuration file session_start(); //starting session if($_SERVER["REQUEST_METHOD"]=="POST") { $myusername=addslashes($_POST['user_name']); //getting username from form $mypassword=addslashes($_POST['pass_word']);Last edited by Dormilich; Jun 1 '12, 05:11 AM. Reason: Please use [CODE] [/CODE] tags when posting code.
No activity results to display
Show More
Leave a comment: