FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » why php echo does not show up in HTML?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: why php echo does not show up in HTML? [message #181675 is a reply to message #181643] Fri, 24 May 2013 22:49 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
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.

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHP Contact Form, mt-rand(), problem Validating 1 input
Next Topic: Parsing mbox files with Windows Php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 22:24:49 GMT 2024

Total time taken to generate the page: 0.04112 seconds