to find source code page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

to find source code page

Post by indian98476 »

i got to do customization of an already completed project. how do I find the source code of a particular page? checking the link doesnt work out as it is like .../#21 , ..../22 etc. the find function in dreamweaver isn't helping much....
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: to find source code page

Post by requinix »

You have to open up the actual .php file on the server, not some webpage, to view the source code.
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: to find source code page

Post by indian98476 »

i got the ftp details for the actual .php files...i opened the files...but i have no clue as i have not written it myself and there are about 500 or more odd files in there with 1000's of lines of code.....what do i do avatar?
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: to find source code page

Post by indian98476 »

so how do i find a specific file which must be its source code?
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: to find source code page

Post by McInfo »

You're probably dealing with a framework. You'll have to figure out which one. The contents of index.php in the document root usually give some indication. If not, the hierarchy and names of folders might help. Once we know which framework, someone may be able to walk you through finding the HTML (the "view") associated with a particular URL.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Thu Jun 17, 2010 4:45 pm, edited 3 times in total.
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: to find source code page

Post by indian98476 »

yes i found out its a cakePHP framework...the MVC model....i read through some tutorials and its wrecking my head....its in the views folder it seems....
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: to find source code page

Post by indian98476 »

thanx Mcinfo
Post Reply