/    Sign up×
Community /Pin to ProfileBookmark

Need some help

It’s been a long time since i’ve done web design work. I just setup a php script to allow for user authentication against a database and it works fine. But i can’t remember what i put to have it redirect to the page i want it to be on after the authentication. any help will be appreciated.

to post a comment
PHP

8 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliOct 24.2003 — something like this will work

if(true){

$location = "someurltobedirectedto.html"

header ("Location:$location");

}

where you need to replace true with your condition
Copy linkTweet thisAlerts:
@DraqoauthorOct 25.2003 — thanks for your help this will work great by the way you forgot the ; at the end of $location = "someurltobedirectedto.html" ? thanks cya later
Copy linkTweet thisAlerts:
@Khalid_AliOct 25.2003 — ?

you are welcome..

BTW just look at the number of posts I have every day...you should be glad that I did not forget the whole solution..?
Copy linkTweet thisAlerts:
@JonaOct 25.2003 — [font=arial][color=maroon]Now Khalid is learning PHP? ?



By the way, number of posts doesn't get you ahead... :rolleyes: [/color]
[/font]

[b][J]ona[/b]
Copy linkTweet thisAlerts:
@Khalid_AliOct 25.2003 — [i]Originally posted by Jona [/i]

[B]

By the way, number of posts doesn't get you ahead... :rolleyes: [/color][/font]



[b][J]ona[/b] [/B]
[/QUOTE]


what do you mean..ahead of what?
Copy linkTweet thisAlerts:
@JonaOct 25.2003 — [font=arial][color=maroon]The ball game. You know... It doesn't matter how many posts you have. :p



I'm sure that wasn't your intention, anyways, though.[/color]
[/font]

[b][J]ona[/b]
Copy linkTweet thisAlerts:
@Khalid_AliOct 25.2003 — I don't give a crap about the "ball game".

I am here to answer peoples legitimate questions. What I was referring to was,when th eoriginal poster said I forgot to put semi-cols at the end of a statement,and I said after posting so many posts a day (mind you witout even being paid) one is entitled to forget here and there a semi-cols or a dot and such.

Thanks for making this thread even more unpleasent for me.
Copy linkTweet thisAlerts:
@JonaOct 25.2003 — [i]Originally posted by Khalid Ali [/i]

[B]Thanks for making this thread even more unpleasent for me. [/B][/QUOTE]


[font=arial][color=maroon]...I didn't mean that, dude. Look, I'm sorry I even made the comment. Just like... delete this whole off-topic conversation or something.



Besides, you've corrected lots of my (obvious) errors as well, so I understand how it's easy to forget a few things sometimes. Never meant offense, never will.[/color]
[/font]

[b][J]ona[/b]
×

Success!

Help @Draqo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...