[PHP] PHP and Oracle

2002-03-25 Thread Scarbrough, Jeb (ISS Atlanta)

Is it possible to create a transaction the involves multiple pages using PHP
and oracle.  For example, can I log onto oracle using OCIPLogon on one page
named master, insert information, go to the next page named detail, insert
information and commit both transactions at the same time?

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




[PHP] writing files

2001-09-25 Thread Scarbrough, Jeb (ISS Atlanta)

When I run the code below it writes the image to the webroot/images
directory on a Solaris machine running iPlanet and php4.04pl1.  When I run
the exactly same code on a Solaris machine running iPlanet and php4.08 it
tries to write the file to root/images/image1.png.  Why would one write
to the webroot and one write to the file system root?  Is there
configuration directive I can put in the php.ini to resolve?  What am I
missing here?  

Thanks!


?php
$key = /images/image1.png;
$value = http://xxx.xxx.xxx.xxx?type=PNG;;
if(file_exists($key)) {
$diff =  time() - filemtime($key);
if($diff = 3600) {
unlink($key);
}
$im = ImageCreateFromPNG($value);
$isCreated = imagepng($im, $key, '80');
}
?


Jeb Scarbrough
[EMAIL PROTECTED]

Internet Security Systems, Inc.
6303 Barfield Road
Atlanta, Georgia 30328 
Phone: 404-236-3292
Fax: 404-236-2626
_

-- 
PHP General 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] iPlanet PHP

2001-09-14 Thread Scarbrough, Jeb (ISS Atlanta)

I have configured my PHP with the following
--with-oci8=\XX
--with-nsapi=\XX
--with-gd=\\
--with-ldap
--enable-libgcc
--enable-track-vars

I have just loaded and installed RSA AceAgent on the server to provide us
with token access. Before I loaded this software I was able to view all of
my webpages. Now when I try to view the pages I get a login page (not the
problem) after I log into the token server I get the following response
from the server 
Warning: Failed opening '/index.php' for inclusion
(include_path='/x/x//includes:////adminincludes:.')
in Unknown on line 0

what is the problem?

Jeb Scarbrough

-- 
PHP General 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] PHP and SecurID

2001-09-11 Thread Scarbrough, Jeb (ISS Atlanta)

Has anyone used PHP with SecurID and Netscape Enterprise server?  Can this
be done?


Jeb Scarbrough
[EMAIL PROTECTED]

Internet Security Systems, Inc.
6303 Barfield Road
Atlanta, Georgia 30328 
Phone: 404-236-3292
Fax: 404-236-2626
_

-- 
PHP General 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]