RE: [PHP] PHP 4.3.3 Install, Errors??

2003-09-26 Thread Adam Douglas
ks for the help! > Unless you need PEAR, you're fine. Try configuring > --without-pear. You should > really be doing this anyways unless actually need PEAR. > > Evan Nemerson > > > On Thursday 11 September 2003 02:10 pm, Adam Douglas wrote: > > Hi. I have a machi

[PHP] PHP 4.3.3 Install, Errors??

2003-09-11 Thread Adam Douglas
Hi. I have a machine that's been freshly installed with PHP 4.1.1. I wanted to upgrade it to PHP 4.3.3. So I did the following below as SU and received the below errors. Is this something I should be worried about? How can I resolve the errors? Never have had this happen before in the past. I ran p

RE: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Adam Douglas
an be something done about this or at least get some error message to determine what is going on. > btw have you checked if you are in safe_mode? in php.ini > error level can also be set in php.ini > > my guess is that you have a problem in your chroot setup. > Adam Douglas wrote:

RE: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Adam Douglas
Mmm... okay. I tried that and nothing. Is there no way for me to determine what the problem is? Error message some place, log file, etc? I do not understand why this is not work. Even a simple example from the PHP manual on system() does not work. > I meant to do this: > > $szPipe = `/htdocs/gs -

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> Backticks is simply the ` sign (usually the character above the tab). > Popularly know as `hair on the ear` in my country :-) > for example if you want to invoke ls from php you just type > > $result = `ls`; > > hey presto the output from ls is now in your $result variable. Ohhh okay. Well if

[PHP] PHP-General List post bounces???

2003-09-10 Thread Adam Douglas
Why do I keep getting this? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2003 10:12 AM > To: [EMAIL PROTECTED] > Subject: [ERR] RE: [PHP] How to access a program outside of PHP? > > > Transmit Report: > > To: [EMAIL PROTECTED

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> >1) When I echo out $szPipe I get "Resource id #2". > > > Sorry i was thinking of backticks. btw have you tried it ? > (backticks) Backticks? Is this a PHP API function, I can't find it? That's the thing here I haven't been able to get things to work and I have no clue what I should use, exec(

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> > Hi. I'm trying to develop a web interface to the ghostscript (gs) > > application. I have the ghostscript syntax down perfectly > in the console. > > Now when I go to try and do it in PHP I get nothing. No > errors, nothing > just > > a blank page with PHP logs turned on and errors turned on.

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> 1) please try $szPipe and see if you get any output. > 2) if you are jailed in /var/htdocs/ your pathname /htdocs/qs > is incorrect. > 3) I guess you tried running gs from the jail either as > yourself or as > root. > please see if nobody or apache (the webserver's user) can run > gostscript.

[PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
Hi. I'm trying to develop a web interface to the ghostscript (gs) application. I have the ghostscript syntax down perfectly in the console. Now when I go to try and do it in PHP I get nothing. No errors, nothing just a blank page with PHP logs turned on and errors turned on. I'm running Apache wit

RE: [PHP] Session Initially Doesn't Work

2002-05-02 Thread Adam Douglas
> > Alright that's good to hear. In a specific case that I'm having > > this problem > > the main PHP file is including file (content) that refers to > > $_SESSION[nSID_PeopleID] in main. This value is vital in > > rendering the page. > > So it should be there right? Also about removing > session

RE: [PHP] Session Initially Does Work

2002-05-02 Thread Adam Douglas
> There is a session problem with 4.1 > > If register_globals is ON, then use session_register(). > > If it's off, then use $_SESSION["name"] = "value"; and the value will > automatically be registered. What kind of session problem? I currently have register_globals set to on. I am already usin

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
> That's correct, although the cookie will remain resident it > requires an > inital page change/refresh. However after looking at your > code I'm not > convinced that is the problem since the first page of a > session creation > should still be usable with the session as the session ID is >

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
> > something else after the initial page everything works fine. I > > require this > > to work initially because if someone comes in directly using a > > link certain > > content will render a error message because the registered > variable is not > > present for some reason. Oh and yes the cook

RE: [PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
I already have this setup. The session works just not on the initial page after login. > Add > > At the top of each page, before anything else is done. > > -Original Message----- > From: Adam Douglas [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 3:15

[PHP] Session Initially Does Work

2002-05-01 Thread Adam Douglas
Hi. I've run into a problem with my PHP session. I'm running PHP 4.1.0 on OpenBSD v3.0 using .HTACCESS and mod_mysql. I have a PHP file that is referenced every time content is requested on the web site (this file also sets/restores the session). This PHP file includes [include()] the requ