Client access on an Earthlink-hosted server - HTM with PHP
Posted: Fri Dec 21, 2007 7:40 pm
Sorry, if this entry is in the incorrect spot.
Anyway -
I have an Earthlink-hosted dot-com that I support -- via the Earthlink-provided "Control Center" and ftp.
I do not have direct access to the server.
I know nearly-zero of PHP, but have a need to install/use an application that is PHP-based.
Earthllink does not have the latest PHP for me -- they provide me with 5.0.something -- and, the application
requires 5.1 at least.... so, I have to wait until Earthlink is updated in that regard. However, that is not
the base for this query. I, just, mention this in case the answer is: Wait for 5.1 PHP before doing anything...
In my testing, I have VERY simple PHP (just prints the date when called by Firefox on my client system)
that, when I put the PHP code within an HTM file: No luck, as tried-to-describe, below:
1. Earthlink required me to place a dot-htaccess file in my directory. OK, That provided me access to PHP.
2. I searched the Web and found where it was pointed out that I had to add something to the htaccess
file to provide for HTP within HTM files. I did that.
3. When I access the simple-test of PHP within and HTP file, Firefox and IE both imply that I want to download
the code rather than the code being interpreted.
If this makes sense: Thanks for any comeback/comment!
Regards,
Dave Shogren
Anyway -
I have an Earthlink-hosted dot-com that I support -- via the Earthlink-provided "Control Center" and ftp.
I do not have direct access to the server.
I know nearly-zero of PHP, but have a need to install/use an application that is PHP-based.
Earthllink does not have the latest PHP for me -- they provide me with 5.0.something -- and, the application
requires 5.1 at least.... so, I have to wait until Earthlink is updated in that regard. However, that is not
the base for this query. I, just, mention this in case the answer is: Wait for 5.1 PHP before doing anything...
In my testing, I have VERY simple PHP (just prints the date when called by Firefox on my client system)
that, when I put the PHP code within an HTM file: No luck, as tried-to-describe, below:
1. Earthlink required me to place a dot-htaccess file in my directory. OK, That provided me access to PHP.
2. I searched the Web and found where it was pointed out that I had to add something to the htaccess
file to provide for HTP within HTM files. I did that.
3. When I access the simple-test of PHP within and HTP file, Firefox and IE both imply that I want to download
the code rather than the code being interpreted.
If this makes sense: Thanks for any comeback/comment!
Regards,
Dave Shogren