GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Question for anyone that knows PHP (https://gfy.com/showthread.php?t=214442)

ldinternet 12-29-2003 05:35 PM

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......

SetTheWorldonFire 12-29-2003 05:37 PM

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.

ztik 12-29-2003 05:39 PM

why not just use ssi?

avion 12-29-2003 05:41 PM

it is possible, but really why dont u use SSI - would be simpler I believe...

Darren 12-29-2003 05:42 PM

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.

Babaganoosh 12-29-2003 05:49 PM

Use the "include file" SSI directive. You don't need any scripts to do that.

Darren 12-29-2003 05:50 PM

or u could use SSI heheh

^R3K^ 12-29-2003 05:53 PM

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:

<?php include updates.htm'; ?>

and then add to your htaccess "AddType application/x-httpd-php .htm .html"


All times are GMT -7. The time now is 11:47 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123