php-windows Digest 30 Apr 2002 18:16:37 -0000 Issue 1120
Topics (messages 13412 through 13423):
Re: PHP Triad or Nusphere or ??
13412 by: Sandeep Murphy
Re: php 4.1.2 / $_SESSION
13413 by: Martin Kemp
Access databse
13414 by: Mikael Syska
13416 by: Luis Ferro
13417 by: Brian McGarvie
13418 by: Mikael Syska
13419 by: George Nicolae
13422 by: Svensson, B.A.T. (HKG)
13423 by: Tom Belich
R: [PHP-WIN] Access databse
13415 by: Alberto. Sartori
PHP and GMP on IIS for WIN2k
13420 by: MaxPower
FuLL text search engine
13421 by: Alberto. Sartori
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 ---
Having tried out both, my vote goes for PHP Triad .. rarely gave me any
problem!...
good luck..
sands
-----Original Message-----
From: Chris Lott [mailto:[EMAIL PROTECTED]]
Sent: terça-feira, 30 de Abril de 2002 6:28
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] PHP Triad or Nusphere or ??
Not having used any of them myself (yet), is there any compelling
reason to choose one of the "unified" installer packages over another?
I am leaning towards PHP Triad because it is free (which is good for
myu students) and because Nusphere makes me a bit itchy with all the
bad blood with MySQL. I think there are a few other projects like this
out there?
But the bottom line is I want something that works without too much
tweaking so that my web design students can focus on the language
instead of the installation...
c
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I'm including the text of a previous discussion on this subject:
-- begin include
4.1.1 works perfectly well but when they introduced 4.1.2, there was a
bug that was introduced also.
-----Original Message-----
From: Martin Kemp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 5:24 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: Session information not stored in php 4.1.2
Thanks for that - I'd found mention of the problem on google groups
yesterday, but they didn't include a resolution. I'll try it tonight and
report my results.
BTW: For the record, my mention of 4.0.6 was incorrect - it was actually
4.1.1 that it worked with $_SESSION without the need for
session_register,
etc. It was when I installed 4.1.2 that my problems started.
Thanks again,
Martin Kemp
> -----Original Message-----
> From: Lee, Ford [mailto:[EMAIL PROTECTED]]
> Sent: 09 April 2002 3:05
> To: Fabian Deutsch; [EMAIL PROTECTED]
> Subject: RE: [PHP-WIN] Re: Session information not stored in php 4.1.2
>
>
> check bug fix 16435 for php in the bug database. I've encountered
this
> prob and it's a recurring theme but it's fixed in the Release
Candidate
> 1 and 2 for php 4.2.....have to patch the php4ts.dll and
php4apache.dll
> with these new ones in the RC.
>
> bug and fix: http://bugs.php.net/bug.php?id=16435
>
> At http://www.php.net/~derick/ you can find RC2.
>
> -----Original Message-----
> From: Fabian Deutsch [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 8:45 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Session information not stored in php 4.1.2
>
>
> Hey Martin,
> I've got the same problem with php4.1.2 as an apache module.
> As far as i could find out the whole thing depends on the php4ts.dll
> (using
> win2k).
> Probably it's a bug in 4.1.2?
>
> fabian deutsch
>
> "Martin Kemp" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> 000801c1dfac$32985ea0$[EMAIL PROTECTED]">news:000801c1dfac$32985ea0$[EMAIL PROTECTED]...
> > Hi folks,
> >
> > I recently wrote a website that stores session information using PHP
> 4.0.6
> > on win2k, with php as a module in apache.
> >
> > However, I've just moved the same site across to another machine
again
> using
> > win2k, with php as a module in apache but this time with PHP 4.1.2
and
> now
> > the session information does not seem to be stored.
> >
> > The session file gets created in the session directory and the array
> > $_SESSION exists and stores my data within a page, but the
information
> > doesn't get stored in the session file.
> >
> > I've checked the php.ini files between versions and the session
> information
> > is the same.
> >
> > Does anyone know whether there's an issue with session on 4.1.2, or
> does
> the
> > session stuff work differently in 4.1.x?
> >
> > thanks in advance,
> >
> > Martin Kemp
> > Cambridge UK
> > Email: [EMAIL PROTECTED]
> >
> >
-- end include
> -----Original Message-----
> From: Steff [mailto:[EMAIL PROTECTED]]
> Sent: 29 April 2002 1:42
> To: [EMAIL PROTECTED]
> Subject: php 4.1.2 / $_SESSION
>
>
> hi folks
>
> i'm just about to experiment with the new handling of session vars
> ($_SESSION[...]). now if i start with
>
> session_start();
> $_SESSION["remember_me"] = "steff";
> session_save_close(); // tested with and without this function call
>
> , the var value won't be set correctly. on a following page
>
> print($_SESSION["remember_me"]);
>
> doesn't print anything. even a
>
> print_r($_SESSION);
>
> only shows Array (). i admit i am fairly confused by information on
> register_globals (which is set to on in my php.ini) etc.
>
> up to now i have worked with
>
> session_start();
> $remember_me = "steff";
> session_register("remember_me");
>
> which still works great. i'm working on w2k/php4.1.2/apache1.3.22. the
> session.[...] settings in my php.ini correspond those in
> php.ini-recommended.
>
> i read about a bug(?) in connection with php4.1.2. and IIS5
> (http://www.php.net/manual/en/ref.session.php, posted on 01-Apr-2002).
> any known problems with apache (or php itself)? updating to 4.2 is no
> alternative (as posted on 07-Apr-2002 on the same page) since i have to
> respect some provicer-side dependencies ;-)
>
> TIA for your comments
>
> steff
>
>
--- End Message ---
--- Begin Message ---
I want to access a microsoft access database, how do i do that??? I can't
find any tutorials or anything, can any one help me????
--- End Message ---
--- Begin Message ---
Check the functions regarding ODBC support. You will need to add the
database in the ODBC manager and after that, it is transparent like any
other DSN database.
Check in odbc_connect() for instance.
Support is built in in php4.
Cheers,
Luis Ferro
TelaDigital.net
Mikael Syska wrote:
>I want to access a microsoft access database, how do i do that??? I can't
>find any tutorials or anything, can any one help me????
>
>
>
--- End Message ---
--- Begin Message ---
I assume from the request you're using win(98+) and IIS 4+ and have
installed PHP and it works...
Now, IF your Access database will be accesed using any kind of Access
front-end while the website will be being used, you will need to
replicate your access database because of the locking that occurs with
Access.
Assuming you dont have a front-end, simple create a SYSTEM DSN, then you
can simply use PHP's in-built ODBC support. IF you require an example of
code using ODBC them mail me back - missing the mailing list.
If your database will be using a front end simultaniousley - or
thereabouts, you will need to replicate and sychronize the replication
to keep it up-to-date, unfortinatley this needs to be done because of
the aforementioned locking.
Hope this helps...
-----Original Message-----
From: Mikael Syska [mailto:[EMAIL PROTECTED]]
Sent: 30 April 2002 10:33
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Access databse
I want to access a microsoft access database, how do i do that??? I
can't
find any tutorials or anything, can any one help me????
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
> Check the functions regarding ODBC support. You will need to add the
> database in the ODBC manager and after that, it is transparent like
> any other DSN database.
How do i do that, I use Windows2000 and i dont know how to do that, i can
find the OBDC settings but dont know what to change....
And I get this failure when I tries to connect to my "data.mdb"
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified, SQL state IM002 in SQLConnect in c:
\apache\htdocs\access\index.php on line 18
--- End Message ---
--- Begin Message ---
Take a look at
http://www.phpbuilder.com/columns/siddarth20000228.php3?print_mode=1
--
Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"Mikael Syska" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want to access a microsoft access database, how do i do that??? I can't
> find any tutorials or anything, can any one help me????
--- End Message ---
--- Begin Message ---
Don't you think you stretch these question a little bit to far now?
This is after all a PHP-mailing list, not a M$-support e-mail list.
Anyhow,
M$ done its best to alter things between different versions of Windows (I am
using NT so I don't know the excat location of the things your a looking for
in Win2000 - since M$ focus on location in stead of functionaly forcing
people to re-learn this
"were-to-find-what-I-already-know-what-I-want-to-do-thing" everytime they
upgrade their version.)
You need to locate the ODBC driver set up. And then you should select
something like create a new or set up a new ODBC connection. Once you manage
this, you need to select the MS Access ODBC driver, and tell it were to find
the Access database file. (I am assimg you already have these ODBC drivers
installed.)
And for the rest (e.g. PHP realted) follow the on line manula at
www.php.net.
If you want to know more abot ODBC related things I would recommed you to
consult the MSDN online manual. MS done a lot of ducumentation about their
system and it is huge source of information availabe there.
Have fun,
Anders
-----Original Message-----
From: Mikael Syska
To: [EMAIL PROTECTED]
Sent: 30-4-02 12:54
Subject: Re: [PHP-WIN] Access databse
> Check the functions regarding ODBC support. You will need to add the
> database in the ODBC manager and after that, it is transparent like
> any other DSN database.
How do i do that, I use Windows2000 and i dont know how to do that, i
can
find the OBDC settings but dont know what to change....
And I get this failure when I tries to connect to my "data.mdb"
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name
not
found and no default driver specified, SQL state IM002 in SQLConnect in
c:
\apache\htdocs\access\index.php on line 18
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I'm getting to this post late, however, instead of messing around with ODBC
data sources which M$ calls a DSN, I use a connection string instead (for
Windows 2000 the ODBC data sources are in Settings, Control Panel,
Administrative Tools, Data Sources (ODBC). I've used the following code for
an ASP program. I haven't put it in php, since I don't use Access with php
(what's the point?). However, this should be a starting point.
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Application("AccessPath") & ";Persist Security Info=False"
where the variable is:
Application("AccessPath") = "d:\inetpub\wwwroot\helpdesk\db\helpdesk.mdb"
Remember to put the connection string all on one line.
Hope this helps,
Tom
> -----Original Message-----
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 30, 2002 9:34 AM
> To: 'Mikael Syska '
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [PHP-WIN] Access databse
>
>
> Don't you think you stretch these question a little bit to far now?
> This is after all a PHP-mailing list, not a M$-support e-mail list.
>
>
> Anyhow,
> M$ done its best to alter things between different versions
> of Windows (I am
> using NT so I don't know the excat location of the things
> your a looking for
> in Win2000 - since M$ focus on location in stead of
> functionaly forcing
> people to re-learn this
> "were-to-find-what-I-already-know-what-I-want-to-do-thing"
> everytime they
> upgrade their version.)
>
> You need to locate the ODBC driver set up. And then you should select
> something like create a new or set up a new ODBC connection.
> Once you manage
> this, you need to select the MS Access ODBC driver, and tell
> it were to find
> the Access database file. (I am assimg you already have
> these ODBC drivers
> installed.)
>
> And for the rest (e.g. PHP realted) follow the on line manula at
> www.php.net.
>
> If you want to know more abot ODBC related things I would
> recommed you to
> consult the MSDN online manual. MS done a lot of
> ducumentation about their
> system and it is huge source of information availabe there.
>
>
> Have fun,
> Anders
>
> -----Original Message-----
> From: Mikael Syska
> To: [EMAIL PROTECTED]
> Sent: 30-4-02 12:54
> Subject: Re: [PHP-WIN] Access databse
>
> > Check the functions regarding ODBC support. You will need
> to add the
> > database in the ODBC manager and after that, it is transparent like
> > any other DSN database.
>
>
> How do i do that, I use Windows2000 and i dont know how to do that, i
> can
> find the OBDC settings but dont know what to change....
>
> And I get this failure when I tries to connect to my "data.mdb"
>
> Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name
> not
> found and no default driver specified, SQL state IM002 in
> SQLConnect in
> c:
> \apache\htdocs\access\index.php on line 18
>
> --
> 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
>
--- End Message ---
--- Begin Message ---
You can use ADO creating istances. Ex:
$conn=new COM("ADODB.Connection");
Full example at:
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=303&lngWId=8
regards, Alb
-----Messaggio originale-----
Da: Mikael Syska [mailto:[EMAIL PROTECTED]]
Inviato: martedì 30 aprile 2002 11.33
A: [EMAIL PROTECTED]
Oggetto: [PHP-WIN] Access databse
I want to access a microsoft access database, how do i do that??? I can't
find any tutorials or anything, can any one help me????
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
man that was a lot of 3 letter combinations.
so here is the deal, i'm basically pretty new to PHP. my website
(www.haduken.com shameless plug) is written mostly in ASP. now im working on
writing an admin suite that uses PHP, mainly to learn the language. well i
want to play around with some of my own custom crypto ideas and i need big
ints and fast math. i found GMP and it seems perfect, really fast and free
and full of functionality.
but it apparently i am too stupid to figure out how to install/compile this
crap on my win2k machine. so i guess my question is, is there an easy (ie.
pre-compiled version of php with GMP that i can download) way that exsists
to get php with GMP for win2k. keep in mind i have zero unix-esque
experience.
i just want to do math = ( how many times has anyone said that?
peace
max
--
http://www.haduken.com <- better than chicken fried steak
--- End Message ---
--- Begin Message ---
Hi guys, I'm trying to create a full text search engine in my site. The idea should be
this: looking for the key in every files (bypassing html code) and returning the
percentage of results based on the matching. Any basic idea about it? thanks in
advance...
best regards, RaS!
Alberto Sartori - Developer
Hard Programming Dep.
-----------------------------------------------
CELL NETWORK ITALIA S.p.A
Via Correggio, 19
20149 Milano - Italy
Phone +39 02.46.90.551
Fax +39 02.46.91.700
E-Mail: [EMAIL PROTECTED]
Internet Site: http://www.cellnetwork.it
-----------------------------------------------
--- End Message ---