Re: php form and ssi



Henrik Carlqvist wrote:
Jerry Stuckle <jstucklex@xxxxxxxxxxxxx> wrote:
Correct, because Apache doesn't think a .shtml file can process POST information.

Thanks for the explanation!

But I am looking for a way for the .shtml file to pass the POST
information to an included .php file which is able to do the processing.
I was hoping that someone would have done this before, but maybe it isn't
possible?


It may not be possible. Normally, you would use a php file to include your phpoi files, not a shtml file.

You need to follow up with this on the phpoi support forums. It's their
scripts, they should know how to make it work.

I wish that I was only a simple phpoi user which could ask for help in the
forum and get a reply from the phpoi guru. Unfortunately I am the
developer of phpoi so instead I come here for help.

Ah, that does make a difference :-)

As I don't know who will use phpoi and what their pages look
like I don't want the php code to output all the formatting stuff.

Why not? Someone has to output formatting stuff.

Suppose that www.best_burgers.com has a site with lot of nice menus and
formatting. Suppose that they want to use phpoi to point out all their
restaurants. If they today have built their site with menus and formatting
with .shtml technices they can use phpoi by doing <!-- include... and all
their logos, menus and formatting will be kept, only the phpoi output will
be added.


Why are you so concerned with .shtml? There is nothing you can do in ..shtml that you can't do in PHP. And there aren't that many people using just .shtml - most are using a high level language such as PHP, Perl, VBScript, Flash, etc.

Also, you don't normally include logos, etc. Those use img links.

As the developer of phpoi I can't put all those menus in the phpoi php
files. Then I would lock phpoi to only one site. If I would say that phpoi
can only be used at sites that is completely built upon php many people
who has built their sites with .shtml would not find phpoi useful.

regards Henrik

You don't need to. All you need to do is handle the poi.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: php form and ssi
    ... But I am looking for a way for the .shtml file to pass the POST ... information to an included .php file which is able to do the processing. ... I wish that I was only a simple phpoi user which could ask for help in the ... If they today have built their site with menus and formatting ...
    (comp.lang.php)
  • Re: php form and ssi
    ... a new request to the web server ... So first the .shtml file is loaded, then the included php file is loaded. ... Even though it is the apache web server that transparently loads the ...
    (comp.lang.php)
  • Re: php form and ssi
    ... Today I only know two sites using phpoi. ... php files. ... switch web hotel than to reencode their entire site. ... that none of my users had their sites on IIS. ...
    (comp.lang.php)
  • Re: php form and ssi
    ... form variables through .shtml when the .shtml file was called from php ... .shtml that you can't do in PHP. ... technologies won't find phpoi useful is something I can't do much about. ... Just because they use flash or something else in one part of the site means your project isn't useful in other parts of the site? ...
    (comp.lang.php)
  • Re: [PHP] A question that has been bugging me..
    ... Is it possible to have variables affect the database results of an ... .php = PHP Hypertext Preprocessor ... .shtml = SSI HTML ... Or did I completely misunderstand what sessions are used for? ...
    (php.general)