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
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
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
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
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
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
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
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]
**
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
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
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
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
;
> 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
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
***
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
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
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
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
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
&
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
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
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
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
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
;
> 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
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
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
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
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
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
$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
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
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.
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
>
> > > 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']);
> > >
> > 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
"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"];
>
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
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]
***
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]
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
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
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?
43 matches
Mail list logo