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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: why php echo does not show up in HTML? [message #181709 is a reply to message #181636] Sun, 26 May 2013 10:13 Go to previous message
Richard Yates is currently offline  Richard Yates
Messages: 86
Registered: September 2013
Karma: 0
Member
add to buddy list
ignore all messages by this user
On Fri, 24 May 2013 07:14:21 -0700 (PDT), steve nospam
<steve(dot)nospamm(at)gmail(dot)com> wrote:

>
>> Your best bet is to simply change the files you need to include PHP code
>> in to a .php extension and fix the links on your site.  For external
>> links, configure your web server to do a permanent redirect from the old
>> page to the new (see your web server configuration for more information
>> on how to do this).
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> I can't do this. I need to include common html code to every html file
> I have. This means I have to change the extension of 1000's of html
> files to .php and therefore any outside links and any google searches
> will be broken now.

1. A careful search-and-replace can change thousands of links in
seconds. If you really have thousands of html FILES (not just internal
links) that need extension changes, that could be tougher. How do you
end up with thousands of html files and then need to add php to all of
them? (Seems pretty unlikely, frankly.)

2. Use a redirect page for index.html and a few others that may have
outside links.

3. Google will find you again.

> May be I should have done this at first, but too late now to change
> index.htm to index.php.
Quick Reply
Formatting Tools:   
Pages (2): [ «    1  2]  Switch to threaded view of this topic Create a new topic
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: Thu Oct 19 21:44:44 EDT 2017

Total time taken to generate the page: 0.00795 seconds