php-general Digest 21 Oct 2006 11:02:46 -0000 Issue 4413

2006-10-21 Thread php-general-digest-help
php-general Digest 21 Oct 2006 11:02:46 - Issue 4413 Topics (messages 243415 through 243420): Daylight saving time 243415 by: Raphael Chasse Re: User question for PHP 243416 by: chris smith 243418 by: Jochem Maas 243419 by: chris smith Re: Creating Tree

php-general Digest 21 Oct 2006 23:25:55 -0000 Issue 4414

2006-10-21 Thread php-general-digest-help
php-general Digest 21 Oct 2006 23:25:55 - Issue 4414 Topics (messages 243421 through 243429): Re: How to recognise url in a block of text 243421 by: AYSERVE.NET Berger table algorithm? 243422 by: Szymon Re: Weird stack trace in error_log from PDOException 243423

Re: [PHP] Weird stack trace in error_log from PDOException

2006-10-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-10-19 16:05:58 -0500: try { $objStatement-execute($arrParams); $intID = $objStatement-fetchColumn(); $objStatement-closeCursor(); } catch (PDOException $objEx) { error_log(get_class($objEx)); // Actually handle the exception } The query

Re: [PHP] Re: How to recognise url in a block of text

2006-10-21 Thread AYSERVE.NET
Wow, that was deep but I'll try to see to what you're saying. Bunmi www.ayserve.net www.budelak.com Robin Vickery wrote: On 18/10/06, AYSERVE.NET [EMAIL PROTECTED] wrote: Hello Guys, I thought I was home and dry when the program worked fine on my windows but when I ran from my Linus server, I

[PHP] Berger table algorithm?

2006-10-21 Thread Szymon
Hello, I'm looking for Berger table generation solution in PHP, for any (parity) number of teams. I'm working on it couple of hours, but haven't made anything useful. Please help! :) -- Szymon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Weird stack trace in error_log from PDOException

2006-10-21 Thread Russ Brown
Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2006-10-19 16:05:58 -0500: try { $objStatement-execute($arrParams); $intID = $objStatement-fetchColumn(); $objStatement-closeCursor(); } catch (PDOException $objEx) { error_log(get_class($objEx)); // Actually handle the

[PHP] Re: Check HTML style sheet?

2006-10-21 Thread Rafael
For PHP, the HTML is pretty much a bunch of chars (a string) and nothing more, which that lets with one (initial) option: search the HTML for a given string. Marc Roberts wrote: Is it possible to use php to check that the .css file in the html of a web page is the correct one e.g. check if

[PHP] Re: A problem with dates

2006-10-21 Thread David Robley
Dave Goodchild wrote: Hi all. I have an online events directory and am having some issues with date calculations. I have a table of dates (next year) and an events table - which have a many to many relationship and so use an intermediary mapping table called dates_events. All good - when the

[PHP] One-page password-protected file

2006-10-21 Thread Dotan Cohen
I'm in the horrible situation where I need a one-page script to hold it's own password and validate itself. I coded this together, I want this lists opinion as to whether or not it holds water, considering the circumstance: ?php $sha1_pw=5218lm849l394k1396dip4'2561lq19k967e'30; if (

[PHP] Re: One-page password-protected file

2006-10-21 Thread Dotan Cohen
On 21/10/06, Dotan Cohen [EMAIL PROTECTED] wrote: I'm in the horrible situation where I need a one-page script to hold it's own password and validate itself. I coded this together, I want this lists opinion as to whether or not it holds water, considering the circumstance: ?php

[PHP] Re: Check HTML style sheet?

2006-10-21 Thread Al
Marc Roberts wrote: Is it possible to use php to check that the .css file in the html of a web page is the correct one e.g. check if the file included in the html is new.css. I think I will have to write a regex but if anyone has any ideas (or already has a regex to do this), it would be

[PHP] Parsing serialized PHP arrays in C

2006-10-21 Thread Kevin Wilcox
I have a feeling this may be the wrong group to ask this question, but I thought that if it is, someone can point me in the right direction. I'm working on a application written in C that needs to parse and understand php arrays that have been serialized and stored in a MySQL table. I started

[PHP] IP Address

2006-10-21 Thread Fred Moses
Is there a function which returns the IP address of the requestor of the current page? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IP Address

2006-10-21 Thread Greg Maruszeczka
On Sat, 21 Oct 2006 19:55:17 -0400 Fred Moses [EMAIL PROTECTED] wrote: Is there a function which returns the IP address of the requestor of the current page? -- Don't think so but there is a superglobal that contains it: $_SERVER['REMOTE_ADDR'] -- PHP General Mailing List

Re: [PHP] Parsing serialized PHP arrays in C

2006-10-21 Thread Rasmus Lerdorf
Kevin Wilcox wrote: I have a feeling this may be the wrong group to ask this question, but I thought that if it is, someone can point me in the right direction. I'm working on a application written in C that needs to parse and understand php arrays that have been serialized and stored in a