homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Finding file name
Inferring target file name from a php URL

 2:23 pm on Nov 13, 2007 (gmt 0)

Hello everyone,

I am editing some web pages for a client - I downloaded them from the website but don't know what to call them - surely the php URL isn't the file's real name?

For example, for a URL like *********.com/brands.php?id=245&stock=thrillers

How do i find out what the target file is called on the server?

Your help would be much appreciated!



 2:27 pm on Nov 13, 2007 (gmt 0)

the target file would be brands.php but it will probably just be a template that is applied to dynamic data pulled from a database

you are going to need ftp and get the actual file

depending on what part of the content you are editing you may even need to edit data in the db


 2:51 pm on Nov 13, 2007 (gmt 0)

Thank you for replying...

I need to edit the META tags and add a paragraph of text to the page.

Can I do this without editing the database?



 3:56 pm on Nov 13, 2007 (gmt 0)

you would have to ook at the db but I would think the meta tags would be db driven as well.

Adding a paragraph of text to a specific page would probably entail editing that page's content in the db.

This is just a guess but I imagine it is the case.

Ask them how they edit pages, maybe they have a CMS (Content Management System) that you can edit through. They have to have some way of editing the content.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved