[PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-04 Thread mike
On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas joc...@iamjochem.com wrote: ..not an internals question me thinks ... redirecting to generals mailing list Actually, I do think it is somewhat internals related. I want to know from the internals/experts angle if this is a good function to be relying

Re: [PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-04 Thread Robert Cummings
On Wed, 2009-03-04 at 11:45 -0800, mike wrote: On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas joc...@iamjochem.com wrote: ..not an internals question me thinks ... redirecting to generals mailing list Actually, I do think it is somewhat internals related. I want to know from the

[PHP] Re: [PHP-DEV] How expensive are function_exists() calls?

2009-03-04 Thread Jochem Maas
mike schreef: On Wed, Mar 4, 2009 at 4:01 AM, Jochem Maas joc...@iamjochem.com wrote: ..not an internals question me thinks ... redirecting to generals mailing list Actually, I do think it is somewhat internals related. internals is about engine development. always ask on the generals list

[PHP] Re: [PHP-DB] Re: Problems with displaying results

2009-03-03 Thread Terion Miller
On Tue, Mar 3, 2009 at 10:32 AM, Shawn McKenzie nos...@mckenzies.netwrote: Terion Miller wrote: I have two queries one pulls out which users to use and the second pulls those users orders Looks something like this but is only pulling the first record: $query = SELECT

Re: [PHP] Re: [PHP-DB] Re: Problems with displaying results

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 11:08 -0600, Terion Miller wrote: On Tue, Mar 3, 2009 at 10:32 AM, Shawn McKenzie nos...@mckenzies.netwrote: Terion Miller wrote: I have two queries one pulls out which users to use and the second pulls those users orders Looks something like this but is

[PHP] Re: [PHP-DB] How important is your Express or Web Edition database? Please weigh in--

2009-03-02 Thread Waynn Lue
Yeah, that's definitely true. I've just been bitten too many times by a design that ended up being not flexible enough. :) Waynn On 2/28/09, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sat, 2009-02-28 at 16:08 -0800, Waynn Lue wrote: Plus, last time I checked, adding an enum required a

[PHP] Re: [PHP-DB] How important is your Express or Web Edition database? Please weigh in--

2009-02-28 Thread Waynn Lue
Plus, last time I checked, adding an enum required a full rebuild of the table, while having an auxiliary table allows it to happen much more quickly. Waynn On 2/28/09, Andrew Ballard aball...@gmail.com wrote: On Sat, Feb 28, 2009 at 5:13 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote:

Re: [PHP] Re: [PHP-DB] How important is your Express or Web Edition database? Please weigh in--

2009-02-28 Thread Ashley Sheridan
On Sat, 2009-02-28 at 16:08 -0800, Waynn Lue wrote: Plus, last time I checked, adding an enum required a full rebuild of the table, while having an auxiliary table allows it to happen much more quickly. Waynn On 2/28/09, Andrew Ballard aball...@gmail.com wrote: On Sat, Feb 28, 2009 at

[PHP] Re: ?php=

2009-02-16 Thread Colin Guthrie
'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble: ... Sorry, should've mentioned, I'm talking about PHP6. Not heard about it but I'd like it. Short tags are evil but the ?= thing is pretty handy so having a ?php= option would suit me quite nicely. Col -- Colin

Re: [PHP] Re: ?php=

2009-02-16 Thread Eric Butera
On Mon, Feb 16, 2009 at 2:58 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble: Those reply lines are funny. =) -- http://www.voom.me | EFnet: #voom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: ?php=

2009-02-16 Thread Colin Guthrie
'Twas brillig, and Eric Butera at 16/02/09 20:01 did gyre and gimble: On Mon, Feb 16, 2009 at 2:58 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble: Those reply lines are funny. =) Can't take credit as I saw someone else

RE: [PHP] Re: ?php=

2009-02-16 Thread Hans Zaunere
Sorry, should've mentioned, I'm talking about PHP6. Not heard about it but I'd like it. Short tags are evil but the ?= thing is pretty handy so having a ?php= option would suit me quite nicely. Agree - while the short tags can be annoying, we need some way to shorthand string output and I

RE: [PHP] Re: ?php=

2009-02-16 Thread Mike Roberts
Guthrie Sent: Monday, February 16, 2009 3:14 PM To: php-general@lists.php.net Subject: [PHP] Re: ?php= 'Twas brillig, and Eric Butera at 16/02/09 20:01 did gyre and gimble: On Mon, Feb 16, 2009 at 2:58 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Richard Heyes at 16/02/09 15:04

Re: [PHP] Re: ?php=

2009-02-16 Thread Stuart
2009/2/16 Mike Roberts mrobe...@jobscss.com: Please folks, honor my request and remove me from the list. Yes I signed up intentionally, and yes I tried (3 times) to de-list myself but I still get the emails. You guys seem like nice folks, so I don't want to lodge a complaint somewhere... I

[PHP] Re: ?php=

2009-02-16 Thread tedd
At 7:58 PM + 2/16/09, Colin Guthrie wrote: 'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble: ... Sorry, should've mentioned, I'm talking about PHP6. Not heard about it but I'd like it. Short tags are evil but the ?= thing is pretty handy so having a ?php= option

Re: [PHP] Re: ?php=

2009-02-16 Thread Eric Butera
On Mon, Feb 16, 2009 at 6:32 PM, tedd tedd.sperl...@gmail.com wrote: At 7:58 PM + 2/16/09, Colin Guthrie wrote: 'Twas brillig, and Richard Heyes at 16/02/09 15:04 did gyre and gimble: ... Sorry, should've mentioned, I'm talking about PHP6. Not heard about it but I'd like it. Short

RE: [PHP] Re: ?php=

2009-02-16 Thread Hans Zaunere
As long as we're taking votes... Most of my template code looks like this: ?php echo $this-escape($this-var) ? I'd be happy to never see any variation of ?= again as it is not the bottleneck of my productivity. I can appreciate that, but PHP *is* a templating language that is meant to

[PHP] Re: PHP OOP

2009-02-10 Thread Ondrej Kulaty
I don't think that PHP is good language for teaching OOP as many folks above said. I have never programmed in OOP style but i plan to learn it. I started in PHP but i was little confused and i am used to program in procedural way in PHP, so i've decided to learn some pure OOP language. I am

[PHP] Re: php get rss tag using DOM

2009-02-09 Thread Rob Richards
Morris wrote: I know rss_php, but it doesn't fit my solution. Is anyone able to help me with my question? thx 2009/2/8 Nathan Rixham nrix...@gmail.com Morris wrote: Hi, I am trying to write a programme to read a rss xml file. ... media:content url=*exampe.jpg* ... ... scan anyone

[PHP] Re: php get rss tag using DOM

2009-02-08 Thread Nathan Rixham
Morris wrote: Hi, I am trying to write a programme to read a rss xml file. ... media:content url=*exampe.jpg* ... ... scan anyone tell me how to get the url attribute? I wrote some codes similar: $doc = new DOMDocument; $doc-load($myFlickrRss); $r =

[PHP] Re: php get rss tag using DOM

2009-02-08 Thread Morris
I know rss_php, but it doesn't fit my solution. Is anyone able to help me with my question? thx 2009/2/8 Nathan Rixham nrix...@gmail.com Morris wrote: Hi, I am trying to write a programme to read a rss xml file. ... media:content url=*exampe.jpg* ... ... scan anyone tell me how

[PHP] Re: PHP pop-up windows

2009-02-06 Thread Clancy
On Thu, 05 Feb 2009 01:47:28 +, nrix...@gmail.com (Nathan Rixham) wrote: Clancy wrote: I'm working on a website editor, primarily for my own use. Normally it will be used on my own computer, and much of what I wish to achieve could arguably be better done in either C or JavaScript, but

[PHP] Re: PHP pop-up windows

2009-02-04 Thread Nathan Rixham
Clancy wrote: I'm working on a website editor, primarily for my own use. Normally it will be used on my own computer, and much of what I wish to achieve could arguably be better done in either C or JavaScript, but both of these have a similar programming syntax to PHP, but with subtle

Re: [PHP] Re: PHP webhosting - USA - conclusion

2009-02-04 Thread Thodoris
I should have said in the beginning it's a small website and I am not looking for a dedicated server. Howewer, I decided to move to Lypha.com Thanks for all your fruitful* comments :) Martin PS: PHP mailgroup rulz *) that was in dictionary You could check ICDsoft

[PHP] Re: [PHP-QA] problem code

2009-02-01 Thread Daniel Brown
Top-posting. Chris, you're on the wrong list. Please send messages like this to php-general@lists.php.net, and subscribe[1] to that list to follow along. This QA list is for the PHP Quality-Assurance Team. 1: http://php.net/mailinglists - or - php-general-subscr...@lists.php.net

RE: [PHP] Re: [PHP-QA] problem code

2009-02-01 Thread David Swenson
~CODE~~~ $x_Message = $x_fname. .$x_lname. .$_practice. just registered for .$x_nevent.Method of payment .$x_payment. Email address is.$x_email. Telephone number.$x_tele. Question is .$x_qanda.; ~/CODE~~ Recheck your code for syntax error. Appears you have

[PHP] Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread Carlos Medina
Nitsan Bin-Nun schrieb: I was just wondering whether people enclosing their PHP tags declarations, I don't close these ?php tags just because the interpreter doesn't really needs them, and for the second reason - if a space/tab/new line/etc will beneath them it will cause problems with output

Re: [PHP] Re: PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-01-30 Thread Bastien Koert
On Fri, Jan 30, 2009 at 2:18 PM, Carlos Medina i...@simply-networks.dewrote: Nitsan Bin-Nun schrieb: I was just wondering whether people enclosing their PHP tags declarations, I don't close these ?php tags just because the interpreter doesn't really needs them, and for the second reason -

[PHP] Re: Php error

2009-01-24 Thread Carlos Medina
mattias schrieb: ERR_DB_NO_DB_PASS What will this meen? The Database is a foreign DB without passport Carlos -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP webhosting - USA

2009-01-24 Thread Tony Marston
I have been using www.lypha.com for 5 years without experiencing any of those problems. -- Tony Marston http://www.tonymarston.net http://www.radicore.org Martin Zvarík mzva...@gmail.com wrote in message news:ed.1b.55096.ccd2b...@pb1.pair.com... Hi, I currently host my site by Powweb, and

[PHP] Re: PHP webhosting - USA - conclusion

2009-01-24 Thread Martin Zvarík
I should have said in the beginning it's a small website and I am not looking for a dedicated server. Howewer, I decided to move to Lypha.com Thanks for all your fruitful* comments :) Martin PS: PHP mailgroup rulz *) that was in dictionary -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: php spawing/forking issues

2009-01-22 Thread Nathan Rixham
bruce wrote: Hi... Playing around with a test app to spawn external child processes. I'd like to be able to spawn/fork/run am external child process, that: -allows the child processes to run as separate independent processes (pid) -allows the child process(es) to be terminated via cmdline

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 18:57, Nathan Rixham nrix...@gmail.com wrote: [snip!] the idea wouldn't be a framework or another php classes, more of a repo full of common classes to save us all some time [snip!] Maybe you could call it PEAR. ;-P -- /Daniel P. Brown

Re: [PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Kyle Terry
On Mon, Jan 19, 2009 at 4:28 PM, Daniel Brown danbr...@php.net wrote: On Mon, Jan 19, 2009 at 18:57, Nathan Rixham nrix...@gmail.com wrote: [snip!] the idea wouldn't be a framework or another php classes, more of a repo full of common classes to save us all some time [snip!]

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 19:28, Daniel Brown danbr...@php.net wrote: Maybe you could call it PEAR. ;-P (Sent too quickly. Meant to include this, too:) A good place to start is by showing how this would benefit from things like PEAR and PECL. Also note that phpclasses.org isn't an

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Jan 19, 2009 at 19:28, Daniel Brown danbr...@php.net wrote: Maybe you could call it PEAR. ;-P (Sent too quickly. Meant to include this, too:) A good place to start is by showing how this would benefit from things like PEAR and PECL. care to contrib

Re: [PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Kyle Terry
On Mon, Jan 19, 2009 at 4:38 PM, Nathan Rixham nrix...@gmail.com wrote: Daniel Brown wrote: On Mon, Jan 19, 2009 at 19:28, Daniel Brown danbr...@php.net wrote: Maybe you could call it PEAR. ;-P (Sent too quickly. Meant to include this, too:) A good place to start is by showing

[PHP] Re: [PHP-DEV] maybe we could all?

2009-01-19 Thread Daniel Brown
On Mon, Jan 19, 2009 at 19:38, Nathan Rixham nrix...@gmail.com wrote: Daniel Brown wrote: A good place to start is by showing how this would benefit from things like PEAR and PECL. care to contrib that info / thoughts dan? :-) good idea. No, I'm just typing and multitasking with too

[PHP] Re: Php and CSS where to put it

2009-01-13 Thread Al
Terion Miller wrote: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? link rel=stylesheet type=text/css href=inc/styles.css ?php include 'inc/dbconnOpen.php' ; ini_set('error_reporting', E_ALL); ini_set('display_errors',

[PHP] Re: php session GC error

2009-01-13 Thread Shawn McKenzie
Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1 session.gc_divisor = 1 ; After this number of seconds, stored data will be seen as 'garbage' and ;

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1

[PHP] Re: php session GC error

2009-01-13 Thread Nathan Rixham
Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
Nathan Rixham nrix...@gmail.com wrote in message news:496d03d3.2060...@gmail.com... Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my

[PHP] Re: php session GC error

2009-01-13 Thread Shawn McKenzie
Frank Stanovcak wrote: Nathan Rixham nrix...@gmail.com wrote in message news:496d03d3.2060...@gmail.com... Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
Shawn McKenzie nos...@mckenzies.net wrote in message news:e3.00.25553.8560d...@pb1.pair.com... Frank Stanovcak wrote: Nathan Rixham nrix...@gmail.com wrote in message news:496d03d3.2060...@gmail.com... Frank Stanovcak wrote: Shawn McKenzie nos...@mckenzies.net wrote in message

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. Frank Stanovcak blindspot...@comcast.net wrote in message news:57.31.25553.de80d...@pb1.pair.com... Shawn McKenzie

[PHP] Re: php session GC error

2009-01-13 Thread Nathan Rixham
Frank Stanovcak wrote: So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. you're probably storing the session in a session cookie (which is default) so

Re: [PHP] Re: php session GC error

2009-01-13 Thread Andrew Ballard
On Tue, Jan 13, 2009 at 5:08 PM, Nathan Rixham nrix...@gmail.com wrote: Frank Stanovcak wrote: So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. you're probably storing

[PHP] Re: Php and CSS where to put it

2009-01-12 Thread Michelle Konzack
Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? The CSS must be in the HTML Header like html head titleCSS Example/title link rel=stylesheet type=text/css

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Terion Miller
Resolved! Thanks! On Mon, Jan 12, 2009 at 12:38 PM, Michelle Konzack linux4miche...@tamay-dogan.net wrote: Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe?

[PHP] Re: Php and CSS where to put it

2009-01-12 Thread tedd
At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? The CSS must be in the HTML Header like html head

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Robert Cummings
On Mon, 2009-01-12 at 16:27 -0500, tedd wrote: At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? The

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Ashley Sheridan
On Mon, 2009-01-12 at 16:27 -0500, tedd wrote: At 7:38 PM +0100 1/12/09, Michelle Konzack wrote: Hello Terion, Am 2009-01-12 10:42:10, schrieb Terion Miller: I have this code and the css seems to not work in IE at all, do I need to put it somewhere different on the page maybe? The

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Paul M Foster
On Mon, Jan 12, 2009 at 09:56:00PM +, Ashley Sheridan wrote: snip Here's something for fixing IE with hacks: http://www.ashleysheridan.co.uk/coding_html_comments.php basically it lets you add in extra IE-only stylesheets using comment code only recognised by IE, and you can use

[PHP] Re: [PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi mika.jaa...@gmail.com wrote: I already can get the data from database to a page. Now I want to make link from that data to next page and on that new page it should show all the data that is related. example: data from database -- page1 where

[PHP] Re: [PHP-DB] data from db to a page and then to another page

2009-01-07 Thread Shawn McKenzie
Dan Shirah wrote: On Wed, Jan 7, 2009 at 4:54 AM, Mika Jaaksi mika.jaa...@gmail.com wrote: I already can get the data from database to a page. Now I want to make link from that data to next page and on that new page it should show all the data that is related. example: data from

[PHP] Re: [PHP-DB] Re: data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
Thanks for the aswers, but there is still some problems. I tested this code(below) and it works but when I add it to the rest of my code it stops working. Here's the working code: page1: ?php $bandname = Someband; ? form name=goto_info action=band_info.php method=post input

[PHP] Re: [PHP-DB] Re: data from db to a page and then to another page

2009-01-07 Thread Dan Shirah
On Wed, Jan 7, 2009 at 3:01 PM, Mika Jaaksi mika.jaa...@gmail.com wrote: Thanks! I got it working... Excellent, happy to help.

[PHP] Re: PHP (under httpd) reading a file outside DocumentRoot?

2008-12-27 Thread Jeff Weinberger
On Dec 26, 2008, at 1:52 PM, Nathan Rixham wrote: Jeff Weinberger wrote: I don't know if this is an Apache (httpd) or a PHP issue (I suspect PHP, but I may be doing something wrong with mod_suexec), so I hope this is the right place to ask. I certainly appreciate any help anyone can

[PHP] Re: PHP (under httpd) reading a file outside DocumentRoot?

2008-12-26 Thread Nathan Rixham
Jeff Weinberger wrote: I don't know if this is an Apache (httpd) or a PHP issue (I suspect PHP, but I may be doing something wrong with mod_suexec), so I hope this is the right place to ask. I certainly appreciate any help anyone can offer! I am trying to get a PHP script to read a file

[PHP] Re: PHP Form email w/attachment

2008-12-18 Thread Carlos Medina
jeffery harris schrieb: I need to create a php form and mail it to a recipient (that I can do). My question is how do I create an area for a file (.doc, or .pdf) to be attached emailed along with other form data as well? -Jeff Hi Jeffery, you need to upload the File with the Form

[PHP] RE: Php question from Newsgroup

2008-12-18 Thread Boyd, Todd M.
Mike -- I've bottom posted my reply, as is the convention for this list (and most others). Scroll down. From: Mike Peloso [mailto:mpel...@princeton.edu] Sent: Thursday, December 18, 2008 9:56 AM To: Boyd, Todd M. Subject: Php question from Newsgroup Todd, I have attached a few jpgs to

[PHP] Re: Php question from Newsgroup

2008-12-18 Thread MikeP
Boyd, Todd M. tmbo...@ccis.edu wrote in message news:33bde0b2c17eef46acbe00537cf2a190037b7...@exchcluster.ccis.edu... Mike -- I've bottom posted my reply, as is the convention for this list (and most others). Scroll down. From: Mike Peloso [mailto:mpel...@princeton.edu] Sent: Thursday,

[PHP] Re: [PHP-INSTALL] PHP on Windows without Apache

2008-12-14 Thread Daniel Brown
On Sun, Dec 14, 2008 at 13:19, Jeffery Harris jhar...@harris4interactive.com wrote: Thanks Daniel. Any recommendations on a good php learning book. My pleasure, Jeff. I've honestly never read any of the PHP books out there, so I wouldn't be able to give you a definite recommendation on

[PHP] Re: [PHP-QA] Re: [PHP] Quick question regarding $_SESSION and header()

2008-12-11 Thread Daniel Brown
(Forwarding back to PHP General for the archives.) On Thu, Dec 11, 2008 at 14:31, Ólafur Waage olaf...@gmail.com wrote: Its fixed, thanks guys :) On Thu, Dec 11, 2008 at 7:16 PM, Daniel Brown danbr...@php.net wrote: On Thu, Dec 11, 2008 at 14:01, Ólafur Waage olaf...@gmail.com wrote: I

[PHP] Re: [PHP-QA] Re: [PHP] Quick question regarding $_SESSION and header()

2008-12-11 Thread Ólafur Waage
Whoops, sent the thanks to the wrong list :P On Thu, Dec 11, 2008 at 7:33 PM, Daniel Brown danbr...@php.net wrote: (Forwarding back to PHP General for the archives.) On Thu, Dec 11, 2008 at 14:31, Ólafur Waage olaf...@gmail.com wrote: Its fixed, thanks guys :) On Thu, Dec 11, 2008 at 7:16

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

2008-12-08 Thread Pierre Joye
hi! On Mon, Dec 8, 2008 at 12:50 PM, Rodrigo Saboya [EMAIL PROTECTED] wrote: All links at http://windows.php.net/qa/ are 404. Fixed, the files were there but a change I made in the scripts was setting the wrong directory. Thanks for the head up! Cheers, -- Pierre http://blog.thepimp.net |

[PHP] Re: PHP 5.3.0alpha3

2008-12-08 Thread Rodrigo Saboya
Lukas Kahwe Smith wrote: Hello! Johannes has packaged PHP 5.3.0alpha3, which you can find here: http://downloads.php.net/johannes/ Windows binaries thanks to Pierre, which are available here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only

[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 friendly web software?

2008-11-25 Thread Chris Jiang
I'd say it's not a really good idea to mix code and layout together. Try using some of the template systems, or maybe XML/XSL instead. I honestly don't know, and doesn't think if there is, or will ever be any page editor does it well as you've demanded. Can anyone recommend a wysiwyg web

Re: [PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-24 Thread Jochem Maas
robert arnesson schreef: A. There is no more to the log B. There are no calls to error_log() PHP is installed as CGI, I will check the ScriptLog dir (good tip!). I forgot to mention that this occurres on a few php-files only.. the rest is working fine. And there are no major differences

Re: [PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-24 Thread robert arnesson
There are no calls to error_log in the files, however, I took care of some notices in the code (with error_reporting to E_ALL - there where only notices - no errors or warnings) and suddenly the number of entries in the error log dropped. Getting rid of all notices will probably solve the problem.

[PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread Nathan Rixham
robert arnesson wrote: Hello all, I get plenty of error messages (100 000+ / day) in my Apache httpd-error.log like the ones shown here [Sun Nov 23 11:34:42 2008] Script: '/usr/www/example/core/js/wall.php' [Sun Nov 23 11:35:35 2008] Script: '/usr/www/example/core/js/wall.php' [Sun Nov 23

[PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread Nathan Rixham
robert arnesson wrote: What is causing these errors? further thought.. is PHP installed as CGI or SAPI? if CGI have you checked the apache settings to see if the ScriptLog directive is on any where? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: PHP causing Script: '/usr/www/...' in httpd-error.log?

2008-11-23 Thread robert arnesson
A. There is no more to the log B. There are no calls to error_log() PHP is installed as CGI, I will check the ScriptLog dir (good tip!). I forgot to mention that this occurres on a few php-files only.. the rest is working fine. And there are no major differences between the files that show up in

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Rene Fournier wrote: On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second.

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 2:59 AM, Nathan Rixham wrote: Rene Fournier wrote: On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Daniel P. Brown
On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked your firewall settings? It may be configured to deny

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked your firewall settings? It may be

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 9:56 AM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 10:46 AM, Nathan Rixham wrote: Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers.

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Daniel P. Brown
On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained myself well enough before. Sorry. Linux, by default, has firewalls

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained myself well enough

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Nathan Rixham
Rene Fournier wrote: On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 3:57 PM, Nathan Rixham wrote: Rene Fournier wrote: On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read

[PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Nathan Rixham
Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second. Periodically, one of the processes (command-line PHP scripts), will fail on

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Rene Fournier
On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second. Periodically, one of the

[PHP] Re: PHP performance profiling

2008-11-18 Thread Nathan Rixham
Gryffyn wrote: I did a search and didn't find anything really astounding sounding, so I wanted to ask for some live recommendations from the crowd here. I was wondering if anyone had used FirePHP with Firebug or could recommend a good profiling method for figuring out where the slow parts of

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Jochem Maas
please don't post this kind of question to internals. use [EMAIL PROTECTED] Christopher Vogt schreef: Hej, I use PHP 5.2.6. I am refactoring some code to use more object-orientation. I encounter a problem, where the new object-oriented version results in a fatal error, where the old

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
Hej Jochem, I understand there are many PHP beginners flooding the wrong lists with the wrong questions, so I don't mind your harsh response. But I am not one of them. please don't post this kind of question to internals. use [EMAIL PROTECTED] This was/is a question if something is worth a

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Jochem Maas
Christopher Vogt schreef: Hej Jochem, I understand there are many PHP beginners flooding the wrong lists with the wrong questions, so I don't mind your harsh response. But I am not one of them. I disagree. this kind of thing belongs on php-general (and lets keep it on list please), if you

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Paweł Stradomski
W liście Christopher Vogt z dnia poniedziałek 17 listopada 2008: I have a good understanding of OOP. This is not a start for me. I am just refactoring existing PHP code to be object-oriented. You say there are plenty of reasons for a Fatal error, so please tell me a few, so I understand the

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
Hej Stefan, This was/is a question if something is worth a change request. This concerns the development of PHP and in my eyes belongs on internals. Am I mistaken here? Yes, because you are like the 100th person to request that. A mail to general@ probably would have told you that. I am

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Christopher Vogt
Hej Jochem, this kind of thing belongs on php-general (and lets keep it on list please), if you have a serious proposal/rfc and/or one develops from a discussion there then likely some of the old-hats will likely recommend escalating to internal. I'm sorry I wasn't aware of this procedure.

[PHP] Re: [PHP-DEV] Fatal error: Call to a member function on a non-object

2008-11-17 Thread Jochem Maas
Christopher Vogt schreef: Hej Jochem, this kind of thing belongs on php-general (and lets keep it on list please), if you have a serious proposal/rfc and/or one develops from a discussion there then likely some of the old-hats will likely recommend escalating to internal. I'm sorry I

Re: [PHP] Re: PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Richard Heyes
fair Fair ?! It does an outstanding job! :-) -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 1st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP / Procmail / MIME decoder, Imagemagick, MySQL, PDF fax management system

2008-11-10 Thread Colin Guthrie
Ashley Sheridan wrote: This may sound a bit of a strange question, but why put the fax in a PDF? I mean, it's a bitmap graphic, so why not just leave it in a bitmap format? Most fax systems I've seen deal with TIFF images but they can be in a slightly weird format (missing lines, requiring

Re: [PHP] Re: PHP and Cyrus problem

2008-11-10 Thread Emerson Virti
Thank's for response. This solution I tried many times but didn't resolved. The reconstruct command don't modify this cyrus.header file. 2008/11/7 Colin Guthrie [EMAIL PROTECTED] Emerson Virti wrote: Where is the problem? Probably not the right list, but have you tried using cyradm and

[PHP] Re: PHP and Cyrus problem

2008-11-07 Thread Colin Guthrie
Richard Heyes wrote: ...PHP for webmail. Did you know you can use Gmail for webmail, even having the From: address set to your own domain? It will require a little more setup (well, with ten thousand mailboxes that would be a lot) but you end with one of the best webmail clients there is.

[PHP] Re: PHP and Cyrus problem

2008-11-07 Thread Colin Guthrie
Emerson Virti wrote: Where is the problem? Probably not the right list, but have you tried using cyradm and running: reconstruct user.name.mailbox.name (correct the folder as needed). When a cyrus database file gets corrupted or generally borked this fixes it 99% of the time for me. Col

<    2   3   4   5   6   7   8   9   10   11   >