The server uses a PHP file to generate a HTML file. When you view the file in IE, you see the HTML version, but when you edit it from the server directly, you see the PHP version. This is because IE (and other browsers) always ask for a HTML version of the file, but when you browse for the file on the server you ask for the original file, not the HTML version.
If ou do not have any HTML or PHP knowledge it get be very difficult to add your email address, I suggest you read some tutorials on the subject (start with HTML first and PHP later), but it short it comes to adding
<A HREF="mailto:user@provider.com">My email address</A>
somewhere to the source php file.
If oyu need to edit the fie, downlaod index.php from the server, edit it in notepad++ and reuplaod the edited file to the server.
The changes should be seen immediatly
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You may take it for granted that Notepad++ does a very good job of displaying PHP. I don't really understand your question, however, and so cannot make any kind of constructive suggestion to help you achieve whatever it is you seek. However, I believe that you may come to know what it is you seek if you learn more about what HTML and PHP are and how they work. To that end, I officially refer you to http://www.w3schools.com Best of luck!
~Jzar
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am sorry to learnt that you don't really understand my question and would like to eleborate it as follow :
First of all,I don't have any knowledge of html and php code.I had a free wedsite from a company which I signed up an internet course with them.However,the opt-in form on my site didn't collect data from those peoples who entered their name and email address ....to my webmail account.I believed the data go to the company.Therefore,I need to insert html code ( my email address ) into my homepage in onder to collect those opt-in data.
Please advice the following :
1 ) How come my homepage is in html code when I view it from IE7 ( View follow by source ),
whereas,it is in php code in my web server ?
2 ) I need to view it in html code ( not php code )to insert html ( my email address )into my homepage,with notepad++,what should I do in order to view my homepage ( index.php )in html code ? I had just started to learn html code,but not php.
3 ) My homepage is in php code ( index.php ),before I download it from my webserver for the insertion of html code,should I need to copy and saved it ( index.php ) to index.html or other file extention in order to view it in html code in notepad++ ?
I am open to all the advice and suggestion from you and anyone in this forum and look forward to hear from all of you soon.
Please review my website at www.moneymakeyourich.com
Thank you.
Best regards
Manicui
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
This is Manicui and need your advice on the above mentioned.
I need to add html code into my homepage which is index.php,however,I don't understand php at all !
May I know how to go about it with Notepad++ in order to view my homepage in html code ?
Thank you.
Best regards
Manicui
The server uses a PHP file to generate a HTML file. When you view the file in IE, you see the HTML version, but when you edit it from the server directly, you see the PHP version. This is because IE (and other browsers) always ask for a HTML version of the file, but when you browse for the file on the server you ask for the original file, not the HTML version.
this may help:
http://www.peachpit.com/articles/article.aspx?p=22290&seqNum=4&rl=1
If ou do not have any HTML or PHP knowledge it get be very difficult to add your email address, I suggest you read some tutorials on the subject (start with HTML first and PHP later), but it short it comes to adding
<A HREF="mailto:user@provider.com">My email address</A>
somewhere to the source php file.
If oyu need to edit the fie, downlaod index.php from the server, edit it in notepad++ and reuplaod the edited file to the server.
The changes should be seen immediatly
You may take it for granted that Notepad++ does a very good job of displaying PHP. I don't really understand your question, however, and so cannot make any kind of constructive suggestion to help you achieve whatever it is you seek. However, I believe that you may come to know what it is you seek if you learn more about what HTML and PHP are and how they work. To that end, I officially refer you to http://www.w3schools.com Best of luck!
~Jzar
Hi Jzar,
Many thanks for you reply to my queries.
I am sorry to learnt that you don't really understand my question and would like to eleborate it as follow :
First of all,I don't have any knowledge of html and php code.I had a free wedsite from a company which I signed up an internet course with them.However,the opt-in form on my site didn't collect data from those peoples who entered their name and email address ....to my webmail account.I believed the data go to the company.Therefore,I need to insert html code ( my email address ) into my homepage in onder to collect those opt-in data.
Please advice the following :
1 ) How come my homepage is in html code when I view it from IE7 ( View follow by source ),
whereas,it is in php code in my web server ?
2 ) I need to view it in html code ( not php code )to insert html ( my email address )into my homepage,with notepad++,what should I do in order to view my homepage ( index.php )in html code ? I had just started to learn html code,but not php.
3 ) My homepage is in php code ( index.php ),before I download it from my webserver for the insertion of html code,should I need to copy and saved it ( index.php ) to index.html or other file extention in order to view it in html code in notepad++ ?
I am open to all the advice and suggestion from you and anyone in this forum and look forward to hear from all of you soon.
Please review my website at www.moneymakeyourich.com
Thank you.
Best regards
Manicui