[PHP-WIN] PHP compiler

2002-12-08 Thread mst
Sometimes I found info about PHP compiler. Tell me where I can read about
it, please.

mst



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] apache 2.0.43 + php 4.2.3

2002-12-08 Thread Winthux
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 ??



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





php-windows Digest 8 Dec 2002 20:30:00 -0000 Issue 1477

2002-12-08 Thread php-windows-digest-help

php-windows Digest 8 Dec 2002 20:30:00 - Issue 1477

Topics (messages 17345 through 17346):

PHP compiler
17345 by: mst

apache 2.0.43 + php 4.2.3
17346 by: Winthux

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 ---
Sometimes I found info about PHP compiler. Tell me where I can read about
it, please.

mst



--- End Message ---
--- Begin Message ---
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 ---


[PHP-WIN] Re: apache 2.0.43 + php 4.2.3

2002-12-08 Thread erythros
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 ??
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Running php in a .html file under iis5.0

2002-12-08 Thread James Gramosli
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




[PHP-WIN] How do I access a mysql result array?

2002-12-08 Thread Matt Babineau
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


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Re: How do I access a mysql result array?

2002-12-08 Thread Hugh Bothwell

"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?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-WIN] Re: Running php in a .html file under iis5.0

2002-12-08 Thread erythros
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




[PHP-WIN] Re: Running php in a .html file under iis5.0

2002-12-08 Thread James Gramosli
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




Re: [PHP-WIN] Re: Running php in a .html file under iis5.0

2002-12-08 Thread Frank M. Kromann
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
> 
> 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php