PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
G_Gekko
New Member
New Member


Joined: Apr 15, 2005
Posts: 5

PostPosted: Mon Apr 18, 2005 2:28 pm Reply with quote Back to top

Hi
Im using a modified version of the dynamic titles script that can be found on
Only registered users can see links on this board!
Get registered or login to the forums!


but i am wondering if there exist a script that can do the exact same thing with the site slogan since that also would be very good for search engines.

Regards
and thanks in advance.
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Tue Apr 19, 2005 4:42 pm Reply with quote Back to top

This is what i use on my site.

in your header.php take out the <title> </title>
and put this instead of it..
Code:
@include("includes/title.php");




save the below as title.php and put in includes folder.
Then you can play around with it...what or what not to show..
as for the text...just ad more lines...
Code:

<?php
if (stristr($_SERVER['SCRIPT_NAME'], "title.php")) {
    Header("Location: ../index.php");
    die();
}
mt_srand((double)microtime()*1000000);
$randTitle = mt_rand(1, 5);

    if ($randTitle == 1) {
   $RSTitle = "   - text1
    } elseif ($randTitle == 2) {
   $RSTitle = "   - text2";
    } elseif ($randTitle == 3) {
   $RSTitle = "   - text3";
    } elseif ($randTitle == 4) {
   $RSTitle = "   - text4";
    } elseif ($randTitle == 5) {
   $RSTitle = "   - text5";
    }
echo "<title>$sitename $pagetitle - $RSTitle $slogan</title>\n";

?>
View user's profile Send private message
G_Gekko
New Member
New Member


Joined: Apr 15, 2005
Posts: 5

PostPosted: Tue Apr 19, 2005 4:45 pm Reply with quote Back to top

thanks
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum