![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
PHP guys PLEASE help. Very EASY one line small problem..
i keep getting parse error on this line
include($phpbb_root_path . 'includes/page_header.'.$phpEx); any idea? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
Put this:
$phpbb_root_path . 'includes/page_header.'.$phpEx in a var $file = $phpbb_root_path . "includes/page_header.".$phpEx; and then include($file);.. Include doesnt like random '' in its syntax. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
That line looks ok. Maybe you forgot a ; on the line above it?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
that fixed it thanks so much! i know nothing about php and didnt think to look for that, thanks again! mrthumbs, thanks for your suggestion also |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
The period inside the quotes doesn't look right to me, but I don't know how your file system is set up...
'includes/page_header.' |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Jul 2002
Location: Bay Area
Posts: 4,012
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Aug 2003
Location: Someplace Windy
Posts: 4,501
|
Quote:
![]() I'll shut up now. Glad you got it fixed brizzad. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Nov 2004
Location: Scottsdale, AZ
Posts: 5,167
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
holla
Join Date: Jul 2003
Location: KFC
Posts: 11,769
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |