[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Hannes Magnusson
On Thu, Jul 19, 2012 at 8:36 PM, Ferenc Kovacs tyr...@gmail.com wrote: 2012.07.19. 20:21, Daniel Brown danbr...@php.net ezt írta: Forwarding to php-webmas...@lists.php.net, as it's not a general user issue where it pertains to php.net. On Thu, Jul 19, 2012 at 2:02 PM, Kris Craig

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Hannes Magnusson
On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr...@gmail.com wrote: Btw. we were asked by the to join the league as we were a big traffic source on the black out day. I don't know if Rasmus is on the webmaster

[PHP] Re: [PHP-WEBMASTER] Re: [PHP] The Cat Signal

2012-07-19 Thread Hannes Magnusson
On Thu, Jul 19, 2012 at 10:16 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 2:11 PM, Hannes Magnusson hannes.magnus...@gmail.com wrote: On Thu, Jul 19, 2012 at 10:01 PM, Kris Craig kris.cr...@gmail.com wrote: On Thu, Jul 19, 2012 at 1:52 PM, Ferenc Kovacs tyr

[PHP] Re: [PHP-WEBMASTER] Class COM not found

2009-12-17 Thread Hannes Magnusson
only in windows environment. What function needs to be called to access linux components? Regards Dinesh -- From: Hannes Magnusson hannes.magnus...@gmail.com Sent: Thursday, December 17, 2009 2:08 PM To: Dinesh dineshsd...@hotmail.com Cc: php

[PHP] ErrorException and set_exception_handler()

2009-12-11 Thread Hannes Magnusson
Hello randallgirard Since the bug tracker isn't really a discussion forum, lets move it to the General PHP User List (which is a discussion forum). Regarding bug#50446[1] you filed, either I am misunderstanding what you are hoping to achieve or you are misunderstanding the expected

[PHP] Re: ErrorException and set_exception_handler()

2009-12-11 Thread Hannes Magnusson
On Fri, Dec 11, 2009 at 23:39, Randall Girard randallgir...@hotmail.com wrote: Okay, my mistake. E_USER_WARNING and E_USER_NOTICE are supposed to continue execution, correct? Correct. Then  I will restate what I previously said. throwing ErrorException from an No no. Stop there.

[PHP] [HEADSUP] New Google Summer of Code Mailinglist

2009-01-25 Thread Hannes Magnusson
Hello all, and sorry for the massive cross-posting :) As of now we have a list dedicated to Google Summer Of Code[1] discussions. It is our hope that everyone who are interested in PHP and GSOC subscribe[2] to the list and participate in the discussions, or just lurk and follow the fun. Among

[PHP] Re: [PHP-DEV] PHP 5.3.0alpha3

2008-12-04 Thread Hannes Magnusson
On Thu, Dec 4, 2008 at 22:17, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: in the namespace changes. Please also note that the documentation for namespaces has been updated already: http://php.net/namespace Not 100% true. The example are missing the separator due to wrong syntax highlighting.

[PHP] Re: [PHP-DEV] PHP 5.3.0alpha1

2008-08-05 Thread Hannes Magnusson
On Fri, Aug 1, 2008 at 09:31, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: Hello! Johannes has packed PHP 5.3.0alpha1 yesterday evening, which you can find here: http://downloads.php.net/johannes/ So.. Apparently we will not get Windows builds of alpha1 as some of the new extensions didn't

Re: [PHP] Get reference count on a variable.

2004-08-21 Thread Hannes Magnusson
On Sat, 21 Aug 2004 04:10:53 + [EMAIL PROTECTED] (Curt Zirzow) wrote: * Thus wrote Robert Cummings: Hi All, I think I'm looking for something that doesn't exist, but just in case thought I'd check the list. Does anyone know if a PHP function exists to get the number of

[PHP] Re: Modifying this PHP-based sourceforge.net web proxy

2004-08-18 Thread Hannes Magnusson
On Wed, 18 Aug 2004 14:59:20 -0700 [EMAIL PROTECTED] (News.Php.Net) wrote: Attached is an awesome web proxy, which totally meets my needs, but I need it to be transparent. I need anyone accessing the computer that this is on to be automatically proxy-ed to a URL, but then let them navigate

[PHP] Re: mysql_fetch_array()

2004-08-17 Thread Hannes Magnusson
On Tue, 17 Aug 2004 18:18:24 -0400 [EMAIL PROTECTED] (Anthony Ritter) wrote: When using mysql_fetch_array() is it necsessary to specify the second argument - meaning the constant of MYSQL_NUM or MYSQL_ASSOC? php.net/mysql_fetch_array array mysql_fetch_array ( resource result [, int

[PHP] Re: writing source code to file

2004-08-17 Thread Hannes Magnusson
wont be ready until file_get_contents() returns. Rather use Output Controle via PHP ( php.net/outcontrol ) - Hannes using http:// causes it to get the html source. Hannes Magnusson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] http://www.php.net/manual/en/ref.outcontrol.php

Re: [PHP] Re: writing source code to file

2004-08-17 Thread Hannes Magnusson
On Tue, 17 Aug 2004 19:34:18 -0700 [EMAIL PROTECTED] (John Holmes) wrote: Hannes Magnusson wrote: file_get_contents(http://www.yoursite.com/script.php;); I belive that this method will hang for ever since the script doesnt exit until file_get_contents() has got the complete results

[PHP] Re: How to understand this Warning?

2004-08-17 Thread Hannes Magnusson
On Wed, 18 Aug 2004 02:54:35 +0300 [EMAIL PROTECTED] (Labunski) wrote: Hello, How to understand this warning? I thought maybe the directory name is incorrect, but it's fine. The Browser said.. Warning: readdir(): 2 is not a valid Directory resource in note the 2 in that message. You are

[PHP] Re: writing source code to file

2004-08-16 Thread Hannes Magnusson
http://www.php.net/manual/en/ref.outcontrol.php On Mon, 16 Aug 2004 10:35:42 -0400 [EMAIL PROTECTED] (Doug Parker) wrote: I was wondering if there was a block of code I could place at the bottom of the file that would write the page's source code to an html file. I need this because I'm

Re: [PHP] looking for a good FormMail PHP script

2004-08-15 Thread Hannes Magnusson
On Sun, 15 Aug 2004 16:36:42 -0300 [EMAIL PROTECTED] (Juan Nin) wrote: Hannes Magnusson wrote: Are we just suppost to know Matt Wright's FormMail.pl ? Matt Wright's FormMail.pl script is a very well known script, that's been used by thousands of people for several years. So it was very

[PHP] Re: Compile

2004-08-15 Thread Hannes Magnusson
http://www.zend.com/store/products/zend-encoder.php On Mon, 16 Aug 2004 01:12:14 +0100 [EMAIL PROTECTED] (Watty) wrote: Is it possible to compile a PHP script? And if so, how? Watty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to get mime type from file name

2004-08-15 Thread Hannes Magnusson
What happend to RTFM ? Is that not cool anymore? http://www.php.net/manual/en/ref.mime-magic.php now, R-T-F-M ! - Hannes On Sun, 15 Aug 2004 18:18:29 -0600 [EMAIL PROTECTED] (C.F. Scheidecker Antunes) wrote: Hello, Is there any function where I can pass a file name like file.png and get

Re: [PHP] Re: Compile

2004-08-15 Thread Hannes Magnusson
On Mon, 16 Aug 2004 09:01:54 +0800 [EMAIL PROTECTED] (Louie Miranda) wrote: no free tools? I belive there are some, don't know there name thou. Ask google, should take more then 2min to find out there names. On Mon, 16 Aug 2004 02:37:48 +0200, Hannes Magnusson [EMAIL PROTECTED] wrote

[PHP] Re: How to get mime type from file name

2004-08-15 Thread Hannes Magnusson
to --with-mime-magic since PHP 4.3.2 [/snip] Which mean: You need to compile PHP with this switch. 4th: http://pecl.php.net/package/fileinfo From: C.F. Scheidecker Antunes [EMAIL PROTECTED] To: Hannes Magnusson [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Re: How to get mime type

[PHP] Re: Compile

2004-08-15 Thread Hannes Magnusson
Why did you reply me directly? Anyway. I suppose you can find similar programs for free, just google'em From: Watty [EMAIL PROTECTED] To: 'Hannes Magnusson' [EMAIL PROTECTED] Subject: RE: [PHP] Re: Compile Date: Mon, 16 Aug 2004 01:58:37 +0100 X-Mailer: Microsoft Outlook, Build 10.0.2616 Haha

[PHP] Re: Open all subdirectories in a directory

2004-08-14 Thread Hannes Magnusson
On 14 Aug 2004 12:52:12 - [EMAIL PROTECTED] (Phpdiscuss - Php Newsgroups And Mailing Lists) wrote: Hello Professionals, Can anybody help me to open all subdirectories in a directory, I used is_dir() to check whether it is a dir, and if yes, I recursively called it with the new dir name.

[PHP] Re: str_replace - is it case sensitive

2004-08-14 Thread Hannes Magnusson
On Sat, 14 Aug 2004 14:37:09 +0100 [EMAIL PROTECTED] (Andrew W) wrote: Is the str_replace function case sensitive, I cant seem to find any answer on the PHP manual website or in my books. Yes. For case in-sensitve use str_ireplace Look at the PHP manual one more time under See also If it

Re: [PHP] String compare of 7 text strings

2004-08-14 Thread Hannes Magnusson
if ( count ( array_unique ( $array ) ) == 1 ) { // all fields have the same value } we could post solution to this problem for ever... - Hannes On Sat, 14 Aug 2004 15:24:03 +0100 [EMAIL PROTECTED] (Mike Ford) wrote: -Original Message- From: Brent Clements To: [EMAIL PROTECTED] I

Re: [PHP] String compare of 7 text strings

2004-08-14 Thread Hannes Magnusson
if ( count ( array_diff ( $array, array ( $array[0] ) ) 0 ) { // not same } On Sun, 15 Aug 2004 00:24:30 +0800 [EMAIL PROTECTED] (Jason Wong) wrote: On Saturday 14 August 2004 23:12, Hannes Magnusson wrote: if ( count ( array_unique ( $array ) ) == 1 ) { // all fields have the same value

[PHP] Re: [PHP-General List] - Cron or script like Cron -

2004-08-14 Thread Hannes Magnusson
run cron via httpd user? i.e. fputs STDIN crontab -e blablabla - Hannes On Sat, 14 Aug 2004 18:34:10 +0200 [EMAIL PROTECTED] (FrancescoAutomationsoftBiz) wrote: Hi all, I have a script that generate a benchmark report, in *.csv, every day. I want to have the possibility to send me

[PHP] Re: [PHP-General List] - Cron or script like Cron -

2004-08-14 Thread Hannes Magnusson
Don't mail me directly, no good comes from that. Anyway, see my answear below. -Hannes From: francesco[AT]automationsoft[DOT]biz [EMAIL PROTECTED] To: Hannes Magnusson [EMAIL PROTECTED] Subject: Re: [PHP] Re: [PHP-General List] - Cron or script like Cron - Date: Sat, 14 Aug 2004 19:03:02 +0200

[PHP] Re: What happend to _SERVER?

2004-08-14 Thread Hannes Magnusson
try to alter your ini file; ini_set ( variables_order, EGPCS ); var_dump ( $_SERVER ); - Hannes On Sat, 14 Aug 2004 15:26:46 -0700 [EMAIL PROTECTED] (Allen Wayne Best) wrote: Hello: I am having a spot of difficulty with PHP. I cannot get php to return the values of _SERVER. Here is a test

Re: [PHP] looking for a good FormMail PHP script

2004-08-14 Thread Hannes Magnusson
On Sat, 14 Aug 2004 20:13:23 -0300 [EMAIL PROTECTED] (Juan Nin) wrote: raditha dissanayake wrote: Juan Nin wrote: Hi I'm looking for a good FormMail PHP script which beheaves like Matt Wright's FormMail.pl script (but lacks it's exploitable problems :) I found several on the

Re: [PHP] Re: What happend to _SERVER?

2004-08-14 Thread Hannes Magnusson
On Sat, 14 Aug 2004 18:14:48 -0700 [EMAIL PROTECTED] (Allen Wayne Best) wrote: john: ooops! yes, i do. fixed. ran thru the web browser (no change!) fyi, the web server is apache 2.0.40-21.11 on a rh9 box. i uninstalled all php rpms, and reinstalled. no change. php-4.2.2-17.2.i386.rpm

Re: [PHP] access a file

2004-08-13 Thread Hannes Magnusson
Web server user group, not the file. what user own the file abc.pl ? is it the same user as is running httpd ? - Hannes On Fri, 13 Aug 2004 16:14:55 +0600 [EMAIL PROTECTED] (Curlys) wrote: -rwxr-xr-x1 root root 133 Aug 13 15:48 zeed.php group and owner like this , how

Re: [PHP] Thumbnail Problem

2004-08-13 Thread Hannes Magnusson
On Fri, 13 Aug 2004 15:18:20 +0800 [EMAIL PROTECTED] (Jason Wong) wrote: On Thursday 12 August 2004 21:05, Me2resh wrote: i have a class that generates thumbnails without making actual file on the server it works good on my local server but on my web hosting it gives me Fatal error:

Re: [PHP] Newb PHP Question

2004-08-13 Thread Hannes Magnusson
Are you trying to include or fopen file? httpd have access to that file? - Hannes On Fri, 13 Aug 2004 11:37:08 -0700 [EMAIL PROTECTED] (Andy Moore) wrote: Andy do a small page with only this in it and see if it will load. ?php phpinfo(); ? That churned out a rather long page

Re: [PHP] Newb PHP Question

2004-08-13 Thread Hannes Magnusson
httpd got access to all the files? If the include path is wrong include() will rase error, I'm guessing httpd don't got permission to read one ( or more ) of the files. On Fri, 13 Aug 2004 11:53:46 -0700 [EMAIL PROTECTED] (Andy Moore) wrote: Can we see some of the code throwing the error?

[PHP] Re: Yet another Newb Question - error

2004-08-13 Thread Hannes Magnusson
No, PostgreSQL is not build in by default. see http://www.php.net/manual/en/ref.pgsql.php On Fri, 13 Aug 2004 12:36:26 -0700 [EMAIL PROTECTED] (Andy Moore) wrote: Thanks to this newsgroup I finally overcame one of my biggest errors in PHP. But it still doesn't work completely. :) ---

Re: [PHP] Yet another Newb Question - error

2004-08-13 Thread Hannes Magnusson
On Fri, 13 Aug 2004 13:06:58 -0700 [EMAIL PROTECTED] (Andy Moore) wrote: Does PostGres show up in the test page we did earler? If not PHP needs to be compiled as stated above No, PG doesn't show up... What do you mean, compiled? Do you mean installed? I used

[PHP] Re: Combined Production + Development Hosting

2004-08-13 Thread Hannes Magnusson
On Sat, 14 Aug 2004 00:43:26 +0100 [EMAIL PROTECTED] (Watty) wrote: I am beginning to host my own website, but I also develop other websites. I have no budget for new equipment so I need to do both production and development hosting on one system. I run Linux with apache, php + mysql. I need

Re: [PHP] String compare of 7 text strings

2004-08-13 Thread Hannes Magnusson
sort ( $array ); if ( $array[ 0 ] !== $array[ count ( $array )-1 ] ) { // Not all fields in the array are the same... } On Fri, 13 Aug 2004 21:10:50 -0500 [EMAIL PROTECTED] (Brent Clements) wrote: Let me rephase my question in my previous email: I'd like to compare 7 strings(which are in

Re: [PHP] problem with mysql_fetch_array

2004-08-12 Thread Hannes Magnusson
On Thu, 12 Aug 2004 10:04:00 -0700 [EMAIL PROTECTED] (Justin Patrin) wrote: On Thu, 12 Aug 2004 09:20:44 -0400, Deepak Dhake [EMAIL PROTECTED] wrote: $query4 = mysql_query(SELECT result FROM TBL_result WHERE survey_no=2; while($row2 = mysql_fetch_array($query4)) { //print array }