Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > All Around Tutorials > Serverside Scripting Tutorials
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 05-08-2007, 11:52 AM
  #16
rh-penguin
 
Join Date: May 2007
Posts: 1
iTrader: (0)
rh-penguin is an unknown quantity at this point
Nice script!
rh-penguin is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 05-08-2007, 04:52 PM
  #17
erisco
Catapulted
 
erisco's Avatar
 
Join Date: Dec 2005
Location: Within the division of zero
Posts: 5,858
iTrader: (0)
erisco will become famous soon enougherisco will become famous soon enough
Sugar, could you explain more?

Miriam,
PHP Code:
$whole $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; 
can be replaced with whatever you desire.
PHP Code:
$whole 'http://www.example.com/'.$page
Where $page is the page you want from pages/... however that is obtained.

Last edited by erisco : 05-11-2007 at 07:35 PM.
erisco is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-10-2007, 12:54 AM
  #18
pschena
 
Join Date: Sep 2007
Posts: 1
iTrader: (0)
pschena is an unknown quantity at this point
Found this on Google, and looks very handy.

Just a quick question; would it be appropriate to use this code for dynamic page titles?
How could it be re-purposed?

Would it be possible to alias a folder name so that if it was called 'folder-name' in the page title it could appear as 'Folder Name'?

Thanks in advance.
pschena is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-13-2007, 03:52 PM
  #19
sgt.bilko
 
Join Date: Sep 2007
Posts: 1
iTrader: (0)
sgt.bilko is an unknown quantity at this point
Hi erisco,

I am new to php, and probably being a bit of a nunce, that said however, I had read through the comments and can't see what I would like to do. Following on from the modifications you made for platey by stripping the .php from the individual file names, is it possible to remove the link from the file if it is not index.php?

To make it clearer, using your example:

Home / Foo / Bar / file.php

can you remove the link from file.php?

Many thanks for a great script.
sgt.bilko is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 09:55 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.