Re: [PHP] anyone have HTML snippet example of HTTP method = put?

2008-08-02 Thread Richard Heyes
, chances are it doesn't support PUT. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get Remote-Image

2008-07-31 Thread Richard Heyes
Gutentag, I'm staring at the screen thinking Huh...?. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP email

2008-07-31 Thread Richard Heyes
Hi, Can someone tell me what the address is to change my @php.net redirect? Thanks. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Back to Basics - Why Use Single Quotes?

2008-07-31 Thread Richard Heyes
Single quotes do still recognise \' and \\ though, for getting a single quote and backslash. IIRC (which isn't likely) they're the only two. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating new site

2008-07-31 Thread Richard Heyes
Cake is licensed under the MIT license which is about as permissible as you can get. Any Open Source code is permissable as long you don't tell anyone... :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Why PHP4?

2008-07-30 Thread Richard Heyes
that changes the php.ini without much, if any, thought? -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why PHP4?

2008-07-30 Thread Richard Heyes
The technical abilities and awareness is often inversely proportional to the size of the hoster. Lol. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why PHP4?

2008-07-30 Thread Richard Heyes
upgrade of your server! Of course you should. Writing code with every eventuality in mind is simply ludicrous. And you really should expect things to change when major versions are changed - that's why release notes exist. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http

Re: [PHP] Why PHP4?

2008-07-30 Thread Richard Heyes
change. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating new site

2008-07-30 Thread Richard Heyes
/ApplicationStructure.html On the other hand, it may not. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why PHP4?

2008-07-28 Thread Richard Heyes
I'm interested - why are people still using PHP4? It's been over 4 years (I think) - plenty of time to upgrade to five. -- Richard Heyes http://www.phpguru.org -- 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 Richard Heyes
be don't. Your visitors are more likely to know and understand their own PCs UI as opposed to one that you invent. Any UI you come up with is not going to be as easily used no matter how good it is. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] Why PHP4?

2008-07-28 Thread Richard Heyes
Why is COBOL still in use? :) What is COBOL? :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why PHP4?

2008-07-28 Thread Richard Heyes
Finally - why migrate? What's the rush? Lots of people are still running back-level software That I can understand. I'm still running Apache 1.3.33 (I think) along with PHP 5.0.4. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Why PHP4?

2008-07-28 Thread Richard Heyes
actually, a lot of stuff is finally saying php5 only now ... Just in time for PHP6... :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular Expression help need

2008-07-27 Thread Richard Heyes
Before: phi strongRichard/strong, good morninglt;/p After: phi strongRichard/stronggt;, amp; good morninglt;/p By the sounds of it negative look ahead assertions may be of some help. Or look behind assertions. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http

Re: [PHP] Regular Expression help need

2008-07-25 Thread Richard Heyes
. Or str_replace(). -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Code beautifier

2008-07-24 Thread Richard Heyes
Anyone know of an unintrusive code beautifier written specifically with in mind? Thanks. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code beautifier

2008-07-24 Thread Richard Heyes
Anyone know of an unintrusive code beautifier written specifically with in mind? With 'what' in mind? Sorry, PHP. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code beautifier

2008-07-24 Thread Richard Heyes
(and anal retentive) when you code :) I am; the problem is noone lives up to my standards... :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Code beautifier

2008-07-24 Thread Richard Heyes
Hi, Rich, I thought you WERE the code beautifier. ;-P Thanks... There's just so much to do though... :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Search thoughts

2008-07-19 Thread Richard Heyes
external search code and not worrying so much. Cheers. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Mark Kelly wrote: Hi. On Saturday 19 July 2008, Richard Heyes wrote: Currently the site in question uses a very basic LIKE in MySQL, eg %blah%, but naturally this finds terms such as hjkblahbjkk - which is not desired. Or such matches should be ranked lower than something that matches

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
bores the pants off me. But, the point is, would it make a difference? Well spending some time on it will improve it as it's just the basic LIKE at the moment, but point taken - I really don't want to spend a lot of time on it. -- Richard Heyes -- PHP General Mailing List (http://www.php.net

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Ever play with fulltext search? Yes, though it's not suitable in this instance. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] An HTML5 radar chart

2008-07-19 Thread Richard Heyes
http://www.phpguru.org/downloads/HTML5_radar/ Look at me, I'm so cool. This perhaps shows the magnitude of the data a little better than a pie chart. Not quite a normal radar, but this is finished... :-) -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
the entire King James Bible in a dB -- interesting read That's debateable... :-) -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
Hi, I've been playing around with the zend search lucene and it is really powerful too. Worth looking into? -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] An HTML5 radar chart

2008-07-19 Thread Richard Heyes
for 100,000 site visitors. Compare your 1 server generating all 100,000 graphs, which you may not be able to cache, with 100,000 client computers generating them individually. End result - far less load on your server, hence it can cope with far more views and/or respond quicker. -- Richard

Re: [PHP] An HTML5 radar chart

2008-07-19 Thread Richard Heyes
on IE8. :-) -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Search thoughts

2008-07-19 Thread Richard Heyes
http://framework.zend.com/manual/en/zend.search.lucene.html Nice one, thanks. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Advice on a radar chart

2008-07-15 Thread Richard Heyes
Hey, Can anyone suggest an efficient method for plotting the marks on a radar chart? I have the background done (http://www.phpguru.org/downloads/HTML5_radar/ - FF required), but that not exactly difficult. Cheers. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General

Re: [PHP] Advice on a radar chart

2008-07-15 Thread Richard Heyes
If you are willing to use googles chart api .. http://code.google.com/apis/chart/#radar Nope. It's not something I need to implement, mmore a personal (albeit with this lists help) project. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http

Re: [PHP] Advice on a radar chart

2008-07-15 Thread Richard Heyes
What do you want to implement as a radar chart? Nothing in particular. Just a generic radar chart for representing data. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP code will not work

2008-07-10 Thread Richard Heyes
$_ENV $_SERVER $_ENV and $_SERVER are. Though their contents are doubtless different. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Relocating and POSTing

2008-07-10 Thread Richard Heyes
Alex Chamberlain wrote: I need to send a header('Location:') and send some data along with it - how would I do this?? Two methods: 1. Use the query string. Eg header('Location: http://www.xxx.com?name=valuename2=value2'); 2. Use sessions -- Richard Heyes Employ me: http

Re: [PHP] What font/size do you use for programming?

2008-07-09 Thread Richard Heyes
triple-headed display That's just greedy. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What font/size do you use for programming?

2008-07-09 Thread Richard Heyes
I use a triple display as well. My desktop is 3840 x 1024 -- and I use every inch of it. And here I am with one paltry monitor. :-( -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Asynchronous PHP Execution

2008-07-06 Thread Richard Heyes
. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scrambling a word

2008-07-05 Thread Richard Heyes
Is there a way to output the results with a space between each character? $shuffled = str_shuffle($str); From memory: $shuffled = implode(' ', explode('', $shuffled)); -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Scrambling a word

2008-07-05 Thread Richard Heyes
Using an empty delimeter with explode leads to a php warning. At least in the php versions i worked with. Still there is a similar function: ?php var_dump(chunk_split('test', 1, ' ')); Odd. Don't know where that idea came from then. -- Richard Heyes Employ me: http://www.phpguru.org/cv

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Richard Heyes
, and the sleep command should run on regardless. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Asynchronous PHP Execution

2008-07-05 Thread Richard Heyes
Also: exec('sleep 5 /dev/null '); Maybe? Two ampersands you mean? Why - what does it do? You're also not redirecting STDERR. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPExcel

2008-07-03 Thread Richard Heyes
Happy 4th of July! How did you know it was my sisters birthday today? Been an exciting week, first Canada's birthday was on Monday, now my sister's birthday today. What a thrill ride. Isn't it the 3rd? -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http

Re: [PHP] PHPExcel

2008-07-03 Thread Richard Heyes
speak for the rest of the populace. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPExcel

2008-07-03 Thread Richard Heyes
*doh* I took for granted someone else had the date right... I rarely know what day it is :) It's not often I know what day it is... :-) -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHPExcel

2008-07-03 Thread Richard Heyes
Richard Heyes wrote: *doh* I took for granted someone else had the date right... I rarely know what day it is :) It's not often I know what day it is... :-) Oops, sorry, I read your message wrong. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http

Re: [PHP] Simple array problem

2008-07-01 Thread Richard Heyes
]) { $arr[$i][1] += $new_array[1]; break; // Optional - means the first orange found will be // updated only } } -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple array problem

2008-07-01 Thread Richard Heyes
Small correction: Which is...? -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple array problem

2008-07-01 Thread Richard Heyes
You missed it a second time? :-) My sight is awful - if you don't point it out, chances are I won't see it. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Encription

2008-06-30 Thread Richard Heyes
and never have). -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another instance of shameless self promotion

2008-06-28 Thread Richard Heyes
This time its a line chart: http://www.phpguru.org/line/test.html BTW Is anyone else dumbfounded at the inability of the CANVAS tag to render text natively? A gross oversight IMO. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Help with login

2008-06-27 Thread Richard Heyes
is not good, especially as you've just posted you authentictaion method to the world. At the very least switch to storing the fact that the user is authed to the session. Eg: if (!empty($_SESSION[auth]) empty($_GET[page])) { include($GLOBALS['admin_index']); die(); } -- Richard Heyes -- PHP

Re: [PHP] PHP4 vs PHP5 Memcache compatibility issue

2008-06-26 Thread Richard Heyes
something similar? Does anyone know how to get over this? There's some nice RPC code (well I think it's nice anyhoo) on my website: http://www.phpguru.org/downloads/RPC_for_PHP5/ It's for PHP5 but you might be able to adapt (if you even need to) to work with PHP4. -- Richard Heyes

Re: [PHP] Another canvas example

2008-06-23 Thread Richard Heyes
the beachball. TAB and the spacebar are your friends I guess... :-) -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another canvas example

2008-06-22 Thread Richard Heyes
Hi, You gonna post the source code? ;) Already have, like all Javascript, it's clientside. The direct URL is: http://www.phpguru.org/pie/pie.js There's also the ExCanvas library, but that's public anyway. -- Richard Heyes Employ me: http://www.phpguru.org/cv

[PHP] Another canvas example

2008-06-21 Thread Richard Heyes
Hi, Latest in my new series of look at me, aren't I cool canvas examples is here: http://www.phpguru.org/pie/pie.html Works in IE7 too. And Opera. Ooh. -- Richard Heyes Employ me: http://www.phpguru.org/cv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Another canvas example

2008-06-21 Thread Richard Heyes
it's a beach ball cursor. Lol. A didn't see it like that, but now you've mentioned it, it's kinda stuck and that's all I can see now. :-) -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive

Re: [PHP] Please stop me from tearing my hair out.

2008-06-19 Thread Richard Heyes
. Feel free to chip in with any glaring obvious suggestions and points of interest you'd like to raise, I probably need the help. Thanks in advance.* Line thirty eight is missing the end of line semi-colon. -- Richard Heyes Employ me: http://www.phpguru.org/cv

[Fwd: Re: [PHP] Please stop me from tearing my hair out.]

2008-06-19 Thread Richard Heyes
Fowarded message. -- Richard Heyes ---BeginMessage--- now it says this? *Parse error*: syntax error, unexpected '=', expecting ',' or ';' in *C:\wamp\www\achillesweb2\functions.php* on line *14 ?.? * On Thu, Jun 19, 2008 at 10:45 PM, Byron [EMAIL PROTECTED] wrote: okay, so i got static

Re: [PHP] climb up the path

2008-06-18 Thread Richard Heyes
except the last, but this looks also dirty... is there a direct way? There's nothing dirty about dirname(), and for your issue, just call it twice: dirname(dirname(__FILE__)); -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH

[PHP] A somewhaat better example of CANVAS

2008-06-17 Thread Richard Heyes
Again, FF only. This is a somewhat better example of what can be done with CANVAS. Not quite on par with what some have shown, but hey I only started yesterday... :-) http://www.phpguru.org/graph/graph.html The bars maybe a few pixels off, but really, who cares? -- Richard Heyes

Re: [PHP] Re: Search like php.net's URL thingy

2008-06-17 Thread Richard Heyes
It's *WRONG*. So are vegetables. Long live the waffle! BTW, anyone seen this: http://code.google.com/apis/chart/ ...? More to the point, is anyone using it commercially? -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH

Re: [PHP] Canvas examples

2008-06-16 Thread Richard Heyes
this illustrates what can be done with some (a lot?) of work. -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP

Re: [PHP] UK PHP Host/Developer Required

2008-06-16 Thread Richard Heyes
Out of hours technical support often gets billed at a punitive rate. Which is a bugger if their out of hours is your working day. It seems you haven't tried Rackspace (UK) yet. What do you mean? Personally I've had good experiences with Rackspace. -- Richard Heyes Employ me: http

Re: [PHP] Canvas examples

2008-06-16 Thread Richard Heyes
a big concern I would hazard a guess that a bar chart (for example) would cost less in terms of code required to build the image compared to JPGraph, and also less in terms of output (particularly if you were to use output compression). -- Richard Heyes Employ me: http

Re: [PHP] Strategy to protect images

2008-06-15 Thread Richard Heyes
But, a sophisticated user will find a way around that. A less sophisticated one will use the PrintScr key... :-) -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org

[PHP] Canvas examples

2008-06-15 Thread Richard Heyes
Does anyone have any more examples of the new canvas element they've written? FF only: http://www.phpguru.org/canvas.html -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http

Re: [PHP] Canvas examples

2008-06-15 Thread Richard Heyes
That's very cool, Richard. Well, thanks, but I wouldn't call it very cool. Now a graphing library that output the results using a canvas, thus negating the need for JPGraph would definitely be nice. Or you could just use JPGraph and get to the pub earlier... :-) -- Richard Heyes

Re: [PHP] Canvas examples

2008-06-15 Thread Richard Heyes
This is a pretty interesting use of Canvas as well. Thanks for sharing! http://ejohn.org/blog/processingjs/ This is very nice. -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http

Re: [PHP] Strategy to protect images

2008-06-15 Thread Richard Heyes
Must be a windozes thing. :-) I guess so. PrintScr takes a snapshot of the current screen, ie a screenshot and places it on the clipboard. Then you simply paste into something like Paint and save it. -- Richard Heyes Employ me: http://www.phpguru.org/cv

Re: [PHP] Re: HTML 5

2008-06-13 Thread Richard Heyes
i suppose i put too much faith in the right hand nav on the w3cschools site =/ http://www.w3.org/ is the site to use for up to date standards. -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive

Re: [PHP] Re: HTML 5

2008-06-13 Thread Richard Heyes
Well that is a bit ironic as just the other day you said you didn't care about standards[1] as far as redirects were concerned. :P [1] http://www.mail-archive.com/php-general@lists.php.net/msg228512.html Note the smileys... :-) -- Richard Heyes Employ me: http://www.phpguru.org/cv

[PHP] HTML 5

2008-06-12 Thread Richard Heyes
This may be of interest (HTML 5 diffences to HTML 4 overview): http://www.w3.org/TR/2008/WD-html5-diff-20080610/ -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org

Re: [PHP] UK PHP Host/Developer Required OT

2008-06-12 Thread Richard Heyes
. -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] regular expression to find body text in mobile

2008-06-11 Thread Richard Heyes
Doese any know how to find text in mobile using Regular Expression? I am using php. Mobile what? -- Richard Heyes Employ me: http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

Re: [PHP] Class Type Casting

2008-06-10 Thread Richard Heyes
you a definite answer but presumably it's not calling the constructor when you type cast it. Add a line to your constructor that will show if this is the case. Eg: function __construct($str){ $this-contents=$str; echo In string_extended constructor...br /\n; } -- Richard

Re: [PHP] Regex in PHP

2008-06-05 Thread Richard Heyes
sorry to bother you richard. You didn't, I just wanted to make sure I wasn't losing it (more). -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP

Re: [PHP] Regex in PHP

2008-06-04 Thread Richard Heyes
-sensitive comparison requires only one (i == i). Cheers. -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP General Mailing List (http://www.php.net

Re: [PHP] strlower problem

2008-06-02 Thread Richard Heyes
? Because you're echoing out the original (uppercase) string. Try: echo $strLow; -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org

Re: [PHP] Storing £ (pound sterling) sign and displaying in HTML email

2008-06-02 Thread Richard Heyes
numerically (and optionally the currency if need be) and just put the pound; in your HTML file. -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http

Re: [PHP] ecommerce data sharing?

2008-06-01 Thread Richard Heyes
Does anyone know of a project for sharing ecommerce related data? Such as abstracted order histories so that tables of related items can be built for recommending items? Sounds like a huge privacy can of worms and worm related matter. -- Richard Heyes In Cambridge

Re: [PHP] Reloading changes JS files?

2008-05-29 Thread Richard Heyes
mark use a forward slash. This may be Apache specific though. Eg. img src='/image/bulk.jpg/112344324' / ISTR question marks are not search engine friendly, so for pages this may be a preferred option. -- Richard Heyes In Cambridge? Employ me http

Re: [PHP] Escaping JavaScript strings

2008-05-29 Thread Richard Heyes
', ' = \\', '\\' = ''); return strtr($string, $js_escape); } -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

Re: [PHP] Reloading changes JS files?

2008-05-29 Thread Richard Heyes
it depends on the headers you send on the page. Doing this will send a: Cache-Control: no-cache request header. -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive

Re: [PHP] Embed images in emails

2008-05-29 Thread Richard Heyes
need a multipart mime email with: Content-Type: image/jpeg Content-Disposition: inline unless you want it to be a separate attachment. This may help: http://www.phpguru.org/static/htmlMimeMail5.html -- Richard Heyes In Cambridge? Employ me http

Re: [PHP] PEAR_Exception PEAR_Error

2008-05-28 Thread Richard Heyes
; but; am having trouble getting it to recognize the error. Can anyone help me with this? You could use your own version of RFC822.php and use the wonderful search and replace. Don't worry about updates, Mail_RFC822 is quite stable, and has been for some years. -- Richard Heyes

Re: [PHP] Help preg_replace with Non-English character

2008-05-22 Thread Richard Heyes
if the mb_* functions will help. http://uk3.php.net/manual/en/book.mbstring.php -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

Re: [PHP] Help Call Javascript Methods Inside PHP

2008-05-20 Thread Richard Heyes
to send some HTML to the browser which calls Javascript methods. -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

Re: [PHP] reretrieve header from email

2008-05-20 Thread Richard Heyes
mean you probably won't need Mail_mimeDecode. -- Richard Heyes In Cambridge? Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

Re: [PHP] Enterprise

2008-05-20 Thread Richard Heyes
of their software. Typically healthcare systems are further behind in the technology adoption, but having to deal with workarounds all day long sure gets old. Seems like PHP is already in the enterprise: http://www.phpguru.org/article/14 -- Richard Heyes In Cambridge? Employ me

Re: [PHP] php mysql live feed

2008-05-20 Thread Richard Heyes
, and you don’t have to onclick, onfocus, or onblur kind of thing. I would be in your debt You can use setTimeout() to delay a call to a Jabbascript function. Remember that the second argument is milliseconds, and not seconds. Eg. setTimeout('alert(Hello)', 1000); -- Richard

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Richard Heyes
account). http://www.phpguru.org/sftpdrive -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive| ++ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Improving development process / help with developer setup

2008-05-19 Thread Richard Heyes
Or depending on your budget, Switch the developers to Macintosh computers, install windows via parallels, and then you can test in Mac/Unix/Windows all from 1 computer :) And watch everyone quit... :-) -- Richard Heyes ++ | Access SSH with a Windows

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Richard Heyes
You should _always_ use an absolute URL in a redirect. I know it quite often works with a relative too. Why? -- Richard Heyes Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Richard Heyes
Because it is RFC. Since when has that mattered? :-) -- Richard Heyes Employ me http://www.phpguru.org/cv ++ | Access SSH with a Windows mapped drive | |http://www.phpguru.org/sftpdrive

Re: [PHP] Semi-OT: PHP Login with client security

2008-05-19 Thread Richard Heyes
Robert Cummings wrote: On Mon, 2008-05-19 at 21:03 +0100, Richard Heyes wrote: Because it is RFC. Since when has that mattered? :-) Always... unless you're one of the ignorant masses ;) Whatever works... :-) -- Richard Heyes Employ me http

Re: [PHP] String searching

2008-05-17 Thread Richard Heyes
anything and the second part must be only in the set described above. What is the easiest way to do this? There's something here, imaginatively called blah(), which does what you require: http://www.phpguru.org/preg/example.phps -- Richard Heyes ++ | Access

Re: [PHP] Threads PHP

2008-05-16 Thread Richard Heyes
Check out: http://pecl.php.net/package/threads That might help you out. Summary: experimental implementation of threads The word experimental makes me shudder. If you can (ie you're using *nix), you could also investigate the pcntl extension - http://php.net/pcntl -- Richard Heyes

Re: [PHP] validating textarea using php

2008-05-14 Thread Richard Heyes
and therefore not worth my time considering. ISTR having read something about a 5.3 release, which I read would have namespaces. That needs consideration before any PHP6 release. -- Richard Heyes ++ | Access SSH with a Windows mapped drive | |http

<    1   2   3   4   5   6   7   8   9   >