Page 1 of 1
to find source code page
Posted: Wed Jan 20, 2010 5:33 am
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....
Re: to find source code page
Posted: Wed Jan 20, 2010 8:14 am
by requinix
You have to open up the actual .php file on the server, not some webpage, to view the source code.
Re: to find source code page
Posted: Wed Jan 20, 2010 10:21 pm
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?
Re: to find source code page
Posted: Wed Jan 20, 2010 10:43 pm
by indian98476
so how do i find a specific file which must be its source code?
Re: to find source code page
Posted: Thu Jan 21, 2010 12:12 am
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.
Re: to find source code page
Posted: Thu Jan 21, 2010 3:08 am
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....
Re: to find source code page
Posted: Wed Jan 27, 2010 6:13 am
by indian98476
thanx Mcinfo