![]() |
find
echo("Member(s) on: $regmemberson. Guest(s) on: $guestson."); replace with echo("Member(s) on: $regmemberson.<br>Guest(s) on: $guestson."); |
Duh... I thought of that, but I didn't even try it... Thanks! :D
|
did it work? (it should have)
|
Yup it worked
Now my next question: Which is faster, PHP includes, or SSI? I have the option of both... |
i personally use PHP includes, due to the simple fact that all of my pages are built using PHP, however, if you are running a series of normal shtml pages, and only using PHP on some of them, it might be easier to use the SSI.
But it's up to you at the end of the day really :) |
Well my whole site is going to be PHP based soon, so I thought I would use PHP includes... But I seem to be having a problem...
Say I am using the includes on my home page (index.php).... I want to use includes in a subdir (say /included/) The problem is, my IMG tags aren't right when I include... If I use IMG SRC ="image.gif", the references on the included page all point to root (root/image.gif), rather than /included/image.gif If the page is on another subdir (say /reviews/), the img tags all change to that subdir... (/reviews/image.php) So what should I do? I think SSI would work for now, and if that's the case I can just use .inc on the included pages (I assume both SSI and PHP will include those files just fine)... But to keep things simple for my programmer, I'd like to use PHP includes all the way through... Ideas? |
Hey,
When you post an image do it liek this: ../image.gif That will bring you back one directory.. :) if you want to go back two directorys do this: ../../image.gif... Or if you want to go back a directory and into one do somethign like this: ../images/image.gif I hope that helps you.. -Joe |
Quote:
|
what code do i put into the main page to get it to show up?
|
ill definetly use it when my page is up
|
All times are GMT. The time now is 06:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|