i'm having a problem with my project....
i have an oracle server on a computer named oracle and in apache htdocs files i have a 
directory special for my project...

1 in that dir i have a html file named index.html
here i get the username and the password and post it to the validate.php file

in the validate.php file:
the first i have is 
<?php session_start(); 
 header("Cache-control:private"); ?>

1. i get the variables

2. i register the variables 
  session_register("name") and session_register("password"),

3. i verify if they can acces to the database 
if( ociplogon($name,$password))
else $ok='false';

4. in the body of the validate.php i have a script in order to load a new page

var ok=<?php echo $ok; ?>

that's it....
it works but not fine....i know it isn't the best way but it worked ....
till some days i have any problems but since today i don't know what is happening...

sometimes it works loading the good_page but sometimes it loads the error page....
i think it is something with authentification and session but i need a solution 
quickly...i have no time to rethink all...

if you have a solution or another type of making all i have made send me a reply
thanks a lot...

http://www.idilis.ro - Stiri, e-mail gratuit, download,
SMS, server de counter-strike, hosting gratuit, servicii internet...
Fii cu un pas inaintea celorlati!

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to