[PHP] Uploading/retrieving binary files into Oracle??

2003-06-23 Thread Michael Champagne
Can anyone point me to some sample code for uploading and later retrieving PDFs or other binary files into an Oracle BLOB field? I've been searching for some time and haven't been able to come up with anything. It looks like there's new LOB functions for OCI but they aren't documented at all on t

[PHP] Uploading/retrieving PDFs to and from Oracle BLOB

2003-06-20 Thread Michael Champagne
Can anyone point me to some sample code for uploading and later retrieving PDFs or other binary files into an Oracle BLOB field? I've been searching for some time and haven't been able to come up with anything. It looks like there's new LOB functions for OCI but they aren't documented at all on t

[PHP] Session problems with popup window

2002-07-08 Thread Michael Champagne
window, we lose this session data and the user ID and the page chokes because it cannot find the user directory because we've lost the user ID. Does anyone have any ideas how we can get around this? Thanks in advance for any replies -- this mailing list has been a huge help for us. -- Mi

Re: [PHP] Re: Question for you guys on best tools for a job

2002-04-29 Thread Michael Champagne
ing on the client end. Mike > Why don't you use javascript to refresh the page from time to time. > > Michael Champagne wrote: > > I'm not even sure this is possible without doing a client side java applet of > > some sort. > > > > We are considering po

[PHP] Question for you guys on best tools for a job

2002-04-29 Thread Michael Champagne
y ideas? Thanks in advance for any responses. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is

Re: [PHP] Re: PHP slash Apache question?

2001-10-02 Thread Michael Champagne
Great, thanks for the response Jim. Would there possibly be a way around this using mod_rewrite? Thanks, Mike > Michael Champagne <[EMAIL PROTECTED]> wrote: > > Ok, this is semi-related to PHP. I think it may mainly be our Apache > > configuration. We have our liste

[PHP] PHP slash Apache question?

2001-10-02 Thread Michael Champagne
yntax error' in the title bar of the browser and the body says 'The page cannot be displayed'. Thanks in advance for any replies. Also, the index page that this is going to is issued location redirect through PHP that moves it to another page. -- Michael Champagne, Softw

[PHP] Help - error loading PHP into Apache

2001-09-26 Thread Michael Champagne
alled and enabled. Does anyone see what my problem is here? Thanks in advance for any replies, -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] **

[PHP] display_errors=on with sessions

2001-09-24 Thread Michael Champagne
s? We use sessions very heavily so I'm wondering if the crashes are caused because the PHP error messages put output on the screen and the session_start() can't work since output has already gone by. Anyone else have experiences with this? Thanks, Michael Champagne, Software Engineer C

[PHP] Need help with auto_prepend_file

2001-09-24 Thread Michael Champagne
Our website relies heavily on include files. We have a single include file that is 'auto prepended' to every php file on the site using the auto_prepend_file directive in php.ini. This include file does an include_once on other include files. Also, most parts of our code include other page comp

[PHP] Handling sessions between servers?

2001-09-17 Thread Michael Champagne
Is it possible to handle sessions with PHP between separate web servers? We have 2 Apache servers and would like to share session data between them. If we keep the session data on an NFS mounted drive -- will this work? Would it be better to write custom session handlers to store session data i

Re: [PHP] Content management

2001-09-10 Thread Michael Champagne
oes anyone have some links or examples of this kind of > system from > a layout perspective, even functionality. I want to deliver something they can > really use. > > Thanks, > > -Scott > > > -- Michael Champagne, Software Engineer Capital Institutiona

Re: [PHP] Re: How can I make a Loading... screen?

2001-08-01 Thread Michael Champagne
; > function itsThinkingClose() { > imgWindow.close(); > } > > and then at the beginning of the page, before the search begins, in php I > put > echo "itsThinkingOpen()"; > > and after the code to search the database I put > echo "itsThinkingClose()&q

[PHP] How can I make a Loading... screen?

2001-08-01 Thread Michael Champagne
I have a popup window that populates a table with rows from a database and it normally takes about 15 to 20 seconds to load. Does anyone know how I can display a 'Loading... Please Wait.' that will disappear once the data comes up? Thanks in advance for any responses, Mike ***

Re: [PHP] a good PHP editor

2001-07-19 Thread Michael Champagne
7;s Komodo and both seem to have > problems (crashing etc...). Anybody got any suggestions? Free/small fee > programs doesn't matter.... Thanks > > Doug Henry > > > -- Michael Champagne, Software Engineer Capital Institutional

[PHP] Ocifreestatement() and shared memory error?

2001-07-19 Thread Michael Champagne
We recently ran into Oracle error ORA-04031 which has something to do with your shared memory being filled up or thrashed (I'm not a DBA so I'm vague on this.) I noticed that a lot of the PHP code on the site is not using ocifreestatement() or ocilogoff() after executing. Could this have caused

[PHP] Array problem in PHP. Please help.

2001-07-12 Thread Michael Champagne
cription [first_money] => First Money [buy_sell] => Buy/Sell [comm] ) -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communi

[PHP] Storing serialized classes in database

2001-07-09 Thread Michael Champagne
s, I'm assuming the serialized objects in the database become unusable. Does anyone have a good solution for this? I suppose we could go through the database and somehow convert these serialized 'profiles' to meet the new class spec. How much of a hassle is that? Thanks in advan

Re: [PHP] Help with PHP/Oracle and serializing data

2001-06-26 Thread Michael Champagne
www.phptemplates.org > > ----- Original Message - > From: "Michael Champagne" <[EMAIL PROTECTED]> > To: "PHP General Mailing List" <[EMAIL PROTECTED]> > Sent: Monday, June 25, 2001 2:42 PM > Subject: [PHP] Help with PHP/Oracle and serializing data &

[PHP] Help with PHP/Oracle and serializing data

2001-06-25 Thread Michael Champagne
a now, but other applications that we do in the future may. Would this be a place to use a CLOB or should I stick with varchar2? Thanks! -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL

[PHP] How does everyone else do this? .php in URL

2001-05-09 Thread Michael Champagne
I have an area of our site where you can turn off certain 'systems' by clicking a button. This is all done in HTML and it brings up a javascript box to verify that this is really what you want to do.. It then does a header("location: ...") to redirect to a .php file that locks down the site. The

[PHP] Databases and HTML forms

2001-04-20 Thread Michael Champagne
I'm needing to have a form that pulls a bunch of database fields into it and then allows you to modify the fields and does the subsequent update in the database. This seems like something that has to be done all the time. Is there a right way to go about doing this? Some kind of class library o

[PHP] Headers sent by - need to clear screen - help me

2001-04-20 Thread Michael Champagne
I don't know if I'm wording this right. I have a display_error function in PHP that I want to generate a screen with some information about the error, send us email, etc. The problem is that sometimes it's called after the headers have been sent and in the middle of a page. Is there a way to 'c

Re: [PHP] PHP Editor for Linux

2001-03-30 Thread Michael Champagne
What about the greatness of VIM? > Hi there! > > I use bluefish for HTML and PHP coding, but I'm not too happy with it. Do > you know a good PHP Editor for Linux, besides Emacs and xjed...? > > > > TIA > > > > > -- Michael Champagne, Software Engi

Re: [PHP] Array in Session-Vars?

2001-03-30 Thread Michael Champagne
; > Hi, > > Never tried it either, but from previous postings I remember you > should just be able to use array's with no prob's. > > (4 all I can remember i.e.) > > * R&zE: > > *** > ** Renze M

[PHP] Error during session_start - is this a bug?

2001-03-29 Thread Michael Champagne
Ok, in testing our site that heavily uses sessions I came across this error: Warning: open(/tmp/sess_f3051699b0f1ae4a89570e66dab05de9, O_RDWR) failed: m (0) in /ora9ias/Apache/Apache/php/cisweb_global.inc on line 19 I can't figure out what causes it. It just happens occasionally when I'm calli

Re: [PHP] Is it possible to have href link refer to same PHP file?

2001-03-27 Thread Michael Champagne
But then how would you process it in the same file? If I'm calling it from myfile and my link is to myfile then how does it know that it's already been clicked? Thanks, Mike > On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time), Michael > Champagne ([EMAIL PROTECTED]) wr

[PHP] Is it possible to have href link refer to same PHP file?

2001-03-27 Thread Michael Champagne
t it seems like it would be nicer to have this in the same file. Thanks! -- Michael Champagne wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is not intended as a

RE: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-26 Thread Michael Champagne
y_session_var] > is enough. > > Kirk > > > > -Original Message- > > From: Michael Champagne [mailto:[EMAIL PROTECTED]] > > Subject: RE: [PHP] I don't understand HTTP_SESSION_VARS > > > > > > YES! That's what it was. You rule ma

[PHP] Getting Javascript variable into PHP

2001-03-26 Thread Michael Champagne
ege or not? If there's a better way to do this please let me know. Thanks in advance for any replies. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** T

[PHP] PHP error parsing SQL string containing assoc. array

2001-03-23 Thread Michael Champagne
$user_fields['MINS_TILL_EXPIRE'] * 1/1440))" I get this error back from PHP: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' Can I not use my associative array like this? -- Michael Champagne, Software Engineer Capital Institution

[PHP] What is session.cookie_secure?

2001-03-23 Thread Michael Champagne
I noticed the setting session.cookie_secure in my php_info(), but could not find anything mentioned about it in the documentation. Does anyone know what this setting does? -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED

RE: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
missions arising as a result of > transmission. Use of this communication by other than intended > recipients is prohibited. > ** > -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.

Re: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
hink that would work. For > instance, > > $a="b" > session_register($a); > > actually registers a variable called $b. I made that mistake in my post > too. > > > > > -- Michael Champagne, Software Engineer Capital

Re: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
> > > > function set session() > > > { > > > global $my_session_var,$HTTP_SESSION_VARS; > > > session_start(); > > > $my_session_var = "Blah blah"; > > > session_register($HTTP_SESSION_VARS['my_session_var']); > > >

Re: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
> > session_register($HTTP_SESSION_VARS['my_session_var']); > > } > > Kirk > > > > -Original Message- > > From: Michael Champagne [mailto:[EMAIL PROTECTED]] > > Sent: Friday, March 23, 2001 1:32 PM > > To: PHP General Mailing List > > Subj

Re: [PHP] I don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
"If track_vars is enabled and register_globals is disabled, only members of > the global associative array $HTTP_SESSION_VARS can be registered as session > variables. " > > so, did you try this: > > session_register($HTTP_SESSION_VARS["my_session_var"]; >

[PHP] I don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
obal $HTTP_SESSION_VARS; session_start(); echo ($HTTP_SESSION_VARS[my_session_var]); } I assume this isn't the right way to do it since it doesn't seem to work. I have register_globals off. Does anyone know what I should be doing? Thanks in advance for any replies! -- Michael Champagne

[PHP] Don't understand HTTP_SESSION_VARS

2001-03-23 Thread Michael Champagne
on. Does anyone know exactly how this works or can point me to a reference page that has how this works? Thanks in advance for any replies. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ***

[PHP] Ack! Cookie Problems!

2001-03-21 Thread Michael Champagne
and check for a variable at the beginning and redirect to the login page if the var is not found. Does anyone know what's up with this? Thanks for your help in advance. -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED]

[PHP] Custom Session Handlers with Oracle?

2001-03-21 Thread Michael Champagne
e. Thanks! -- Michael Champagne, Software Engineer Capital Institutional Services, Inc. wk: [EMAIL PROTECTED] hm: [EMAIL PROTECTED] ** This communication is for informational purposes only. It is not intended as an offer or solicitati

[PHP] AIX 4.3.3 + Oracle 9iAS + PHP 4.0.4pl1 with OCI8 instructions

2001-02-20 Thread Michael Champagne
t is loaded all the time. We then added the following lines to httpds.conf: AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps This routes file extensions of these types to mod_php. THIS SHOULD BE IT. Restart Apache and try running through as a test. H

[PHP] PHP 4.0.4pl1 + Oracle 9iAS + AIX 4.3.3 - Seg faults at first PHP call -Pthreads?

2001-02-18 Thread Michael Champagne
re warning: Unable to access address 0x2007d708 from core [using memory image in ../core] warning: Unable to access address 0xf01558e4 from core Segmentation fault in signal._p_nsleep [/usr/lib/libpthreads.a] at 0xd0013db4 0xd0013db4 (_p_nsleep+0x10) 80410014lwz r2,0x14(r1) Any ideas?