php-general Digest 2 Jul 2009 13:45:48 -0000 Issue 6207

2009-07-02 Thread php-general-digest-help
php-general Digest 2 Jul 2009 13:45:48 - Issue 6207 Topics (messages 294818 through 294827): Re: exasperated again 294818 by: Maximiliano Churichi PHP --info giving segmentation fault 294819 by: Vivek Katakam PHP Raw-listing Problem 294820 by: Parham Doustdar Re:

php-general Digest 3 Jul 2009 03:27:48 -0000 Issue 6208

2009-07-02 Thread php-general-digest-help
php-general Digest 3 Jul 2009 03:27:48 - Issue 6208 Topics (messages 294828 through 294840): Re: Dom PDF Problem 294828 by: Paul M Foster generally, where in cPanel can one set the default page to load? 294829 by: Govinda 294830 by: Daniel Brown 294831 by:

RE: [PHP] removing an array from a compound array

2009-07-02 Thread Ford, Mike
-Original Message- From: Andres Gonzalez [mailto:and...@packetstorm.com] Sent: 02 July 2009 00:46 To: php-general@lists.php.net Subject: [PHP] removing an array from a compound array I have a compound array, that is, an array of an array of an array, etc, that is about 5 arrays

Re: [PHP] Apache module PHP 5.3 on Windows

2009-07-02 Thread Lester Caine
Jonathan Tapicer wrote: What version, VC6 or VC9, TS or NTS? I use VC6 TS and the dll is there... Of cause no one has asked yet which version you use if you have to test BOTH Apache and IIS ;) -- Lester Caine - G8HFL - Contact -

Re: RE: [PHP] removing an array from a compound array

2009-07-02 Thread zhoo
yes,i agree with Mike's method. 2009-07-02 zhoo 发件人: Ford, Mike 发送时间: 2009-07-02 15:12:20 收件人: Andres Gonzalez; php-general@lists.php.net 抄送: 主题: RE: [PHP] removing an array from a compound array -Original Message- From: Andres Gonzalez [mailto:and...@packetstorm.com]

Re: [PHP] Re: PHP 5.3.0 Released!

2009-07-02 Thread Nick Cooper
Does anyone have any further information on the PECL Binaries for 5.3, will they be released? 2009/6/30 pan p...@syix.com Lukas Kahwe Smith wrote: Hello! The PHP Development Team would like to announce the immediate release of PHP 5.3.0. This release is a major improvement in the 5.X

Re: [PHP] Re: PHP 5.3.0 Released!

2009-07-02 Thread Michael A. Peters
Nick Cooper wrote: Does anyone have any further information on the PECL Binaries for 5.3, will they be released? I don't, but I suspect it is just a matter of compile + test. On Linux (CentOS) I've only done testing with i386 but none of the pecl modules I personally am using w/ 5.2.9 failed

[PHP] Dom PDF Problem

2009-07-02 Thread Pravinc
Hey all, I am working with generating PDF using Dom PDF. My problem is when I generate a single PDF , Its working fine. But when I code it in a loop for generating more than one PDF it gives some error. $DomObj = new DOMPDF(); $DomObj-load_html_file($pth);

Re: [PHP] removing an array from a compound array

2009-07-02 Thread Andres Gonzalez
Duh! I should have known that. I actually tried that and had a problem so I thought unset() would not work on an array. Guess that problem was elsewhere. Thanks for the responses... -Andres Ford, Mike wrote: -Original Message- From: Andres Gonzalez [mailto:and...@packetstorm.com]

Re: [PHP] Dom PDF Problem

2009-07-02 Thread Paul M Foster
On Thu, Jul 02, 2009 at 04:29:01PM +0530, Pravinc wrote: Hey all, I am working with generating PDF using Dom PDF. My problem is when I generate a single PDF , Its working fine. But when I code it in a loop for generating more than one PDF it gives some error. $DomObj = new

[PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Govinda
Dear list-members I am using what I assume is a pretty standard cPanel setup (?) I would like to be able change the mime types/extension so that .html gets sent through the PHP interpreter, but I see the cPanel docs say ...(note that you can not alter the system defined mime type

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Daniel Brown
On Thu, Jul 2, 2009 at 12:40, Govindagovinda.webdnat...@gmail.com wrote: Can someone point me to this? Wrong list. ;-P In fact, check Google for .htaccess MIME aliasing. It's nothing to do with PHP, nor cPanel, really. -- /Daniel P. Brown daniel.br...@parasane.net ||

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Michael A. Peters
Govinda wrote: Dear list-members I am using what I assume is a pretty standard cPanel setup (?) I would like to be able change the mime types/extension so that .html gets sent through the PHP interpreter, but I see the cPanel docs say ...(note that you can not alter the system defined mime

[PHP] namespace keyword

2009-07-02 Thread Martin Scotta
Hil all I'm a 5.2.0 user (WINXP) I have a class like this... Class IsThisBad { const NAMESPACE = 'something'; /* code */ function __construct( $other=self::NAMESPACE ) { /* do stuff */ } } Recently the version 5.3 was released, so... should I change the const NAMESPACE in

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Govinda
If you have mod_rewrite installed - put the following in your .htaccess file: RewriteEngine on RewriteRule ^index\.html$ index.php [L] That will cause index.php to be called when index.html is requested. If you want it to forward to index.php then use [R] instead of [L] If you want all

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Daniel Brown
On Thu, Jul 2, 2009 at 13:38, Govindagovinda.webdnat...@gmail.com wrote: I must not have mod-rewrite installed (I am 98% uneducated about apache/server admin). I will save your post though MIchael, for when I get more to that level..  you gave a good lead. You've got mod_rewrite on

[PHP] Re: namespace keyword

2009-07-02 Thread Greg Beaver
Martin Scotta wrote: Hil all I'm a 5.2.0 user (WINXP) I have a class like this... Class IsThisBad { const NAMESPACE = 'something'; /* code */ function __construct( $other=self::NAMESPACE ) { /* do stuff */ } } Recently the version 5.3 was released, so...

[PHP] Implode a 2D Array

2009-07-02 Thread salmarayan
Can any one tell me how can i implode a two D Array. i can implode normal arrays, but when i try to implode multidimensional Arrays, the result is empty. can some one tell me how to implode an array Like This $x=array ( [0] = array ( [side] = sell [stock_code] = AFMC.CA [quantity] = 200 ) ,

Re: [PHP] Implode a 2D Array

2009-07-02 Thread Shawn McKenzie
salmarayan wrote: Can any one tell me how can i implode a two D Array. i can implode normal arrays, but when i try to implode multidimensional Arrays, the result is empty. can some one tell me how to implode an array Like This $x=array ( [0] = array ( [side] = sell [stock_code] = AFMC.CA

Re: [PHP] generally, where in cPanel can one set the default page to load?

2009-07-02 Thread Govinda
On Jul 2, 2009, at 11:40 AM, Daniel Brown wrote: On Thu, Jul 2, 2009 at 13:38, Govindagovinda.webdnat...@gmail.com wrote: I must not have mod-rewrite installed (I am 98% uneducated about apache/server admin). I will save your post though MIchael, for when I get more to that level.. you

Re: [PHP] cannot figure out permissions for fopen/fwrite

2009-07-02 Thread Waynn Lue
The tmp folder isn't accessible from the web though, right? Someone would first have to get access to your server for that. On 7/1/09, Mari Masuda mbmas...@stanford.edu wrote: On Jul 1, 2009, at 12:54, Shawn McKenzie wrote: Mari Masuda wrote: On Jul 1, 2009, at 12:20, Shawn McKenzie wrote:

[PHP] Sessions

2009-07-02 Thread Jason Carson
Hello all, Do I have to add session_start() at the beginning of every page so that the $_SESSION variables work on all pages or do I use session_start() on the first page and something else on other pages? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Sessions

2009-07-02 Thread Daniel Brown
On Thu, Jul 2, 2009 at 23:27, Jason Carsonja...@jasoncarson.ca wrote: Hello all, Do I have to add session_start() at the beginning of every page so that the $_SESSION variables work on all pages or do I use session_start() on the first page and something else on other pages? Yes, unless

Re: [PHP] cannot figure out permissions for fopen/fwrite

2009-07-02 Thread Mari Masuda
Yes, currently the tmp folder (or any folders in my Apache htdocs folder) is not accessible to the web due to the Mac's built-in firewall set to block all incoming traffic except network time and something installed by Adobe when I installed CS4 (e.g., Photoshop, InDesign, etc.). However,

[PHP] Encoding problems on IIS7 + FastCGI on windows server 2008

2009-07-02 Thread Jon Lau
Hi, The php scripts works OK on windows 2000 server ( it supports chinese, english japanese - UTF-8 encoding) but it shows ??? ( non-english chars ) when copied to IIS7 + Fastcgi on windows 2008. Is there some settings to change in php.ini ? Regards, Jon Lau -- PHP General Mailing List