Results 1 to 5 of 5

Thread: Hidden PHP Files

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    Hidden PHP Files

    Hi, Im trying to do a CMS intergration for a site. The idea is that after I navigate through the web pages of the site, I will obtain the URL's of the pages that would need editing. However, when connected to the site via FTP, I navigate to the paths of these pages and happen not to find anything at all.
    Could someone please explain and tell me how I could get around. Thanks

  2. #2
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: Hidden PHP Files

    Quote Originally Posted by tendemo View Post
    Hi, Im trying to do a CMS intergration for a site. The idea is that after I navigate through the web pages of the site, I will obtain the URL's of the pages that would need editing. However, when connected to the site via FTP, I navigate to the paths of these pages and happen not to find anything at all.
    Could someone please explain and tell me how I could get around. Thanks
    What do the URLs that you have gathered look like? The server might be setup to change the look of a URL, usually for SEO purposes.
    Chris

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Hidden PHP Files

    I'd be looking for some re-write rules in the htaccess file. I used to do this all the time. such that mysite.com/article/2010/03/30/title_goes_here would point to the posting with the slug "title_goes_here" that was posted on March 30, 2010 and the php file that would be responsible for rendering it would be "article.php"

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Hidden PHP Files

    which content management system are you using in the first place? generally, most of the content is stored in a database and only cached on the filesystem -- if this is the case, you'd need to login to the control panel of the CMS to make any changes.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    Re: Hidden PHP Files

    Quote Originally Posted by techgnome View Post
    I'd be looking for some re-write rules in the htaccess file. I used to do this all the time. such that mysite.com/article/2010/03/30/title_goes_here would point to the posting with the slug "title_goes_here" that was posted on March 30, 2010 and the php file that would be responsible for rendering it would be "article.php"

    -tg
    I think this approach would be a little closer to what I'm after. I will have a look at the htaccess file and if there are any handy Tutorials around please let me know. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width