473,385 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Regarding login php code

I tried to develop a simple web application which uses
phpscript&mysql.If a valid user is logged in from login.php,
he should see some welcome message(home.php)( i got it),but after saw
that msg,if he tries to modify the url as login.php he should remain
in home.php only(should not go to login.php).I have tried it with
header function&used session concept.But didn't get the solution,How
to solve it?

Jun 23 '07 #1
1 1194
ar**************@yahoo.co.in wrote:
I tried to develop a simple web application which uses
phpscript&mysql.If a valid user is logged in from login.php,
he should see some welcome message(home.php)( i got it),but after saw
that msg,if he tries to modify the url as login.php he should remain
in home.php only(should not go to login.php).I have tried it with
header function&used session concept.But didn't get the solution,How
to solve it?
Hi,

You need headers and session indeed.
Please show us your code.

Regards,
Erwin Moller
Jun 23 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: damiensawyer | last post by:
Hi all, I hope that this question isn't too simple... I am storing all of my webforms in a /forms directory (with the exception of Default.aspx). I have created the following code in...
3
by: Fendi Baba | last post by:
I am new to access development, please bear with me if these questions sound trivial. I am creating an Access application using link tables. My database resides in MSDE. I have created multiples...
1
by: Irshad Ahmad | last post by:
Hi, I am developing an Web application in ASP.NET with C# .when i run the project on local machine i.e localhost the default page get loaded. when i view its source code i get : <!DOCTYPE HTML...
2
by: Arti | last post by:
Hi, I have a .Net application which has to communicate to Servlet on TomCat Server. I am able to send the request but it throws an exception while retrieving the response(Exception:The...
1
by: njames | last post by:
i have some doubts regarding bash scripting , 1) i need to display permission of a given file in the following format : Owner : Read Write Group :
1
by: Divas | last post by:
Dear Friends This problem comes in IE5 browser I have a problem and i an very frustrated bcs of that,When a user login his id is maintain in session, and then if he log out that...
1
by: Ron T. | last post by:
I've made a table withing my Access file, that lists all the people that would be allowed to login using the database. The logins and passwords are logged within the table, and are referred to...
6
by: hpatel | last post by:
Hi, I maintain a website for my organization. Recently, for a login page, I started using HTTPS. It works fine with HTTPS. The problem I face is : When a user goes to login page, he sees the...
3
vikas1111
by: vikas1111 | last post by:
Hi All.. I want to display who has logged in ...Like Logged in as "_______".. or like the one on the top left corner of your screen.... Hello, xxxxx For that i have included the following code...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.