Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Firebug question


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

Firebug question
Reply
 
Thread Tools
Old 09-02-2011, 09:28   #1
Kymmy
Cable Forum Team
 
Kymmy's Avatar
 
Join Date: Dec 2007
Age: 43
Posts: 16,278
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Firebug question

I'm using firebug to dissect a few CSS/Template problems..

Now firebug tells me which CSS files are in use but it doesn;t tell me which php files are also in use.. Is there a way of finding this out with firebug or is there a better alternative that gives me full css info and php

Thinking about it though I presume the php issue is more security that anything but it would save me hunting for example which PHP file has the table in I need to alter

ThanX Kymmy
Kymmy is offline   Reply With Quote
Advertisement
Old 09-02-2011, 12:27   #2
MikeyB
cf.geek
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 40
Services: Talk Talk BB & Phone, Humax Foxsat HDR Freesat+
Posts: 761
MikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to all
Re: Firebug question

Firebug or any other browser based (client side) debugger won't be able to tell you what PHP files are used on the page as all the PHP is done on the server before the HTML is sent to your broswer.
None of the PHP code is sent to your browser, only the resulting HTML.

You'd have to look at the PHP files on your server, and look to any includes or using (not sure if using is a PHP thing)

Mike
__________________
When there's always biscuits in the tin, where's the fun in biscuits?
MikeyB is offline   Reply With Quote
Old 09-02-2011, 12:32   #3
Kymmy
Cable Forum Team
 
Kymmy's Avatar
 
Join Date: Dec 2007
Age: 43
Posts: 16,278
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Firebug question

Yep that's what I already do, but with the amount of includes these days it's hard to sometimes trace back

You'd think that there was some perhaps server side tool that you could use
Kymmy is offline   Reply With Quote
Old 09-02-2011, 13:13   #4
Pauls9
cf.geek
 
Pauls9's Avatar
 
Join Date: Jul 2009
Location: Guildford, Surrey
Services: VM TVM HD, BBL, phone; BT phone; Freeview.
Posts: 750
Pauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful one
Re: Firebug question

Don't know if it's of any use to you in php, but in ColdFusion I output an HTML comment at the start and end of every module, so a look at the source as it's seen by the browser tells me what has run and in what order.
Pauls9 is offline   Reply With Quote
Old 09-02-2011, 13:25   #5
Kymmy
Cable Forum Team
 
Kymmy's Avatar
 
Join Date: Dec 2007
Age: 43
Posts: 16,278
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Kymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny starsKymmy has a pair of shiny stars
Re: Firebug question

No use at all in php mainly as already stated by MikeyB is that you never actually see the PHP source, instead you only ever see HTML output created by the source php files.
Kymmy is offline   Reply With Quote
Old 09-02-2011, 14:25   #6
MikeyB
cf.geek
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 40
Services: Talk Talk BB & Phone, Humax Foxsat HDR Freesat+
Posts: 761
MikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to allMikeyB is a name known to all
Re: Firebug question

Pauls9 means is output an HTML comment at the start of your PHP include file, you'd see that in your browser.
<!-- This is myincluded.php -->

Don't know if adding one at the end would be of use, you'd generally see one after the other on the page.

But good idea, that'll come in handy for myself with ASP includes at work.
__________________
When there's always biscuits in the tin, where's the fun in biscuits?
MikeyB is offline   Reply With Quote
Old 09-02-2011, 14:42   #7
Pauls9
cf.geek
 
Pauls9's Avatar
 
Join Date: Jul 2009
Location: Guildford, Surrey
Services: VM TVM HD, BBL, phone; BT phone; Freeview.
Posts: 750
Pauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful onePauls9 is the helpful one
Re: Firebug question

The end comment helps see how functions are nested.

<!-- start of outer process -->
... output from outer process (if any)
<!-- start of inner process -->
... output from inner process (if any)
<!-- end of inner process -->
... more output from outer process (if any)
<!-- end of outer process -->

Last edited by Pauls9; 09-02-2011 at 14:46.
Pauls9 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Google Search




All times are GMT +1. The time now is 12:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Copyright © 2003 - 2012, Cable Forum.
(server1.cableforum.co.uk)

SEO by vBSEO 3.3.2