Re: [PHP] Re: Function variables in classes

2007-11-01 Thread Paul van Haren
. BTW: I'm running PHP v5.2.0-8 build and distributed by Debian (etch1). Thanks again and regards, Paul. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Maximum function nesting level of '100' reached

2007-10-26 Thread Paul Scott
On Fri, 2007-10-26 at 12:52 +0200, Jochem Maas wrote: since when is there an arbitrary maximum recursion limit??? Since forever... ;) I thought that it was at 60 though... --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services

Re: [PHP] Ant in php

2007-10-25 Thread Paul Scott
On Thu, 2007-10-25 at 02:25 -0700, DCVer wrote: is this a good idea to use Ant with PHP or is there some similar tool to Ant, that works fine with PHP? Thanks in advance. What you really want to look at is Phing, not Ant. It is very similar and I use it extensively for my project(s). --Paul

Re: [PHP] combining 2 arrays

2007-10-16 Thread Paul Scott
get result = array(array('8', 'SER'), array('9','Asterisk'), array('6','XIP')) You could try something like: $result[] = $arrayDB1; $result[] .= $arrayDB2; If I understand the question correctly. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal

Re: [PHP] Please recommend blog script

2007-10-07 Thread Paul Scott
or ATOM). Most do that, including the Chisimba one (see http://fsiu.uwc.ac.za as an example. Download at http://avoir.uwc.ac.za) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http

[PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Paul Scott
look out for this. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error messages

2007-10-05 Thread Paul Scott
On Fri, 2007-10-05 at 00:32 -0700, tbt wrote: I added the following lines to the top of my script but still no error messages show up on the browser. When a php error occurs the entire page is still shown blank. Is your script *supposed* to output something? --Paul All Email originating

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Paul Scott
On Fri, 2007-10-05 at 07:38 -0600, Ashley M. Kirchner wrote: Quarantine Messages: Message quarantined because of virus: PHP.Shell. Someone saw it somewhere and reported it... Don't you love Free Software? ;) --Paul All Email originating from UWC is covered

Re: [PHP] evil script in server logs (Heads Up)

2007-10-05 Thread Paul Scott
at a rate of knots, so are probably doing the same elsewhere. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error messages

2007-10-04 Thread Paul Scott
the error_reporting level in your php.ini, or you can simply put the following line at the top of your script: ini_set(error_reporting, E_ALL); or for an even stricter setting: ini_set(error_reporting, E_STRICT); --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za

Re: [PHP] languages and PHP

2007-09-27 Thread Paul Scott
. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SOAP in PHP on very restricted host?

2007-09-26 Thread Paul Scott
nuSoap on PHP5, be sure to change the class names etc, otherwise you will get conflicts in our namespaceless world. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http

Re: [PHP] Re: Data request

2007-09-25 Thread Paul Scott
On Tue, 2007-09-25 at 09:17 -0400, Robert Cummings wrote: Oh sure, and now when I'm searching for shit I'll get all these Henry's cat references *bleh*. Well then why not tie in coprophilia as well? ugh. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za

Re: [PHP] Data request

2007-09-24 Thread Paul Scott
On Mon, 2007-09-24 at 14:14 +0100, Stut wrote: Have you tried Google? It knows a lot about most things and a little about the rest. Also try have a look at the models used in flightgear - http://www.flightgear.org --Paul All Email originating from UWC is covered by disclaimer http

Re: [PHP] Very Large text file parsing

2007-09-21 Thread Paul Scott
6.5 million rows) to add in a field (RDBMS function in C - so much easier)... Thank you all, I really appreciate the help! --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http

Re: [PHP] Very Large text file parsing

2007-09-21 Thread Paul Scott
On Fri, 2007-09-21 at 08:34 +0200, Paul Scott wrote: Thanks to all for the suggestions - I now have to figure out the best way to manipulate every single record in that table (now over 6.5 million rows) to add in a field (RDBMS function in C - so much easier)... Oh, and by the way, adding

Re: [PHP] Very Large text file parsing

2007-09-21 Thread Paul Scott
On Fri, 2007-09-21 at 08:42 +0200, Per Jessen wrote: Isn't that just an ALTER ? Its a little more complex than that, as I have to actually create WKB from the data, so no, not just an ALTER unfortunately. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za

[PHP] Very Large text file parsing

2007-09-20 Thread Paul Scott
appreciated. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Very Large text file parsing

2007-09-20 Thread Paul Scott
if there was some kind of voodoo that would speed things up a bit. Thanks both for your responses, appreciate it! --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net

RE: [PHP] Very Large text file parsing

2007-09-20 Thread Paul Scott
], 'timezoneid' = $data[15], 'moddate' = $data[16] ); $this-objDbGeo-insertRecord($insarr); //$arr[] = $data; } fclose($handle); --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content

Re: [PHP] Very Large text file parsing

2007-09-20 Thread Paul Scott
using postgres or mysql specific functions are not really an option. What I am trying though, is to add a function to do batch inserts as per Rob's suggestion into our database abstraction layer, which may help things a bit. Thanks --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] Command line socket server and SSL

2007-09-05 Thread Paul
Below you have described a client. I'm talking about a server. That was clear in my original post. -Paul W Greg Donald wrote: On Tue, 4 Sep 2007, Paul wrote: Which part do you need help with? The SSL part or the command line or the port or ... ? http://www.php.net/openssl http://www.php.net

Re: [PHP] Command line socket server and SSL

2007-09-05 Thread Paul
Greg Donald wrote: On Wed, 5 Sep 2007, Paul wrote: Below you have described a client. I'm talking about a server. That was clear in my original post. Why on earth would you need to implement an SSL socket in PHP when we have Apache and openssl? That's pointless. Anywhere PHP can run Apache

Re: [PHP] Command line socket server and SSL

2007-09-05 Thread Paul
Greg Donald wrote: On Wed, 5 Sep 2007, Paul wrote: Because the client is incapable of HTTPS or HTTP protocols. Not that I really should need to answer this. Why on earth would you assume I don't have a good reason? In what way is this answer to my question even a little helpful? It's

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Paul Scott
On Wed, 2007-09-05 at 20:41 -0400, tedd wrote: Java Runtime Environment == Java JavaScript != Java How about something like: if ( navigator.javaEnabled() ) { alert('JRE is installed!'); window.location=page_with_a_JAVA_applet; } else { alert('JRE is not installed!');

[PHP] Command line socket server and SSL

2007-09-04 Thread Paul
or point me in the right direction? TIA, Paul W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Command line socket server and SSL

2007-09-04 Thread Paul
Chris wrote: Paul wrote: I need to program a socket server in PHP that can use a certificate and communicate over SSL. I'm doing fine without SSL. Can't use port 443 or the web server for this, so it needs to be a command line app. Can't seem to find any documentation about how to set that up

[PHP] Chisimba Framework Release

2007-08-31 Thread Paul Scott
The next release of the Chisimba PHP5 framework is now available. Major enhancements included in this release are: - Memcache support - Better caching of language items - Improved database performance - Bug fixes - Better code documentation - API docs - First draft of the Chisimba Book

Re: [PHP] PHP and SOAP calls

2007-08-24 Thread Paul Scott
. Instead of starting again, what is your small issue? Can that not be solved rather? --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Web Service with PHP4 suggestions wanted.

2007-08-16 Thread Paul Scott
used to develop with (client and server) off list. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Books - A poll of sorts

2007-08-12 Thread Paul Scott
on it, they are free to do so. I would not mind seeing at least *some* homogeneity in PHP code, across projects, but I still don't think that *all* projects need stick to the same standards - this will ultimately stifle creativity, which is what PHP is all about anyway. Just my R0.02 --Paul All Email originating

Re: [PHP] Friday morning brain farts....

2007-08-10 Thread Paul Novitski
. Also, you'll want to check the incoming values to prevent SQL injection (q.v.). If you insert unevaluated input into an SQL query you're leaving yourself vulnerable to everything from data exposure to data manipulation from outside sources. Regards, Paul __ Paul

Re: [PHP] php SHOW

2007-08-03 Thread Paul Scott
On Fri, 2007-08-03 at 11:56 +0100, Hulf wrote: Is there a way to output my data and tables using a php version of SHOW? Doesn't have to be pretty HTML just output to screen Well, not knowing what show does, my best guess would be that you are looking for __toString() --Paul All Email

Re: [PHP] Blooging Portal

2007-07-31 Thread Paul Scott
or contact me off list to ask any questions. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bizarre array create error

2007-07-30 Thread Paul Novitski
between - and ? Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Paul Novitski
-syntax.comments.php Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
(separation of logic from data/template/output, omission of escape codes except the occasional {}, fewer typographical errors, faster proofreading, etc.). I don't feel the need to convince anyone else to use heredoc, but I'm totally sold on it myself. Regards, Paul

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
it to their hard drive. If you're in a situation in which you're trying to avoid people downloading images without permission, your best bets might be to watermark, crop, low-res-ify, or otherwise disfigure the displayed images to make them less attractive than the originals. Regards, Paul

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
://php.net/urlencode heredoc syntax: http://php.net/heredoc#language.types.string.syntax.heredoc isset: http://php.net/isset file_exists: http://php.net/file_exists readfile: http://php.net/readfile @ Error Control Operator: http://php.net/@ Regards, Paul __ Paul

RE: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
past an espresso bar that doubles as an internet cafe. A customer had approached the counter and was asking the barrista how to access his email because he couldn't find Explorer, and she advised him to click on Foxfire. (Great movie, though.) Regards, Paul __ Paul

Re: [PHP] session_start(): Cannot send session cache limiter...

2007-07-20 Thread Paul Scott
that there are no problems there first. That should give you more of a clue as to what is happening. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Unlink file older then 7 days

2007-07-18 Thread Paul Scott
On Wed, 2007-07-18 at 07:29 +0100, [EMAIL PROTECTED] wrote: I need to throw in a wildcard, how would I do that.. I have this so far. which dont work. foreach(glob(*.asc.txt) as $files) { unlink($files); } --Paul All Email originating from UWC is covered by disclaimer http

Re: [PHP] Xdebug 2 released.

2007-07-18 Thread Paul Scott
/index.php?module=blogaction=viewsinglepostid=gen9Srv59Nme5_9262_1182142431userid=3897070607 --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] PHP-5.2.3 and Internal Server Error

2007-07-17 Thread Paul Scott
that there is no whitespace after the closing ? tag and all, and have removed almost everything that I can think of that may be causing something like this. It seems to choke on the call to ob_start()... Anyone have any ideas that may shed some light on this one? Appreciate any helpful tips. --Paul All

Re: [PHP] Upload Tracker.

2007-07-17 Thread Paul Novitski
other than the functionality of the widget itself. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP-5.2.3 and Internal Server Error

2007-07-17 Thread Paul Scott
releases, so it has been checked, but I have now re-checked and all seems OK. Set error_reporting to E_ALL. It always is on our test and development boxes. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP

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

2007-07-17 Thread Paul Novitski
since almost no one is actually addressing it. So far you're shouting past them as much as they're shouting past you because you're all addressing different topics in a single thread. Warm regards, Paul __ Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General

[PHP] PHP 101 Podcasts

2007-07-16 Thread Paul Scott
with some multimedia in the form of audio/video and presentations. Anyone have any pointers for me? I would greatly appreciate some content keeping in mind that these students have never even heard of PHP... --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal

Re: [PHP] acerca de extensiones SQL Server

2007-07-14 Thread Paul Scott
as php5-mysql and/or php5-mysqli --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP Brain Teasers

2007-07-06 Thread Paul Novitski
? THE Ella Fitzgerald?? Yowsa! Bemusedly, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Brain Teasers

2007-07-03 Thread Paul Novitski
At 7/3/2007 12:11 PM, Jay Blanchard wrote: [snip] if($x == 0.01 || $x == 1.0){ $y = in; } [/snip] In for a penny, in for a pound. Metric, that is! Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List

Re: [PHP] Date Calculation Help

2007-06-30 Thread Paul Novitski
etc. In PHP this could be: intval(($month - .1)/3 + 1) or: intval(($month + .9)/3) I believe you can use intval() and floor() interchangeably in this circumstance. Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com

[PHP] simplexml_load_file and proxy auth

2007-06-29 Thread Paul Scott
Does anyone know of a way to pass proxy auth to simplexml_load_*? Previously, I have used cURL to return the XML string from remote, but this seems kind of hacky to me, and was wondering if anyone had a better solution? Thanks --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-29 Thread Paul Scott
On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe --Paul All Email originating from UWC is covered by disclaimer http

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Paul Scott
to automatically know the current rates. Is there an online database or a way I can tap into a database that has that information? I am pretty sure, although I may be wrong, that http://xe.com provides a webservice for this. --Paul All Email originating from UWC is covered by disclaimer http

Re: [PHP] PHP P O K E R...... and JAVA (convert)

2007-06-27 Thread Paul Scott
On Wed, 2007-06-27 at 14:17 +0200, Tijnema wrote: Not too hard to program right? As long as you keep on assuming that you are playing with infinite decks of cards, and not marking cards as dealt as you deal. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Paul Scott
On Thu, 2007-06-21 at 01:13 -0700, makhan wrote: Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know that file has

Re: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Paul Scott
of the files in a directory, according to a filter if needs be, and then use a foreach to manipulate them --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net

Re: [PHP] Program Execution and reading results

2007-06-20 Thread Paul Scott
simple, but anyway, you can use fopen() to open up the resultant file and do what you need with it. http://www.php.net/fopen --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http

Re: [PHP] Force zero numbers on a integer

2007-06-19 Thread Paul Scott
On Tue, 2007-06-19 at 13:17 -0300, [EMAIL PROTECTED] wrote: I have a integer that is submitted by the user and i need it to always contain 5 digits. str_pad($userSubmittedNumber, 5, 0, 0); --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
uses GraphViz to make very interesting graphs of what your code is doing. If you would like a more detailed HOWTO, please let me know, and I will write up something for you. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
On Mon, 2007-06-18 at 06:39 +0200, Paul Scott wrote: If you would like a more detailed HOWTO, please let me know, and I will write up something for you. http://fsiu.uwc.ac.za/index.php?module=blogaction=viewsinglepostid=gen9Srv59Nme5_9262_1182142431userid=3897070607 --Paul All Email

Re: [PHP] The data get lost when click back button

2007-06-16 Thread Paul Scott
if(isset($_SESSION['field1'])) { $field1 = $_SESSION['field1']; } --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Install question

2007-06-15 Thread Paul K
? Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
On Wed, 2007-06-13 at 12:08 +0200, Zoltán Németh wrote: is this the link: http://196.21.45.50/fsiu/chisimba_framework/app/index.php?module=blogaction=allblogs ? (this was in your original post) No, sorry, I have just updated the DNS. Try http://fsiu.uwc.ac.za/ now. --Paul All Email

Re: [PHP] Re: PHP list as a blog

2007-06-13 Thread Paul Scott
the better. I notice that gmane blogs do not obfuscate the email addresses of senders though. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
of postgres) to an older version MySQL (I think its 4.1 or so) that may or may not have the UTF-8 stuff enabled on it. I will get the mysql admins to fix it as soon as possible. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer

Re: [PHP] Re: PHP list as a blog

2007-06-13 Thread Paul Scott
annoying getting a zillion spammers knocking over your mailserver for no reason. :) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Address validation API's for PHP

2007-06-13 Thread Paul Scott
that sweetens the pot even more. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
think that the blogosphere is a mix of exhibitionists and voyeurs... No offence intended, just a personal opinion. I think I need some sleep. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General

Re: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
On Wed, 2007-06-13 at 13:16 -0500, Richard Lynch wrote: Oh, we'll fill that sucker up pretty fast... :-) Thats what I am counting on! I have been on this list a while, and a couple flamewars should do the trick :) --Paul All Email originating from UWC is covered by disclaimer http

Re: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
the initial barriers to FOSS development, the better. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
On Wed, 2007-06-13 at 13:13 -0500, Richard Lynch wrote: On Tue, June 12, 2007 11:39 pm, Paul Scott wrote: It's a blog. People type things. Not quite anymore... I have added our set of filters to the output now, so that you can add in bbcode tags as well as a number of other things, like

[PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
I have set up our new Chisimba blog system (GPL, http://avoir.uwc.ac.za) to blog all of the posts to this list. Please check it out at http://196.21.45.50/fsiu/chisimba_framework/app/index.php?module=blogaction=allblogs and let me know what you think! Thanks --Paul All Email originating from

Re: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
On Tue, 2007-06-12 at 14:48 -0500, Richard Lynch wrote: I think you should take it DOWN until you can obfuscate the emails. I am working on it at the moment. It seems that it only shows some people's addresses - presumably those that have the reply to thing set? --Paul All Email originating

RE: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
On Tue, 2007-06-12 at 14:56 -0500, Jay Blanchard wrote: + 10*12^23, I don't want to be that famous. OK, downed it. Will figure out a regular expression to strip out the email addresses when I have had some coffee in the morning --Paul All Email originating from UWC is covered by disclaimer

RE: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
. BTW, could I get your opinions on the blog software itself? This is running a CVS checkout of the Chisimba framework with the blog module installed. (Oh and I will get to the W3C compliance ASAP as well - I was leaving it until I had put in all of the features so as to fix it once...) --Paul

RE: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
been removed. I will put this list back on now for a test period if that is OK? Thanks all for the feedback, I really appreciate it! --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List

Re: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
for these types of systems. This was done as well to give my blog code a bit of a test drive as well, I had no idea how it would perform with lots of posts too, so I will also be able to optimize queries etc as the posts fill up. --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] Updating dropdown list

2007-06-11 Thread Paul Novitski
nearly identical logic in key functions, reducing programming, debugging, and maintenance time. This technique is known variously as 'unobtrusive javascript' and 'progressive enhancement.' Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com

Re: [PHP] explode string at new line

2007-06-06 Thread Paul Novitski
\r although I can't recall which system uses it. As an alternative to PCRE, we can pass arrays to PHP's replace functions, e.g.: $txt = str_replace(array(\r\n, \n\r, \r), \n, $txt); Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com

Re: [PHP] Return or not to return, that is the question

2007-05-30 Thread Paul Scott
important, so I almost always return; --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Return or not to return, that is the question

2007-05-30 Thread Paul Novitski
that's empty if no records were found or an error was encountered. In my programming style, I can't imagine wanting to write this code in such a way that lookUpData() didn't return some form of success or error indicator. Regards, Paul __ Paul Novitski Juniper

Re[2]: [PHP] Return or not to return, that is the question

2007-05-30 Thread Paul Novitski
knowledge and preferences. Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Return or not to return, that is the question

2007-05-30 Thread Paul Novitski
At 5/30/2007 10:51 AM, Richard Lynch wrote: On Wed, May 30, 2007 12:00 pm, Paul Novitski wrote: [snip] use the archives Good suggestion! HOWEVER: it is not a good idea, imho, to always let the errors bubble up to the outer layer, which is what Paul seemed to have typed... But didn't

Re: [PHP] Re: preg_match() returns false but no documentation why

2007-05-30 Thread Paul Novitski
-insensitive strings: |^ldap(s)?://[a-z0-9-]+\.[a-z.]{2,5}$|i Pattern Modifiers http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php i (PCRE_CASELESS) If this modifier is set, letters in the pattern match both upper and lower case letters. Regards, Paul

Re: [PHP] Re: Re: preg_match() returns false but no documentation why

2007-05-30 Thread Paul Novitski
(a downloadable Windows application) by Edi Weitz http://weitz.de/regex-coach/ Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Re: Re: preg_match() returns false but no documentation why

2007-05-30 Thread Paul Novitski
and full stop are synonymous, and the RegEx manual is throwing dot into the same bag. Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Paul Scott
the point of using sessions completely. There is a way, however, and that would be to set the dummy session variable to an empty array and then kill off the session. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm

Re: [PHP] help with multi dimensional arrays

2007-05-23 Thread Paul Novitski
Looks like you are missing a comma on line 3. James Lockie wrote: I get a syntax error on strlen. $newTypes = array(); $newTypes[0] = array(); $newTypes[0][0] = Starting with $newTypes[0][1] = strlen( $newTypes[0][0] ); Missing semicolon; Paul -- PHP General Mailing List

Re: [PHP] showing source

2007-05-18 Thread Paul Scott
On Fri, 2007-05-18 at 01:50 -0400, James Lockie wrote: This almost works but all my and are replaced with . Rather use named entities, www.php.net/htmlentities --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer

Re: [PHP] Random SELECT SQL list

2007-05-16 Thread Paul Novitski
At 5/16/2007 09:40 PM, Eduardo Vizcarra wrote: I would like to know if a SELECT SQL query list of records can be unsorted. SELECT statement retrieves a list of records from a certain table starting from record # 1 till record #N and when publishing the records, this is how it is presented, in a

Re: [PHP] RE: Bounty FYI

2007-05-15 Thread Paul Scott
Lets also add: Respect mailing lists Respect communities On Tue, 2007-05-15 at 02:55 -0400, Brad Sumrall wrote: Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse! All Email originating from UWC is covered by disclaimer

RE: [PHP] Bounty, NOW!

2007-05-15 Thread Paul Novitski
threaten, be cool, and be respectful. Good luck, man. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Paul Scott
On Tue, 2007-05-15 at 01:46 -0400, Brad Sumrall wrote: I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? *YAWN* Anything better to talk about? This is very l33t-ish and is now grossly off topic. --Paul All Email originating from UWC is covered

Re: [PHP] CMS

2007-05-08 Thread Paul Novitski
At 5/8/2007 12:47 AM, Jyoti wrote: Can anyone can tell me what CMS is? How can we make it? What are the requirements for it? A CMS is a software system for managing website content. To begin, click on these links: http://google.com/search?q=what+is+a+cms

Re: [PHP] Removing commas from number

2007-05-06 Thread Paul Novitski
, the true value of the results are accurate to more than two decimal places. While these might be rounded to the nearest cent for display purposes, you'll want to add the true values to get the true total. One common example is a column of percentages that should add to 100%. Regards, Paul

Re: [PHP] Removing commas from number

2007-05-06 Thread Paul Novitski
, then you could delete all the characters that aren't digits or period. Keep that decimal point, it's too significant to lose. Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Name Capitalization

2007-05-04 Thread Paul Novitski
. If that were the case, prompting users to unstick their shift keys would be possible. Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Getting multitple select values on PHP side

2007-05-04 Thread Paul Novitski
has the last one selected. I believe the common way to accomplish this is to add [] to the form element's name, which persuades PHP into treating it like an array: select name=nation[] ... Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http

<    5   6   7   8   9   10   11   12   13   14   >