Support » Fixing WordPress » How to View my WordPress PHP Files using browser

Viewing 4 replies - 1 through 4 (of 4 total)
  • That’s the way PHP works–it will never show you the source that way.

    Just download the WP files to your hard drive and open them in a text viewer like Notepad.

    Ah ok admin.. how do i download them as soon as i type

    http://www.domain.com/wp-content/themes/themename/header.php it doesnt stay on that to download it

    Basically myself and another guy use the same theme and hes customized his just a little bit and i like a certain element of what he has done and want to see how he did it in the header.php

    k i think i figured it out thanks adam

    [Edit: I wrote this before you wrote your last post, but I’ll leave it here anyway.]

    You’ll need to download them via ftp. If you want to see the other guy’s code, you’ll need to ask him for it. There’s no other way to get it.

    Just to clarify…PHP code gets parsed by the server before being sent to your browser, so you’ll never see PHP source (on any site, using any PHP code) by typing a PHP file into the browser.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to View my WordPress PHP Files using browser’ is closed to new replies.