![]() |
![]() |
![]() |
||||
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
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,074
|
Are php Includes considered current for website use Still?
If I build a php website and use code like this:
<?php include 'includes/navbar.php';?> ... so that when I want to make a change in the navbar across thousands of pages, the entire site is updated by changing one file only in the /includes folder. Is that current or is everyone onto a different version of php, or different code etc...? If I build a new site I want it to be able to adapt to any future change without having to individually change each page (or worse, rebuild the site) which would take forever. Thanks. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Pounding Googlebot
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,452
|
I still do this with Perl... old school for life
![]() WG
__________________
I play with Google. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Canada
Posts: 10,232
|
That will work just fine.
If you're building for long-term durability, try looking into PHP frameworks like Symfony/Laravel. It's a bit of a learning curve, but at least you'll have a solid foundation for your code when it comes time to update it.
__________________
skype: lordofthecameltoe |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: Canada
Posts: 3,074
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
bored
Industry Role:
Join Date: Aug 2003
Location: Metaverse
Posts: 4,675
|
Quote:
![]() one note about includes. if they are called cross-domain, name them .inc not .php. otherwise the script will try to process it instead of include it. #
__________________
# ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Videochat Solutions
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,610
|
Quote:
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Skype: ravo.fpctraffic
Posts: 5,436
|
+1
I think you and I are the only ones still using Perl. lol
__________________
AdultAdBroker - Buy and Sell Your Flat Rate Banners, Links, Tabs, Pops, Email Clicks and Members' Area Traffic - updated May 2025 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Pounding Googlebot
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,452
|
The internet hit a plateau with Perl
![]() WG
__________________
I play with Google. |
![]() |
![]() ![]() ![]() ![]() ![]() |