RE: [PHP] Quick compile question --with-oci8

2004-12-31 Thread Brian Duke
To: Brian Duke Subject: Re: [PHP] Quick compile question --with-oci8 Brian Duke wrote: Correct me if I'm wrong but we will have to install oracle8 || 9i before we can compile php --with-oci8. I don't really want to run oracle. Our local server only needs to use the oci8 functions to log

RE: [PHP] Apache 2.0.52 / PHP 4.3.10 Integration Question...

2004-12-31 Thread Brian Duke
What exactly does your script end in? I think you can make up your own extension and add it as well just tell apache what to use when it sees it. I.E. AddType application/x-httpd-php .fred I can't guarantee that's true but I think you can. -Original Message- From: Robin Getz

[PHP] Quick compile question --with-oci8

2004-12-30 Thread Brian Duke
This has been going on for about a week now. I have an oracle client installed. I have php4 source installed all on a stripped down fedora server. We get various errors. Like the infamous ld can find XXX in -lclntsh. Correct me if I'm wrong but we will have to install oracle8 || 9i before we can

RE: [PHP] Quick compile question --with-oci8

2004-12-30 Thread Brian Duke
[mailto:[EMAIL PROTECTED] Sent: Thursday, December 30, 2004 6:19 PM To: php-general@lists.php.net Subject: Re: [PHP] Quick compile question --with-oci8 Brian Duke wrote: This has been going on for about a week now. I have an oracle client installed. I have php4 source installed all

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
); -Original Message- From: Daevid Vincent [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 12:51 AM To: 'Brian Duke'; 'Jay Blanchard'; 'William Lovaton'; [EMAIL PROTECTED] Subject: RE: [PHP] I think this is a bug...cant use exec commands. This may seem obvious, but did you try the FULL

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
Forgive the top-post. I tried the php -I found php was looking for the php.ini in /var/www/conf. I copied php.ini from /etc/ to /var/www/conf. Now the shell_exec works fine. Thanks Jason. If I wanted to use exec() for this project in the future, is: (shell_exec (free -b)) = (exec(free -b,

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
They're different, see manual for details. The Manual is brilliant. exec(free -b, $data ,$result_code); print_r($data); Array ( [0] = total used free sharedbuffers cached [1] = Mem: 256917504 2494013447516160 0 29487104

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-02 Thread Brian Duke
Thank you all for your collective help. I was very frustrated. This list helped me find the answer quickly and once again PHP is slowly all beginning to make sense. The default values enable safe-mode and that is what Jason was trying to get me to check. Thus when the php.ini wasn't where php

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
I tell you the truth. I have only 1 php.ini. There are other ini files I have looked at but I have not found anything in them about safe mode. Everything has been double or triple checked. Still not able run any shell_exec commands from the command line. I need the output from free so if I use

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
Ok here is my php.ini. directly from /etc/php.ini ; Safe Mode ; safe_mode = Off ; By default, Safe Mode does a UID compare check when ; opening files. If you want to relax this to a GID compare, ; then turn on safe_mode_gid. safe_mode_gid = Off ; When safe_mode is on, UID/GID checks are

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
); $dataArray = explode(' ',$data); $total = $dataArray[16]; $used = $dataArray[17]; echo $used.chr(10); echo $total.chr(10); ? -Original Message- From: Brian Duke [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 12:21 AM To: 'Jason Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] I think

[PHP] I think this is a bug...cant use exec commands.

2004-03-31 Thread Brian Duke
I can't seem to use the shell_exec() command. Here is the program: ?php $data = shell_exec(free -b); $data = str_replace(' ',' ',$data); $data = str_replace(' ',' ',$data); $data = str_replace(' ',' ',$data); $data = str_replace(' ',' ',$data); $dataArray = explode(' ',$data);

[PHP] POST data

2002-12-03 Thread Brian Duke
Can someone tell me how I can access data from a POST? I don't mean the variables because the data I'm getting doesn't have any. I have a client that is doing a simple HTTP Post to a server and appending xml data right after the header. I need access to the xml blob. Thanks, Brian - Brian (Be

[PHP] RE: [PHP-INST] VERY NEWBIE php_* mod_* --with- question

2002-10-02 Thread Brian . Duke
Well, I'm not the best qualified to answer this question but here goes my best shot (Guru's watch me here make sure I don't screw this up). Starting with Apache. Apache does not actually process your *.php files. There is another engine that takes care of that called Zend. There are a couple

[PHP] Re: How can I uncompress zlib data in the browser?

2001-12-05 Thread Brian Duke
Thanks! It seems to work when I put this at the very top of my php file: ob_start(ob_gzhandler); When I do a tcpdump on port 80, I see a small amount of garbage with that statement and huge amount of text without it. The text displays correctly in my browser either way, so it looks like it

[PHP] How can I uncompress zlib data in the browser?

2001-12-04 Thread Brian Duke
Is it possible to use the zlib functions in php to compress data, send that data to the browser, then uncompress it? My clients will only be using IE so is there something in IE that will do it? Javascript? Thanks, Brian - Brian (Be sure to remove the # symbol before replying to my email