php-general Digest 24 Jul 2007 11:13:02 -0000 Issue 4921

2007-07-24 Thread php-general-digest-help
php-general Digest 24 Jul 2007 11:13:02 - Issue 4921 Topics (messages 259400 through 259415): Re: Better way to store data in memory? 259400 by: Kevin Waterson 259407 by: Dan 259411 by: Nathan Nobbe Re: Strategy when working with designer(s)? 259401 by:

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Dotan Cohen
On 24/07/07, tedd [EMAIL PROTECTED] wrote: How about Rasmus Lerdorf, Lord of the Code I think we could go on and on with this. Php Fiction? Rasmus's List? Codin' in the Rain? Dotan Cohen http://lyricslist.com/ http://what-is-what.com/ -- PHP General Mailing List (http://www.php.net/) To

[PHP] Object instance and session

2007-07-24 Thread Stefano Esposito
Hi all, i've a self-defined class describing an user. In the login page i create an instance of the user object and store it in $_SESSION['user']. When accessing $_SESSION['user'] from other pages (of course I do require('user.php'); and session_start();) i got this errors: Warning:

[PHP] Smarty template for parent-child form

2007-07-24 Thread Man-wai Chang
Is there a template that presents a parent-child forms, for example, an invoice object which has a header(invoice no, date, customer code, invoice total) and multiple items (item no, item name, quantity, price, amount)? -- @~@ Might, Courage, Vision, SINCERITY. / v \ Simplicity is

Re: [PHP] Object instance and session

2007-07-24 Thread Stut
Stefano Esposito wrote: Hi all, i've a self-defined class describing an user. In the login page i create an instance of the user object and store it in $_SESSION['user']. When accessing $_SESSION['user'] from other pages (of course I do require('user.php'); and session_start();) i got this

Re: [PHP] Smarty template for parent-child form

2007-07-24 Thread Chad Robinson
Man-wai Chang wrote: Is there a template that presents a parent-child forms, for example, an invoice object which has a header(invoice no, date, customer code, invoice total) and multiple items (item no, item name, quantity, price, amount)? Go to

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-24 Thread Daniel Brown
On 7/23/07, Daniel Kasak [EMAIL PROTECTED] wrote: Thanks for the response Dan. Us Dans have to stick together :) On Mon, 2007-07-23 at 17:37 -0700, Dan wrote: Then validate the field obviously! $description = ; $categoryid = ; if(isset($_POST['description'])) $description =

RE: [PHP] Pirate PHP books online?

2007-07-24 Thread Jay Blanchard
[snip] Rasmus Lerdorf and the Deathly Hallows Rasmus Lerdorf and the Order of the PHP Rasmus Lerdorf and the Order of Function Arguments Rasmus Lerdorf, Lord of the Code Rasmus Lerdorf and the Half-Assed Coder [/snip] Rasmus Lerdorf and The Coders're Stoned Arrays 11 Lerdorf - A PHPdoc

[PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything seems to work fine except for Curl. -- PHP Version 5.2.3 cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3 -- It keeps returning this error message. Reason 'CURL

[PHP] Re: Pirate PHP books online?

2007-07-24 Thread Michelle Konzack
Am 2007-07-21 01:08:39, schrieb Dotan Cohen: My reference to dead trees was not meant to imply an environmental reasoning behind my preference. But, if you insist, then the 'lost energy' is actually heating my workroom in winter. That means that I don't need to run a heater. Like me in

[PHP] Re: Pirate PHP books online?

2007-07-24 Thread Michelle Konzack
Am 2007-07-20 22:15:07, schrieb Tijnema: Old paper can be recycled, lost energy from computers can't ;) Tijnema - END OF REPLIED MESSAGE - Not realy right because I run three Sun Blade with 32 CPU's and with around 100 HDD's each and the Power

[PHP] Re: Pirate PHP books online?

2007-07-24 Thread Michelle Konzack
Am 2007-07-21 00:29:08, schrieb Tijnema: And it runs the airco in the summer ;) I do not wotk in summer since for 2 years my Dual-Opteron was gone because I had over 48°C im my appartement (no it was not in Marrakech/Morocco but Strasbourg/France) 7000 Euro cooked/burned/fucked! And this with

[PHP] Re: Pirate PHP books online?

2007-07-24 Thread Michelle Konzack
Am 2007-07-19 19:41:32, schrieb Tijnema: One word: Useless! The watermark can be easily removed, and the guy who puts in on the net will simply remove it, and can't be traced :) Not realy except you know the WHOLE original text. I would put some weird (unknown) phrases into the text..

[PHP] COM object project

2007-07-24 Thread Jason McKnight
I am using a COM object from one of our system venders and I am having problems using an in/out variable for one function on php 4.3.11. I can load the COM interface, return the typeinfo and even call the function successfully but I can't get a return value set for the variable. Here is the code

RE: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
Yes. The script is the same on both machines. I can pull up a web browser and connect to the ssl url that I'm trying to connect using php/curl. The only DLLs I need to add are libeay.dll, ssleay32.dll, right? I'm running Windows 2003 Server with IIS 6.0 -Original Message- From: Daniel

Re: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: I downloaded a copy of PHP Version 5.2.3 and installed it on Windows 2003. Everything seems to work fine except for Curl. -- PHP Version 5.2.3 cURL support enabled cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3 -- It keeps

[PHP] Re: Smarty template for parent-child form

2007-07-24 Thread Man-wai Chang
What you do is assign the items to an array called, say, items. Then you use foreach in the template to iterate the array, just like you would in PHP itself. Example 7-8 (Contacts) is pretty close to what you're doing. Need to take a look first. Thank you. I sincerely want to know how experts

Re: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote: Yes. The script is the same on both machines. I can pull up a web browser and connect to the ssl url that I'm trying to connect using php/curl. The only DLLs I need to add are libeay.dll, ssleay32.dll, right? I'm running Windows 2003 Server with

RE: [PHP] Re: problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2

2007-07-24 Thread Anton C. Swartz IV
Could you Specifiy which error messages you were getting? --- Anton C. Swartz IV Phoenix Edge Network L.L.C. http://www.phpopenid.com - Owner PHPLogic Development Services http://www.phplogic.net - Co-Owner Necrogami http://www.necrogami.com - Personal Blog Based in Indianapolis, IN The Opposite

Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
Hi Daniel, Tuesday, July 24, 2007, 2:34:06 PM, you wrote: In order to enable cURL on a Windows box, you have to copy libeay32.dll and ssleay32.dll from the DLL folder of the PHP/ binary package to the SYSTEM folder. (to be safe, you may want to do both C:\WINDOWS\SYSTEM\ and

Re: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: *Never* put PHP DLLs into the Windows System folder. It's neither required, nor sensible. Keep them where they belong - in your PHP folder. Heh which is why I prefer to stick with what I know which is not so much with Windows

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Simon
0. The designers we work with frequently need to be told that 3 second feature you just suggested just added 300 hours to the project and destroyed 508 compliance, usually multiple times. That *must* happen before the client sees it, or you're screwed. It's never too early to get the Yea! I

Re[4]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
Hi Daniel, Tuesday, July 24, 2007, 3:57:11 PM, you wrote: On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: *Never* put PHP DLLs into the Windows System folder. It's neither required, nor sensible. Keep them where they belong - in your PHP folder. Heh which is why I prefer to

Re: Re[4]: [PHP] Help needed with Curl

2007-07-24 Thread Daniel Brown
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: Hi Daniel, Tuesday, July 24, 2007, 3:57:11 PM, you wrote: On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote: *Never* put PHP DLLs into the Windows System folder. It's neither required, nor sensible. Keep them where they belong - in your

RE: Re[2]: [PHP] Help needed with Curl

2007-07-24 Thread Bosky, Dave
No I don't have a local certificate created. I'm only need to do a post using xml-rpc and I have SSLVerifyPeer turned off. This turns off client certificate authentication $xmlrpc_client-setSSLVerifyPeer(0); -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent:

Re[4]: [PHP] Help needed with Curl

2007-07-24 Thread Richard Davey
Hi Dave, Tuesday, July 24, 2007, 4:45:13 PM, you wrote: No I don't have a local certificate created. I'm only need to do a post using xml-rpc and I have SSLVerifyPeer turned off. This turns off client certificate authentication $xmlrpc_client-setSSLVerifyPeer(0); What does your PHP error

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Crayon Shin Chan
On Tuesday 24 July 2007 06:12, tedd wrote: How about Rasmus Lerdorf, Lord of the Code I thought it was supposed to be based on a Potter book? How about Rasmus Lerdorf, Prisoner of ASP. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Crayon Shin Chan
On Tuesday 24 July 2007 06:02, Ryan A wrote: Instead of clip tags, I recommend that you configure your mail client to prepend a greater than sign to quotes. It's rather customary, if not standard. Sorry about that, its driving me crazy too. I have to manually do it if I want it (like

[PHP] Problem iterating over an array with foreach and a reference variable

2007-07-24 Thread Chris Mika
I don't know if I'm doing something wrong or if this is a bug. Very simply: I created an array with values 1-5. I use a foreach loop to iterate over it to add 1 to the values. It correctly iterates over the array except for the last value. Code: ?php $test = array(1, 2, 3, 4, 5); print

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Ryan A
Php Fiction? Rasmus's List? Codin' in the Rain? LOL! That was good! Thanks needed that! Cheers! R -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-)

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Dotan Cohen
On 24/07/07, Ryan A [EMAIL PROTECTED] wrote: Php Fiction? Rasmus's List? Codin' in the Rain? LOL! That was good! Thanks needed that! Of course, one should not forgot Debbie Does DocType... Dotan Cohen http://lyricslist.com/ http://what-is-what.com/ -- PHP General Mailing List

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Alan Milnes
On 24/07/07, Simon [EMAIL PROTECTED] wrote: I have always seen the programmer as the Leader* of the production of the project. He is the one to give the final word on what is Possible or not, and that is precisely what cause most problems (also known as scope of the project). The 'Leader'

[PHP] Variable problem?

2007-07-24 Thread Luc
Good afternoon list, Probably a no-brainer for the most of you but i'm in a pickle: i've set up a variable to receive in the body of the notification mail upon sending a form. The body of the mail should read like this: Obrigado por nos contatar, $contato_name. Recebemos sua mensagem

[PHP] How can I install GD support for a php rpm

2007-07-24 Thread Davis Chan
Hi! My php was installed as a module (libphp5.so) when I install Fedora Core 6. However, when I run phpinfo(), I found that it is -without-gd. I would like to ask how can add GD support without rebuilding the whole thing from source? Thanks. -- PHP General Mailing List (http://www.php.net/)

[PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Kelvin Park
I am keep running in to a dead end with trying to convert mysql databse tables (more than 4) to XML with PHP. Initially I tried to convert two tables with the code that's attached to this email, however it's limited to printing out just a table row WHERE column='value'. I can relate two tables

Re: [PHP] Variable problem?

2007-07-24 Thread Daniel Brown
[ For those of you who are going to get pissed for top-posting, find something better to bitch about. I'm in a rush, but trying to help. ;-P ] Luc, You're not defining $contato_name. Do this: $contato_name = $_POST['contato_name']; On 7/24/07, Luc [EMAIL PROTECTED] wrote:

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Simon
The 'Leader' should be an IT Architect who understands both: In a dream world we can pay such a character, what I've seen so far is we invent one out of the guy that knows most: the programmer. (Instant promotion, same salary) From my experience, the project manager would ask the programmer

Re: [PHP] Variable problem?

2007-07-24 Thread Luc
Good evening Daniel, It was foretold that on 24/7/2007 @ 17:47:46 GMT-0400 (which was 18:47:46 where I live) Daniel Brown would write: snipped a bit You're not defining $contato_name. Do this: $contato_name = $_POST['contato_name']; Yes!! Oh so simple for a

Re: [PHP] Re: Pirate PHP books online?

2007-07-24 Thread Tijnema
On 7/24/07, Michelle Konzack [EMAIL PROTECTED] wrote: Am 2007-07-19 19:41:32, schrieb Tijnema: One word: Useless! The watermark can be easily removed, and the guy who puts in on the net will simply remove it, and can't be traced :) Not realy except you know the WHOLE original text. I

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-24 Thread Tijnema
On 7/24/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/23/07, Daniel Kasak [EMAIL PROTECTED] wrote: Thanks for the response Dan. Us Dans have to stick together :) On Mon, 2007-07-23 at 17:37 -0700, Dan wrote: Then validate the field obviously! $description = ; $categoryid = ;

Re: [PHP] How can I install GD support for a php rpm

2007-07-24 Thread Tijnema
On 7/24/07, Davis Chan [EMAIL PROTECTED] wrote: Hi! My php was installed as a module (libphp5.so) when I install Fedora Core 6. However, when I run phpinfo(), I found that it is -without-gd. I would like to ask how can add GD support without rebuilding the whole thing from source? Thanks.

Re: [PHP] Re: header( 'refresh' ), form data, and IE

2007-07-24 Thread Daniel Kasak
On Tue, 2007-07-24 at 08:13 -0400, Daniel Brown wrote: Hello, Dans! Dan K., is there any reason the validation can't reside within the same script as the form, then forward on success? A very simple example: ? if($_POST) { // Check to ensure that your variables are all

[PHP] Calling php-cgi.exe

2007-07-24 Thread Shawn McKenzie
I have written a small web server for windows. It works fine for static HTML files, but I would like to be able to run PHP scripts. Playing with php-cgi.exe on the command line I see that it returns the content type and the generated HTML from a script 'php-cgi.exe test.php'. From

Re: [PHP] can't open a file

2007-07-24 Thread Shawn McKenzie
Most likely the web server (Apache?) is not running as you (your username). Maybe it is, in which case take advice from the previous reply. It's most likely running as another user. On linux/unix there is a specific user for the web server depending upon what server. Apache is normally, httpd,

[PHP] Re: strange stripos behavior

2007-07-24 Thread Shawn McKenzie
Too much beer to think through the logical progression of the operators, but maybe try: if (stripos($searchtext, '') !== false) { -Shawn Bruce Cowin wrote: I'm using PHP 5.1 on IIS. I have an app that uses MimeDecode to load mime files and I've built an object to parse them into their

[PHP] Re: strange stripos behavior

2007-07-24 Thread Bruce Cowin
Thanks for the suggestion. I ended up not building the search string and checking each part individually. FYI, I had noticed that it also depended on what order I built the search string; e.g., $searchstring = $msg-Body() . $msg-Subject()... worked ok but if I put $msg-Subject first it

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Larry Garfield
On Tuesday 24 July 2007, Simon wrote: 0. The designers we work with frequently need to be told that 3 second feature you just suggested just added 300 hours to the project and destroyed 508 compliance, usually multiple times. That *must* happen before the client sees it, or you're

Re: [PHP] Re: strange stripos behavior

2007-07-24 Thread Shawn McKenzie
OK, so I've had at least 2 more beers since the last reply, but I'll give a shot. I don't know what text is in your message, but here's my logic, so it would depend upon what was concatenated first: Your statement read: if (not) stripos($searchtext, ''), which means false, '' or 0 (which it

Re: [PHP] Re: strange stripos behavior

2007-07-24 Thread Shawn McKenzie
For another guru, I have a question. I just checked the returns of this func on php.net to check myself and I see: This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE, such as 0 or . When would stripos() return ? Thanks! -Shawn Bruce Cowin

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread tedd
At 12:13 AM +0800 7/25/07, Crayon Shin Chan wrote: On Tuesday 24 July 2007 06:12, tedd wrote: How about Rasmus Lerdorf, Lord of the Code I thought it was supposed to be based on a Potter book? Nah, let's make it a brain teaser. Where can these be found? The Little Rasmus O Rasmus,

Re: [PHP] Re: strange stripos behavior

2007-07-24 Thread Robert Cummings
On Tue, 2007-07-24 at 20:03 -0500, Shawn McKenzie wrote: For another guru, I have a question. I just checked the returns of this func on php.net to check myself and I see: This function may return Boolean FALSE, but may also return a non-Boolean value which evaluates to FALSE, such as 0 or

Re: [PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Nathan Nobbe
kelvin, i dont see the attachement. -nathan On 7/24/07, Kelvin Park [EMAIL PROTECTED] wrote: I am keep running in to a dead end with trying to convert mysql databse tables (more than 4) to XML with PHP. Initially I tried to convert two tables with the code that's attached to this email,

Re: [PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Chris
Kelvin Park wrote: I am keep running in to a dead end with trying to convert mysql databse tables (more than 4) to XML with PHP. Initially I tried to convert two tables with the code that's attached to this email, however it's limited to printing out just a table row WHERE column='value'. I

Re: [PHP] How can I install GD support for a php rpm

2007-07-24 Thread Chris
Davis Chan wrote: Hi! My php was installed as a module (libphp5.so) when I install Fedora Core 6. However, when I run phpinfo(), I found that it is -without-gd. I would like to ask how can add GD support without rebuilding the whole thing from source? Thanks. install the php-gd rpm. --

Re: [PHP] Re: strange stripos behavior

2007-07-24 Thread Shawn McKenzie
Yes, I understand that, but it said that this function may return 0 or . So I guess that is just a generic statement to illustrate the point. -Shawn Robert Cummings wrote: On Tue, 2007-07-24 at 20:03 -0500, Shawn McKenzie wrote: For another guru, I have a question. I just checked the

Re: [PHP] Calling php-cgi.exe

2007-07-24 Thread Richard Lynch
On Tue, July 24, 2007 6:26 pm, Shawn McKenzie wrote: I have written a small web server for windows. It works fine for static HTML files, but I would like to be able to run PHP scripts. Playing with php-cgi.exe on the command line I see that it returns the content type and the generated HTML

Re: [PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Richard Lynch
On Tue, July 24, 2007 4:47 pm, Kelvin Park wrote: I am keep running in to a dead end with trying to convert mysql databse tables (more than 4) to XML with PHP. Initially I tried to convert two tables with the code that's attached to this email, however it's limited to printing out just a

Re: [PHP] How can I install GD support for a php rpm

2007-07-24 Thread Richard Lynch
On Tue, July 24, 2007 4:37 pm, Davis Chan wrote: Hi! My php was installed as a module (libphp5.so) when I install Fedora Core 6. However, when I run phpinfo(), I found that it is -without-gd. I would like to ask how can add GD support without rebuilding the whole thing from source? Thanks.

Re: [PHP] Calling php-cgi.exe

2007-07-24 Thread Shawn McKenzie
OK, thanks. I thought since php.exe had help and documentation for command line args, so would the cgi have some pointers or best practices of what to pass and how. -Shawn Richard Lynch wrote: On Tue, July 24, 2007 6:26 pm, Shawn McKenzie wrote: I have written a small web server for windows.

Re: [PHP] Variable problem?

2007-07-24 Thread Richard Lynch
On Tue, July 24, 2007 3:33 pm, Luc wrote: if (empty($_POST['altura'])){ $contacter_form_error[] = 'favor preencher altura'; } if (empty($_POST['largura'])){ $contacter_form_error[] = 'favor preencher largura'; } else {

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Larry Garfield
On Tuesday 24 July 2007, tedd wrote: Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him Rasmus. God, I hope not. :-) Cheers, tedd Yay, congrats! --

Re: [PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Nathan Nobbe
have you been able to get it to work w/ a select from just 1 table ? if thats the case then you are prolby getting hung up thinking about it being 4 tables. you should get the system going for just 1 table. once you have that try it for the joined query; the php to process the result set and

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Robert Cummings
On Tue, 2007-07-24 at 21:09 -0400, tedd wrote: Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him Rasmus. God, I hope not. :-) Wooho!

Re: [PHP] Problem iterating over an array with foreach and a reference variable

2007-07-24 Thread Jochem Maas
Chris Mika wrote: I don't know if I'm doing something wrong or if this is a bug. the problem is due ot reuse of the variable you define by reference in the second loop - cant really explain why its doing what you see but IIRC its not a bug, an artifact of the way references work. someone with a

Re: Re[2]: [PHP] Pirate PHP books online?

2007-07-24 Thread Dotan Cohen
On 25/07/07, tedd [EMAIL PROTECTED] wrote: Sorry, I've been up for 48 hours -- it's a boy, 8 lb 9 oz -- time to get some sleep. Maybe tomorrow my son will finally decide on a name -- the ninth grand-kid. Maybe he'll name him Rasmus. God, I hope not. :-) Public congratulations. Our home was

Re: [PHP] Strategy when working with designer(s)?

2007-07-24 Thread Richard Lynch
On Mon, July 23, 2007 3:00 pm, Steve Finkelstein wrote: This is more of a conceptual based inquiry. I'm currently working on some projects which require me to build system 'X' prior to any (X)HTML/CSS/graphics are available to me. A lot of the time, I just garble up default tables/forms/images

Re: [PHP] Better way to store data in memory?

2007-07-24 Thread Richard Lynch
On Mon, July 23, 2007 11:50 am, Richard Davey wrote: I'm building up some image data in my PHP script (ready for output to the browser). Having to do some complex per pixel manipulation, which is fine - but I'm just wondering is there a quicker / more efficient way of storing the pixel data

Re: [PHP] Problem compile 5.2.3 souce under SUSE 10.1

2007-07-24 Thread Richard Lynch
On Mon, July 23, 2007 9:48 am, Jeff Lanzarotta wrote: I am not sure if this is the right mailing list or not, but here goes... I am attempting to compile php 5.2.3 from source under SUSE 10.1. The compile is fine, it is the 'make test' that is failing... When I run 'make test' I am getting:

Re: [PHP] strange stripos behavior

2007-07-24 Thread Richard Lynch
Don't call htmlentities until the last possible micro-second before you echo the data to the HTML/browser. That way you can be sure the data you have is the data you think you have. On Sun, July 22, 2007 11:23 pm, Bruce Cowin wrote: I'm using PHP 5.1 on IIS. I have an app that uses MimeDecode

Re: [PHP] Re: strange stripos behavior

2007-07-24 Thread Richard Lynch
On Tue, July 24, 2007 8:30 pm, Robert Cummings wrote: On Tue, 2007-07-24 at 20:03 -0500, Shawn McKenzie wrote: For another guru, I have a question. I just checked the returns of this func on php.net to check myself and I see: This function may return Boolean FALSE, but may also return a

Re: [PHP] RecursiveArrayIterator

2007-07-24 Thread Richard Lynch
On Sun, July 22, 2007 9:02 pm, Kevin Waterson wrote: This one time, at band camp, Nathan Nobbe [EMAIL PROTECTED] wrote: Thanks for the response. I was hoping to avoid this sort of recursion within userspace and keep it at a lower level. Should not the recursive iterator recurse so we dont

Re: [PHP] Re: About XSLT/XML Pagination

2007-07-24 Thread Richard Lynch
On Sun, July 22, 2007 12:44 pm, Tony Marston wrote: also, is there any reason to leverage the validation features of xml while building a dynamic page? for instance assume data was drawn from a database to create 1 or more xml files. would it make sense to validate those new xml files

Re: [PHP] session_decode from session handler

2007-07-24 Thread Richard Lynch
On Sat, July 21, 2007 11:19 pm, Jeffery Fernandez wrote: I have a similar problem I am facing with session data stored in the database from the set_session_handler. What I am trying to do is show a list of online users and the page they are currenlty viewing. For this purpose I am query the

Re: [PHP] Bundled GD compiling?

2007-07-24 Thread Richard Lynch
On Sun, July 22, 2007 5:56 am, Tijnema wrote: On 7/22/07, Hayden Livingston [EMAIL PROTECTED] wrote: I'm confused as to certain issues regarding the bundled version. The documentation says:: To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Richard Lynch
On Sat, July 21, 2007 3:34 am, Crayon Shin Chan wrote: On Saturday 21 July 2007 16:20, Jim Lucas wrote: more then likely, recycling a stack of newspapers would cost more then running my computer for a month. Also reminds me of how some people (especially Americans) who drive miles and

Re: [PHP] Re: Pirate PHP books online?

2007-07-24 Thread Richard Lynch
On Sat, July 21, 2007 3:40 am, Crayon Shin Chan wrote: On Saturday 21 July 2007 08:58, Richard Lynch wrote: In the olden days, it often turned into slash the cover and donate it and collect tax break, I do believe, but I think that practice was decried and has decreased. Just curious,

Re: [PHP] Pirate PHP books online?

2007-07-24 Thread Richard Lynch
On Sat, July 21, 2007 6:42 am, David Powers wrote: Richard Lynch wrote: I've got a pretty good idea what your advance was, and what your royalties are. I'm under no illusion that the 2,000+ downloads of my book would have turned into legitimate sales if illegal copies weren't available. But

[PHP] Find file version

2007-07-24 Thread Matt Carlson
I've been recently toying with the idea of creating a php script to emulate the function of File Hippo's program checker (checks certain programs for their version, and then uploads to file hippo to compare with what it is released to show a list of available updates. I've hit a brick wall