How to make changes to a website done in with PHP.

by 16 replies
18
Hello folks,

I am a newbie.

I want to make a couple of basic changes in my website one of which is the contact email in my website which was done with PHP. The other is to connect the Facebook and Twitter icons to the corresponding pages on those sites.

I understand, so far, that to change the contact email I need to go to the contact file and then the freecontactformsettings.php file and change the email.

I am not sure how I can get to the contact file. Is it through cpanel? I went to the file manager on cpanel but if I click the section I want to open within the database it just downloads it to my computer.

Do I need to use a special program to open the files in order to make the changes?

Thank you kindly for your time and assistance.
#programming #make #php #website
  • Hi, is this wordpress site? If yes, then you can just use this plugin to display and configure your contact form, http://wordpress.org/plugins/contact-form-7/
  • Most php files can be opened in Notepad++ do a search and download it. then go to your php file and right click and select to open in Notepad++ then edit and save!

    Always make a backup copy before you edit any file!
    • [2] replies
    • Also, maybe if you post the contact URL here, we will be able to understand better.
      • [1] reply
    • Hello Joe Ferdiinando,


      Thanks for the help.

      I downloaded Notepad ++, made a backup which will go to my computer (I am expecting an email)I went to the File Manager in the cpanel, right clicked on contact but I do not see a selection to open the file nor even with Notepad ++. The selections are; Move, Copy, Rename, Change Permission etc...

      Thanks
      • [1] reply
  • Possible a failed download of the file. (I wonder though as it would be just a few kbs)

    Within cPanel you can edit the file. Right click and choose the option edit as code. It will recognize the code type and open accordingly. Edit and save. If you still get 'alien language', I wonder if it is encoded!!

Next Topics on Trending Feed