Why don't you make the php.net site Printer Friendly?
olinux
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Hello all...
i have the following script which checks a username and pass from a db and
if it is correct it starts a session..
The problem is that when i go to next page the session is gone.!!
What must i do to start the session and keep it permanent until the uses
logs off???
I'm still at the start of trying to get to grips with PHP so these
comments should be treated with a healthy scepticism.
Most of the examples I have seen and used involving sessions will start
the session at the start of the script. If you want to continue checking
on a particular user's name
session_start();
should do it on the second page
Steve
Koutsogiannopoulos Karolos [EMAIL PROTECTED] wrote in
message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello all...
i have the following script which checks a username and pass from a db and
if it is correct it starts a session..
i was really gonna try and answer this for you then it struck me that you've
got quite a way to go in terms of your position relating to database design
and so on.
so... i'd sugest you read up a bit on the logic of the way you are trying to
implement your database and theink about the logical
Such questions are best asked at [EMAIL PROTECTED] .
I've defined them in the envoironent throgh a shell script
looking like this
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/8.1.7
export ORACLE_SID=home
export PATH=/u01/app/oracle/product/8.1.7/bin:$PATH
export
Edit your php.ini file and find the line that starts with
session.cache_limiter. Replace it so that the line says:
session.cache_limiter = ; Fix for Caching Problems
If you leave the value blank (the ; Fix for part is just a comment),
the browsers will handle their own caching and will
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
I'm trying to add support for pgsql to my current setup.
Everything (php 4.0.4, pgsql 7.1.1, apache 1.3.19) is compiled from
source.
Postgres is working fine on its own.
Postgres is installed to /usr/local/pgsql
I've tried compiling with
-
ok .
i've had this problem and fixed it thus:
--with-pgsql=/path/to/unzipped/files
e.g. --with-pgsql=/usr/src/postgresql7.1.1/
and it works, and has done for the last seven months.
rasmus bit my head off though when i suggested it though so sh.
Steve
Matt Williams [EMAIL PROTECTED]
I'm having a bit of trouble creating a random question selector. I'm using PHP 4.0.6
and MySQL 3.23.36 on Windows 98 SE.
I've tried several different solutions, but none work at all.
What i need to do is select 10 questions from a database (db: vpt, table: questions),
and make sure that the
Adam,
I'm what I would call a novice to PHP and databases in general, however if I
had to do what you're doing, I might do the following...
Add a field to the table that contains your questions called displayed and
have it be an enum of Yes/No True/False, etc... In your script, you'd then
Hi,
How can I update from PHP3 to PHP4 on an Apache web server?
I need to reinstall Apache?
Best regards,
Rares
--
K Free E-mail http://www.k.ro/
by KappaNet http://www.kappa.ro/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
HI,
I have compiled php4 with the following command:
./configure' '--with-mysql' '--with-apache=../apache_1.3.20'
'--enable-track-vars' '--enable-tans-sid' '--enable-dba
The function dba_open() does not work for me. I get the following error
message:
Fatal error: Call to undefined function:
Adam Lundrigan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
What i need to do is select 10 questions from a database
(db: vpt, table: questions), and make sure that the same
question doesn't appear twice. The questions need to
appear in a random order
Patrick Callihan [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
HI,
I have compiled php4 with the following command:
/configure' '--with-mysql' '--with-apache=../apache_1.3.20'
'--enable-track-vars' '--enable-tans-sid' '--enable-dba
The function dba_open()
I don't seem to have the *.so modules available. When I added the line
'extension=php_dba.so' to php.ini, nothing changed. When I tried to use the
dl() function, I just got an error message:
Warning: Unable to load dynamic library './php_dba.so' - ./php_dba.so:
cannot open shared object file:
16 matches
Mail list logo