[PHP] Error handling a max license issue

2011-02-17 Thread Richard Sharp
, $pass))) { $refresh_message = This page has not been refreshed since: . date(h:i); echo $refresh_message; $have_license = false; } } Thanks in advance Richard Sharp Database Administrator PH

Re: [PHP] Google Visualization Chart API

2011-02-17 Thread Richard Quadling
sure they would have done the same for the chd ... and here it is http://code.google.com/apis/chart/docs/data_formats.html So. Easy peasy. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] Google Visualization Chart API

2011-02-17 Thread Richard Quadling
and push it to the server to use. Do you want to do all the work on server and not in the browser? Then you have to learn the params. That way, you won't need a client to grab the URL first. It really isn't very difficult. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Richard Quadling
the old version to the new one. Also, any plugins/extensions/mods that may have been applied may also need to be upgraded accordingly. Regards, Richard. P.S. The PHP mailing lists is probably not the best place to come for support on Typo3. I've never used Typo3 or installed it. But, in this instance

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Richard Quadling
On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote: Hello Fotoo,           ? error_reporting(0); Really? You consider shoving your head in the sand a REALISTIC option? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General

Re: [PHP] errors after upgrade vom 5.2.10 to 5.3.0 howto solve or hide?

2011-02-16 Thread Richard Quadling
On 16 February 2011 14:34, Daniel P. Brown daniel.br...@parasane.net wrote: On Wed, Feb 16, 2011 at 07:15, Richard Quadling rquadl...@gmail.com wrote: On 16 February 2011 11:25, Andre Polykanine an...@oire.org wrote: Hello Fotoo,           ? error_reporting(0); Really? You consider

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Richard Quadling
and understanding what they need (not just what they say they want as quite often, they don't know). Understanding the requirements of the business. Basically, the programming is often the easy part. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

Re: [PHP] Howdy (new in here)

2011-02-15 Thread Richard Quadling
On 15 February 2011 21:08, Steve Staples sstap...@mnsi.net wrote: Your bracing style is WRONG.  Whitesmiths Style sucks... and Allman Style is the best way to do it. It's not Friday. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General

Re: [PHP] Custom function

2011-02-15 Thread Richard Quadling
the declared ones. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP -- using without installing

2011-02-14 Thread Richard Quadling
http://articles.sitepoint.com/article/php-command-line-1 seems like a good place to start. There may be some issue with the line. The install may be in a different location or have a different name (#!/usr/local/bin/php-cgi for example). Richard. -- Richard Quadling Twitter : EE : Zend

Re: [PHP] code quest

2011-02-14 Thread Richard Quadling
=centertd', $d, 'bra href=', $d, 'img src=/Categories/', $d, '/thumb.png border=5/abr'; include($d./desc.txt); echo '/td/tr'; }; }; echo '/table'; maybe? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] Help! Made a boo-boo encrypting credit cards

2011-02-13 Thread Richard Quadling
['cc_number']). Considering a credit card number is purely numeric, the addslashes would seem to be redundant as you don't need to escape numbers. And you can run a Luhn10 check against the card number to make sure it is valid before storing it. Richard. -- Richard Quadling Twitter : EE : Zend

Re: [PHP] PHP arguments getting lost in call!?

2011-02-13 Thread Richard Quadling
List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php What data IS getting through? print_r(func_get_args()); will show this. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] Bar Charts in PDFs

2011-02-11 Thread Richard Quadling
. All fairly simple stuff. Regards, Richard. [1] http://www.fpdf.org/ -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] String length output in php-generated response

2011-02-07 Thread Richard Quadling
On 6 February 2011 15:57, Florin Jurcovici florin.jurcov...@gmail.com wrote:  said it, Bush junior proved it Is this actually part of the output? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] Pulling from Multiple Databases

2011-02-01 Thread Richard Quadling
clues as to the sort of app you are building? The sort of data you are working on? Are you running your own servers? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Pulling from Multiple Databases

2011-02-01 Thread Richard Quadling
On 1 February 2011 16:39, Jon Hood squink...@gmail.com wrote: (comments in-line) On Tue, Feb 1, 2011 at 10:34 AM, Richard Quadling rquadl...@gmail.com wrote: I use a data warehouse (a semi denormalized db) to hold data from around 200 different data sources (DB, Excel spreadsheets, Web, etc

Re: [PHP] public static or static public?

2011-01-31 Thread Richard Quadling
function 5 public abstract function 2 public final function 11956 public function 701 public static function 1 static function 1 static private function 10 static protected function 60 static public function So, as mixed up as my own. Richard. -- Richard

Re: [PHP] odd list bounces

2011-01-31 Thread Richard Quadling
-- Regards, Shreyas Agasthya I got 1 bounce for this message. http://news.php.net/php.general/310871 Dan's feeding someone who is already overstuffed. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] preg_replace question

2011-01-25 Thread Richard Quadling
_RAQ_TAG_1_ or _RAQ_TAG_2_ then you will have to use more appropriate tags. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist

2011-01-21 Thread Richard Quadling
On 20 January 2011 19:20, Dotan Cohen dotanco...@gmail.com wrote: On Thu, Jan 20, 2011 at 19:21, Richard Quadling rquadl...@gmail.com wrote: That is terrific, at least the first half. The second half, with the Venn diagrams, is awkward! When you get heavily nested data, the adjacent list

Re: [PHP] Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist

2011-01-21 Thread Richard Quadling
On 21 January 2011 05:34, Paul M Foster pa...@quillandmouse.com wrote: On Thu, Jan 20, 2011 at 12:05:53PM -0800, David Harkness wrote: On Thu, Jan 20, 2011 at 7:00 AM, Richard Quadling rquadl...@gmail.comwrote: I'd recommend using a nested set approach for the tags (http://dev.mysql.com

Re: RES: [PHP] email address syntax checker

2011-01-21 Thread Richard Quadling
0x7f (127 decimal) «\x0e-\x7f» Match the character “]” literally «\]» But really? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Script mysteriously restarting

2011-01-21 Thread Richard S. Crawford
with Apache 2 on a Linux server. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com

Re: [PHP] Script mysteriously restarting

2011-01-21 Thread Richard S. Crawford
Ah, sorry. It's a browser-based script. On Fri, Jan 21, 2011 at 1:28 PM, Jim Lucas li...@cmsws.com wrote: On 1/21/2011 12:37 PM, Richard S. Crawford wrote: I've got a massive PHP script which takes nearly an hour to run. Sometimes, when it comes close to the end, it mysterious restarts

Re: [PHP] Class and interface location

2011-01-20 Thread Richard Quadling
. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist

2011-01-20 Thread Richard Quadling
using a nested set approach for the tags (http://dev.mysql.com/tech-resources/articles/hierarchical-data.html gives a good explanation on the issues and methodology of nested sets). -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing

Re: [PHP] Organisational question: surely someone has implemented many Boolean values (tags) and a solution exist

2011-01-20 Thread Richard Quadling
On 20 January 2011 16:20, Dotan Cohen dotanco...@gmail.com wrote: On Thu, Jan 20, 2011 at 17:00, Richard Quadling rquadl...@gmail.com wrote: I'd have my items table, my tags table and a join table for the two. My join table is really simple. UniqueID, ItemID, TagID. Yes, that is the first

Re: [PHP] Class and interface location

2011-01-19 Thread Richard Quadling
it. Pretty much exactly what you need. Richard. [1] http://pecl.php.net/package/inclued [2] http://docs.php.net/manual/en/book.inclued.php -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Autorename extracted files from zip-archive

2011-01-19 Thread Richard Quadling
sort of renaming? PHP isn't actually involved in the extraction process in this instance. You may be better off using the ZIP extension in PHP to extract the data and write it to your own files. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP

Re: [PHP] Class and interface location

2011-01-19 Thread Richard Quadling
On 19 January 2011 16:23, la...@garfieldtech.com la...@garfieldtech.com wrote: On 1/19/11 10:09 AM, Adam Richardson wrote: On Wed, Jan 19, 2011 at 8:21 AM, Richard Quadlingrquadl...@gmail.comwrote: On 19 January 2011 07:46, Adam Richardsonsimples...@gmail.com  wrote: On Wed, Jan 19, 2011

RE: [PHP] switch case madness

2011-01-19 Thread Richard Sharp
LOL, so true -Original Message- From: Adam Richardson [mailto:simples...@gmail.com] Sent: Wednesday, January 19, 2011 12:28 PM To: PHP-General Subject: Re: [PHP] switch case madness On Wed, Jan 19, 2011 at 12:44 PM, Micky Hulse mickyhulse.li...@gmail.comwrote: On Wed, Jan 19, 2011 at

Re: [PHP] 2nd Pair of eyes

2011-01-18 Thread Richard Quadling
. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to get cpu consumption of a php script

2011-01-17 Thread Richard Quadling
:\] [\\richardquadling\scratch$ ] php -r echo microtime(true); 1295263156.1895 Oh yeah! -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bare Strings, are they deprecated?

2011-01-14 Thread Richard Quadling
mine. If I had one. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bare Strings, are they deprecated?

2011-01-14 Thread Richard Quadling
-production which is the recommend settings for running PHP in a live environment. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exec Script in the background, don't wait till it finishes

2011-01-14 Thread Richard Quadling
Services, multi-threaded with inter-thread communication. If you feel mad enough. Regards, Richard. [1] http://msdn.microsoft.com/en-us/library/d5fk67ky(v=vs.85).aspx -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http

Re: [PHP] Array Symbol Suggestion

2011-01-13 Thread Richard Quadling
in general. Regards, Richard. [1] http://en.wikipedia.org/wiki/Hungarian_notation [2] http://en.wikipedia.org/wiki/Hungarian_notation#Relation_to_sigils -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
, I think for large strings, using commas should be more efficient. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Command line PHP

2011-01-11 Thread Richard Quadling
are all PHP scripts which acccept command line parameters as well as use stdin to read data in realtime. Just like | more would. Richard. [1] http://pear.php.net/package/Console_CommandLine [2] http://docs.php.net/manual/en/install.windows.commandline.php [3] http://adoxa.110mb.com/ansicon

Re: [PHP] Command line PHP

2011-01-11 Thread Richard Quadling
On 11 January 2011 16:43, Robert Cummings rob...@interjinn.com wrote: On 11-01-11 11:27 AM, Richard Quadling wrote: As PHP on windows requires an [ENTER] key to be pressed to pass the typed string to the code (even for fgetc(STDIN) ), then this may not be what you want. Have you tried

Re: [PHP] Command line PHP

2011-01-11 Thread Richard Quadling
On 11 January 2011 16:43, Robert Cummings rob...@interjinn.com wrote: On 11-01-11 11:27 AM, Richard Quadling wrote: As PHP on windows requires an [ENTER] key to be pressed to pass the typed string to the code (even for fgetc(STDIN) ), then this may not be what you want. Have you tried

Re: [PHP] Command line PHP

2011-01-11 Thread Richard Quadling
(deleted) something useful for me. Thanks! -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Stripping carriage returns

2011-01-11 Thread Richard S. Crawford
internally, so I decided to give those a try as well.) and $content = str_replace(array('\n','\r','\r\n'),$content) all to no avail; these all leave the line break intact, which means my preg_replace('/p.*/','p',$content) line still breaks. Anyone have any ideas? -- Sláinte, Richard S. Crawford

Re: [PHP] Stripping carriage returns

2011-01-11 Thread Richard S. Crawford
; that was indeed a typo when I was copying the code over into my email. Ashley, I've already been using strip_tags to eliminate all but p, ol, ul, and li tags. On Tue, Jan 11, 2011 at 11:24 AM, David Harkness davi...@highgearmedia.comwrote: On Tue, Jan 11, 2011 at 11:13 AM, Richard S. Crawford rich

Re: [PHP] Static content at runtime

2010-12-29 Thread Richard Quadling
page request). http://www.quate.net/newsnet/read/48 and http://www.websiteoptimization.com/speed/tweak/combine/ So, that deals with a lot of request issues that the server is no longer needing to deal with on every single page. The server side includes for the semi-static text. -- Richard

Re: [PHP] Static content at runtime

2010-12-29 Thread Richard Quadling
On 29 December 2010 16:34, Richard Quadling rquadl...@gmail.com wrote: On 28 December 2010 17:18,  k...@bitflop.com wrote: Hi. I am currently looking into improving a system that (like many systems) generate static content at runtime. I have always been against generating static content

Re: [PHP] Printing PDF

2010-12-29 Thread Richard Quadling
of the printer would help. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Is there a simple way to enforce a private method in a subclass?

2010-12-22 Thread Richard Quadling
On 21 December 2010 19:12, Carlos Medina i...@simply-networks.de wrote: Am 21.12.2010 17:36, schrieb Richard Quadling: Hi. If I have an abstract class of Task and I want all subclasses of Task to have a private method _runTask, is there a way to enforce this? Currently an abstract private

Re: [PHP] MP3 Player and PHP

2010-12-22 Thread Richard Quadling
the data and determines what alert needs to be played. Was first running on IE6. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems w/ goto

2010-12-17 Thread Richard Quadling
/unsub.php And have you seen all the sad faces ... : { on http://docs.php.net/manual/en/control-structures.goto.php#92763 Can't be good for them. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] array_multisort into Natural order?

2010-12-14 Thread Richard Quadling
the rows to supply to the sorter. If you like it and find any issues with it, or enhancements, then I'd be grateful if you could pass them back to me. Richard. [1] http://www.php.net/manual/en/function.array-multisort.php#68452 [2] http://pastebin.com/8JsMX7yS -- Richard Quadling Twitter : EE : Zend

Re: [PHP] array_multisort into Natural order?

2010-12-14 Thread Richard Quadling
On 14 December 2010 10:50, Richard Quadling rquadl...@gmail.com wrote: On 13 December 2010 19:59, George Langley george.lang...@shaw.ca wrote: Hi all. Can use natsort($array1) to sort a single array of filenames into a natural alphanumeric order - 1.php, 2.php, 5.php, 10.php, 20.php, etc

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Richard Quadling
functions to issue queries and fetch data. PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features. You should use a full-blown abstraction layer if you need that facility. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

Re: [PHP] PDO: good, popular?

2010-12-14 Thread Richard Quadling
that. If you can recycle others code into new and interesting ways, then go for it. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A general discussion of libraries and frameworks

2010-12-10 Thread Richard Quadling
On 10 December 2010 12:07, Tommy Pham tommy...@gmail.com wrote: Ironically, both projects are started by the same person. So that old adage of there being at least 2 PHP frameworks per PHP developer still holds true! -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

Re: [PHP] PHP4 to PHP5 migration with E_STRICT

2010-12-08 Thread Richard Quadling
a warning so I'll leave it alone until I've tidied up all the other issues. Regards, Tom I'd go with ... function _getTable($cached=true) { return new TableClass($this-_getTableName()); } -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General

Re: [PHP] how can one run python script in php

2010-12-08 Thread Richard Quadling
/install.windows.commandline.php contain all the details I've ever needed for a manual installation of PHP. Using the same rules for Python would allow you to simply run the .py script or the .pyc script just as easily as you can run PHP or a .BAT/.CMD script. -- Richard Quadling Twitter : EE : Zend

Re: [PHP] How can I call GD's imagepng() directly from my class?

2010-12-07 Thread Richard Quadling
file. Write out the HTML using img src=./badges/{$md5BadgeData}.png / If a user's stats change, they'll have a new badge. Sure, there will be orphaned badges, but they are tiny little things and I don't have gazillion users. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814

Re: [PHP] Redirect output to a file on the web server

2010-12-06 Thread Richard Quadling
(assuming it is coming from a DB). If not, you could use a simple file_put_contents($filename, date('r') . $text . PHP_EOL, FILE_APPEND); That would append 1 line of text at a time to the file. Using tail on that file would show you the last work done (and when it was done). -- Richard Quadling

Re: [PHP] Barcode Reader

2010-12-06 Thread Richard Quadling
). It supports COM so, you can do this on windows easily enough. If you aren't using windows (why not? Its the best OS around you know ... oh. sorry. It's not Friday ...) -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net

Re: [PHP] code quest

2010-12-04 Thread Richard Quadling
/function.include.php -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match fails to resolve variable as a subject

2010-12-03 Thread Richard Quadling
On 3 December 2010 11:13, Da Rock php-l...@herveybayaustralia.com.au wrote: On 12/03/10 16:33, Tamara Temple wrote: On Dec 2, 2010, at 11:33 PM, Da Rock wrote: On 11/29/10 09:10, Richard Quadling wrote: On 27 November 2010 04:45, Da Rockphp-l...@herveybayaustralia.com.au  wrote: On 11/27

Re: [PHP] preg_match fails to resolve variable as a subject

2010-12-03 Thread Richard Quadling
On 3 December 2010 11:13, Da Rock php-l...@herveybayaustralia.com.au wrote: On 12/03/10 16:33, Tamara Temple wrote: On Dec 2, 2010, at 11:33 PM, Da Rock wrote: On 11/29/10 09:10, Richard Quadling wrote: On 27 November 2010 04:45, Da Rockphp-l...@herveybayaustralia.com.au  wrote: On 11/27

[PHP] Iterators.

2010-12-03 Thread Richard Quadling
place that can describe the SPL in a different way. I know it's probably just me, but it really seems like I'm only just scratching the surface. And not really getting anywhere. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing

Re: [PHP] Iterators.

2010-12-03 Thread Richard Quadling
On 3 December 2010 16:56, Nathan Nobbe quickshif...@gmail.com wrote: On Fri, Dec 3, 2010 at 6:09 AM, Richard Quadling rquadl...@gmail.com wrote: Hi. OK. I'm stuck. I just can't work this out. I like SPL. I like the re-usability. It seems right. But I just can't work it out. I want

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
the data for POST-ing and your script would receive these correctly. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
://www.site.com/script.php?var1=val1var2=val2 then $_GET will contain the result. The same $_GET would hold the values from a form method=get $_POST is for POST-d data (either via form method=post or cURL/Streams). -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly

Re: [PHP] $_POST issues

2010-12-01 Thread Richard Quadling
start reading http://docs.php.net/manual/en/reserved.variables.php -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] EE1 plugin code/htmlentities() question

2010-11-30 Thread Richard Quadling
anything too special outside of the closing tag. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_match fails to resolve variable as a subject

2010-11-28 Thread Richard Quadling
On 27 November 2010 04:45, Da Rock php-l...@herveybayaustralia.com.au wrote: On 11/27/10 13:51, Tamara Temple wrote: On Nov 26, 2010, at 7:28 PM, Da Rock wrote: On 11/27/10 00:57, Richard Quadling wrote: On 26 November 2010 00:07, Da Rockphp-l...@herveybayaustralia.com.au  wrote

Re: [PHP] Problem with RegEx for BBCode

2010-11-28 Thread Richard Quadling
can't match the string, so nothing is returned. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Add +1 mysql updates by 2?

2010-11-27 Thread Richard West
First let me say thanks to everyone who replied! Ashley, I got it fixed but I have not a clue what did it :) RD On Nov 27, 2010, at 6:49 AM, Ashley Sheridan wrote: On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote: -Original Message- From: Richard West [mailto:p...@cbnisp.com

Re: [PHP] PHP Add +1 mysql updates by 2?

2010-11-27 Thread Richard West
PS: PEBKAC I figure :) On Nov 27, 2010, at 6:49 AM, Ashley Sheridan wrote: On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote: -Original Message- From: Richard West [mailto:p...@cbnisp.com] Sent: Friday, November 26, 2010 9:40 PM To: Peter Lind Cc: Tommy Pham; Tamara Temple

Re: [PHP] Fw: Spoofing user_agent

2010-11-26 Thread Richard Quadling
Please don't top post. On 25 November 2010 15:38, Ron Piggott ron.pigg...@actsministries.org wrote: Is User Agent suppose to have a hyphen  -  ?   Ron The Verse of the Day “Encouragement from God’s Word” http://www.TheVerseOfTheDay.info -Original Message- From: Richard Quadling

Re: [PHP] Fw: Spoofing user_agent

2010-11-26 Thread Richard Quadling
User-Agent = User-Agent : 1*( product | comment ) Example: User-Agent: CERN-LineMode/2.15 libwww/2.17b3 -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Richard Quadling
, the sendmail_path used is /usr/sbin/sendmail -t -i, which is a regular Postfix sendmail. [1] http://stackoverflow.com/questions/1906403 -- Kind regards,        Tom Hendrikx Are you logging your emails via the ini setting mail.log? Maybe this is the issue. -- Richard Quadling Twitter : EE : Zend

Re: [PHP] preg_match fails to resolve variable as a subject

2010-11-26 Thread Richard Quadling
. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Possible issue in mail() function?

2010-11-26 Thread Richard Quadling
On 26 November 2010 15:12, Tom Hendrikx t...@whyscream.net wrote: On 26/11/10 15:54, Richard Quadling wrote: On 25 November 2010 21:30, Tom Hendrikx tom+php@whyscream.net wrote: Hi, I noticed that the mail() function in php 5.3.3 on gentoo linux triggers a warning when used. A simple

[PHP] PHP Add +1 mysql updates by 2?

2010-11-26 Thread Richard West
Hey guys, I've never run into this before. I have a field in mysql for page views. So I pull out value and do +1 to new value - after UPDATE SET it has incremented by 2? $val = $row['a_downloads'] ; $new_val = $val+1; mysql_query(UPDATE cbn_articles SET a_downloads='$new_val' WHERE a_id =

Re: [PHP] PHP Add +1 mysql updates by 2?

2010-11-26 Thread Richard West
No On Nov 26, 2010, at 10:53 PM, Tamara Temple wrote: On Nov 26, 2010, at 8:36 PM, Richard West wrote: Hey guys, I've never run into this before. I have a field in mysql for page views. So I pull out value and do +1 to new value - after UPDATE SET it has incremented by 2? $val

Re: [PHP] PHP Add +1 mysql updates by 2?

2010-11-26 Thread Richard West
, 2010 7:54 PM To: Richard West Cc: PHP General Mailing List Subject: Re: [PHP] PHP Add +1 mysql updates by 2? On Nov 26, 2010, at 8:36 PM, Richard West wrote: Hey guys, I've never run into this before. I have a field in mysql for page views. So I pull out value and do +1 to new value

Re: [PHP] PHP Add +1 mysql updates by 2?

2010-11-26 Thread Richard West
I took that into consideration so I added the update at the very end of document... Still the same, RD On Nov 27, 2010, at 12:31 AM, Peter Lind wrote: On Saturday, November 27, 2010, Richard West p...@cbnisp.com wrote: Hey Tommy, I get the same when seting it to a_downloads=a_downloads

Re: [PHP] Can't find existing file

2010-11-25 Thread Richard Quadling
snip so how are we to know?); (h) some other PEBKAC issue; snip It's been almost a decade since I've seen 'PEBKAC' used  :) I prefer PICNIC. So you can now have a Senior Picnic or a Kiddies Picnic and it all sounds quite pleasant. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com

Re: [PHP] Fw: Spoofing user_agent

2010-11-25 Thread Richard Quadling
an NTLM authentication proxy server because PHP doesn't deal with NTLM authentication. See my user notes on http://docs.php.net/manual/en/function.stream-context-get-default.php. Don't bother with the link at the bottom of the user note- it's not live. Richard. -- Richard Quadling Twitter : EE

Re: [PHP] Procedural Autoloader?

2010-11-22 Thread Richard Quadling
? Aren't namespaces handled by the autoloader? If not autoload(), how about spl_autoloading? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL Query Help

2010-11-20 Thread Richard West
I'm going to jump in and throw in my 2 cents... Have you used dreamweaver? I would suggest Dreamweaver to any new programmer beginning php/mysql. It helped me out tremendously in the beginning. I'm not an advanced programmer with hand coding classes yet, but I can get any job completed for

Re: [PHP] I am trying to install PHP on a Windows box, but the PHPINFO page does not load up. Where could I be going wrong?

2010-11-18 Thread Richard Quadling
FastCGI and then PHP (I'd also add WinCache and RewriteURL). Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-18 Thread Richard Quadling
different to just editing a plain text config file, but IIS does use an XML file for its config, so, once you know the xsd, you can do that by hand also. Full docs on the xsd are available online, so really, I'd guess in terms of ability, IIS and Apache are on-par. Richard. -- Richard Quadling

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Richard Quadling
instructions. http://docs.php.net/manual/en/install.windows.manual.php : General instructions for installing PHP manually. http://docs.php.net/manual/en/install.windows.commandline.php : Additional instructions for better integration of PHP into the commandline. -- Richard Quadling Twitter : EE

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Richard Quadling
On 16 November 2010 13:21, Jay Blanchard jblanch...@pocket.com wrote: [snip] Hi Folks, is it possible to install PHP on IIS? If yes, can someone please guide me on how to go about doing it? Thanks [/snip] http://www.wampserver.com/en/ Jay, if that had been wimpserver ... -- Richard

Re: FW: [PHP] Why the PEAR hate?

2010-11-16 Thread Richard Quadling
that is used by the typical PHP developer? It depends what you want to use. I use PEAR's Console_CommandLine_Parser and Zend Framework's autoloader, config and SOAP/WSDL classes. Mix'n'match is the name of the game. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html

[PHP] mod rewrite - DMXzone's PHP Pagination

2010-11-16 Thread Richard West
Hello Guys, Gals, I've been working on a project of mine creating a custom little cms. I've managed to go by tutorials and reference material from the php site to get as far as I have. I've got search engine friendly links working with mod rewrite using mysql entry of page alias and my code is

Re: [PHP] Retrieving function values

2010-11-15 Thread Richard Quadling
use ... string_parse_tool($string_source, $string_to_parse, $string_to_display, $continue_parsing); Depending upon your code, you could drop the first parameter completely, but that would always overwrite the supplied value with the return value. -- Richard Quadling Twitter : EE : Zend @RQuadling

Re: [PHP] php running as module or cgi?

2010-11-11 Thread Richard Quadling
. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php running as module or cgi?

2010-11-11 Thread Richard Quadling
/isapi and fast-cgi. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pros/Cons of using mysqli prepared statments

2010-11-05 Thread Richard Quadling
it is. Using the right tool for the job, AND getting the balance right is what being an experienced developer is all about. Start with what you can understand. Ask questions. Learn. Refactor. Improve. Richard. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

Re: [PHP] read smb drive

2010-11-05 Thread Richard Quadling
with Is this not the same on unix? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] read smb drive

2010-11-05 Thread Richard Quadling
On 5 November 2010 16:43, Richard Quadling rquadl...@gmail.com wrote: On 5 November 2010 16:30, Nathan Nobbe quickshif...@gmail.com wrote: On Fri, Nov 5, 2010 at 10:18 AM, Steve Staples sstap...@mnsi.net wrote: On Fri, 2010-11-05 at 10:06 -0600, Nathan Nobbe wrote: On Fri, Nov 5, 2010 at 9

Re: [PHP] Problems converting strings with 0 to integer

2010-11-04 Thread Richard Quadling
) } intval() operates as standard on base 10, so no need to worry about leading zeros' being thought of as base8/octal. What is your code? Can you reduce it to something as small like the above to see if you can repeat the issue? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com

<    1   2   3   4   5   6   7   8   9   10   >