php-windows Digest 9 Dec 2002 08:49:27 -0000 Issue 1478
Topics (messages 17347 through 17354):
Re: apache 2.0.43 + php 4.2.3
17347 by: erythros
Running php in a .html file under iis5.0
17348 by: James Gramosli
17351 by: erythros
17352 by: James Gramosli
17353 by: Frank M. Kromann
How do I access a mysql result array?
17349 by: Matt Babineau
17350 by: Hugh Bothwell
Re: Could not open fdf document
17354 by: Ad Brouwer
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
wont work. you can downgrade to apache 2.0.40 + php 4.2.3 and run php as an
exe (not sapi).
"Winthux" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> I'm trying to set up basic apache server with PHP support.
>
> I have the latest package.
>
> When I run apache.exe, it shows me:
>
> C:\Program Files\Apache Group\Apache2\bin>apache.exe apache.exe: module
> "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not
> compatible with this version of Apache (found 20020628, need 20020903).
> Please contact the vendor for the correct version.
>
> Any suggestion ??
>
>
--- End Message ---
--- Begin Message ---
Hi all,
I've just picked up a good client and for some reason the setup they
have on their web server is to run php in a .html file...
I've found out how to do this under apache, but how do you config IIS 5.0 to
run php in every html file?
Any help would be greatly appreciated.
James
--- End Message ---
--- Begin Message ---
try to tell them tahts a bad idea. proformance wise. why send every html
file to the php parser if its not needed...
"James Gramosli" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
> I've just picked up a good client and for some reason the setup they
> have on their web server is to run php in a .html file...
>
> I've found out how to do this under apache, but how do you config IIS 5.0
to
> run php in every html file?
>
> Any help would be greatly appreciated.
> James
>
>
>
--- End Message ---
--- Begin Message ---
Well I've done that, but its Greenpeace and the site is huge. To change it
all over is not feasible for them.
I'm trying to duplicate the setup here so I can develop it on my test boxes.
What is the equivalent to .htaccess in IIS?
"Erythros" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> try to tell them tahts a bad idea. proformance wise. why send every html
> file to the php parser if its not needed...
>
> "James Gramosli" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi all,
> > I've just picked up a good client and for some reason the setup they
> > have on their web server is to run php in a .html file...
> >
> > I've found out how to do this under apache, but how do you config IIS
5.0
> to
> > run php in every html file?
> >
> > Any help would be greatly appreciated.
> > James
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Hi,
If the html file is without php tags there will not be a huge performence
penalty in letting the php parser handle the file.
On IIS there is no control files but all the settings are handled in the
metabase through the application "Internet Information Services". IIS use
the file extention to figure out how a file should be handled. This is
called Application Mappings. You can specify server wide, site wide or
directory wide mappings, where you associate .php or .html with the php
parser.
You find the mappings by opening the property page and clicking on the
configure button.
- Frank
> Well I've done that, but its Greenpeace and the site is huge. To change
it
> all over is not feasible for them.
>
> I'm trying to duplicate the setup here so I can develop it on my test
boxes.
>
> What is the equivalent to .htaccess in IIS?
>
>
> "Erythros" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > try to tell them tahts a bad idea. proformance wise. why send every
html
> > file to the php parser if its not needed...
> >
> > "James Gramosli" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hi all,
> > > I've just picked up a good client and for some reason the setup
they
> > > have on their web server is to run php in a .html file...
> > >
> > > I've found out how to do this under apache, but how do you config
IIS
> 5.0
> > to
> > > run php in every html file?
> > >
> > > Any help would be greatly appreciated.
> > > James
> > >
> > >
> > >
> >
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
How can I access a mysql result array numerically?
Like:
$result[0][0];
$result[1][0];
I want to be able to access one whole column at a time.
Any ideas?
Thx-
Matt
--- End Message ---
--- Begin Message ---
"Matt Babineau" <[EMAIL PROTECTED]> wrote in message
002c01c29f20$cf908500$1a10a8c0@webdevx">news:002c01c29f20$cf908500$1a10a8c0@webdevx...
> How can I access a mysql result array numerically?
>
> Like:
>
> $result[0][0];
> $result[1][0];
>
> I want to be able to access one whole column at a time.
>
> Any ideas?
Directly, you can only access one record at a time. If you need to do some
sort of random-access manipulation, you'll have to read all the results into
an array, then play with them from there.
What are you trying to accomplish?
--- End Message ---
--- Begin Message ---
I allready did, not very helpfull. I'm using php 4.2.2 (php_fdf.dll dated
22-07-2002), almost the latest version (4.2.3 is the latest).
Did you find a solution?
Ad
"Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ad Brouwer wrote:
> > Hi all,
> >
> > When submitting a form to my php-script, I get the error:
> > Could not open fdf document: test.fdf
> >
> > this is my script:
> > <?php
> > $fdffp = fopen("test.fdf", "w");
> > fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA));
> > fclose($fdffp);
> >
> > $fdf = fdf_open("test.fdf");
> > $txtNaam = fdf_get_value($fdf, "txtNaam");
> > echo "Het txtNaam veld heeft de waarde '<B>$txtNaam</B>'<BR>";
> > fdf_close($fdf);
> >>
> >
> > The file test.fdf is created correctly (first three code-lines).
>
> Have a look at
> http://bugs.php.net/?id=14877
>
> Christoph
>
>
>
--- End Message ---