Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #31.8K
Ranked #4K
~793 People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for IAuchmoody27

Your code is looking for a file, but it (application.php) doesn't exists at the position it is looking for. [B]EDIT:[/B] Got beaten by CFROG.

Member Avatar for Cartweaver
0
409
Member Avatar for tryingtofindout

Probably you want this: [CODE]if ( $username == 'admin' and $password == 'ncr' ) { [B]header("Location: http://localhost/ncr/home");[/B] }[/CODE] With header("Location: URL/HERE"); you will be redirected to URL/HERE Is that what you want? If you want to display you homepage at the bolded part then you could also use the include …

Member Avatar for tryingtofindout
0
115
Member Avatar for jeeter19

Do you have created that cookie? Otherwise, it can't show you something. [URL="http://php.net/manual/en/function.setcookie.php"]Click here to see how to set a cookie/make a cookie[/URL]

Member Avatar for Airshow
0
133
Member Avatar for JSHGROUP

The End.