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 #181698 is a reply to message #181688] Sat, 25 May 2013 13:22 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/24/2013 11:59 PM, Gordon Burditt wrote:
>> That doesn't mean you can't change the configuration for your portion of it.
>>
>>> 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.
>>
>> No, that's true, you can't. Fortunately, you don't need to. You should be able to do everything
>> you need in the .htaccess file in your web root directory. You possibly will need to add a
>
> This presumes that the hosting company has not put the directive
> "AllowOverride None" in their configuration for your site. (For
> Apache 2.3.9 and later, this is the default). It speeds up serving
> web pages slightly by never looking for .htaccess files at all.
> Therefore, you can't do redirects in .htaccess . If you discover
> that your hosting company does this and they won't budge, find
> another hosting company.
>
> I recall trying to help some friends dealing with a hosting company
> paranoid about security, at least for cheap/free accounts. One
> official way to close your account was to upload a .htaccess file
> (containing anything at all, or nothing at all). Your account would
> be gone within an hour. So would all the other accounts using the
> same payment account. And no, you couldn't get it back, except
> perhaps by using a fake name and different domain name and payment
> account. This was long ago and they offered essentially NO active
> content or PHP except a hit counter CGI they provided.
>
> You *CAN* do a redirect with pure HTML (done in the user's browser):
>
> <HEAD>
> <META HTTP-EQUIV="refresh" CONTENT="1;URL=http://mysite.com/path/foobar.php">
> </HEAD>
>

Yes, but any hosting company which does that won't be in business for
long. For instance, most CMS's depend on being able to use mod_rewrite.

Doing it in HTML requires maintaining a whole set of additional files.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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 23:00:04 GMT 2024

Total time taken to generate the page: 0.04810 seconds