Re: [PHP-DB] Problems building PHP with Informix support

2003-11-04 Thread Paul Gardiner
Hi Daryl,

Have a look through the attached files. I use these to build PHP, Apache 
Informix(SE 7.25.UC6,
CSDK 2.81.UC1) on a Redhat 8.0 machine. I don't use RPM but this may give
you some clues on how to compile it all as I know this setup works.
Compiling with Informix can be an absolute ^%$$! ;o)

Regards,
- Paul -

- Original Message -
From: Daryl Biberdorf [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 8:54 PM
Subject: [PHP-DB] Problems building PHP with Informix support



 I'm trying to get PHP 4.2.2 built with Informix support, using
 a source RPM (SRPM) under Red Hat Linux 8.0.

 I have installed the database (SE; 7.25) along with the Client SDK (2.81).

 I have unpacked the source RPM and have added the option to the
 php.spec file to specify --with-informix.

 When I do the rpmbuild -bb php.spec command, I get the following
 command and error at the end of the output:
 /bin/sh /usr/src/redhat/BUILD/php-4.2.2/build-cgi/libtool --silent
 --mode=link
 gcc -I. -I/usr/src/redhat/BUILD/php-4.2.2/
 -I/usr/src/redhat/BUILD/php-4.2.2/build-cgi/main
 -I/usr/src/redhat/BUILD/php-4.2.2
 -I/usr/src/redhat/BUILD/php-4.2.2/build-cgi/Zend -I/usr/include/libxml2
 -I/usr/include/freetype2/freetype
 -I/usr/include/imap -I/opt/informix/incl/esql -I/usr/include/mysql
 -I/usr/local/include -I/usr/include/pspell -I/usr/include/ucd-snmp
 -I/usr/src/redhat/BUILD/php-4.2.2/main -I/usr/src/redhat/BUILD/php-4.2.2/Z
end
 -I/usr/src/redhat/BUILD/php-4.2.2/TSRM  -DUCD_COMPATIBLE
 -I/usr/src/redhat/BUILD/php-4.2.2/build-cgi/TSRM -O2
 -march=i386 -mcpu=i686 -fPIC  -L/usr/kerberos/lib -o php -export-dynamic
 stub.lo libphp4.la
 /usr/bin/ld: cannot find -lifsql
 collect2: ld returned 1 exit status
 make[1]: *** [php] Error 1
 make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi'
 make: *** [all-recursive] Error 1
 error: Bad exit status from /var/tmp/rpm-tmp.43938 (%build)


 I have defined both INFORMIXDIR and LD_LIBRARY_PATH:
 [SPECS]# env | grep INFORMIXDIR
 INFORMIXDIR=/opt/informix
 [SPECS]# env | grep LD_LIBR
 LD_LIBRARY_PATH=/opt/informix/lib:/opt/informix/lib/esql

 I have added the /opt/informix/lib and /opt/informix/lib/esql directories
 to /etc/ld.so.conf and run ldconfig:
 [SPECS]# cat /etc/ld.so.conf
 /usr/kerberos/lib
 /usr/X11R6/lib
 /usr/lib/qt-3.0.5/lib
 /usr/lib/mysql
 /usr/lib/sane
 /opt/informix/lib
 /opt/informix/lib/esql

 [SPECS]# ldconfig -p | grep informix
 libtxa.so (libc6) = /opt/informix/lib/esql/libtxa.so
 libtsql.so (libc6) = /opt/informix/lib/esql/libtsql.so
 libtos.so (libc6) = /opt/informix/lib/esql/libtos.so
 libthxa.so (libc6) = /opt/informix/lib/esql/libthxa.so
 libthsql.so (libc6) = /opt/informix/lib/esql/libthsql.so
 libthos.so (libc6) = /opt/informix/lib/esql/libthos.so
 libthgen.so (libc6) = /opt/informix/lib/esql/libthgen.so
 libthasf.so (libc6) = /opt/informix/lib/libthasf.so
 libtgen.so (libc6) = /opt/informix/lib/esql/libtgen.so
 libtasf.so (libc6) = /opt/informix/lib/libtasf.so
 libnetstub.so (libc6) = /opt/informix/lib/libnetstub.so
 libixxa.so (libc6) = /opt/informix/lib/esql/libixxa.so
 libixsql.so (libc6) = /opt/informix/lib/esql/libixsql.so
 libixos.so (libc6) = /opt/informix/lib/esql/libixos.so
 libixglx.so (ELF) = /opt/informix/lib/esql/libixglx.so
 libixgls.so (ELF) = /opt/informix/lib/esql/libixgls.so
 libixgen.so (libc6) = /opt/informix/lib/esql/libixgen.so
 libixfgisql.so (libc6) = /opt/informix/lib/esql/libixfgisql.so
 libixasf.so (libc6) = /opt/informix/lib/libixasf.so
 libifxa.so (libc6) = /opt/informix/lib/esql/libifxa.so
 libifsql.so (libc6) = /opt/informix/lib/esql/libifsql.so
 libifos.so (libc6) = /opt/informix/lib/esql/libifos.so
 libifglx.so (ELF) = /opt/informix/lib/esql/libifglx.so
 libifgls.so (ELF) = /opt/informix/lib/esql/libifgls.so
 libifgen.so (libc6) = /opt/informix/lib/esql/libifgen.so
 libiffgisql.so (libc6) = /opt/informix/lib/esql/libiffgisql.so
 libifcss.so (libc6) = /opt/informix/lib/libifcss.so
 libifasf.so (libc6) = /opt/informix/lib/libifasf.so


 I'm stumped. Can anyone offer any solutions? Many thanks in advance.

 Daryl Biberdorf
 [EMAIL PROTECTED]

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




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

Re: [PHP-DB] problems compiling with-informix

2003-08-19 Thread Paul Gardiner
I run Informix (SE7.25.UC4 - UC5 had a major bug) on RH8.0. It wouldn't run
on RH9.0 because of the glibc 2.3.x conflict. I beleive Informix only
supports glibc 2.2.x. at the moment.

If it's possible, use RH8.0 as I know it works.

- Paul -

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 18, 2003 3:54 PM
Subject: [PHP-DB] problems compiling with-informix


 hi, my name is matts.
 when trying to compile php (as cgi or module) i get the following:

 ./configure --with-informix=/opt/informix

 *

 make

 *

 ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
 /usr/src/php-4.3.2/ext/mysql/libmysql/my_tempnam.c:115: the use of
`tempnam' is
 dangerous, better use `mkstemp'
 /opt/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b'
 /opt/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_toupper'
 /opt/informix/lib/esql/libifgls.so: undefined reference to
`__ctype_tolower'
 collect2: ld returned 1 exit status
 make: *** [sapi/cgi/php] Error 1


 i know that my_tempnam warnings are not important, but i cant figure out
what is
 wrong with my libifgls.so

 I'm working in a Red Hat 9.
 I compiled php without informix support succefully several times.
 I have installed the Informix Client SDK 2.81
 (I believe)  I have all the environment variables ok (INFORMIXDIR,
 INFORMIXSERVER... ETC)

 I would apreciate any help 
 thanks in advance.




 -
 This mail sent through IMP: http://mail.info.unlp.edu.ar/

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








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



Re: [PHP-DB] Forms Question

2001-09-06 Thread Paul Gardiner

Hi there,

Take a look at the following snippet below. It is similar to what you're
looking for without having to bugger about duplicating loads of lines for
each store. Just add a new one to the array if required.

Best Regards,
- Paul -

select name=MonthSelected size=1
?php

  $MonthArr = array (
 January,
 February,
 March,
 April,
 May,
 June,
 July,
 August,
 September,
 October,
 November,
 December,
);

  reset($MonthArr);

  foreach ($MonthArr as $MonthName) {
echo option VALUE=\$MonthName\;
if ($MonthName == $MonthSelected) echo  selected;
echo ;
echo $MonthName;
  }

?
/select


- Original Message -
From: Steve Cayford [EMAIL PROTECTED]
To: Jeff Grossman [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, September 05, 2001 11:36 PM
Subject: Re: [PHP-DB] Forms Question



 On Wednesday, September 5, 2001, at 04:50  PM, Jeff Grossman wrote:

  Hello,
  Here is the code I have:
 
  while ($row=mysql_fetch_array($result)) {
 $store=$row[store];
 $jobdesc=$row[jobdesc];
  echo FORM METHOD=post ACTION=update.php;
  echo PStore:
Select NAME=\$store\
   option VALUE=\Signal Hill\Signal Hill
   option VALUE=\Reseda\Reseda
   option VALUE=\Orange\Orange
   option VALUE=\West Covina\West Covina
   option VALUE=\Riverside\Riverside
   option VALUE=\Norwalk\Norwalk
   option VALUE=\Fountain Valley\Fountain Valley
   option VALUE=\Pasadena\Pasadena
   option VALUE=\Redondo Beach\Redondo Beach
   option VALUE=\San Bernardino\San Bernardino
   option VALUE=\Kearny Mesa\Kearny Mesa
   option VALUE=\San Marcos\San Marcos
   option VALUE=\Chino\Chino
   option VALUE=\Coporate Office\Corporate Office
/select/P;
  echo PINPUT TYPE=text SIZE=35 NAME=\Jobdesc\
  VALUE=\$jobdesc\/P;
  echo pINPUT TYPE=submit VALUE=\submit\ LABEL=\Save
  Changes\/P;
  }
 
 
  Is want I am trying to do possible?  I want the value which is stored in
  $store to automatically fill in on the drop down list.  But, for some
  reason it is defaulting to the first option, and not using the value
  that is in the database.
 
  Can I use a drop down menu, or should I just go to radio buttons?
 
  Thanks,
  Jeff

 If I understand your question...

 In order to have your value preset in the drop down list you need
 indicate that with
 option value=\blahblah\ selectedblahblah

 What I've been using for this is a hash like this:

 while ($row=mysql_fetch_array($result)) {
 $selected = array();
 $selected[$row[store]] = selected;
 $store=$row[store];
 $jobdesc=$row[jobdesc];
 echo FORM METHOD=post ACTION=update.php;
 echo PStore:;
 echo Select NAME=NameOfVariableToBePosted
 echo   option VALUE=\Signal Hill\  . $selected[Signal
 Hill] . Signal Hill;
 echo   option VALUE=\Reseda\  . $selected[Reseda] .
 Reseda;
 ...etc, etc., etc.

 something along those lines, anyway. So, if $row[store] == Signal
 Hill, then $selected[Signal Hill] will be set to selected, while
 $selected[Reseda] and all the others will be blank.

 This is a very keen thing about php.

 -Steve


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Error making php with informix

2001-08-29 Thread Paul Gardiner

Hello again,

What version of Informix are you now running? Last time we spoke you were
only on 5. AFAIK you need at least ver 7

In the current version(4.0.6) of PHP the Informix libraries must be
specified in LIBS when compiling Apache. Jani has hopefully fixed this
problem for 4.0.7.  Have a look back to the last mail I sent you about a
month ago for more info.

Regards,
- Paul -

- Original Message -
From: Muciño Zúñiga Marco Antonio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 7:28 PM
Subject: [PHP-DB] Error making php with informix


 Hi, I'm trying to install php-4.0.6 in my SCO Unix box but when I run the
 make command I get the next error:

 /bin/sh ../libtool --silent --mode=link gcc  -g -O2  -o
ibZend.la  -lifsql
 -lif
 asf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i -lgen -lsocket -lnsl -lsuds
 -ltinfo
  -lprot -lx -ltinfo -lc -lphpifx -lifglx -lcrypt -lm -lsocket -lifsql
 -lifasf -l
 ifgen -lifos -lifgls -lnsl_s -lcrypt_i
/usr/lib/libgen.a -lsocket -lnsl -lm
 -lsu
 ds -ltinfo -lprot -lx -ltinfo -lm -lc /usr/informix/lib/esql/checkapi.o
 -lsocket
   zend_language_parser.lo zend_ini_parser.lo zend_alloc.lo zend_compile.lo
 zend_
 constants.lo zend_dynamic_array.lo zend_execute.lo zend_execute_API.lo
 zend_high
 light.lo zend_llist.lo zend_opcode.lo zend_operators.lo zend_ptr_stack.lo
 zend_s
 tack.lo zend_variables.lo zend.lo zend_API.lo zend_extensions.lo
 zend_hash.lo ze
 nd_list.lo zend_indent.lo zend_builtin_functions.lo zend_sprintf.lo
 zend_ini.lo
 libZend_c.la
 libtool: link: cannot build libtool library `libZend.la' from non-libtool
 object
 s: /usr/lib/libgen.a /usr/informix/lib/esql/checkapi.o
 make[1]: *** [libZend.la] Error 1
 make[1]: Leaving directory `/tmp/php-4.0.6/Zend'
 make: *** [all-recursive] Error 1

 Do you have any idea what I'm doing wrong? Thanx in advance.


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] PHP and Informix installation

2001-07-27 Thread Paul Gardiner

Hi,

To be honest I don't know if PHP will work with version 5.x of Informix. I
think it must be 7.x. At least that's for the SE version.

In case I'm wrong for On-Line you can have a go but you'll have to specify
the libs manually when compiling Apache.

If you run esql -libs this will list the libs you need. I have shown the
ones for my machine but just check your own and put them in IFX_LIBS as like
something below:

# get these by running esql -libs at the prompt
IFX_LIBS=-lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i \
/usr/lib/libgen.a -lsocket -lnsl -lm -lsuds -ltinfo -lprot -lx \
-ltinfo -lm -lc /usr/informix/lib/esql/checkapi.o -lifglx

# Add any extra libs in here if required
LIBS=$IFX_LIBS

export LIBS

./configure --prefix=$APACHE_DIR \
--activate-module=src/modules/php4/libphp4.a

Regards,
- Paul -

- Original Message -
From: Muciño Zúñiga Marco Antonio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 6:35 PM
Subject: [PHP-DB] PHP and Informix installation


Hi, I installed php y my UNIX SCO Openserver and it works fine. Now, in the
same server is installed the Informix Online 5.10. I want to access the
Informix databases then I run the next commands successfully:

cd php-4.0.6
./configure --with-apache=../apache_1.3.20 --enable-track-vars
--with-informix=/usr/informix
make
make install
cd ../apache_1.3.20
./configure --prefix=/usr/internet/apache
--activate-module=src/modules/php4/libphp4.a

All is OK until the last command (./configure ...) I get the error messages:

# ./configure --prefix=/usr/internet/apache
--activate-module=src/modules/php4/libphp4.a

Configuring for Apache, Version 1.3.20

 + using installation path layout: Apache (config.layout)

 + activated php4 module (modules/php4/libphp4.a)

Creating Makefile

Creating Configuration.apaci in src

Creating Makefile in src

 + configured for SCO 5 platform

 + setting C compiler to gcc

 + setting C pre-processor to gcc -E

 + checking for system header files

 + adding selected modules

o php4_module uses ConfigStart/End

 + checking sizeof various data types

 + doing sanity check on compiler and options

** A test compilation with your Makefile configuration

** failed.  The below error output from the compilation

** test will give you an idea what is failing. Note that

** Apache requires an ANSI C Compiler, such as gcc.



cd ..; gcc  -DSCO5 -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/main
-I/tmp/php-4.0.6/main
-I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/TSRM
-I/tmp/php-4.0
.6/TSRM -I/tmp/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci`
 -o helpers/dummy helpers/dummy.c   -L/usr/informix/lib
-L/usr/informix/lib/
esql -L/tmp/php-4.0.6/ext/informix  -L/usr/informix/lib
-L/usr/informix/lib/esql
 -L/tmp/php-4.0.6/ext/informix -Lmodules/php4 -L../modules/php4
-L../../modules/
php4 -lmodphp4   -lifsql -lifasf -lifgen -lifos -lifgls -lnsl_s -lcrypt_i
-lgen
-lsocket -lnsl -lsuds -ltinfo -lprot -lx -ltinfo -lc -lphpifx -lifglx
-lcrypt -l
m -lsocket  -lsocket   -lsocket -lmalloc -lprot -ltinfo -lx -lm

Undefined   first referenced

 symbol in file

getspnam/usr/informix/lib/esql/libifos.so

helpers/dummy: fatal error: Symbol referencing errors. No output written to
help
ers/dummy

make: *** [dummy] Error 1

 Error Output for sanity check 

= End of Error Report =



 Aborting!




Looks like the library libifos.so is wrong, does anyone have an idea what's
going on? Thanks in advance.

Marco Muciño


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Informix Question (Still need help,please)

2001-06-22 Thread Paul Gardiner

Hi,

Have a try with something like this. Not tested and it's Friday ;o)

$connid = ifx_connect(blah,blah,blah) or
  die(An error occurred connecting to database);

$Query = SELECT tracknum,orderdate,ordertotal,status,shipdate .
FROM orders .
WHERE tracknum = '$trknum' ;

$rid = ifx_query($Query, $connid, IFX_SCROLL) or
 die(An error occurred querying database);

$row = ifx_fetch_row($rid, NEXT);

$orderdate = $row['orderdate'];

$Query = SELECT stuff .
FROM somewhere .
WHERE orderdate = '$orderdate' ;


$rid = ifx_query($Query, $connid, IFX_SCROLL) or
 die(An error occurred querying database);

@ifx_htmltbl_result($rid,border=1);

ifx_free_result ($rid);

ifx_close($connid);

Regards,
- Paul -

- Original Message -
From: wflow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 10:23 PM
Subject: Re: [PHP-DB] Informix Question (Still need help,please)


 Chris,

 Thanks for the advice, of course I already did rtfm and the
ifx_fetch_rows
 entry did not really help me. It, in fact

 does NOT return an enumerated array, as the top line of the page states.
It
 ONLY returns an associative array.
 If there was an ifx_fetch_array like the one for MySQL, I would not have
to
 even post this question.

 I only did post the question, because I needed help and figured I would
ask
 the experts, but all I got was somebody who says rtfm and most likely
did
 not read or understand my question, so, thanks a lot.



 B

 Christian Haul [EMAIL PROTECTED] wrote in message
 9gsg0u$6nf$[EMAIL PROTECTED]">news:9gsg0u$6nf$[EMAIL PROTECTED]...
  wflow [EMAIL PROTECTED] wrote:
   Hi All,
 
   What I want to do is create another query from some of the data from
 another
   one. The question is how do I take the data I get back from my first
 query
   and put that into variables so I can build my second query. The
example
 I
   have in mind is:
 
   I a do a select tracknum,orderdate,ordertotal,status,shipdate from
 orders
   where tracknum = '$trknum' and I want the data returned into vars:
like
   orderdate = $orderdate so I can create a new query like: select * from
   shipping where orderdate = '$orderdate'.
 
   @ifx_htmltbl_result($sql_result,border=1);
 
  You might want to consider reading the php manual, especially the part
on
 functions
  and even more the one on informix functions. There you'll find a
function
  called ifx_fetch_row.
 
  Chris.
 
  --
  PHP Database Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 



 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Error MSG -410 while executing a select with ifx_query on a informix database on linux

2001-05-22 Thread Paul Gardiner

Hi Robert,

isql comes from (I)nformix (S)trutured (Q)uery (L)anguage. It's similar to
your sql-editor. I use the SE Database engine and not the Dynamic Server
like yourself. Whether this has anything to do with it I don't know but I
did run your code on my server just to make sure it ran properly and I
hadn't missed something. Obviously, changing the database connection and
select field and table.

Can you post the exact output of the page, not the html source?

Regards,
- Paul -

- Original Message -
From: Robert Hennig [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 22, 2001 3:40 PM
Subject: Re: [PHP-DB] Error MSG -410 while executing a select with ifx_query
on a informix database on linux


 Hi Paul,

 thanks for your fast reply. Maybe you could help me again :-) We are
working
 a lot with informix, so we thought to know every Programm, but isql is
 completely unknown. Is this a special programm?

 We have executed this select with a sql-editor on the server also as with
 dbaccess, on both it works.

 Thanks

 Robert

 Paul Gardiner [EMAIL PROTECTED] schrieb im Newsbeitrag
 001201c0e2ca$730d0c40$0200a8c0@PDG">news:001201c0e2ca$730d0c40$0200a8c0@PDG...
  Hi Robert,
 
  Your test code is correct although you could do with an
 ifx_close($conn_id);
  at the end.
 
  Have you tried running isql(assuming you've got it) and just trying to
run
  the query from there?
 
  Regards,
  - Paul -




 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PHP4, APACHE, SCO INFORMIX

2001-04-30 Thread Paul Gardiner

Hi Everyone,

Firstly, apologies for cross posting but I wanted to make sure this got to
the relevant people.

I am continually getting people asking me off list for information regarding
building the above combination. I don't mind as it's encouraging to see PHP
spreading to this type of platform. All I ask is that if anyone requires
help then please direct it to the PHP-Install list so others may benefit
from the replies given. I will try to compile a complete install guide when
I get time and perhaps one of the PHP associated sites would be able to host
it. It maybe an idea for others to contribute with their particular build so
that a centrally managed install guide could be set up and perhaps free up
some of the traffic on the lists?

Best regards,
- Paul -


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] meta tag inside php / redirect / refresh

2001-03-16 Thread Paul Gardiner

Hi Marc,

Try this - untested and I'm very sleepy, but should get you closer ;o)

html
head
titleRefresh Test/title
?php if($check_num == 0) echo "META HTTP-EQUIV=\"REFRESH\"
CONTENT=\"5;URL=http://www.chescolawyers.com/BB/index2.shtml\"";
?
/head


Regards,
- Paul -



- Original Message - 
From: "Marc Bragg" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 4:09 AM
Subject: [PHP-DB] meta tag inside php / redirect / refresh


 Crazy after hours of syntax. How do you insert php code so that on
 different results, 1 or 0, a different the resulting html page is
 redirected or refreshed to a dfiferent url . . . . i tried:
 
 ?php if(check_num == 0) meta http-equiv="refresh"
 content="5;URL=http://www.chescolawyers.com/BB/index2.shtml"
 ?
 
  to no avail.
 
 help
 
 thanx
 
 
 
 -- 
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] php client -- informix-se

2001-02-12 Thread Paul Gardiner

Hello Luigi,

I'm afraid before you're able to use the informix database it will have to
be upgraded to at least version 7.x. We have SCO Openserver 5.0.4 running
the Informix SE 7.2 with PHP4 and Apache and all works well. We too have an
NT server but would not even entertain the idea of running the web server
from there. For us the unix box is so much more reliable.

Regards,
- Paul -

- Original Message -
From: "Luigi Casiraghi" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 10:10 PM
Subject: [PHP-DB] php client -- informix-se


 Dear all,

 I have a  question for you.

 Given the following configuration:

 - One NT machine with Apache 3.14 and php4 (from www.php4.de) installed
(the one that should act like client)
 - One Sco_SV system Release 3.2v5.0.5 with INFORMIX-SE Version 5.10.UD1
(the server)

 Are my SCO-UNIX Release and INFORMIX-SE Version  suitable for use
 with PHP4 ?

 I would like to create php4 scripts that connect from the NT machine
 to the Informix Server, execute query, etc to diplay formatted data
 throught Apache.

 PHP has been configured to use the php_ifx.dll but when I execute
 a simple script with only phpinfo() to see php configuration I receive
 the following message:

 "can't find the dinamyc library isqlt09a.dll in the specified path"

 and as a consegunce

 "cant load php_ifx.dll..."

 the fact is that there isn't the file isqlt09a.dll on the NT system.

 what file is it ?

 What are the pieces I need to complete the puzzle and where can I get
 them ?

 a great thanks in advance to everyone that can give me an help.

 bye,

 Luigi Casiraghi
 [EMAIL PROTECTED]
 Italy


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]