to find source code page
Moderator: General Moderators
-
indian98476
- Forum Commoner
- Posts: 78
- Joined: Tue Dec 15, 2009 3:24 am
to find source code page
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
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
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
so how do i find a specific file which must be its source code?
Re: to find source code page
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.
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
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
thanx Mcinfo