Re: [PHP] E-Mail Attachment Filename Encoding Problem

2009-02-17 Thread Paul Scott
On Tue, 2009-02-17 at 10:19 +, Richard Heyes wrote: There's no reason not to use it - it works for a good many people. And a few cats too. The *other* white meat? -- Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public/portal_services

Re: [PHP] Apache odd behavior

2009-02-17 Thread Paul M Foster
On Tue, Feb 17, 2009 at 12:27:58PM +, Stuart wrote: 2009/2/17 Paul M Foster pa...@quillandmouse.com: On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote: snip This is your problem, you're not understanding where the paths are being resolved. Apache has absolutely

Re: [PHP] Full versus relative URLs

2009-02-17 Thread Paul M Foster
On Tue, Feb 17, 2009 at 11:22:32AM +, Stuart wrote: 2009/2/17 Paul M Foster pa...@quillandmouse.com: snip Maintaining identical development, staging and live environments is one of the key components of reliable, repeatable and streamlined development, testing and deployment

Re: [PHP] How should I ....--its a date/timestamp issue

2009-02-17 Thread Paul M Foster
the dates. And after all that, you'd still have to do some pre-processing of it to limit selections to current date and later. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Full versus relative URLs

2009-02-16 Thread Paul M Foster
, like: http://example.com/graphics/my_portrait.gif My casual observation seems to indicate that the former will load faster than the latter. But has anyone done any benchmarking on it? Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Apache odd behavior

2009-02-16 Thread Paul M Foster
, not the entire URL. This method is in use in at least one other MVC framework. What am I doing wrong? Paul I assume that in order for this to work you will have to use mod_rewrite for apache to work properly. Check the framework's installation instructions to see if you configured mod_rewrite

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Paul M Foster
), like: /graphics/my_portrait.gif Or you can include the full URL, like: http://example.com/graphics/my_portrait.gif My casual observation seems to indicate that the former will load faster than the latter. But has anyone done any benchmarking on it? Paul I am not aware if absolute URLs

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Paul M Foster
to be rewritten. Ugh. Paul So put it all in one place: ?php include path.inc; printa href=\$path/dir/file.php\; ? Full URLs don't break when users save the pages to disk. That would be fine if the pages weren't being crafted in Dreamweaver, where inserting links like that is a pain. Paul

Re: [PHP] Apache odd behavior

2009-02-16 Thread Paul M Foster
=http://mysite.com/; and, for example, a graphic link is done this way: img src=graphics/myportrait.gif It appears to override other considerations with regard to pathing. I've already chosen an alternative solution, but I'll definitely keep this in mind for future reference. Thanks, much. Paul

Re: [PHP] Apache odd behavior

2009-02-16 Thread Paul M Foster
might be a bit much. I'm not happy with the way DW handles this stuff, but I have to strike a balance between my vim-handcoding-command-line method and my wife's click-and-drag-gotta-be-GUI method. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Full versus relative URLs

2009-02-16 Thread Paul M Foster
On Mon, Feb 16, 2009 at 08:49:06PM +, Stuart wrote: 2009/2/16 Paul M Foster pa...@quillandmouse.com: snip Agreed. But here's the real reason, in my case. We develop the pages on an internal server, which has the URL http://pokey/mysite.com. When we move the pages to the live server

[PHP] Apache odd behavior

2009-02-15 Thread Paul M Foster
doing wrong? Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Execute EXE with variables

2009-02-13 Thread Paul M Foster
the variables to it. Use the system() command, and enclose both your command and its parameters in a pair of single quotes, as: system('mycmd -a alfa -b bravo'); Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP OOP

2009-02-09 Thread Paul M Foster
on their own. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP usage stats

2009-02-08 Thread Paul M Foster
the pinheads in academia don't see the value of FOSS compared to being beholden to huge corporate behemoths like Microsoft. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class constant inconsistency

2009-02-08 Thread Paul M Foster
of it. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] long echo statement performance question

2009-02-06 Thread Paul M Foster
separated from presentation in a elegant way. snip In a thread about performance you suggest Smarty? Really? :D You know, I was gonna say something about that, but I figure I've complained enough on list. I agree, though. Paul -- Paul M. Foster -- PHP General Mailing List (http

[PHP] Session variables

2009-02-06 Thread Paul M Foster
does a server get a cookie? Is it a separate request made by the server to the client? If the value I've asked the user for is *not* stored as a cookie, then is it passed as part of the HTTP submission or what? Thanks for any enlightenment on this. Paul -- Paul M. Foster -- PHP General

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Paul M Foster
commenting out everything below it...Oi ...is this ever going to get easier for me I often wonder... Use Vim. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Garbage Collection

2009-02-05 Thread Paul M Foster
it with timestamp fields in the table. I'd build a new file that contained the history. Maybe when timestamp operation char(1) what char(1) which id Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Paul M Foster
data, get the data back and save into localhost database. If you have control of the server, you can just set this up in a bash script, using mysql commands, which connect to the remote and then then local databases. I'm talking about cron running the script periodically. Paul -- Paul M. Foster

Re: [PHP] DB Comparisons

2009-02-05 Thread Paul M Foster
MySQL add full-fledged DBMS features. So their capabilities have come closer and closer together. But I believe PostgreSQL is still the superior choice for an *enterprise* DBMS. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Preserving History

2009-02-05 Thread Paul M Foster
can't change it without cascading problems. That key is now in *at least* two places and must be changed *everywhere*, and the DBMS normally won't let you do that. You could add cascade update provisions into your tables, but why? Just use an integer key, and you're away. Paul -- Paul M. Foster

Re: [PHP] require() causing strange characters ?

2009-02-05 Thread Paul M Foster
blanks for all the non-printing PHP code in the file. But that's just a guess. How exactly are you managing to obtain the page in such a way that you can test character codes and such? Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Hidden costs of PHP arrays?

2009-01-29 Thread Paul M Foster
of this occurs in the murky depths of the operating system, but if there were any simple way to avoid adding to it unnecessarily it would be nice to know about it. Ahhh, finally someone who understands this principle. There's simply no reason to waste cycles if you don't have to. Paul -- Paul

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
(columns lined up, etc.), the simplest solution is to use HTML tables. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
. The gurus look at things in such a lofty way that answering simple questions at the level of a beginner sounds like a dissertation on the subtleties of Spanish art in the 1500s. Just my opinion. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
, and when in doubt I check the function documentation on the php.net site. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
. But as you can see here from other replies, tables are the simplest choice for a lot of people who work with web pages all the time. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
as good in CSS as it does in tables. Even with tables, I had more experimenting and colspans than you can imagine. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 11:41:31PM +, Nathan Rixham wrote: Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find

Re: [PHP] Programming general question

2009-01-27 Thread Paul M Foster
. You can also make those methods private so that code outside the object can't see them. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New PHP User with a simple question

2009-01-26 Thread Paul M Foster
On Mon, Jan 26, 2009 at 12:03:20AM -0600, Micah Gersten wrote: Paul M Foster wrote: snip In case this has yet to be answered to your satisfaction... Your page will *have* to reload when the user presses the button, but the majority of content can look the same, except for the content

Re: [PHP] New PHP User with a simple question

2009-01-26 Thread Paul M Foster
On Mon, Jan 26, 2009 at 12:53:55PM -0600, Micah Gersten wrote: Paul M Foster wrote: snip Please show me how *without Javascript* and *only with PHP* you can change the content on a page interactively as the user described *without* reloading the whole page. Xajax contains Javascript

Re: [PHP] Re: New PHP User with a simple question

2009-01-26 Thread Paul M Foster
on the list. A lot of programmer types can get prickly with each other about details. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Paul M Foster
then change $_POST above to $_GET. Every item in a form yields a POST or GET variable which PHP can read, just as it did above. There are alternate ways to do this, but the above is probably the simplest for you. I recommend Programming PHP an O'Reilly book as a reference for the language. Paul

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Paul M Foster
with the HTTP protocol, and you're embedding PHP in HTML pages. Otherwise its syntax is almost completely C-like. HTH, Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Paul M Foster
, you're already doing this, but I prefer to do so explicitly, as: var $link; at the top of the class. I have a similar class for PostgreSQL. I also have routines like update, which allow you to pass a table name and an associative array of field values. Same thing for an insert routine. Paul

Re: [PHP] About printing functions

2009-01-21 Thread Paul M Foster
or cookie, at least if you want to save it beyond the present page. Oh, you could also store it in a database. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Paul M Foster
On Wed, Jan 21, 2009 at 09:10:54PM +0100, Jochem Maas wrote: Paul M Foster schreef: On Wed, Jan 21, 2009 at 11:37:07AM -0600, Jay Moore wrote: This is a MySQL class I use and I wanted to get everyone's thoughts on how/if I can improve it. This is for MySQL only. I don't need to make

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Paul M Foster
default or predone handlers, you have to put all kinds of try/catch blocks around everything. They make for non-linear execution, and I prefer my code to execute in a linear fashion. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Paul M Foster
kinds of try/catch blocks around everything. They make for non-linear execution, and I prefer my code to execute in a linear fashion. Paul My thoughts exactly. What do I gain by using a try/catch that I lose by using if/else or similar? you use them not for control flow

Re: [PHP] distinguish between null variable and unset variable

2009-01-21 Thread Paul M Foster
it when testing POST and GET variables from web pages. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Client/Server Printing

2009-01-20 Thread Paul M Foster
to the PDF on the web page. The user clicks on the generated PDF, and his/her browser opens up Acrobat or xpdf, and prints from that application to their local machine. Is that a reasonable way to implement this? Any better ideas? Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net

Re: [PHP] Need List Advice

2009-01-19 Thread Paul M Foster
that yours are negative. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] developers life

2009-01-19 Thread Paul M Foster
On Mon, Jan 19, 2009 at 10:23:49PM -, c...@l-i-e.com wrote: ESTJ Me too. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] maybe we could all?

2009-01-19 Thread Paul M Foster
, would need max input and discussion to get the best solutions for us all, and class at a time should mean we get a steady stream of classes to the repo.. think about 6 months down the line] You really don't have enough to do, do you? Paul -- Paul M. Foster -- PHP General Mailing List (http

Re: [PHP] maybe we could all?

2009-01-19 Thread Paul M Foster
On Tue, Jan 20, 2009 at 03:29:29AM +, Nathan Rixham wrote: Paul M Foster wrote: On Mon, Jan 19, 2009 at 11:57:25PM +, Nathan Rixham wrote: snip You really don't have enough to do, do you? Paul actually, way too much - but I like to learn, contribute, think about what I'm

Re: [PHP] maybe we could all?

2009-01-19 Thread Paul M Foster
On Tue, Jan 20, 2009 at 03:57:34AM +, Nathan Rixham wrote: snip welcome; good to see a new face - even if it is preformatted courier as per :p That preformatted courier sounds like your email client. I use mutt an vim for mail. Paul -- Paul M. Foster -- PHP General Mailing List

Re: [PHP] maybe we could all?

2009-01-19 Thread Paul M Foster
On Mon, Jan 19, 2009 at 10:49:34PM -0500, Daniel Brown wrote: On Mon, Jan 19, 2009 at 22:46, Paul M Foster pa...@quillandmouse.com wrote: Incidentally, I'm relatively new to the list, but I see a lot of CCs along with posts to the list. The CCs are only useful if non-subscribers can post

Re: [PHP] Mirroring/caching PHP webpages.

2009-01-17 Thread Paul M Foster
On Sun, Jan 18, 2009 at 01:03:44PM +1100, Clancy wrote: On Fri, 16 Jan 2009 00:51:58 -0500, pa...@quillandmouse.com (Paul M Foster) wrote: On Fri, Jan 16, 2009 at 11:57:24AM +1100, Clancy wrote: . The only explanation I can see is that someone has somehow

[PHP] ANN: Chisimba-2.1.0 release!

2009-01-16 Thread Paul Scott
/index.php?module=newsaction=viewcategoryid=gen14Srv6Nme27_6705_1226737050 -- 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

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-15 Thread Paul M Foster
On Thu, Jan 15, 2009 at 09:57:42AM +0300, Usamah M. Ali wrote: On Thu, Jan 15, 2009 at 1:59 AM, Paul M Foster pa...@quillandmouse.com wrote: If you're going to go with a prebuilt framework, I'd recommend CodeIgniter for your first time out. If the docs look good to you

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-15 Thread Paul M Foster
On Thu, Jan 15, 2009 at 04:20:16AM -0500, Robert Cummings wrote: On Wed, 2009-01-14 at 21:17 -0500, Paul M Foster wrote: Incidentally, I would differ from the reviewer in the link above only in this respect: He maintains that every line of code adds time. While this is true, I believe

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-15 Thread Paul M Foster
On Thu, Jan 15, 2009 at 04:17:51AM -0500, Robert Cummings wrote: On Wed, 2009-01-14 at 21:17 -0500, Paul M Foster wrote: On Wed, Jan 14, 2009 at 01:39:02PM -0800, Daevid Vincent wrote: snip The pages are significantly slower than straight PHP by orders of magnitude: [1]http

Re: [PHP] Mirroring/caching PHP webpages.

2009-01-15 Thread Paul M Foster
your variable names and they submit to your existing form, your PHP can simply ignore it. Also, you might try CAPTCHA (look it up). It tries to weed out human from non-human surfers. You've probably got a 'bot submitting to you, so this might help. Paul -- Paul M. Foster -- PHP General Mailing

Re: [PHP] print a to z

2009-01-15 Thread Paul M Foster
) echo $i the only problem with the 2nd solutions is it only print up to Y without z. so how to print up to z with the 2nd solutions? because it turn out that you cant to something like for($i = 'a'; $i = 'z'; ++$i).. for ($i = 'a'; $i = 'z'; $i++) echo $i; Paul -- Paul M. Foster

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread Paul M Foster
changes you make to their code. But for a framework, it's pretty good. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Zend Framework...where to start? -- don't.

2009-01-14 Thread Paul M Foster
too! More wasted time. The pages are significantly slower than straight PHP by orders of magnitude: [1]http://paul-m-jones.com/?p=315 What a great link! I've never seen this kind of comparison before. HTML is 70% faster than straight PHP, and the frameworks (even codeigniter) deliver

Re: [PHP] Zend (or other) Framework...where to start?

2009-01-14 Thread Paul M Foster
silly if you suggested objects to them. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Couple of beginner questions

2009-01-12 Thread Paul M Foster
On Sun, Jan 11, 2009 at 11:28:49PM -0800, Lars Torben Wilson wrote: 2009/1/11 Paul M Foster pa...@quillandmouse.com: snip But here's a question for those of you who work in a collaborative environment-- are you really ever in a situation where some HTML weenie is coding HTML pages

Re: [PHP] Re: Php and CSS where to put it

2009-01-12 Thread Paul M Foster
!important to stress your IE styles. Best thing though is it validates through the W3C because it is just an HTML comment. Don't move that page; I've bookmarked it. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Couple of beginner questions

2009-01-11 Thread Paul M Foster
work? Or is that some academic's view of the way things *should* be done? Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: hello

2009-01-10 Thread Paul M Foster
On Sat, Jan 10, 2009 at 01:57:09AM -0500, Robert Cummings wrote: On Sat, 2009-01-10 at 05:20 +0200, Paul Scott wrote: On Fri, 2009-01-09 at 18:15 -0500, Phpster wrote: -12C in Toronto Meh! 30C - 35C in Cape Town, South Africa almost every day for the last month. It has been

Re: [PHP] Re: hello

2009-01-10 Thread Paul M Foster
On Sat, Jan 10, 2009 at 03:16:34AM -0500, Robert Cummings wrote: On Sat, 2009-01-10 at 03:10 -0500, Paul M Foster wrote: On Sat, Jan 10, 2009 at 01:57:09AM -0500, Robert Cummings wrote: On Sat, 2009-01-10 at 05:20 +0200, Paul Scott wrote: On Fri, 2009-01-09 at 18:15 -0500, Phpster

Re: [PHP] Couple of beginner questions

2009-01-10 Thread Paul M Foster
PHP code in the middle of a HTML page, make the extension PHP. Otherwise, Apache will not interpret the PHP code as PHP (unless you do some messing with .htaccess or whatever). It's just simplest to call a file something.php if it has PHP in it. Paul -- Paul M. Foster -- PHP General Mailing List

Re: [PHP] Referencing variable in calling class?

2009-01-10 Thread Paul M Foster
controllers are. It's just a bunch of routines and function calls in index.php.) Does that make sense? Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] First steps towards unix and php

2009-01-09 Thread Paul Scott
On Fri, 2009-01-09 at 07:50 -0500, Daniel Brown wrote: I'd take SMART or urpmi over yum as well, for the record. First choice is ./configure make make install, second choice is apt -- Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public

Re: [PHP] First steps towards unix and php

2009-01-09 Thread Paul Scott
On Fri, 2009-01-09 at 14:53 +0200, Paul Scott wrote: First choice is ./configure make make install, second choice is apt Even better, of course, is the: Yo sysadmin intern! Install package for me please and don't screw it up -- Paul All Email originating from UWC is covered

Re: [PHP] on Mapserver and php5_MapScript

2009-01-09 Thread Paul Scott
colour, but the style you are using does not allow it to be displayed. Basically all you are getting is the outline and not the fill. I suggest you read the excellent mapfile docs or ask on another list. -- Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal

Re: [PHP] Re: hello

2009-01-09 Thread Paul Scott
On Fri, 2009-01-09 at 18:15 -0500, Phpster wrote: -12C in Toronto Meh! 30C - 35C in Cape Town, South Africa almost every day for the last month. It has been a scorcher this year! -- Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/public

Re: [PHP] Re: can a session be used in a query?

2009-01-07 Thread Paul M Foster
'; ? Nicely done. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing and then printing ANSI escape sequences in (and then from) variables

2009-01-07 Thread Paul M Foster
') will return decimal 109. That's only an example, since you should be able to send single characters to the terminal as is. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Holocoste against palestinians

2009-01-07 Thread Paul Scott
am tired of politics creeping into FREE software. I think that part of MY FREEDOM that you are infringing on is my FREEDOM from politics. If I was interested in this crap, I would subscribe to an APPROPRIATE list. Thank YOU and good luck. -- Paul All Email originating from UWC is covered

Re: Re: [PHP] Because you guys/gals/girls/women/insert pc term here are a smart lot

2009-01-06 Thread Paul M Foster
(n) has performance advantages in some other database systems, it has no such advantages in PostgreSQL. In most situations text or character varying should be used instead. http://www.postgresql.org/docs/8.0/interactive/datatype-character.html Paul -- Paul M. Foster -- PHP General Mailing List

Re: [PHP] permission failure with fopen

2008-11-07 Thread Paul Scott
On Fri, 2008-11-07 at 14:27 +0200, Thodoris wrote: I'm testing on Windows XP SP2 with PHP 5.2.0 As far as I remember, you need to pass the b parameter to Windows as well on fopen(), so you would do an fopen(/path/to/file,wb); --Paul All Email originating from UWC is covered by disclaimer

RE: [PHP] web shot script

2008-10-23 Thread Paul Scott
and files are all in svn so if you would like em, get em! The screenshot code is in python 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

Re: [PHP] PHP Dev Facts

2008-10-17 Thread Paul Scott
Server Software (+version)?* Apache 2 *IDE / Dev Environment* Zend Studio / Vim / nano *Preferred Framework(s)?* Chisimba *Do you Unit Test?* Yes - PHPUnit3 *Most Used Internal PHP Class* SPL classes *Preferred OS CMS* Chisimba CMS --Paul All Email originating from

[PHP] ANN: Chisimba-2.0.3 Released!

2008-09-04 Thread Paul Scott
walkthroughs available linking from the main AVOIR site: For those interested in developing a module, or just getting some additional info please join our mailing list and ask some questions: http://mailman.uwc.ac.za/mailman/listinfo/nextgen-online --Paul

Re: [PHP] Web2.0 style tags - where to start?

2008-07-29 Thread Paul Jinks
On Tue, July 29, 2008 9:22 am, Jason Norwood-Young wrote: On Mon, 2008-07-28 at 23:57 +0100, Paul Jinks wrote: Jason Norwood-Young wrote: On Mon, 2008-07-28 at 14:48 +0100, Paul Jinks wrote: I think my first post was ambiguous. What we're thinking of is to build a site on which people

Re: [PHP] Double results??

2008-07-29 Thread Paul Gregg
In mail.php.general, Dan Shirah [EMAIL PROTECTED] wrote: $name_result = ifx_query ($name_query, $connect_id); while ($name = ifx_fetch_row($name_result)) { $party_name = TRIM($name['caa44240004']); print_r($name); } print_r($name) will return: John John Mary Mary Cindy Cindy

[PHP] Web2.0 style tags - where to start?

2008-07-28 Thread Paul Jinks
something together quickly to see if it's really the way we want to go (also because it might be useful for other projects). Does anyone know of any good resources on building a tagging system? The video for now will be held on a normal LAMP machine as will everything else. TIA Paul -- PHP

Re: [PHP] Web2.0 style tags - where to start?

2008-07-28 Thread Paul Jinks
. Paul Ps. I was wrong about youtube, by the way, it doesn't look like they do tagging. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web2.0 style tags - where to start?

2008-07-28 Thread Paul Jinks
Jason Norwood-Young wrote: On Mon, 2008-07-28 at 14:48 +0100, Paul Jinks wrote: I think my first post was ambiguous. What we're thinking of is to build a site on which people can view videos with the option to add metadata to a video after viewing it. We think that the content we have

Re: [PHP] Re: very very small CMS

2008-07-19 Thread Paul Scott
pretty good, but why not use in place editing with a little bit of AJAX rather than making the user click twice? I would rather turn editing on, then click to edit in place. --Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Capitalization of variable

2008-06-19 Thread Paul Novitski
of names arbitrary, even random, and often incorrect relative to their origins. Good luck! But don't give up -- as Xeno will attest, your earnest attempt to reach the tree with your arrow will gain praise even if it's doomed never to actually arrive. Regards, Paul __ Paul

Re: [PHP] losing mysql connection during cron job

2008-06-19 Thread Paul Novitski
At 6/18/2008 02:47 PM, Paul Novitski wrote: I've got a simple script running as a cron job that's getting intermittent Lost connection to MySQL server during query errors. At 6/18/2008 10:43 PM, Chris wrote: You need to do a mysql_close(); mysql_connect(...) before mysql_query works again

Re: [PHP] Associative Arrays

2008-06-19 Thread Paul Novitski
.', ), ); This is the right PHP syntax, except that you've got an extraneous comma before the closing parenthesis of each array that's going to throw a parse error. Regards, Paul __ Paul Novitski Juniper Webcraft Ltd. http://juniperwebcraft.com -- PHP General

Re: [PHP] Associative Arrays

2008-06-19 Thread Paul Novitski
lists as well as arrays. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] losing mysql connection during cron job

2008-06-18 Thread Paul Novitski
-dependent issue or is there something I can do in PHP to nail down the connectivity? I'm hoping to get assistance on this issue without having to clean up the script enough to invite in guests, but I'll do so if required. Thanks, Paul -- PHP General Mailing List (http://www.php.net

Re: [PHP] losing mysql connection during cron job

2008-06-18 Thread Paul Novitski
, is that I want to understand *why* I'm getting the Lost connection to MySQL server during query error. If anyone has had a similar experience using cron jobs or sleep() I'd love to hear from you. Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

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

2008-06-13 Thread Paul Scott
/[/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 disclaimer http://www.uwc.ac.za/portal/public/portal_services

[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 topic. --Paul

[PHP] PHP/SOAP WDSL Restrictions

2008-05-09 Thread Paul van Brouwershaven
, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP/SOAP WDSL Restrictions

2008-05-09 Thread Paul van Brouwershaven
I'm struggling with the WDSL restrictions in PHP/SOAP for a while Sorry, I mean WSDL instead of WDSL. But of course the problem stays the same :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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_services

Re: [PHP] AI file and mapping with PHP

2008-05-07 Thread Paul Scott
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

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

2008-05-06 Thread Paul Scott
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 Mailing List (http://www.php.net

Re: [PHP] the Y2K38 BUG

2008-05-06 Thread Paul Scott
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.php.net/) To unsubscribe, visit: http://www.php.net

<    3   4   5   6   7   8   9   10   11   12   >