1 Reputation Point
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
4 Posted Topics
Re: 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. | |
Re: 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 … | |
Re: 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] | |
Re: You'll need to post the full code otherwise we (well I) can't help you. |
The End.