![]() |
![]() |
![]() |
||||
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: Apr 2001
Posts: 8,245
|
Question for anyone that knows PHP
I have
- a site with 50,000 html pages - a list of updates in updates.html Would it be possible to insert a bit of PHP into the html pages, that will pull the content of updates.html and display it? I'd like the updates to appear as part of the page, not in an i frame or anything like that. If possible, could someone give me an example of how this is done? thanks...... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Feb 2002
Location: California
Posts: 7,444
|
yes it's possible and no I can't tell you how.
unless you paypal me $10,000 or talk to a php programmer and have them give you a quote. it's pretty much just a file open and insert html to all those pages. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
|
why not just use ssi?
__________________
. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jan 2003
Location: right next to u
Posts: 1,403
|
it is possible, but really why dont u use SSI - would be simpler I believe...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Sep 2001
Posts: 5,994
|
Idinternet ICQ me and I can get my programmer to do it for ya... on the house! Won't be till 2mor 11am GMT time he gets in.
__________________
![]() Penis enlargement / male enhancement pills - earn up to $229.48 per signup ICQ: 46335817 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Use the "include file" SSI directive. You don't need any scripts to do that.
__________________
I like pie. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Sep 2001
Posts: 5,994
|
or u could use SSI heheh
__________________
![]() Penis enlargement / male enhancement pills - earn up to $229.48 per signup ICQ: 46335817 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Sep 2001
Location: North Carolina
Posts: 2,815
|
you could do it easily by adding header or footer with ssi, or just ad a bit of code on each of the html pages maybe at a peice of code that appears on each page. then add something like
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |