![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 2
OS: windows 2000
|
phpbb3 redirect function/to web page
hi i need to redirect users to a web page on my site via phpbb3 redirect function. i have searched the entire net for an example code with no luck. bellow is the redirect code in action.
Code:
238 // Only registered users can go beyond this point
239 if (!$user->data['is_registered'])
240 {
241 if ($user->data['is_bot'])
242 {
243 redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
244 }
245
246 login_box('', $user->lang['LOGIN_EXPLAIN_UCP']);
247 }
Code:
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
|
|
|
|
![]() |
| Thread Tools | |
|
|