Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18174

Re: How to link from html form an external php file login?

From Tim Streater <timstreater@greenbee.net>
Newsgroups comp.lang.php
Subject Re: How to link from html form an external php file login?
Date 2020-01-11 12:48 +0000
Message-ID <110120201248384947%timstreater@greenbee.net> (permalink)
References <quqbnf$kj9$1@gioia.aioe.org> <quqged$mm5$1@jstuckle.eternal-september.org> <qvce7b$c19$1@gioia.aioe.org>

Show all headers | View raw


In article <qvce7b$c19$1@gioia.aioe.org>, ^Bart
<gabriele1NOSPAM@hotmail.com> wrote:

>> <?php require_once(xxxix); ?>
>> 
>> Where 'xxxix' is the location of your login.PHP file.  Assuming your 
>> file is in the directory 'include' which is one level BELOW your 
>> server's document root this can be (in decreasing order of recommendation):
>
>Ok!
>
>> Your html would have to have a .php extension.
>
>But... some shared servers point to index.html so I'd like to have a 
>*.html file where I'd like to link an external *.php file...

You have to tell the server you want to include some PHP, and have that
PHP file be processed by the server. Depending on hw your server is
configured, this is often done by using a different extension on the
html file, such as .php or .phtml.

-- 
I was brought up to believe that you should never give offence if you can avoid
it; the new culture tells us you should always take offence if you can. There
are now experts in the art of taking offence, indeed whole academic subjects,
such as 'gender studies', devoted to it.

Roger Scruton

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to link from html form an external php file login? ^Bart <gabriele1NOSPAM@hotmail.com> - 2020-01-04 16:41 +0100
  Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-04 12:02 -0500
    Re: How to link from html form an external php file login? ^Bart <gabriele1NOSPAM@hotmail.com> - 2020-01-11 13:14 +0100
      Re: How to link from html form an external php file login? Tim Streater <timstreater@greenbee.net> - 2020-01-11 12:48 +0000
        Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-11 10:45 -0500
          Re: How to link from html form an external php file login? rcpj@panix.com (Pierre Jelenc) - 2020-01-11 22:23 +0000
            Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-11 18:14 -0500
              Re: How to link from html form an external php file login? rcpj@panix.com (Pierre Jelenc) - 2020-01-12 00:26 +0000
                Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-11 23:10 -0500
                Re: How to link from html form an external php file login? rcpj@panix.com (Pierre Jelenc) - 2020-01-12 21:21 +0000
                Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-12 22:07 -0500
                Re: How to link from html form an external php file login? rcpj@panix.com (Pierre Jelenc) - 2020-01-14 22:07 +0000
                Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-15 10:40 -0500
                Re: How to link from html form an external php file login? Arno Welzel <usenet@arnowelzel.de> - 2020-01-15 20:20 +0100
                Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-11 23:13 -0500
      Re: How to link from html form an external php file login? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2020-01-11 11:52 -0500
        Re: How to link from html form an external php file login? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2020-01-11 11:54 -0500
          Re: How to link from html form an external php file login? ^Bart <gabriele1NOSPAM@hotmail.com> - 2020-01-12 00:45 +0100
          Re: How to link from html form an external php file login? Jerry Stuckle <jstucklex@attglobal.net> - 2020-01-11 23:16 -0500
  Re: How to link from html form an external php file login? "J.O. Aho" <user@example.net> - 2020-01-04 18:02 +0100
  Re: How to link from html form an external php file login? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-01-04 17:03 +0000
  Re: How to link from html form an external php file login? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2020-01-11 11:04 -0500
  Re: How to link from html form an external php file login? Arno Welzel <usenet@arnowelzel.de> - 2020-01-11 18:52 +0100
  Re: How to link from html form an external php file login? kristjanman2k20@gmail.com - 2020-01-26 20:17 -0800

csiph-web