![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Jun 2007
Posts: 527
|
Site Depth Guru's Please Could I have 1 Min?
Hey
We are playing around with Site Depth as the CMS for our sites and for some reason if we embed: <?php $show = 'news'; require_once 'xxxxxxxxxxxx/websites/2.php'; require_once 'xxxxxxxxxxxx/members_area.php'; ?> and <?php $show = 'recent_gal_updates'; require_once 'xxxxxxxxxxxx/websites/2.php'; require_once 'xxxxxxxxxxxx/members_area.php'; ?> In 2 separate tables on the same page, only content from 1 of the categories is displayed, and the other table is just blank. If I have 1 category populated by SD on any table it works, but more than 1 php call it only shows content from 1 category. I would assume it's ok to call <?php . . . many times on a page? Any help would be appreciated. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,487
|
instead of "require_once" just use "require" think that'll work
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2007
Posts: 527
|
The Heron - You are a star, many thanks it works a treat
![]() Also thanks for your reply stickyfingerz ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Doin fine
Industry Role:
Join Date: Oct 2005
Posts: 24,983
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,487
|
Not sure how I came up with that, they might have told me or I might have stumbled on it. Either way, might not be secure or something could be why they didn't mention it...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jun 2007
Posts: 527
|
Just been on ICQ with Omar and require is secure - thanks guy's I was working on this all day!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Michigan
Posts: 4,487
|
Glad to help, sitedepth is topnotch
|
![]() |
![]() ![]() ![]() ![]() ![]() |