Re: [PHP] Name of variable to string

2008-02-08 Thread Paul Scott
On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote: > On Feb 8, 2008 2:18 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > And look who chimes in with some helpful advice! ;-P > lol (now isn't that even more useless?) --Paul All Email originating from UWC is covered

Re: [PHP] Order directory output

2008-02-08 Thread Paul Scott
$this->ext = $ext; } public function accept() { if ( ! $this->it->isDir() ) { $ext = array_pop(explode('.', $this->current())); return $ext != $this->ext; } return true; } } --Paul -- --

Re: [PHP] Session and Multi Server Architecture

2008-02-11 Thread Paul Scott
or in a db, but if you are already in clustering, you probably have a memcached instance already right? --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Session and Multi Server Architecture

2008-02-11 Thread Paul Scott
On Mon, 2008-02-11 at 12:48 -0500, Nathan Nobbe wrote: > http://us.php.net/manual/en/ref.memcache.php > and http://www.danga.com/memcached/ --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP G

Re: [PHP] Template system in PHP

2008-02-14 Thread Paul Scott
On Thu, 2008-02-14 at 09:29 +0100, Zoltán Németh wrote: > and by the way, symfony has YAML configuration files and a plugin for > REST services. > and Chisimba does YAML configs in the blog module, REST, SOAP and XML-RPC services as well as a whole whack of XML-ish things

Re: [PHP] Better DB Class MySQL

2008-02-14 Thread Paul Scott
a, stable, not so much. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What community software package gets your vote? PHPfox etc...

2008-02-19 Thread Paul Scott
gt; > to compare it to. If you all would be so kind as to put a shout out and > vote > > on your favorite, I'd be very grateful. How about Chisimba? http://avoir.uwc.ac.za It is free (GPL) and has all the features of PHPFox and more. --Paul All Email originating from UWC is covere

Re: [PHP] Sending SMS via PHP

2008-02-20 Thread Paul Scott
t, and look at when do the commercial providers become more economical? What a lot of people do, is sign up for an account and end up sending only 50 or so SMS a month, which is silly, when for the same price as a month or two's subscription, you could buy your own GSM modem and a prepaid SIM car

Re: [PHP] fail on preg_match_all

2008-02-20 Thread Paul Scott
//www.php.net/preg_match_all > the regex is valid Won't really matter if the data is in the wrong format! --Paul -- . | Chisimba PHP5 Framework - http://avoir.uwc.ac.za | :-

Re: [PHP] temporary error

2008-02-21 Thread Paul Scott
On Thu, 2008-02-21 at 14:54 +0100, Mirco Soderi wrote: > Consider the following code: > > $sqlQueryInserimentoDatiAllenamentoCalciPiazzati = "INSERT INTO ... etc etc How long does it take you to write a single line of code with variable names like that? --Paul All Email origin

Re: [PHP] Exception vs exception

2008-02-21 Thread Paul Scott
y($filter); if($results === FALSE) { throw new MyException("Query failed!"); } else { return $results; } } then in your code: try { $this->queryWithException("SELECT * FROM users WHERE clue > 0"); } catch (MyException $e) { /

Re: [PHP] Deleting all rows in a database every 24 hours?

2008-02-21 Thread Paul Scott
On Fri, 2008-02-22 at 07:28 +0100, Zoran Bogdanov wrote: > The title says it all, how do I perform an action every 24 hours? > $sql = "TRUNCATE TABLE 'sometable'"; $this->query($sql); on a cron.daily --Paul --

Re: [PHP] PHP 24 hour processes?

2008-02-24 Thread Paul Scott
ron.daily or on 'doze, use AT or command scheduler I think it's called. Either that or use a long running PHP process with ignore_user_abort() and a time of 86400 seconds :) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_s

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Paul Scott
, and enjoy the day... (Jokes aside of course) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Paul Scott
ckages (possibly a new debian based distro for people that stutter?) :)) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do you send stylized email?

2008-02-26 Thread Paul Scott
to come on to this thread! if($subject === 'something to do with mail') { $this->punt('mimemessage', 'phpclasses.org'); } else { sleep(86400); } ;) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/porta

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Paul Scott
king for a buzzword generator to do your job for you! :) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What design patterns do you usually use?

2008-02-27 Thread Paul Scott
On Wed, 2008-02-27 at 14:48 +0100, Jochem Maas wrote: > Paul Scott schreef: > there seems to be some misunderstanding ... a design pattern is not > a component (or anything else of substance) but merely a conceptual > strategy used to tackle a problem ... ever find yourself writing c

Re: [PHP] How do you send stylized email?

2008-02-27 Thread Paul Scott
of our network, so like 80% of the mail that I send doesn't even have that _HTML_ link in it. Yech! Oh well, I suppose the suits have decided that its necessary --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.ht

Re: [PHP] GPS Locator

2008-03-04 Thread Paul Scott
directly into a db through a long running PHP script with it, so that should work just fine. That being said, though, something like a Winders COM object will probably be a better bet (I have never used COM objects before as I don't use Windows at all, ever) so correct me if I am wrong plea

Re: [PHP] losing session in new window (IE only) [WAS: loosing...]

2008-03-25 Thread Paul Novitski
in double quotes and see if that helps: view details How does your page validate? http://validator.w3.org/ Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] optimilize web page loading

2008-03-26 Thread Paul Scott
ng microtime() http://www.php.net/microtime/ on either side of your output statement(s). --Paul > -- . | Chisimba PHP5 Framework - http://avoir.uwc.ac.za | :: All Em

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread Paul Scott
S with Apache2 at least... I seem to remember someone posting a really good guide to setting this all up at some stage, so a quick search through the archives should reveal all. --Paul -- . | Chisimba PHP5 Framework - http://a

Re: [PHP] new lines in textareas?

2008-03-30 Thread Paul Scott
to have newlines inserted in the text. > > "\n" and "" don't work. They just get quoted literally in > >the text. I suspect I need to use htmlspecialchars , but don't know > >what special character to

Re: [PHP] April Fools Easter Egg

2008-04-01 Thread Paul Scott
On Tue, 2008-04-01 at 10:28 -0400, tedd wrote: > You got me. > Wobbly PHP logo on mine (PHP-5.2.5 debian) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Arbitrary mathematical relations, not just hashes

2008-04-07 Thread Paul Johnson
On Sun, Apr 06, 2008 at 08:51:00PM -0700, Casey wrote: > I hit reply-all... now am I suddenly subscribed to Perl and Ruby lists!?! Be careful. Next time you do it you'll be subscribed to Haskell, OCaml and Smalltalk lists. Bwahahaha! -- Paul Johnson - [EMAIL PROTECTED] http://www.

[PHP] mime_content_type and FileInfo

2008-04-21 Thread Paul Scott
de respectively. --Paul -- . | Chisimba PHP5 Framework - http://avoir.uwc.ac.za | :: All Email originating from UWC is covered by disclaimer http://www.uwc.ac.z

Re: [PHP] php framework vs just php?

2008-04-22 Thread Paul Scott
t two kinds of framework in PHP IMHO - the Glue frameworks (like Chisimba, CakePHP etc) and the component frameworks (like PEAR, Zend Framework etc). What you are describing is simply a component framework. Just because you choose not to call it a framework, does not mean that it is not a fram

Re: [PHP] Web page excerpt editor

2008-05-04 Thread Paul Scott
list though --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Phpstop.com project - wanna be a writer?

2008-05-05 Thread Paul Scott
On Mon, 2008-05-05 at 15:12 +0200, Chris Haensel wrote: > Maybe I can have you as a writer? ;o) And maybe 2 or 3 more of this list > The "big names", ya know *g* Oh well, my name is only 4 letters so I guess I am out? ;) --Paul All Email originating from UWC is covered by

Re: [PHP] strange behavior, when converting float to int

2008-05-06 Thread Paul Scott
rlying C libs that directly use the FP on the CPU? I would say that the compile flags, CPU settings etc would probably have an impact on accuracy. --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Ma

Re: [PHP] the Y2K38 BUG

2008-05-06 Thread Paul Scott
y, this is really not a big deal! > > > Thank you, in Advance. It's a pleasure my paranoid son... --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.ph

Re: [PHP] the Y2K38 BUG

2008-05-06 Thread Paul Scott
f discussion. If I am still using the same apps that I use today in 2038, I will officially rethink my usefulness as a human being :) --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (h

Re: [PHP] the Y2K38 BUG

2008-05-07 Thread Paul Scott
On Wed, 2008-05-07 at 00:54 -0600, Nathan Nobbe wrote: > looks like mine only goes to dec. 31, =/ > *Gasp!* best you get cracking on finding an alternative solution! --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_se

Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Paul Scott
;t get what you want with GD... --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SPAM SPAM [PHP] Build and Deployment Process

2008-06-10 Thread Paul Scott
On Tue, 2008-06-10 at 14:56 -0700, VamVan wrote: > What is the best method to build and deploy php scripts along the different > environments? You can talk about rpm's and stuff In my project(s) I use Phing. http://phing.info It is even written in PHP, so keeping this thread on top

[PHP] Re: SPAM SPAM Re: [PHP] Capture homepage screenshot

2008-06-13 Thread Paul Scott
ite, I would simply add in: [SCREENSHOT]http://www.php.net/[/SCREENSHOT] in any place that I can add content (blog, wiki, cms etc). Lastly, but not least at all, you could also just use our framework... Download from http://avoir.uwc.ac.za/ --Paul All Email originating from UWC is covered by d

Re: [PHP] explode in mysql query

2007-04-27 Thread Paul Novitski
7;,') LIKE '%,7,%' OR CONCAT(',', `groups`, ',') LIKE '%,14,%' 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] What does "<<<" mean?

2007-04-30 Thread Paul Novitski
s not true, and now I use the simple shorthand: $sResult = <<<_ Some text. _; 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: 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
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: Regards, Paul ______ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP Ge

Re: [PHP] Removing commas from number

2007-05-06 Thread Paul Novitski
stances where division is involved, 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 percenta

Re: [PHP] Removing commas from number

2007-05-06 Thread Paul Novitski
characters mixed with the digits to indicate scale. Once you accept the input, 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 Lt

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 http://google.com/search?q=define%

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

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 http://www.

RE: [PHP] Bounty, NOW!

2007-05-15 Thread Paul Novitski
for help in the phpBB forum (where you really should have started), but when you do I urge you to stay calm, be sedate, don't joke, don't 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] 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 s

Re: [PHP] showing source

2007-05-17 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/c

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 Ma

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

2007-05-24 Thread Paul Scott
> I think you are missing 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/c

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

2007-05-30 Thread Paul Scott
s become quite 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
ayData($aResultSet); or: displayData(lookUpData()); in which lookUpData() returns a dataset array 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

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

2007-05-30 Thread Paul Novitski
nction to call, with an option whether or not to return anything, it's clearly up to us to design and impose that architecture based on our 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...

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

2007-05-30 Thread Paul Novitski
ifiers 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 __ 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: preg_match() returns false but no documentation why

2007-05-30 Thread Paul Novitski
x Coach (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
eriod' is called in British English. http://google.ca/search?q=define%3Afull+stop In English syntax "period" and "full stop" are synonymous, and the RegEx manual is throwing "dot" into the same bag. Regards, Paul __ Paul Nov

Re: [PHP] explode string at new line

2007-06-05 Thread Paul Novitski
ll also running into \n\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, Pau

Re: [PHP] Updating dropdown list

2007-06-11 Thread Paul Novitski
cases to write 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 Webcr

[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=blog&action=allblogs and let me know what you think! Thanks --Paul All Email origina

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 ori

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

RE: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
I had put in all of the features so as to fix it once...) --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-12 Thread Paul Scott
ng that they have 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 Gen

Re: [PHP] PHP list as a blog

2007-06-12 Thread Paul Scott
ce first, hence the need 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 co

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=blog&action=allblogs > ? > (this was in your original post) > No, sorry, I have just updated the DNS. Try http://fsiu.uwc.ac.za/ now.

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

2007-06-13 Thread Paul Scott
g) all 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 unsub

RE: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
ally runs 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/mai

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

2007-06-13 Thread Paul Scott
' :) > It's even more 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.p

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

2007-06-13 Thread Paul Scott
ced so 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
ook it on. Personally, I 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_disclaime

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 discl

Re: [PHP] PHP list as a blog

2007-06-13 Thread Paul Scott
ommunicate and get over 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 nu

[PHP] Install question

2007-06-15 Thread Paul K
I have just started with a clean install on a Windows XP Pro system, Apache 2.24 and PHP 5.2.3 Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3. I can access html files just fine but I can't even run a test program Nothing displays. Where do I look to see whats wrong? Paul -

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

2007-06-16 Thread Paul Scott
then to get them back again 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.

Re: [PHP] Php script diagnostic app?

2007-06-17 Thread Paul Scott
ich 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_disclai

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=blog&action=viewsingle&postid=gen9Srv59Nme5_9262_1182142431&userid=3897070607

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.

Re: [PHP] Program Execution and reading results

2007-06-20 Thread Paul Scott
sounds quite 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 Mailin

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 kn

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

2007-06-21 Thread Paul Scott
ob to build an array 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://ww

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

Re: [PHP] Currency Exchange Database?

2007-06-28 Thread Paul Scott
t; the program 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 cove

[PHP] simplexml_load_file and proxy auth

2007-06-28 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

Re: [PHP] Date Calculation Help

2007-06-30 Thread Paul Novitski
2 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://juniperwebcraf

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 Ma

Re: [PHP] Re: PHP Brain Teasers

2007-07-06 Thread Paul Novitski
corner of childhood poetry memories did that come from? It's easy to google... My god, Ella Fitzgerald? 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] acerca de extensiones SQL Server

2007-07-14 Thread Paul Scott
s will install what you need as well 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

[PHP] PHP 101 Podcasts

2007-07-16 Thread Paul Scott
ship" 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

[PHP] PHP-5.2.3 and "Internal Server Error"

2007-07-17 Thread Paul Scott
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

Re: [PHP] Upload Tracker.

2007-07-17 Thread Paul Novitski
d but I think for reasons 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
s is from one of our 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

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

2007-07-17 Thread Paul Novitski
et go of the fact that you contributed the former idea 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 __

Re: [PHP] Unlink file older then 7 days

2007-07-17 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

Re: [PHP] Xdebug 2 released.

2007-07-18 Thread Paul Scott
.za/index.php?module=blog&action=viewsingle&postid=gen9Srv59Nme5_9262_1182142431&userid=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/)

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

2007-07-20 Thread Paul Scott
k 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 unsubs

Re: [PHP] Hide the real URL

2007-07-26 Thread Paul Novitski
in) is outweighed by its advantages (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 s

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