php-general Digest 20 May 2006 22:07:30 -0000 Issue 4139

2006-05-20 Thread php-general-digest-help
php-general Digest 20 May 2006 22:07:30 - Issue 4139 Topics (messages 236550 through 236558): Re: open_basedir 236550 by: David Robley Re: safe_mode 236551 by: tedd 236552 by: Rabin Vincent 236555 by: tedd Re: Encryption Advice 236553 by: Lawrence

[PHP] open_basedir

2006-05-20 Thread Nanu Kalmanovitz
Hi! Using Apache 2, MySQL ver. 4.0.15a, PHP 4.2.3 (NW6.5 sp1 - Netware \ Novell). I'm developing PHP files with Dreamweaver8 (Adobe-Macromedia). Trying to view a file (quote_insert.php) in a browser, it displays at: http://www.kalmanovitz.co.il/DW8_PHP_MySQL_tutorial/admin/quote_insert.php the

[PHP] Re: open_basedir

2006-05-20 Thread David Robley
Nanu Kalmanovitz wrote: Hi! Using Apache 2, MySQL ver. 4.0.15a, PHP 4.2.3 (NW6.5 sp1 - Netware \ Novell ). I'm developing PHP files with Dreamweaver8 (Adobe-Macromedia). Trying to view a file (quote_insert.php) in a browser, it displays at:

Re: [PHP] safe_mode

2006-05-20 Thread tedd
At 9:01 PM -0400 5/19/06, John Hicks wrote: tedd wrote: Hi gang: Please excuse me for asking another dumb-ass question, but here goes. I'm finding that setting safe_mode to ON is more difficult than I first thought. In my phpinfo, safe_mode is set to OFF -snip- You would think the fine

Re: [PHP] safe_mode

2006-05-20 Thread Rabin Vincent
On 5/20/06, tedd [EMAIL PROTECTED] wrote: At 9:01 PM -0400 5/19/06, John Hicks wrote: tedd wrote: Hi gang: Please excuse me for asking another dumb-ass question, but here goes. I'm finding that setting safe_mode to ON is more difficult than I first thought. In my phpinfo, safe_mode is set to

Re: [PHP] Encryption Advice

2006-05-20 Thread Lawrence Kennon
--- Rory Browne [EMAIL PROTECTED] wrote: It's better if, when it comes to time to checkout, you redirect your client to your Payment Service Providers (PSP's) website, your PSP processes the payment, and redirects the client back to your site. The PSP would then contact you directly

RE: [PHP] Encryption Advice

2006-05-20 Thread Kevin Davies
snip So let's say that I want to integrate a shopping cart with a PSP, right up to the moment they get to the checkout, they see my client's URL. They hit the Checkout button and then they will see the URL of the PSP? Then once they place the order then they are redirected back to my client's

Re: [PHP] safe_mode

2006-05-20 Thread tedd
What other obvious thing am I not seeing? php.net/ini says that php.ini in the working directory is only used if PHP is run from the command line. For PHP running on the web server, you should edit the system's php.ini file. You can find the location of this file with phpinfo(). Look for

Re: [PHP] Running two versions of PHP locally

2006-05-20 Thread Koen Martens
Scott Hurring wrote: On 5/19/06, John Hicks [EMAIL PROTECTED] wrote: [snip] It looks like 'application/x-httpd-php' is the default type for php4. Does php5 have a different type? Is there a way to explicitly assign a new type to a module? [snip] I'd be interested to know

Re: [PHP] round behavior changed

2006-05-20 Thread tedd
At 3:17 PM -0500 5/19/06, Richard Lynch wrote: On Fri, May 19, 2006 1:27 pm, Sébastien Guay wrote: I searched the archives but did not found anything. It seem that the round function behavior has changed in php 4.4.x (I don't have 4.4.1 handy for testing). In 4.3.11, the output of

[PHP] Captcha v1.0 (http://www.php.meezerk.com/index.php?page=captcha)

2006-05-20 Thread Beauford
Hi, I am trying to get a program, Captcha v1.0, working and not having much luck. The program says I need PHP version 4.3.10 or later or PHP version 5 and GD Library version 2.0 or later with JPEG support. I know I have PHP 5, but not sure about the GD Library. I was reading on one page I was

Re: [PHP] Captcha v1.0 (http://www.php.meezerk.com/index.php?page=captcha)

2006-05-20 Thread chris smith
On 5/21/06, Beauford [EMAIL PROTECTED] wrote: Hi, I am trying to get a program, Captcha v1.0, working and not having much luck. The program says I need PHP version 4.3.10 or later or PHP version 5 and GD Library version 2.0 or later with JPEG support. I know I have PHP 5, but not sure about

[PHP] Date() finding yesterday

2006-05-20 Thread John Taylor-Johnston
I cannot seem to get this right. How can I produce yesterday? $today = date(Y-m-d); $yesterday = date(Y-m-) . date(d)-1; $yesterday = date(Y-m-d)-1; $yesterday = date(Y-m-.d-1); I've been looking at the manual :) ... Thanks, John -- PHP General Mailing List (http://www.php.net/) To

[PHP] Beta3 of PHPEditIni now available

2006-05-20 Thread Jeremy O'Connor
The latest version of PHPEditIni is now available (Beta3). If fixes a bug in Linux/*nix. Use this script to edit your PHP.INI files in a browser based GUI. Visit http://phpeditini.net . -- The PHP EditIni Project [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Date() finding yesterday

2006-05-20 Thread Rabin Vincent
On 5/21/06, John Taylor-Johnston [EMAIL PROTECTED] wrote: I cannot seem to get this right. How can I produce yesterday? $today = date(Y-m-d); $yesterday = date(Y-m-) . date(d)-1; $yesterday = date(Y-m-d)-1; $yesterday = date(Y-m-.d-1); I've been looking at the manual :) ... Use

RE: [PHP] Captcha v1.0 (http://www.php.meezerk.com/index.php?page=captcha)

2006-05-20 Thread Beauford
The following are the errors I am getting - quite lengthy. Thanks $ make make all-recursive make[1]: Entering directory `/home/beauford/gd-2.0.33' Making all in config make[2]: Entering directory `/home/beauford/gd-2.0.33/config' make[2]: Nothing to be done for `all'. make[2]: Leaving