how to open .php files for MODS

Mentill Kase

New Member
Messages
10
Reaction score
0
Points
0
Quick question, I wanted to how to edit my .php files

example "function.php" in my "includes" directory?

whenever it's opened via internet ( I use IE7 ) ...nothing is physically editable only readable and I get certificate errors ( which I've managed to correct )

and whenever I "specifically" open my functions.php file it always shows the script for like half a second and then gets a 400 http error where --> "str_replace( " goes at the end of the web address.

Again, any help will be greatly appreciated.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
If anything, download the file and use notepad/wordpad to open the file. That should work.
 

Mentill Kase

New Member
Messages
10
Reaction score
0
Points
0
the .php file I'm having trouble opening is in my "phpBB3" directory, I can't "download" it :-/
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
Why not? Just click the download-button in your ftp program...
If it's in your directory (/home/users/yourname), you can download it, it's completely controllable by you. (Only you don't want to play with some files...)

Note:
Don't try to download a php file by trying to download it from the url, as you only get the result of the php file, and not the origional source.
 

Mentill Kase

New Member
Messages
10
Reaction score
0
Points
0
Didn't know that ^^

How would I go about getting to that directory?
 
Last edited:

marshian

New Member
Messages
526
Reaction score
9
Points
0
Well, as soon as you connect to your site over the ftp-protocol, you'll end up in /home/users/yourname/ this is where you find your public_html/ (or www/) directory too.

If you don't have an ftp program, I suggest downloading FileZilla here.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Well, as soon as you connect to your site over the ftp-protocol, you'll end up in /home/users/yourname/ this is where you find your public_html/ (or www/) directory too.

If you don't have an ftp program, I suggest downloading FileZilla here.

It's /home/username/ ;)

When you go into FTP just double click 'public_html' to get your file listings.
 

Mentill Kase

New Member
Messages
10
Reaction score
0
Points
0
ahh it's cool, I managed to open up php via notepad

Thanks for all your help, much appreciate all the information from everyone who intended to this issue :D
 
Last edited:
Top