Title: Where to put .php?
Last modified: September 1, 2016

---

# Where to put .php?

 *  Resolved [180simon](https://wordpress.org/support/users/180simon/)
 * (@180simon)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/)
 * Antoine has very kindly included code in this forum to make useful changes to
   the app.
    I’m really keen to try a few out, but I’m completely clueless as to
   where I need to ‘stick’ this code! Could somebody help me out please? The code
   I’m particularly interested in is football-pool-extra-match-save-buttons.php 
   Thanks ever so much for any guidance. Simon
 * [https://wordpress.org/plugins/football-pool/](https://wordpress.org/plugins/football-pool/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7594969)
 * Hi,
 * You have to put the .php file in the plugins folder of your WP install (`/wp-
   content/plugins`). When the file is placed there, go to the plugins option in
   the WP admin and activate the plugin.
 *  Thread Starter [180simon](https://wordpress.org/support/users/180simon/)
 * (@180simon)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7594992)
 * Does that mean I need to use this full URL in the address bar… [http://spa-games.uk/wp-content/plugins/](http://spa-games.uk/wp-content/plugins/)
 * If so, the page doesn’t load – just a blank screen.
    If not, then how do I find/
   use wp-content/plugins/
 * I feel very daft asking that, but this simplest instruction is beating me at 
   the moment!
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7594997)
 * You have to upload the php file to this path using an FTP client (e.g. FileZilla).
 * Other option that might also work (never tried it, though): zip the php file 
   and upload it via the wp admin (Plugins menu).
 *  Thread Starter [180simon](https://wordpress.org/support/users/180simon/)
 * (@180simon)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7595144)
 * Hi Antoine
 * I downloaded FileZilla as suggested and have placed _football-pool-extra-match-
   save-button-at-top.php_ in to _/public\_html/spa-games.uk/wp-content/plugins_
   but I don’t see any additional Plugins in _[http://spa-games.uk/wp-admin/plugins.php?plugin\_status=all](http://spa-games.uk/wp-admin/plugins.php?plugin_status=all)_
 * Am I doing something obviously wrong?
 * Regards
    Simon
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7595145)
 * Hi,
 * I can access the file on your server (so it’s in the right spot), but when I 
   view the source, I see a scrambled php file (and source should be empty when 
   viewing via a browser). So, looks like the file encoding is wrong. Did you perhaps
   save the contents of my file in a new php file?
 * Try downloading the original file directly from my dropbox and uploading it again.
 *  Thread Starter [180simon](https://wordpress.org/support/users/180simon/)
 * (@180simon)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7595148)
 * Your suggestion has worked Anton – I can now transfer using Filezilla:) Thank
   you so much for your help. I can really start to’beef up’ the plugin functionality
   now.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Where to put .php?’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 6 replies
 * 2 participants
 * Last reply from: [180simon](https://wordpress.org/support/users/180simon/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/where-to-put-php/#post-7595148)
 * Status: resolved