full path to PHP file?

173 views
Skip to first unread message

David Kirby

unread,
May 18, 2012, 4:08:01 AM5/18/12
to fir...@googlegroups.com
Hi.

I am a designer that uses firebug on a daily basis and it is a must have tool! I love it...

Just wondered if there was a way to see a full file path to a php file on the server?

For example, if I wish to view php files that may contain a specific div etc etc...

If not, is there a clever workaround to this?

To find what I want, I have been using DW to find all elements (of a specific div or whatever) via the search tool and sifting my way through...

This is a pain as you have to have a local copy of an entire open source platform, to find one line of code etc!!!

I hope this makes sense?

Thanks for all suggestions in advance :-)

Erik Krause

unread,
May 18, 2012, 7:10:44 AM5/18/12
to fir...@googlegroups.com
Am 18.05.2012 10:08, schrieb David Kirby:
> Just wondered if there was a way to see a full file path to a php file
> on the server?

No. Firebug can only see what is passed to the client. There is no other
access to the server.

--
Erik Krause
http://www.erik-krause.de

Sebo

unread,
May 18, 2012, 7:46:55 AM5/18/12
to fir...@googlegroups.com
No. Firebug can only see what is passed to the client. There is no other access to the server.
To be more precise: You need to have access to the server to be able change the files on it. Also PHP scripts normally build up the HTML output dynamically, so you won't be able to directly edit the PHP files from within the browser. The only thing that could be done is to map the URLs to the server files. Firebug doesn't allow that yet, though there's already an issue for mapping to local development environment files.
Also note that there are some extensions like FireFile and cssUpdater, which allow you to synchronize at least changed CSS files.

Sebastian
Reply all
Reply to author
Forward
0 new messages