User Profile

Collapse

Profile Sidebar

Collapse
suchait
suchait
Last Activity: Jun 1 '12, 09:37 AM
Joined: May 31 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thnx for replies frd
    but i have a lot ouputs in welcome.php

    so i need to redirect the page to welcome.php...
    See more | Go to post

    Leave a comment:


  • 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);
    See more | Go to post

    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...
    See more | Go to post

    Leave a comment:


  • no error is presented in error.log file regarding this script.....
    i think session isn't working .....
    See more | Go to post

    Leave a comment:


  • suchait
    started a topic php code working on localhost but not working online
    in PHP

    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']);
    ...
    See more | Go to post
    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
Working...