php-windows Digest 12 Mar 2002 21:03:40 -0000 Issue 1043
Topics (messages 12590 through 12603):
Re: PHP FastCGI update
12590 by: Samuel Lim
12603 by: Shane Caraveo
Scoping problem
12591 by: Christian Azambuja Pagot
12592 by: Nicole Amashta
12593 by: Christian Azambuja Pagot
12596 by: Nicole Amashta
COM/Windows2000/IBM HTTP Server question
12594 by: Lacey Sharpe
PHP 4.1.2 Session Problems
12595 by: Cheuk Yiu Ip
My Database class
12597 by: Nicole Amashta
12598 by: Nicole Amashta
12599 by: Nicole Amashta
Problems with WinXP, & Apache
12600 by: Daedalus
12601 by: alain
12602 by: Daedalus
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 ---
I've tried to get fastcgi working in a WinXp workstation.
Each time I try to start a script, I receive a page with the message
"Server Error".
I've followed the instructions in the readme.txt of fastcgi.
I'm using PHP 4.1.2 and I've also tried this with PHP 4.1.1 CGI.
Without fastcgi, everything works like a charm.
Can anyone help me?
--
Samuel Lim
email:[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Is this with using my fastcgi server extensions? If so, please provide the
registry configuraiton you did, and I'll try to help you out.
Shane Caraveo
----- Original Message -----
From: "Samuel Lim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 11, 2002 12:47 AM
Subject: [PHP-WIN] Re: PHP FastCGI update
> I've tried to get fastcgi working in a WinXp workstation.
>
>
> Each time I try to start a script, I receive a page with the message
> "Server Error".
>
> I've followed the instructions in the readme.txt of fastcgi.
>
> I'm using PHP 4.1.2 and I've also tried this with PHP 4.1.1 CGI.
> Without fastcgi, everything works like a charm.
>
> Can anyone help me?
>
>
> --
> Samuel Lim
> email:[EMAIL PROTECTED]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi!!
I am trying to create generic DB functions... (that could connect to
any kind of database, just with few modifications..)
I created 2 functions... DB_Connect and DB_Disconnect... and I will
create another one... DB_Query.
Follows the code:
------------------------------------------------------------------------------------------------------
function DB_Connect($dbName)
{
static $$dbName;
$$dbName = mssql_connect ("servername","user","pass");
}
------------------------------------------------------------------------------------------------------
function DB_Disconnect($dbName)
{
static $$dbName;
mssql_close($$dbName);
}
------------------------------------------------------------------------------------------------------
So, in a program, I could do that:
------------------------------------------------------------------------
DB_Connect("db1");
DB_Connect("db2");
.
.
.
.
DB_Disconnect("db2")
DB_Disconnect("db1")
------------------------------------------------------------------------
But it is not working... and I donīt know why.. I know that the
problem is related to the scoping of variables, but I am confused... Did
you develop something like this already? (I did that in Perl once, and
it worked perfectly!)
Thankx!!!!
--
=========================================
= Christian Azambuja Pagot
= ------------------------
= Fones....: (51)9114-7717 / (51)476-4641
= e-Mail...: [EMAIL PROTECTED]
= Chave Publica disponivel
=========================================
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
mQENAzcy1O0AAAEIAKidc5Z07Up3Y9WpH0+S/xN5BQHMVoTMc08Njl92d+hEVclm
heGNBrfXy04v2BDxeQu64AVXiyOZd16LtRDXEYVonRdvd1qsFPK8fkdxi9iQjPP8
aJcUM5XY5zndnSTVj4K83nFAcnSwu/IAMXSx+/sQRSpAVtM4JlxAiDdFA8ZEJBXz
CzzrZWncT9FDlrRFTBKoTqRWbUEIasyVtkHXzo4l2Wc/DzEkg96+hcL21FNDLldW
VCog47ba9w8XAzpe23kGXIiqSnpodV85BRSjdVwBfFoQyfE64LsYYP+uxPvqduOT
zJhKzBQO+MtDl+tAlM+Qs0YgPoACvJ8f84z0MNEABRG0M0NocmlzdGlhbiBBemFt
YnVqYSBQYWdvdCA8YXphbWJ1amFAcG9ydG93ZWIuY29tLmJyPokBFQMFEDcy1O28
nx/zjPQw0QEBdE4H/iBaJRmOxOGFyTkKM+6PinLaPvsBgvZAOsnW6Cs/QpvJH5mP
MaCrKxH1EzLj3MVT38bAdmSL+iM/OTMoRWCi7BtcLW8dheOdmt5IVcHx1bQOJ8qe
hMTn/2/KbvEawDD07OFTerRM+Ac158e/cK5VVC2vFUYuIja2XGD0yJvpndYAoTOe
2hSpPf7eCxUGF1CRsmdPMWKIz1fPqUROVxFalxKg0x7XuOjoD/XVNFmBq1j+NtIJ
idYGjsGSu8s9NF3NaQgvWm9+obaaHhBPzJawZ6pyjCQ19GBi6AuYVpunq2vhzW0G
ZLqrLPoB0EIzDFylnLY8+fFh84kLykRU1e8/ALw=
=eTcy
-----END PGP PUBLIC KEY BLOCK-----
--- End Message ---
--- Begin Message ---
I have a class that currently will connect to a MySQL and MS SQL database.
It is easy add to this class support for all the other supported databases.
If you would like the code for this class, I will send it to you.
Let me know,
nicole
"Christian Azambuja Pagot" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!!
>
> I am trying to create generic DB functions... (that could connect to
> any kind of database, just with few modifications..)
> I created 2 functions... DB_Connect and DB_Disconnect... and I will
> create another one... DB_Query.
>
> Follows the code:
>
> --------------------------------------------------------------------------
----------------------------
>
> function DB_Connect($dbName)
> {
> static $$dbName;
> $$dbName = mssql_connect ("servername","user","pass");
> }
>
> --------------------------------------------------------------------------
----------------------------
>
> function DB_Disconnect($dbName)
> {
> static $$dbName;
> mssql_close($$dbName);
> }
>
> --------------------------------------------------------------------------
----------------------------
>
> So, in a program, I could do that:
>
> ------------------------------------------------------------------------
>
> DB_Connect("db1");
> DB_Connect("db2");
> .
> .
> .
> .
> DB_Disconnect("db2")
> DB_Disconnect("db1")
>
> ------------------------------------------------------------------------
>
>
> But it is not working... and I donīt know why.. I know that the
> problem is related to the scoping of variables, but I am confused... Did
> you develop something like this already? (I did that in Perl once, and
> it worked perfectly!)
>
> Thankx!!!!
>
> --
> =========================================
> = Christian Azambuja Pagot
> = ------------------------
> = Fones....: (51)9114-7717 / (51)476-4641
> = e-Mail...: [EMAIL PROTECTED]
> = Chave Publica disponivel
> =========================================
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
>
> mQENAzcy1O0AAAEIAKidc5Z07Up3Y9WpH0+S/xN5BQHMVoTMc08Njl92d+hEVclm
> heGNBrfXy04v2BDxeQu64AVXiyOZd16LtRDXEYVonRdvd1qsFPK8fkdxi9iQjPP8
> aJcUM5XY5zndnSTVj4K83nFAcnSwu/IAMXSx+/sQRSpAVtM4JlxAiDdFA8ZEJBXz
> CzzrZWncT9FDlrRFTBKoTqRWbUEIasyVtkHXzo4l2Wc/DzEkg96+hcL21FNDLldW
> VCog47ba9w8XAzpe23kGXIiqSnpodV85BRSjdVwBfFoQyfE64LsYYP+uxPvqduOT
> zJhKzBQO+MtDl+tAlM+Qs0YgPoACvJ8f84z0MNEABRG0M0NocmlzdGlhbiBBemFt
> YnVqYSBQYWdvdCA8YXphbWJ1amFAcG9ydG93ZWIuY29tLmJyPokBFQMFEDcy1O28
> nx/zjPQw0QEBdE4H/iBaJRmOxOGFyTkKM+6PinLaPvsBgvZAOsnW6Cs/QpvJH5mP
> MaCrKxH1EzLj3MVT38bAdmSL+iM/OTMoRWCi7BtcLW8dheOdmt5IVcHx1bQOJ8qe
> hMTn/2/KbvEawDD07OFTerRM+Ac158e/cK5VVC2vFUYuIja2XGD0yJvpndYAoTOe
> 2hSpPf7eCxUGF1CRsmdPMWKIz1fPqUROVxFalxKg0x7XuOjoD/XVNFmBq1j+NtIJ
> idYGjsGSu8s9NF3NaQgvWm9+obaaHhBPzJawZ6pyjCQ19GBi6AuYVpunq2vhzW0G
> ZLqrLPoB0EIzDFylnLY8+fFh84kLykRU1e8/ALw=
> =eTcy
> -----END PGP PUBLIC KEY BLOCK-----
>
>
--- End Message ---
--- Begin Message ---
I would apreciate a lot if you could send it to me :)
Nicole Amashta wrote:
> I have a class that currently will connect to a MySQL and MS SQL database.
> It is easy add to this class support for all the other supported databases.
> If you would like the code for this class, I will send it to you.
>
> Let me know,
> nicole
>
> "Christian Azambuja Pagot" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi!!
> >
> > I am trying to create generic DB functions... (that could connect to
> > any kind of database, just with few modifications..)
> > I created 2 functions... DB_Connect and DB_Disconnect... and I will
> > create another one... DB_Query.
> >
> > Follows the code:
> >
> > --------------------------------------------------------------------------
> ----------------------------
> >
> > function DB_Connect($dbName)
> > {
> > static $$dbName;
> > $$dbName = mssql_connect ("servername","user","pass");
> > }
> >
> > --------------------------------------------------------------------------
> ----------------------------
> >
> > function DB_Disconnect($dbName)
> > {
> > static $$dbName;
> > mssql_close($$dbName);
> > }
> >
> > --------------------------------------------------------------------------
> ----------------------------
> >
> > So, in a program, I could do that:
> >
> > ------------------------------------------------------------------------
> >
> > DB_Connect("db1");
> > DB_Connect("db2");
> > .
> > .
> > .
> > .
> > DB_Disconnect("db2")
> > DB_Disconnect("db1")
> >
> > ------------------------------------------------------------------------
> >
> >
> > But it is not working... and I donīt know why.. I know that the
> > problem is related to the scoping of variables, but I am confused... Did
> > you develop something like this already? (I did that in Perl once, and
> > it worked perfectly!)
> >
> > Thankx!!!!
> >
> > --
> > =========================================
> > = Christian Azambuja Pagot
> > = ------------------------
> > = Fones....: (51)9114-7717 / (51)476-4641
> > = e-Mail...: [EMAIL PROTECTED]
> > = Chave Publica disponivel
> > =========================================
> >
> > -----BEGIN PGP PUBLIC KEY BLOCK-----
> > Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
> >
> > mQENAzcy1O0AAAEIAKidc5Z07Up3Y9WpH0+S/xN5BQHMVoTMc08Njl92d+hEVclm
> > heGNBrfXy04v2BDxeQu64AVXiyOZd16LtRDXEYVonRdvd1qsFPK8fkdxi9iQjPP8
> > aJcUM5XY5zndnSTVj4K83nFAcnSwu/IAMXSx+/sQRSpAVtM4JlxAiDdFA8ZEJBXz
> > CzzrZWncT9FDlrRFTBKoTqRWbUEIasyVtkHXzo4l2Wc/DzEkg96+hcL21FNDLldW
> > VCog47ba9w8XAzpe23kGXIiqSnpodV85BRSjdVwBfFoQyfE64LsYYP+uxPvqduOT
> > zJhKzBQO+MtDl+tAlM+Qs0YgPoACvJ8f84z0MNEABRG0M0NocmlzdGlhbiBBemFt
> > YnVqYSBQYWdvdCA8YXphbWJ1amFAcG9ydG93ZWIuY29tLmJyPokBFQMFEDcy1O28
> > nx/zjPQw0QEBdE4H/iBaJRmOxOGFyTkKM+6PinLaPvsBgvZAOsnW6Cs/QpvJH5mP
> > MaCrKxH1EzLj3MVT38bAdmSL+iM/OTMoRWCi7BtcLW8dheOdmt5IVcHx1bQOJ8qe
> > hMTn/2/KbvEawDD07OFTerRM+Ac158e/cK5VVC2vFUYuIja2XGD0yJvpndYAoTOe
> > 2hSpPf7eCxUGF1CRsmdPMWKIz1fPqUROVxFalxKg0x7XuOjoD/XVNFmBq1j+NtIJ
> > idYGjsGSu8s9NF3NaQgvWm9+obaaHhBPzJawZ6pyjCQ19GBi6AuYVpunq2vhzW0G
> > ZLqrLPoB0EIzDFylnLY8+fFh84kLykRU1e8/ALw=
> > =eTcy
> > -----END PGP PUBLIC KEY BLOCK-----
> >
> >
--
=========================================
= Christian Azambuja Pagot
= ------------------------
= Fones....: (51)9114-7717 / (51)476-4641
= e-Mail...: [EMAIL PROTECTED]
= Chave Publica disponivel
=========================================
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
mQENAzcy1O0AAAEIAKidc5Z07Up3Y9WpH0+S/xN5BQHMVoTMc08Njl92d+hEVclm
heGNBrfXy04v2BDxeQu64AVXiyOZd16LtRDXEYVonRdvd1qsFPK8fkdxi9iQjPP8
aJcUM5XY5zndnSTVj4K83nFAcnSwu/IAMXSx+/sQRSpAVtM4JlxAiDdFA8ZEJBXz
CzzrZWncT9FDlrRFTBKoTqRWbUEIasyVtkHXzo4l2Wc/DzEkg96+hcL21FNDLldW
VCog47ba9w8XAzpe23kGXIiqSnpodV85BRSjdVwBfFoQyfE64LsYYP+uxPvqduOT
zJhKzBQO+MtDl+tAlM+Qs0YgPoACvJ8f84z0MNEABRG0M0NocmlzdGlhbiBBemFt
YnVqYSBQYWdvdCA8YXphbWJ1amFAcG9ydG93ZWIuY29tLmJyPokBFQMFEDcy1O28
nx/zjPQw0QEBdE4H/iBaJRmOxOGFyTkKM+6PinLaPvsBgvZAOsnW6Cs/QpvJH5mP
MaCrKxH1EzLj3MVT38bAdmSL+iM/OTMoRWCi7BtcLW8dheOdmt5IVcHx1bQOJ8qe
hMTn/2/KbvEawDD07OFTerRM+Ac158e/cK5VVC2vFUYuIja2XGD0yJvpndYAoTOe
2hSpPf7eCxUGF1CRsmdPMWKIz1fPqUROVxFalxKg0x7XuOjoD/XVNFmBq1j+NtIJ
idYGjsGSu8s9NF3NaQgvWm9+obaaHhBPzJawZ6pyjCQ19GBi6AuYVpunq2vhzW0G
ZLqrLPoB0EIzDFylnLY8+fFh84kLykRU1e8/ALw=
=eTcy
-----END PGP PUBLIC KEY BLOCK-----
--- End Message ---
--- Begin Message ---
I will post the link to the list where my Database class is once I get it
uploaded.
Stay tuned ...
Nicole
www.aeontrek.com
"Christian Azambuja Pagot" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I would apreciate a lot if you could send it to me :)
>
> Nicole Amashta wrote:
>
> > I have a class that currently will connect to a MySQL and MS SQL
database.
> > It is easy add to this class support for all the other supported
databases.
> > If you would like the code for this class, I will send it to you.
> >
> > Let me know,
> > nicole
> >
> > "Christian Azambuja Pagot" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hi!!
> > >
> > > I am trying to create generic DB functions... (that could connect
to
> > > any kind of database, just with few modifications..)
> > > I created 2 functions... DB_Connect and DB_Disconnect... and I
will
> > > create another one... DB_Query.
> > >
> > > Follows the code:
> > >
> >
> --------------------------------------------------------------------------
> > ----------------------------
> > >
> > > function DB_Connect($dbName)
> > > {
> > > static $$dbName;
> > > $$dbName = mssql_connect ("servername","user","pass");
> > > }
> > >
> >
> --------------------------------------------------------------------------
> > ----------------------------
> > >
> > > function DB_Disconnect($dbName)
> > > {
> > > static $$dbName;
> > > mssql_close($$dbName);
> > > }
> > >
> >
> --------------------------------------------------------------------------
> > ----------------------------
> > >
> > > So, in a program, I could do that:
> > >
> >
> ------------------------------------------------------------------------
> > >
> > > DB_Connect("db1");
> > > DB_Connect("db2");
> > > .
> > > .
> > > .
> > > .
> > > DB_Disconnect("db2")
> > > DB_Disconnect("db1")
> > >
> >
> ------------------------------------------------------------------------
> > >
> > >
> > > But it is not working... and I donīt know why.. I know that the
> > > problem is related to the scoping of variables, but I am confused...
Did
> > > you develop something like this already? (I did that in Perl once, and
> > > it worked perfectly!)
> > >
> > > Thankx!!!!
> > >
> > > --
> > > =========================================
> > > = Christian Azambuja Pagot
> > > = ------------------------
> > > = Fones....: (51)9114-7717 / (51)476-4641
> > > = e-Mail...: [EMAIL PROTECTED]
> > > = Chave Publica disponivel
> > > =========================================
> > >
> > > -----BEGIN PGP PUBLIC KEY BLOCK-----
> > > Version: PGPfreeware 5.5.3i for non-commercial use
<http://www.pgpi.com>
> > >
> > > mQENAzcy1O0AAAEIAKidc5Z07Up3Y9WpH0+S/xN5BQHMVoTMc08Njl92d+hEVclm
> > > heGNBrfXy04v2BDxeQu64AVXiyOZd16LtRDXEYVonRdvd1qsFPK8fkdxi9iQjPP8
> > > aJcUM5XY5zndnSTVj4K83nFAcnSwu/IAMXSx+/sQRSpAVtM4JlxAiDdFA8ZEJBXz
> > > CzzrZWncT9FDlrRFTBKoTqRWbUEIasyVtkHXzo4l2Wc/DzEkg96+hcL21FNDLldW
> > > VCog47ba9w8XAzpe23kGXIiqSnpodV85BRSjdVwBfFoQyfE64LsYYP+uxPvqduOT
> > > zJhKzBQO+MtDl+tAlM+Qs0YgPoACvJ8f84z0MNEABRG0M0NocmlzdGlhbiBBemFt
> > > YnVqYSBQYWdvdCA8YXphbWJ1amFAcG9ydG93ZWIuY29tLmJyPokBFQMFEDcy1O28
> > > nx/zjPQw0QEBdE4H/iBaJRmOxOGFyTkKM+6PinLaPvsBgvZAOsnW6Cs/QpvJH5mP
> > > MaCrKxH1EzLj3MVT38bAdmSL+iM/OTMoRWCi7BtcLW8dheOdmt5IVcHx1bQOJ8qe
> > > hMTn/2/KbvEawDD07OFTerRM+Ac158e/cK5VVC2vFUYuIja2XGD0yJvpndYAoTOe
> > > 2hSpPf7eCxUGF1CRsmdPMWKIz1fPqUROVxFalxKg0x7XuOjoD/XVNFmBq1j+NtIJ
> > > idYGjsGSu8s9NF3NaQgvWm9+obaaHhBPzJawZ6pyjCQ19GBi6AuYVpunq2vhzW0G
> > > ZLqrLPoB0EIzDFylnLY8+fFh84kLykRU1e8/ALw=
> > > =eTcy
> > > -----END PGP PUBLIC KEY BLOCK-----
> > >
> > >
>
> --
> =========================================
> = Christian Azambuja Pagot
> = ------------------------
> = Fones....: (51)9114-7717 / (51)476-4641
> = e-Mail...: [EMAIL PROTECTED]
> = Chave Publica disponivel
> =========================================
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>
>
> mQENAzcy1O0AAAEIAKidc5Z07Up3Y9WpH0+S/xN5BQHMVoTMc08Njl92d+hEVclm
> heGNBrfXy04v2BDxeQu64AVXiyOZd16LtRDXEYVonRdvd1qsFPK8fkdxi9iQjPP8
> aJcUM5XY5zndnSTVj4K83nFAcnSwu/IAMXSx+/sQRSpAVtM4JlxAiDdFA8ZEJBXz
> CzzrZWncT9FDlrRFTBKoTqRWbUEIasyVtkHXzo4l2Wc/DzEkg96+hcL21FNDLldW
> VCog47ba9w8XAzpe23kGXIiqSnpodV85BRSjdVwBfFoQyfE64LsYYP+uxPvqduOT
> zJhKzBQO+MtDl+tAlM+Qs0YgPoACvJ8f84z0MNEABRG0M0NocmlzdGlhbiBBemFt
> YnVqYSBQYWdvdCA8YXphbWJ1amFAcG9ydG93ZWIuY29tLmJyPokBFQMFEDcy1O28
> nx/zjPQw0QEBdE4H/iBaJRmOxOGFyTkKM+6PinLaPvsBgvZAOsnW6Cs/QpvJH5mP
> MaCrKxH1EzLj3MVT38bAdmSL+iM/OTMoRWCi7BtcLW8dheOdmt5IVcHx1bQOJ8qe
> hMTn/2/KbvEawDD07OFTerRM+Ac158e/cK5VVC2vFUYuIja2XGD0yJvpndYAoTOe
> 2hSpPf7eCxUGF1CRsmdPMWKIz1fPqUROVxFalxKg0x7XuOjoD/XVNFmBq1j+NtIJ
> idYGjsGSu8s9NF3NaQgvWm9+obaaHhBPzJawZ6pyjCQ19GBi6AuYVpunq2vhzW0G
> ZLqrLPoB0EIzDFylnLY8+fFh84kLykRU1e8/ALw=
> =eTcy
> -----END PGP PUBLIC KEY BLOCK-----
>
>
--- End Message ---
--- Begin Message ---
I am using php dated June 2001 - the latest version 4.1.1 would not run the
php test program on IIS. With this version, I have a php file that will run
on IIS. This php file calls COM objects. However, when I switch from IIS
to IBM HTTP Server ( Apache based web server ). The same file will not run.
The main COM object is created. But, any reference to a method/property on
this COM object gives WARNING: Unable to lookup {method/property name}:
Access is denied in {line in php file}.
I can run a simple php file that does not call COM objects on IBM HTTP
Server.
Is there an additional step required related to security in IBM HTTP Server
(Apache) that is not required or handled differently in IIS?
Thanks,
Lacey Sharpe
Intergraph Corporation
--- End Message ---
--- Begin Message ---
Hi,
I have just upgraded to the latest 4.1.2 binaries, I would like to know
if there is any change with regard to session. I cannot retrieve
anything from $_SESSION, but it works fine if I switch back to 4.1.1
with the same config file php.ini.
Thanks!
here are my session settings.
[Session]
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = d:/web/tmp
; Whether to use cookies.
session.use_cookies = 0
; Name of the session (used as cookie name).
session.name = PHPSESSID
; Initialize session on request startup.
session.auto_start = 0
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
; The path for which the cookie is valid.
session.cookie_path = /
; The domain for which the cookie is valid.
session.cookie_domain =
; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php
; Percentual probability that the 'garbage collection' process is started
; on every session initialization.
session.gc_probability = 1
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440
; Check HTTP Referer to invalidate externally stored URLs containing ids.
session.referer_check =
; How many bytes to read from the file.
session.entropy_length = 0
; Specified here to create the session id.
session.entropy_file =
;session.entropy_length = 16
;session.entropy_file = /dev/urandom
; Set to {nocache,private,public} to determine HTTP caching aspects.
session.cache_limiter = nocache
; Document expires after n minutes.
session.cache_expire = 180
; use transient sid support if enabled by compiling with --enable-trans-sid.
session.use_trans_sid = 1
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
Horace
--- End Message ---
--- Begin Message ---
OK, I have posted my database class on my site. You can get to it by going
to http://www.aeontrek.com. Once there, you will see a link on the right
side called "Projects." Go to the Projects section, then scroll down to the
PHP projects. There you will see posted today my Database extraction and
wrapper class. Once you have downloaded the zip file, use the included
dbtest.php script as an example of how to use my DB class. You will need to
modify some lines in the dbtest.php script to get it working with your
database.
Note, this class currently supports connections to MySQL and MSSQL databases
only. You can easily add on support for the other databases as well (eg.
oracle, etc.).
I hope you find this class and script useful.
Good luck!
--
Nicole Amashta
Web Applications Developer
www.aeontrek.com
--- End Message ---
--- Begin Message ---
If you had trouble downloading the zip file, please try again. I was in such
a hurry, it appears the file went up in ascii mode.
Nicole
"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK, I have posted my database class on my site. You can get to it by going
> to http://www.aeontrek.com. Once there, you will see a link on the right
> side called "Projects." Go to the Projects section, then scroll down to
the
> PHP projects. There you will see posted today my Database extraction and
> wrapper class. Once you have downloaded the zip file, use the included
> dbtest.php script as an example of how to use my DB class. You will need
to
> modify some lines in the dbtest.php script to get it working with your
> database.
>
> Note, this class currently supports connections to MySQL and MSSQL
databases
> only. You can easily add on support for the other databases as well (eg.
> oracle, etc.).
>
> I hope you find this class and script useful.
>
> Good luck!
>
> --
> Nicole Amashta
> Web Applications Developer
> www.aeontrek.com
>
>
>
--- End Message ---
--- Begin Message ---
Disclaimer:
I use this class myself on my site and in production sites with no problems
with it to this day. However, I cannot guarantee there are no bugs within
this class. This class is merely a wrapper of the preexisting php functions
that support the respective databases. Use this class at your own risk.
Modify it as you wish as well.
Thanks,
Nicole
www.aeontrek.com
"Nicole Amashta" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> OK, I have posted my database class on my site. You can get to it by going
> to http://www.aeontrek.com. Once there, you will see a link on the right
> side called "Projects." Go to the Projects section, then scroll down to
the
> PHP projects. There you will see posted today my Database extraction and
> wrapper class. Once you have downloaded the zip file, use the included
> dbtest.php script as an example of how to use my DB class. You will need
to
> modify some lines in the dbtest.php script to get it working with your
> database.
>
> Note, this class currently supports connections to MySQL and MSSQL
databases
> only. You can easily add on support for the other databases as well (eg.
> oracle, etc.).
>
> I hope you find this class and script useful.
>
> Good luck!
>
> --
> Nicole Amashta
> Web Applications Developer
> www.aeontrek.com
>
>
>
--- End Message ---
--- Begin Message ---
Hello -
I am trying to install PHP 4.1.2 on a Windows XP box. I am running Apache 1.3.23, and
MySQL 3.23.49. I have PHP installed as an apache server module (as the documentation
suggested.)
It appears that everything is installed correctly, I followed the instructions
perfectly,
I think.
What happens is strange. Every time I try to load a php page, I see the page
generated
for a fraction of a second. Then, I get an error page:
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be
experiencing technical difficulties, or you may need to adjust your browser
settings.
Any ideas why this might be happening? I can connect to the webserver no problems
otherwise.
I ran php.exe -i, and threw the output into a web browerser, and it all looked fine.
So,
the output appears to be generated fine. So, it looks like the issue might be an
apache
configuration issue.
ANyone have any ideas?
Thanks a million!
-Jeremiah
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--- End Message ---
--- Begin Message ---
Did you try if it works on the command line with a script containing for
example, phpinfo() ?
A+
Alain
On Tue, Mar 12, 2002 at 10:50:22AM -0800, Daedalus wrote:
> Hello -
>
> I am trying to install PHP 4.1.2 on a Windows XP box. I am running Apache 1.3.23,
>and
> MySQL 3.23.49. I have PHP installed as an apache server module (as the documentation
> suggested.)
>
> It appears that everything is installed correctly, I followed the instructions
>perfectly,
> I think.
>
> What happens is strange. Every time I try to load a php page, I see the page
>generated
> for a fraction of a second. Then, I get an error page:
>
> The page cannot be displayed
> The page you are looking for is currently unavailable. The Web site might be
> experiencing technical difficulties, or you may need to adjust your browser
>settings.
>
>
> Any ideas why this might be happening? I can connect to the webserver no problems
> otherwise.
>
> I ran php.exe -i, and threw the output into a web browerser, and it all looked fine.
> So,
> the output appears to be generated fine. So, it looks like the issue might be an
>apache
> configuration issue.
>
> ANyone have any ideas?
>
> Thanks a million!
>
> -Jeremiah
>
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
An addendum:
I try loading a php page in Opera, and it hangs. I can see some of the page generated.
I try it in Netscape 4.7, and it works...
Any ideas?
--- Daedalus <[EMAIL PROTECTED]> wrote:
> Hello -
>
> I am trying to install PHP 4.1.2 on a Windows XP box. I am running Apache 1.3.23,
>and
> MySQL 3.23.49. I have PHP installed as an apache server module (as the documentation
> suggested.)
>
> It appears that everything is installed correctly, I followed the instructions
> perfectly,
> I think.
>
> What happens is strange. Every time I try to load a php page, I see the page
> generated
> for a fraction of a second. Then, I get an error page:
>
> The page cannot be displayed
> The page you are looking for is currently unavailable. The Web site might be
> experiencing technical difficulties, or you may need to adjust your browser
> settings.
>
>
> Any ideas why this might be happening? I can connect to the webserver no problems
> otherwise.
>
> I ran php.exe -i, and threw the output into a web browerser, and it all looked fine.
> So,
> the output appears to be generated fine. So, it looks like the issue might be an
> apache
> configuration issue.
>
> ANyone have any ideas?
>
> Thanks a million!
>
> -Jeremiah
>
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--- End Message ---