Another idea of doing this task is using XSLT. XML file can be tranformed
to a text SQL file, then it can be called by PHP scripts. That can't be
hard to do that if you know XSLT.
Bernardo De Barros Franco [EMAIL PROTECTED] wrote in message
news:20021105203656.93604.qmail;pb1.pair.com...
Hello
Are you aware of register_globals = off?
It might be the problem. You can set register_globals = on in php.ini
or
you better use $_POST, $_GET, $_SERVER ...
eg.
$fname - $_POST[finame] or $_GET[fname]
Daniele Baroncelli [EMAIL PROTECTED] wrote in message
PHP 4.2.* has register_globals = off as a default. You variables has to
be $_POST[fname] or $_POST[fname] or $_SERVER[PHP_SELF] etc.,
or you can simple incides one file
eg.
//extract.php
?
extract($_SERVER);
extract($_ENV);
extract($_GET);
extract($_POST);
extract($_REQUEST);
?
in your old
Some extensions are like not 100% available for Win32 environment. I use PHP
4.3.0pre2, Apache 2.0.43 and J2SDK 1.4.1
For XML, you need expat-1.95.5 and copy libexpat.dll to c:\windows\system32.
For XSLT, you need sablot-0.96 and copy sablot.dll to c:\windows\system32.
//php.ini
extension_dir
If I were you, I do this way.
// in your HTML form.
select name=flag
option value=1 Husband/option
...
/select
// DB
then insert 1, 2, 3, 4. //it will be one of them from flag variable.
// when you retrieve it...
if (flag == 1)
echo Husband
if ...
and so on. :)
Kang
Chan Hweefarn
the use of session is not correct. :(
if u use php 4.1x .. as u do... u got to follow new standard.
(see below)
wrote:
Hello:
I want your help!
The session sometime works well,sometime works badly!
It creates new empty file in /tmp.I also find this problem
with
Colin Eldridge wrote:
Hi, my name is Colin Eldridge, teacher from Australia.
Hello Colin,
Australia! I'm here in Wollongong Uni.
I am relatively new to PHP.
I have set up a small intranet for my students to build and use interactive webpages.
The intranet: A server(P4, XP) running Apache,
it doesn't matter! whatever u think, and what your job is.
it's all up to IT manager(?) are they listen to us or
do they know what's the newest verion in php or mysql.
i wouldn't think so (it got to kidding!)
as we are professional... we got to act like a real prof. but.. ?
here u go!
my dev.
8 matches
Mail list logo