Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 08-02-2009, 05:49 AM   #1
Tasha
 
Join Date: Jul 2009
Location: South Wales
Posts: 45
Thanks: 10
Thanked 0 Times in 0 Posts
Default How Do You Edit A PHP File?

I've got quite a nice Wordpress theme installed but I need to edit a php file that comes with it.

Is there a free html/wysiwyg editor that can do the job? I know you can edit it in note pad but a html editor would be a lot easier for me.

Tasha
BlueBetty is offline   Reply With Quote
Old 08-02-2009, 06:03 AM   #2
HyperActive Warrior
 
Paul Becky's Avatar
 
Join Date: Jul 2009
Location: Mexico
Posts: 102
Thanks: 18
Thanked 9 Times in 6 Posts
Default Re: How Do You Edit A PHP File?

I would use phpdesigner, free for personal use

MPSOFTWARE - phpDesigner - The Best PHP Editor & PHP IDE!
Paul Becky is offline   Reply With Quote
Old 08-02-2009, 06:08 AM   #3
Senior Warrior Member
War Room Member
 
Adam Sussman's Avatar
 
Join Date: Oct 2006
Location: , London , UK
Posts: 1,237
Thanks: 264
Thanked 137 Times in 117 Posts
Social Networking View Member's FaceBook Profile 
Default Re: How Do You Edit A PHP File?

Here you go :-)

KompoZer - Easy web authoring

Adam

"He elicits the same kind of admiration one would feel for a streaker at Queen Victorias funeral."

Adam Sussman is offline   Reply With Quote
Old 08-02-2009, 06:08 AM   #4
Senior Warrior Member
War Room Member
 
Ron Killian's Avatar
 
Join Date: Jun 2007
Location: Arkansas, USA.
Posts: 1,518
Blog Entries: 17
Thanks: 86
Thanked 124 Times in 98 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Ron Killian Send a message via MSN to Ron Killian
Default Re: How Do You Edit A PHP File?

Yes, most editors should work, after all it's really just text. I've used Dreamweaver and NVU.

Largest Selection of PLR Articles on the Planet! Also Audio, PLR Ebooks, Graphics, PLR Video, Templates, PLR Websites and more with Private Label Rights.

Discover Big Profits with the FREE PLR Newsletter!
Ron Killian is offline   Reply With Quote
Old 08-02-2009, 06:18 AM   #5
HyperActive Warrior
 
Paul Becky's Avatar
 
Join Date: Jul 2009
Location: Mexico
Posts: 102
Thanks: 18
Thanked 9 Times in 6 Posts
Default Re: How Do You Edit A PHP File?

I didn't know NVU can edit PHP
and Dreamweaver not free after all
Paul Becky is offline   Reply With Quote
Old 08-02-2009, 06:29 AM   #6
Senior Warrior Member
War Room Member
 
Ron Killian's Avatar
 
Join Date: Jun 2007
Location: Arkansas, USA.
Posts: 1,518
Blog Entries: 17
Thanks: 86
Thanked 124 Times in 98 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Ron Killian Send a message via MSN to Ron Killian
Default Re: How Do You Edit A PHP File?

Seems kind of odd two people that joined at the same time, one asks a question, the other has the signature to the solution. Maybe it's just me

Largest Selection of PLR Articles on the Planet! Also Audio, PLR Ebooks, Graphics, PLR Video, Templates, PLR Websites and more with Private Label Rights.

Discover Big Profits with the FREE PLR Newsletter!
Ron Killian is offline   Reply With Quote
Old 08-02-2009, 06:33 AM   #7
HyperActive Warrior
 
Paul Becky's Avatar
 
Join Date: Jul 2009
Location: Mexico
Posts: 102
Thanks: 18
Thanked 9 Times in 6 Posts
Default Re: How Do You Edit A PHP File?

Quote:
Originally Posted by Ron Killian View Post
Seems kind of odd two people that joined at the same time, one asks a question, the other has the signature to the solution. Maybe it's just me
Whose signature did you meant?
Paul Becky is offline   Reply With Quote
Old 08-02-2009, 07:16 AM   #8
HyperActive Warrior
War Room Member
 
charlesburke's Avatar
 
Join Date: Apr 2008
Location: Chiang Mai, Thailand.
Posts: 304
Thanks: 106
Thanked 152 Times in 80 Posts
Contact Info
Send a message via Skype™ to charlesburke
Default Re: How Do You Edit A PHP File?

If it's a Wordpress theme, why aren't you just editing it in the built-in theme editor? That's what most folks do.

Cheers, Charles

Is your ebook in Kindle format yet? Selling on Amazon yet? MisterEbook.com/warbooks.html
charlesburke is offline   Reply With Quote
Old 08-02-2009, 07:23 AM   #9
Advanced Warrior
War Room Member
 
SusanneUK's Avatar
 
Join Date: May 2008
Location: Swansea, South Wales, UK
Posts: 981
Thanks: 512
Thanked 182 Times in 123 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to SusanneUK
Default Re: How Do You Edit A PHP File?

Quote:
Originally Posted by charlesburke View Post
If it's a Wordpress theme, why aren't you just editing it in the built-in theme editor? That's what most folks do.

Cheers, Charles
I agree with Charles, use the built in editor, take it slowly and before you edit any of the php files (or any file) take a full copy of the code and put it in notepad so you have that to paste back in if something doesn't work.

After you have it done how you want, take a full copy of the new code and also paste that into the notepad so you always have both to work from if you need it later.

Cheers
Sue

PS if you want help with it, pm me and I will see what I can do but I will be away from the computer for a few hours shortly.

One-to-One WordPress Coaching Service Available at Low Hourly Rate - Let the frustration end now! WordPress Installs, Theme Design, Site Tweaks & other WordPress services available
SusanneUK is offline   Reply With Quote
Old 08-02-2009, 01:52 PM   #10
Senior Warrior Member
War Room Member
 
Ron Killian's Avatar
 
Join Date: Jun 2007
Location: Arkansas, USA.
Posts: 1,518
Blog Entries: 17
Thanks: 86
Thanked 124 Times in 98 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Ron Killian Send a message via MSN to Ron Killian
Default Re: How Do You Edit A PHP File?

With the recent virus going around, major problems, and injecting web pages, it's another good reason why it might NOT be a good idea to use things like the built in editor in Wordpress, leaves your files too open.

I am no security expert, but I think, why take the chance. Why give them more ways to get in?

Largest Selection of PLR Articles on the Planet! Also Audio, PLR Ebooks, Graphics, PLR Video, Templates, PLR Websites and more with Private Label Rights.

Discover Big Profits with the FREE PLR Newsletter!
Ron Killian is offline   Reply With Quote
Old 08-02-2009, 02:06 PM   #11
I am not a cowboy
War Room Member
 
SteveJohnson's Avatar
 
Join Date: Apr 2007
Location: Caldwell, Idaho, USA.
Posts: 1,647
Thanks: 236
Thanked 494 Times in 343 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Yahoo to SteveJohnson Send a message via Skype™ to SteveJohnson
Default Re: How Do You Edit A PHP File?

Quote:
With the recent virus going around, major problems, and injecting web pages, it's another good reason why it might NOT be a good idea to use things like the built in editor in Wordpress, leaves your files too open.

I am no security expert, but I think, why take the chance. Why give them more ways to get in?
Too open to whom? Who is 'them' and how can they get in through the WP file editor? If they're in your WP backend, the game is over anyway.

this area under construction
SteveJohnson is offline   Reply With Quote
Old 08-02-2009, 02:21 PM   #12
Senior Warrior Member
War Room Member
 
Ron Killian's Avatar
 
Join Date: Jun 2007
Location: Arkansas, USA.
Posts: 1,518
Blog Entries: 17
Thanks: 86
Thanked 124 Times in 98 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Ron Killian Send a message via MSN to Ron Killian
Default Re: How Do You Edit A PHP File?

Quote:
Originally Posted by SteveJohnson View Post
Too open to whom? Who is 'them' and how can they get in through the WP file editor? If they're in your WP backend, the game is over anyway.
From what I remember, to be able to use the built in editor you need to set your theme file permissions to 777. Open as it gets. I could be wrong?

It could be more secure than I know, guess I "try" to plug up as many holes as possible. Been hacked to many times in the past, it's no fun.

Seems it's more important these days when you could end up with a site that is unreachable because of a Browser warning. Can't imagine what it could do to your ranks.

I meant open to hackers of course.

Largest Selection of PLR Articles on the Planet! Also Audio, PLR Ebooks, Graphics, PLR Video, Templates, PLR Websites and more with Private Label Rights.

Discover Big Profits with the FREE PLR Newsletter!
Ron Killian is offline   Reply With Quote
Old 08-02-2009, 02:46 PM   #13
I am not a cowboy
War Room Member
 
SteveJohnson's Avatar
 
Join Date: Apr 2007
Location: Caldwell, Idaho, USA.
Posts: 1,647
Thanks: 236
Thanked 494 Times in 343 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Send a message via Yahoo to SteveJohnson Send a message via Skype™ to SteveJohnson
Default Re: How Do You Edit A PHP File?

If a server setup requires that perms be at 777 for WP to write to the file, you need to change hosting companies.

In some cases, WP can write to the theme files if the theme directory is set to 755 and each file is set to 644.

FWIW, I'm not a fan of the theme/file editors and I don't use them very often. But when I have to make a quick fix to a client's site that doesn't require me to archive the files, I'll occasionally use it. The PROPER (if you want to call it that, perhaps SECURE is a better word) way to use the theme editor is to change the file perms when you need to edit, then change the permissions back when you're done.

Almost as easy just to use FTP, grab the file, modify and upload.

this area under construction
SteveJohnson is offline   Reply With Quote
Old 08-02-2009, 03:45 PM   #14
Senior Warrior Member
War Room Member
 
Ron Killian's Avatar
 
Join Date: Jun 2007
Location: Arkansas, USA.
Posts: 1,518
Blog Entries: 17
Thanks: 86
Thanked 124 Times in 98 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via ICQ to Ron Killian Send a message via MSN to Ron Killian
Default Re: How Do You Edit A PHP File?

I wasn't sure if it was 777 or 755, thanks for clearing it up

Never used it much myself, so maybe I shouldn't have spoke. I just knew there was some permission settings that needed to be changed.

I find it just as easy or easier to edit in Dreamweaver and "put"

With all the viruses and hacking lately, and so many people leaving themselves open.

Largest Selection of PLR Articles on the Planet! Also Audio, PLR Ebooks, Graphics, PLR Video, Templates, PLR Websites and more with Private Label Rights.

Discover Big Profits with the FREE PLR Newsletter!
Ron Killian is offline   Reply With Quote
Old 08-03-2009, 04:40 AM   #15
Tasha
 
Join Date: Jul 2009
Location: South Wales
Posts: 45
Thanks: 10
Thanked 0 Times in 0 Posts
Default Re: How Do You Edit A PHP File?

"Seems kind of odd two people that joined at the same time, one asks a question, the other has the signature to the solution. Maybe it's just me
"
-----------------------------------------------

I've only been on here a few weeks and I've asked quite a lot of questions without people giving links so yes this is just coincidence.

I've used the built in editor but the theme has a php feature file where you can advertise ebooks, etc and looks quite professional. It says you can use widgets to alter it but that seems more complicated than altering the php file at the moment as I'd like to use the same layout that is already there.
BlueBetty is offline   Reply With Quote
Old 08-03-2009, 05:11 AM   #16
Advanced Warrior
War Room Member
 
SusanneUK's Avatar
 
Join Date: May 2008
Location: Swansea, South Wales, UK
Posts: 981
Thanks: 512
Thanked 182 Times in 123 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via Skype™ to SusanneUK
Default Re: How Do You Edit A PHP File?

Quote:
Originally Posted by BlueBetty View Post
"Seems kind of odd two people that joined at the same time, one asks a question, the other has the signature to the solution. Maybe it's just me
"
-----------------------------------------------

I've only been on here a few weeks and I've asked quite a lot of questions without people giving links so yes this is just coincidence.

I've used the built in editor but the theme has a php feature file where you can advertise ebooks, etc and looks quite professional. It says you can use widgets to alter it but that seems more complicated than altering the php file at the moment as I'd like to use the same layout that is already there.
Just wondering if this is a Flexsqueeze Theme by any chance?

Also, just going to send you a pm as we are in the same location

Sue

One-to-One WordPress Coaching Service Available at Low Hourly Rate - Let the frustration end now! WordPress Installs, Theme Design, Site Tweaks & other WordPress services available
SusanneUK is offline   Reply With Quote
Old 08-03-2009, 07:30 AM   #17
Advanced Warrior
War Room Member
 
Colin Evans's Avatar
 
Join Date: May 2003
Location: Still Looking... Currently back in Zim...
Posts: 674
Thanks: 117
Thanked 64 Times in 28 Posts
Social Networking View Member's Twitter Profile 
Default Re: How Do You Edit A PHP File?

I use HTML-Kit with a couple of PHP plugins, and I have Wamp installed on my PC so I can test the blogs/scripts...

Sig not working today - too hung over...
Colin Evans is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
edit, file, php

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



All times are GMT -6. The time now is 01:27 AM.