Re: why php echo does not show up in HTML? [message #181685 is a reply to message #181675] |
Sat, 25 May 2013 00:06 |
Scott Johnson
Messages: 196 Registered: January 2012
Karma:
|
Senior Member |
|
|
On 5/24/2013 3:49 PM, Denis McMahon wrote:
> On Fri, 24 May 2013 07:53:52 -0700, steve nospam wrote:
>
>> I can;t configure or change the web server. As I said, I use a web
>> hosting company. I am on a shared sever used by 100's others on the main
>> server.
>>
>> I can't call my hosting company talk to tech support and tell to please
>> edit the server config files for me and see if this will work.
>
> OK, so here's a list of other things you can not do:
>
> - You can not change the server so that it processes htm files as php
> files.
>
> Here's a list of things you can do:
>
> + You can download all the files from the server webroot to your local
> machine to bulk edit them
> + You can use tools such as sed to change every local url from .htm
> to .php
> + You can rename all the .htm files to .php files
> + You can automate the redirection of requests to *.htm to serve up the
> *.php files instead
> + You can upload all the fixed files to the server webroot
>
> External and existing search engine links will still work, because
> requesting the old .htm file will get the new .php file automatically.
>
> This is not a technically difficult fix, although you may need to spend a
> bit of time on getting to grips with the changes that need to be made and
> the tools that can make them if you have never had to do anything like
> this before. However, for any reasonably experienced website maintainer,
> this is probably the sort of issue that gets thrown at them occasionally
> (in some cases very regularly) and it's good practice to get used to
> using the sort of tools that can be used to sole such issues.
>
+1
|
|
|