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 [mailt
t; Sent: Thursday, December 30, 2004 3:08 PM
> 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
John Nichel [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
> > insta
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
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
thoug
> 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
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",
a, $result);
-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.
Th
Oops I catted the wrong file. But the file is exactly the same as mem.php.
[EMAIL PROTECTED] swap]# cat mem.php
-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
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 bypassed
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 ex
I can't seem to use the shell_exec() command.
Here is the program:
I can make this script executable via chmod 700 mem.php and run it directly
via the command line. Only then I can get it to work on my redhat 9 machine.
The problem is I call this script from another script to plot out t
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 sur
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 lin
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 wor
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 address
16 matches
Mail list logo