User Profile

Collapse

Profile Sidebar

Collapse
rajkpy
rajkpy
Last Activity: May 12 '09, 12:24 PM
Joined: May 2 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rajkpy
    started a topic how to Share variables among php and html
    in PHP

    how to Share variables among php and html

    Hi Experts,
    I have created a login page in php called login.php, it accepts username, password and domain and then does some authentication. IF authentication succeeds it starts a php session and sets a session attribute. In my php application, i check this session attribute in all the pages to find out whether the user has logged in or not.

    Now I have another application entirely written in html. Now I want to call this login.php...
    See more | Go to post

  • rajkpy
    started a topic Page to open only in Frameset
    in PHP

    Page to open only in Frameset

    Hi Expert,
    Please help. Please look at the code below for 'include.php', which is included in every php file of my application
    //Include.php
    Code:
    <?php
    session_start();
    if(!session_is_registered("SESSION")){
    $home_url = 'http://'. $_SERVER['HTTP_HOST'].'/admin_dev/authentication/login.php';
    header('Location: ' . $home_url);
    exit();
    }
    else
    $timeout_url = 'http://'.$_SERVER['HTTP_HOST'].'/admin_dev/authentication/timeout.php';
    ...
    See more | Go to post
    Last edited by Markus; May 8 '09, 05:40 PM. Reason: Added [code] tags.

  • rajkpy
    started a topic Redirecting first time users to login page
    in PHP

    Redirecting first time users to login page

    Please note: I am urgently in need of a solution to this question,
    for that i have posted this question in different forums so that i can get an answer as quickly as possibly. Please accept my apologies for any inconvenience caused.

    Hi experts,
    I have a application which consists of a login page and other application specific php file.
    At present the users are able to access the application files directly through...
    See more | Go to post
No activity results to display
Show More
Working...