Welcome to Dream.In.Code
Getting Help is Easy!

Join 98,764 Programmers for FREE!. Ask your question and get quick answers from Dream.In.Code experts. There are 1,036 online right now! We're the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert

Register to Make This Box Go Away!


phpbb3 redirect function/web url

 
Reply to this topicStart new topic

phpbb3 redirect function/web url, phpbb3 intergration of a web site

colubragens
post 5 May, 2008 - 05:48 PM
Post #1


New D.I.C Head

*
Joined: 5 May, 2008
Posts: 2

hi i am new to this stuff. i searched everywhere to learn how to redirect a user to a web page located in the phpbb3 root path. bellow is a sample of the redirect function at work.





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  }


how do i change
CODE
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));

to redirect to index.html in the phpbb3 root path?
thanks
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 7/20/08 02:36PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month
-->