[PHP] www.php.net/docs.php

2002-07-24 Thread Francis
whats the reason why www.php.net/docs.php has been down for days? why is it still saying this error? Warning: main("geoip.inc") - No such file or directory in /local/Web/sites/phpweb/include/prepend.inc on line 6 Fatal error: Failed opening required 'geoip.inc' (include_path='.:/local/Web/sites/

[PHP] NT2000 ARGH!

2002-07-25 Thread Francis
Ok PHP was working fine on this NT2000 box and now its totally smegged. Every PHP page gives the error: -2147467259 (0x80004005) Then IIS restarts itself, i've tried reinstalling with the latest version (4.2.2) of PHP, rebooted, no joy, then reinstalled IIS rebooted thenthen it constantly asked

[PHP] Re: NT2000 ARGH!

2002-07-25 Thread Francis
ok change to cgi, seems to be alot more stable now. "Francis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Ok PHP was working fine on this NT2000 box and now its totally smegged. > Every PHP page gives the error: > > -

[PHP] Am I just being stupid or something?

2002-09-02 Thread Francis
Ok whats going on here: echo "Location: ".$_SESSION["Project"]["location"]; // above echo's "Location: 0" if($_SESSION["Project"]["location"] !=""){ if (checkAccess("folder", $_SESSION["Project"]["location"], "create")){ newfile(); }else{ reportError(1, "Access Denied"); }

[PHP] PHPDoc?

2002-10-01 Thread Francis
Is their any comparable tool/util whatever to automaticly create documentation from your PHP Code (like java's JavaDoc)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Argh! nulls un stuff..

2002-10-14 Thread Francis
ok going mad all I need to do is check a variable and if it has a number in it then do something, so anything from 0 up, but it keeps thinking 0 is null and failing, anyway around this? or am I just being stupid as usual? $_SESSION["temp"] = 0; $tempVar = 0; if($_SESSION["temp"] !=""){ echo "!=

Re: [PHP] Argh! nulls un stuff..

2002-10-15 Thread Francis
temp"] > 0 && $_SESSION["temp"] != "") > > > > ORif you want to be sure the value is a number as well: > > > > if ($_SESSION["temp"] > 0 && $_SESSION["temp"] != "" && > > is_numeric($_SESSION[&qu

[PHP] Content-Disposition IE bug

2002-10-15 Thread Francis
ok i know this has popped up a couple of times before but i'm still having problems. What I need is the download popup to popup and ask the user if they wish to save or open the file they want to download. If you click open IE saves the file in your temp cache and then opens up the associated prog

Re: [PHP] Content-Disposition IE bug (ADDENDUM)

2002-10-15 Thread Francis
Cache-control: private"); > header("Content-type: application/octet-stream"); > header("Content-length: $filesize"); > header("Content-Disposition: attachment; filename=\"$filename\""); > > -- > Aaron Gould > [EMAIL PROTECTED]

[PHP] Downloading Files

2002-06-25 Thread Francis
I want to protect files from being downloaded and only allow people to download files which they have access too. I've done all the access control etc... but whats the best way for the user to download the file... Can you "paste" the file directly into the header? (get the file from the filesystem

Re: [PHP] Downloading Files

2002-06-25 Thread Francis
ru($fh); exit(); Thanks a lot!! :) "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Either of these options will work fine. There was MASSIVE disscussions > about this a few weeks back -- check for threads started by m

[PHP] Microsoft Bug come back to haunt?

2002-06-26 Thread Francis
Ok I posted a mail a couple of days ago about downloading files within PHP. Heres the code I'm using: Header("Content-Type: application/x-tar"); Header("Content-Transfer-Encoding: binary"); Header("File-Length: $fileSize"); Header("Content-Disposition: attachment; filename=$filename"); Anyway th

[PHP] Re: Microsoft Bug come back to haunt?

2002-06-26 Thread Francis
/to/dl.php/filename.tar (works with apache) > > The latter seems to work better for me. > > > On Wed, 26 Jun 2002, Francis wrote: > > > Ok I posted a mail a couple of days ago about downloading files within PHP. > > Heres the code I'm using: > > > >

[PHP] Doing an HTML POST using header()

2002-07-22 Thread Francis
I'm trying to redirect to another website but doing a post to that website at the same time. (ie POST rather than a GET (eg: header("Location: www.anothersite.com/index.php?page=22"); ) How do you do an HTML post using the header() whats the syntax? I just cant find it anywhere. Thanks --

[PHP] Re: Doing an HTML POST using header()

2002-07-22 Thread Francis
gt;news:[EMAIL PROTECTED]... > Don't redirect, use curl to post your data to the new page. > > Francis wrote: > > > > I'm trying to redirect to another website but doing a post to that website > > at the same time. (ie POST rather than a GET (eg: header("Locatio

[PHP] Congratulations You Win

2003-10-08 Thread Francis Weeny
participants of this program. We hope with a part of you prize, you will participate in our end of year high stakes US$1.3 billion International Lottery. To begin your claim, please contact your claim agent; Mr Francis weeny at this email address below. [EMAIL PROTECTED] For due processing and

[PHP] Congratulations You Win

2003-10-08 Thread Francis Weeny
participants of this program. We hope with a part of you prize, you will participate in our end of year high stakes US$1.3 billion International Lottery. To begin your claim, please contact your claim agent; Mr Francis weeny at this email address below. [EMAIL PROTECTED] For due processing and

[PHP] Congratulations Yoiu are a Winner

2003-11-01 Thread Francis Weeny
by participants of this program. We hope with a part of you prize, you will participate in our end of year high stakes US$1.3 billion International Lottery. To begin your claim, please contact your claim agent; Mr Francis weeny at this email address below. [EMAIL PROTECTED] For due processing and

[PHP] How do I Resize an image?

2002-01-30 Thread Francis Cronjé
I am new to php and wd appreciate any help! I have been through the manual, but have found no solution: 1.How do I resize an image retrieved from an interbase database before = displaying it on a page? ie If the image is 800 x 600 pixels and I want to resize the image to = 256 x 192 2.Do I have t

[PHP] IE and Netscape

2002-02-19 Thread Alex Francis
ail:", " ",$email, "   ",$date, "   ", "PostID:", " ",$id ,""; IE5:Debbie McNicol E-mail: [EMAIL PROTECTED] PostID: 180 Netscape: Debbie McNicol  E-mail:&[EMAIL PROTECTED]  PostID: 180 -- Alex Francis Cameron Design 35, Drumil

[PHP] Re: IE and Netscape

2002-02-19 Thread Alex Francis
Thank you - everything alright now. I guess this is what happens when you learn using wiziwig editors. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only

[PHP] Sessions

2002-05-04 Thread Alex Francis
file or directory (2) I have session support enabled, is there something else I need to do. -- Alex Francis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions

2002-05-04 Thread Alex Francis
You'r right of course, the directory didn't exist. Working alright now. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may conta

[PHP] Recursive call of index.php/test=2

2001-11-16 Thread Francis Grignon
s/' '--with-imap' '--with-apxs=/virtual/apachedev/bin/apxs' Apache version : 1.3.20 Php version : 4.0.6 and 4.2.0-dev Do you have any suggestion to block the recusive call? Thank you Francis Grignon [[EMAIL PROTECTED]] Analyse programmeur Groupe iWeb Technologie

[PHP] newbie question

2001-03-26 Thread Francis Xavier
Hello! I am relatiovely new to PHP and I need help with the "fsockopen". Well I use this to check if the server is online or down. But that's not exactly what I wanted it to do. I have this "downloads page" and I am more into detecting if the "remote files" are available for download or not. C

[PHP] XSLT - sablot - 4.0.6

2001-07-11 Thread Francis Fillion
an change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk." I though that with sablot, it was near production, but it didn't seen so now. Thanks you. -- Francis Fillion, BAA SI Broadcasting live from his linux box. And the maintainer of

Re: [PHP] Variable Next To Variable?

2001-07-11 Thread Francis Fillion
; > Hope that makes sense. Thanks for any help. > Jeff Oien > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTEC

[PHP] PArsing xml document with php

2001-07-11 Thread Francis Fillion
able-xslt --with-xslt-sablot=../Sablot-0.60 --with-apxs --enable-sablot-errors-descriptive --with-xml --with-dom=/usr/include/libxml --with-zlib ON Apache 1.3.20, php 4.0.6 and redhat 6.2 -- Francis Fillion, BAA SI Broadcasting live from his linux box. And the maintainer of http://www

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in ...

2001-07-11 Thread Francis Fillion
t; Thanks, > Tom > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] To > contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- > PHP General Mailing Lis

Re: [PHP] Re: How do I get PHP's User-Agent?

2001-07-11 Thread Francis Fillion
-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI Broadcasting live from his linux box. And the maintainer of http://www.windplanet.com -- PHP General Mailing List (http:

Re: [PHP] How do I get PHP's User-Agent?

2001-07-11 Thread Francis Fillion
ke PHP/4.0.X. Is there a variable or way to get this? Thank > you. -- Francis Fillion, BAA SI Broadcasting live from his linux box. And the maintainer of http://www.windplanet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [PHP] Re: Warning: mail() is not supported in this PHP build

2001-07-11 Thread Francis Fillion
odules. What files are used? I tried deleting the > src>/src/modules/php4 folder. > > > > Any help would be greatly appreciated. > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additio

[PHP] Regular expression, parsing bad html in a xml document (strange)

2001-07-12 Thread Francis Fillion
uot;. htmlentities($myarray2) ." is not allowed\n"; } } // what html? we exit //exit; } It find all the < but doesnt' remove the one that I accept, so how can I find the bad < and transform them to < ? Thank you and have a

Re: [PHP] Regular expression, parsing bad html in a xml document (strange)

2001-07-12 Thread Francis Fillion
Lazy me, after a short break, alway's helping, I found out wthat it has to be: /\<(?!\?xml|\!DOCTYPE|\!ENTITY|image|item|\/item)/ the ?! negate this text, I though that I could put it in every value like this (?!\?xml|?!\!ENTITY ... but no by putting in first he do it for all (k.i.s.s.

Re: [PHP] newbie question

2001-07-12 Thread Francis Fillion
advance, > André. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI Broadcasting li

Re: [PHP] submitting free-form text to a database

2001-07-16 Thread Francis Fillion
ccess uses a method other than slashes to escape quotes. > > Matt > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL

Re: [PHP] count number of email sent to us

2001-07-18 Thread Francis Fillion
n? > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI Broadca

Re: [PHP] Question about hosting

2001-07-18 Thread Francis Fillion
ndle it. > > Any suggestions? > > Thanks, > jay > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTE

Re: [PHP] PHP vs Perl question

2001-07-18 Thread Francis Fillion
mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI Broadcasting live from his linux box. And the maintainer of http://www.windplanet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] a good PHP editor

2001-07-18 Thread Francis Fillion
... Thanks > > Doug Henry > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis

Re: [PHP] a good PHP editor

2001-07-18 Thread Francis Fillion
e-face t t) (2 font-lock-variable-name-face t t) ) '("\\<\\$\\(this\\)->" (1 font-lock-keyword-face t t) ;; "this" as keyword ) ;; Fontify class names '("\\<\\(class\\)\\s-+\\([a-zA-Z_\x7f-\xff][a-z

Re: [PHP] a good PHP editor

2001-07-18 Thread Francis Fillion
--END PGP SIGNATURE- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI Broadcastin

Re: [PHP] Re: PHP vs Perl Question

2001-07-18 Thread Francis Fillion
hair. Both are good. > > >c > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
> > -- > Best regards, > Maxim Derkachev mailto:[EMAIL PROTECTED] > System administrator & programmer, > Symbol-Plus Publishing Ltd. > phone: +7 (812) 324-53-53 > www.books.ru, www.symbol.ru > > -- > PHP General Mailing List (http://www.php.net/) > To unsubs

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
Here what I use xslt_process($xslString, $xmlString, $this->result); and it give me this error Warning: Supplied argument is not a valid XSLT Processor resource in /home/httpd/html/xml/include/class.transform_xsl.php on line 74 Maxim Derkachev wrote: > > Hello Francis, > > Th

Re: [PHP] XSLT module bugs (?)

2001-07-19 Thread Francis Fillion
;re using 4.0.6? If so what was your configure option? Thanks again. Maxim Derkachev wrote: > > Hello Francis, > > Thursday, July 19, 2001, 6:05:55 PM, you wrote: > > FF> Here what I use xslt_process($xslString, $xmlString, $this->result); > > FF> and it give m

Re: [PHP] Restoring a backup

2001-07-19 Thread Francis Fillion
] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Francis Fillion, BAA SI Broadcasting live from his linux box. And the maintainer of http://www.windplanet.com -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] encryption

2001-07-19 Thread Francis Fillion
before being sent over the Internet (which > > would > > > > make this function unnecessary)." > > > > > > > > I am pretty new to PHP and absolutely clueless as far as > > > > encryption/algorithims are concerned. Could anyone possibly point me >

Re: [PHP] encryption

2001-07-20 Thread Francis Fillion
with keys where the PHP page would > write the Javascript Function with a different key based on time or > something? > That might work. > > Thoughts? > Sheridan > > - Original Message - > From: Francis Fillion <[EMAIL PROTECTED]> > To: Tom Malone <[EMAIL

[PHP] Installing Php5 over Existing Php4.3.6

2004-07-23 Thread Francis Chang
ent PREFIX directory? Any tip would be much appreciated. Francis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Installing Php5 over Existing Php4.3.6

2004-07-23 Thread Francis Chang
No, I do not want to keep the old distribution. What is the proper way to "uninstall" the existing installation? Do I just do a 'make distclean'? Would that clean up all the libraries and the program files of the existing installation? Thanks again. Francis "Jason B

[PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Francis Chang
Hello All, I have a newbie question related to validating required Form fields. Suppose we have a two-step user registration process with scripts register1.php and register2.php, each page containing a set of required and non-required fields. In register1.php, when user submits the form, it call

[PHP] Help Me Understand PHP5, register_globals=off, $HTTP_POST_VARS, and $_POST

2004-10-13 Thread Francis Chang
Hello, I've done some homework on my own by reading through PHP documentation and various articles; however, I am still a bit confused as to what is supported in PHP 5.0 when register_globals is set to off. In PHP5.0, if the register_globals parameter is set to off (as it is by default), I kno

[PHP] apache 2.0.51 and php 5.0.2 static compile

2004-09-28 Thread Francis Davidson
I'm sorry to ask a question that I'm sure exists in the documents, but I have yet to see it? How does one compile php 5.0.2. statically into your apache 2.0.51 binary, everything, I've seen thus far shows how to create a php shared module? Thank You -- PHP General Mailing List (http://www.php.n

[PHP] a shortcut to set variable

2011-04-12 Thread Joe Francis
eh, I just want to get a shortcut like $id = isset($_GET['id']) ? $_GET['id'] : 0; BTW, I'm using PHP5.3+, thanks bros. -- Powered By Francis™. Welcome to my website: http://www.francistm.com Rewrite to francis...@gmail.com please.

Re: [PHP] Help needed with php.ini

2011-06-06 Thread Joe Francis
. The latest settings should override the > previous one. > > Have you restarted apache with service httpd restart or /etc/init.d/httpd > restart? (or apachectl restart) > > In your php script or htaccess file, do you override those values? > > Sent from my iPhone 5 Beta [Confidential use only] > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Powered By Francis™. Welcome to my website: http://www.francistm.com Rewrite to francis...@gmail.com please.

Re: [PHP] php-cli-shebang

2011-06-08 Thread Joe Francis
sing > the -f flag when calling the script (it appears). > > anyway, I solved my issues with a work around, so no worries. > > > Donovan > > > -- > dbrooke > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/

[PHP] zlib compatibility

2004-05-28 Thread Francis Mak
o tried to use binary read in php(i.e. "rb"), but still got stucked in gzuncompress. just another question, what is the difference between gzuncompress and gzdeflate ?? Thank you very much!! Francis Mak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and Mod_PLSQL

2004-07-19 Thread Francis Mignault
I am having trouble making HTMLDB (Mod_PLSQL) and PHP work together. I installed PHP and did the make and make install but if I LoadModule php4_module, only the basic php works (not the OCI) and mod_plsql stops working. Here are the lines that I added in http.conf : LoadModule php4_module

[PHP] Segmentation fault(11) using oci8 Oracle 10g

2004-07-19 Thread Francis Mignault
When I try to use oci8 on redhat8 Oracle 10.1 I get the following error on make PHP : /u01/app/oracle/product/10.1.0/lib/libclntsh.so: warning: remap_file_pages is not implemented and will always fail and Segmentation fault(11) in the apache log. Any ideas why ? Thanks Francis. -- PHP

[PHP] Passing of querystrings

2004-02-01 Thread Ryan Francis
/output2.php?id=1 Which I hoped would make a variable, $id, and set the value to 1. However it doesnt work, the variable is not created. Any help would be greatly appreciated. I have Appache 2.0.48, MySQL 4.0.17, and PHP 4.3.4 Many Thanks Ryan Francis -- PHP General Mailing List (http

[PHP] Do You Need addslashes() When Using Bind Variables

2004-11-09 Thread Francis Chang
Hi, I'm using the Oracle database though I think this question is generic to all databases. If you're using bind variables and preparing the SQL statements ahead of time, do you still need to call addslashes() before binding the strings to the bind variables? Thanks in advance

[PHP] PHP4 mysqli with mysql 4.1.7?

2004-12-09 Thread Francis Mak
somebody could help me. And I believes there are lots of people having the same upgrade issue. if utf8 + 4.1.7 + mysqli_query is a must instead of 4.1.7 + mysql_query, I am sure that there will be lots of problem come up as most PHP applications are using mysql_query only. THANK YOU VERY MUCH!!! Francis Mak

RE: [PHP] PHP4 mysqli with mysql 4.1.7?

2004-12-10 Thread Francis Mak
w. However, I am still confused on some issue: 1. Is it possible to set the PHP mysql client to use utf8 as default? In this way, I do not need to modify all of my applications. 2. Why mysqli + 4.1.x is recommended? Francis Mak -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sorry forgot to include the code for my last message - Mike Francis

2004-12-11 Thread Mike Francis
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml";> Our List of Jokes Unable to connect to the ' . 'database server at this time.' ); exit(); } // Select the jokes database if ([EMAIL PROTECTED]('ijdb')) { exit('Unable to locate the joke ' . 'database at this ti

Re: [PHP] Re: Sorry forgot to include the code for my last message - Mike Francis

2004-12-12 Thread Mike Francis
7;'); } // Display the text of each joke in a paragraph while ($row = mysql_fetch_array($result)) { echo '' . $row['joketext'] . ''; } ?> - Original Message - From: "David Robley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

[PHP] Apache - MySQL connection via PHP

2004-12-10 Thread Mike Francis
Hi, I am having a problem connecting to a MySQL database via PHP. I have Apache 2.0.52, PHP 5.0.2 and MySQL 4.1 installed and working OK individually. I have copied phpmysql.dll and mysqli.dll at different times to Windows/System32. I have set up a successful MyODBC connection with the database

[PHP] MySQL Connection problem

2004-12-11 Thread Mike Francis
Hi, I have Apache 2, PHP 5 and MySQL 4.1 installed on an XP pro box. I have created a new database 'ijdb' with a single table 'joke' and have entered data into two of the three fields in the table. I can access the database / tables / data from a command prompt. However, when I try to connect t

[PHP] SPL Countable count() not being called

2005-08-30 Thread Justin Francis
I have not been able to get count() to be called when I pass my Countable class to the count function. I am using PHP 5.1 Release Candidate 1. I am not sure if it is a bug, so I am posting here to see if anyone can help. -- class Collection implements Countable { public

Re: [PHP] SPL Countable count() not being called

2005-08-30 Thread Justin Francis
Stut wrote: Justin Francis wrote: I have not been able to get count() to be called when I pass my Countable class to the count function. I am using PHP 5.1 Release Candidate 1. I am not sure if it is a bug, so I am posting here to see if anyone can help. -- class

[PHP] Re: [SPAM] - RE: [PHP] SPL Countable count() not being called - Bayesian Filter detected spam

2005-08-30 Thread Justin Francis
Jay Blanchard wrote: [snip] No. By implementing the Countable interface, and implementing the count() method, the global count($c) function is supposed to call $c->count(). This is so the object can be treated like a countable array in the same manner. [/snip] I was asleep earlierif $c

[PHP] Re: SPL Countable count() not being called

2005-08-31 Thread Justin Francis
Justin Francis wrote: I have not been able to get count() to be called when I pass my Countable class to the count function. I am using PHP 5.1 Release Candidate 1. I am not sure if it is a bug, so I am posting here to see if anyone can help. -- class Collection

[PHP] Re: [SPAM] - [PHP] Nested IFs Problem - Bayesian Filter detected spam

2005-08-31 Thread Justin Francis
Albert Padley wrote: I have the following nested ifs: if ($row['date'] < '2005-10-02') { if ($row['time'] < '12:00') { if ($row['field'] == 'P5' ) { echo "Success"; } } } else { echo "Failed"; } Whenever the 3 if statements are true,