Re: [PHP] CodeWorks 09

2009-09-03 Thread Luke
; > Nice one, I might be able to get to that one :) Thanks, -- Luke Slater :O) this text is protected by international copyright. it is illegal for anybody apart from the recipient to keep a copy of this text. dieser text wird von internationalem urheberrecht geschuetzt. allen ausser dem/de

Re: [PHP] CodeWorks 09

2009-09-02 Thread Luke
just the USA :) > > -- > Peter Ford phone: 01580 89 > Developer fax: 01580 893399 > Justcroft International Ltd., Staplehurst, Kent > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visi

Re: [PHP] IRC and English

2009-09-01 Thread Luke
t's a English based list. > Or is it allowed to discriminate here? > > As a non-english speaker I feel very uncomfortable with this thread. > > With the best intentions for the community, sincerely yours, > > Martin Scotta > Spanish Speaker > I don't think we w

Re: [PHP] unset( $anobject) does not invoce __destruct()

2009-08-24 Thread Luke
; > http://stut.net/ > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Then I assume you would have to copy the object into another variable rather than reference the one you are trying to destroy? --

Re: [PHP] Another date exercise

2009-08-19 Thread Luke
t; > "$1/$2/$3", $date); > > echo date("M j, Y", strtotime($date)) ."\n"; > > } > > > > ?> > > > > Guess you didn't like this one? Also, if you change the / to - in the > preg_replace() it should work on Euro style da

Re: [PHP] Another date exercise

2009-08-17 Thread Luke
2009/8/17 Luke > > > 2009/8/17 tedd > >> At 4:10 PM +0100 8/17/09, Luke wrote: >> >> What would be really cool is if someone wrote a PHP script that generates >>> some Javascript code that could do this. >>> >>> I mean while we'r

Re: [PHP] Another date exercise

2009-08-17 Thread Luke
2009/8/17 tedd > At 4:10 PM +0100 8/17/09, Luke wrote: > >> What would be really cool is if someone wrote a PHP script that generates >> some Javascript code that could do this. >> >> I mean while we're on the subject of complicating things ;) >> >>

Re: [PHP] Another date exercise

2009-08-17 Thread Luke
. Instead, > I received "use javascript". Okay... but that's not a php solution, right? > > Cheers, > > tedd > > -- > --- > http://sperling.com http://ancientstones.com http://earthstones.com > > -- > PHP General Mailing List (http://www.php.net/) &g

[PHP] unsubscription not working

2009-07-31 Thread Luke
I'm subscribed with. -- Luke Slater :O) this text is protected by international copyright. it is illegal for anybody apart from the recipient to keep a copy of this text. dieser text wird von internationalem urheberrecht geschuetzt. allen ausser dem/der empfaenger/-in ist untersagt, eine ko

Re: [PHP] How to build an FF extension

2009-07-23 Thread Luke
; > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Only officially: http://en.wikipedia.org/wiki/FF<http://en.wikipedia.org/wiki/FF> -- Luke Slater :O)

Re: [PHP] Sessions

2009-07-03 Thread Luke
ww.php.net/unsub.php > > Some people have a file called init.php, which would contain session_start(); as well as other things that need to be done every page load (connect to the database perhaps?) and they just 'require' that at the top of every page. -- Luke Slater http://dinosaur-os.com/ :O)

Re: [PHP] Re: PHP 5.3.0 Released!

2009-06-30 Thread Luke
compatible with 5_3 ? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Did anyone notice it has been released on the same day as firefox 3.5? See any similarity in the version numbers? -- Luke Slater :O)

Re: [PHP] Re: Scope woe

2009-06-30 Thread Luke
t; > On Tue, Jun 30, 2009 at 8:43 AM, Peter Ford wrote: > > Luke wrote: > >> Hello again guys, > >> > >> I was wondering the best way to tackle the following problem: > >> > >> I've got a class, containing a property wh

[PHP] Scope woe

2009-06-30 Thread Luke
things like adding: private $firstobject = $GLOBALS['firstobject']; But apparently that's bad syntax. I was just wondering the best way to get around this? Thanks a lot for your help, -- Luke Slater :O)

Re: [PHP] Socket error

2009-06-29 Thread Luke
2009/6/29 Daniel Brown > On Mon, Jun 29, 2009 at 02:42, Luke wrote: > > Hey guys, getting an odd error here... The code involved: > [snip!] > >Luke, > >Just a friendly reminder: for future reference, please don't start > a second thread on the li

Re: [PHP] Socket error

2009-06-28 Thread Luke
2009/6/29 Stuart > 2009/6/29 Luke : > > Hey guys, getting an odd error here... The code involved: > > > >$master_socket = socket_create_listen($this->port); > > > >socket_bind($master_socket, '127.0.0.1', $this->p

[PHP] Socket error

2009-06-28 Thread Luke
cket, SOL_SOCKET, SO_REUSEADDR, 1); socket_set_nonblock($master_socket); And I'm getting: 'PHP Warning: socket_bind(): unable to bind address [22]: Invalid argument in /home/luke/talkserver/new/classes/server.php online 30' $this->port is valid, I've checked both this

[PHP] Socket error

2009-06-28 Thread Luke
cket, SOL_SOCKET, SO_REUSEADDR, 1); socket_set_nonblock($master_socket); And I'm getting: 'PHP Warning: socket_bind(): unable to bind address [22]: Invalid argument in /home/luke/talkserver/new/classes/server.php online 30' $this->port is valid, I've checked both this

Re: [PHP] Best Encryption Algorithm

2009-06-03 Thread Luke
it: http://www.php.net/unsub.php > > I was once working with a very problematic partner that kept changing data in our database, so I rot13d all the data and told him it was some advanced encryption and he never worked it out :) -- Luke Slater :O)

Re: [PHP] Re: class problem :(

2009-05-28 Thread Luke
2009/5/29 Shawn McKenzie > Luke wrote: > > Right I've read the manual on this and all that so hopefully you find > people > > can help. > > I have an abstract class with three children. The abstract is ForumObject > > and the three children are Thread, Category

[PHP] class problem

2009-05-28 Thread Luke
into it and there seems to be something you can do with get_called_class() but unfortunately I'm stuck with 5.2.9 at the moment and that is new to 5.3. Any ideas? Perhaps there is a different way I could implement the classes - I would rather not have getObjectIds repeated three times! Thanks in advance, -- Luke Slater http://dinosaur-os.com/ :O)

[PHP] class problem :(

2009-05-28 Thread Luke
into it and there seems to be something you can do with get_called_class() but unfortunately I'm stuck with 5.2.9 at the moment and that is new to 5.3. Any ideas? Perhaps there is a different way I could implement the classes - I would rather not have getObjectIds repeated three times! Thanks in advance, -- Luke Slater :O)

Re: [PHP] Re: PHP, OOP and AJAX

2009-05-28 Thread Luke
gt; Lenin > > www.twitter.com/nine_L > > > Moo, I would say learn to do PHP by itself before you go using frameworks. AJAX is a bit different though because there will be few reasons that you will ever need to write low level code when you're using a library like Prototype =) -- Luke Slater :O)

Re: [PHP] -less layouts; Ideas welcome

2009-05-21 Thread Luke
and some have greatness thrust upon them." > > Twelfth Night, Act II, Scene V >by William Shakespeare > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > But you're just using the same design semantic, but coding it in CSS instead of using ; it even has the same name! There appears to be nothing wrong with tables when used for the right reasons - they _are_ there for a reason. -- Luke Slater http://dinosaur-os.com/ :O)

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Luke
2009/4/28 Jan G.B. > 2009/4/28 Luke : > > > > > > 2009/4/28 Jan G.B. > >> > >> 2009/4/28 Jay Blanchard : > >> > Our company wants to do e-mail verification and does not want to use > the > >> > requests / response method (click

Re: [PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Luke
id in local part unless // local part is quoted if (!preg_match('/^"("|[^"])+"$/', str_replace("","",$local))) { $isValid = false; } } if ($isValid && !(checkdnsrr($domain,"MX") || checkdnsrr($domain,"A"))) { // domain not found in DNS $isValid = false; } } return $isValid; } -- Luke Slater http://dinosaur-os.com/ :O)

Re: [PHP] @$_POST[...]

2009-04-22 Thread Luke
> PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I believe placing an @ in front of a statement suppresses any error messages it generates. -- Luke Slater :O)

Re: [PHP] problem with my class

2009-04-16 Thread Luke Slater
On Thu, Apr 16, 2009 at 2:41 PM, Thijs Lensselink wrote: > Luke wrote: > > 2009/4/16 Jan G.B. > > > >> 2009/4/16 Luke : > >>> Hi guys, > >>> > >>> I've been learning about object oriented programming and I wrote this > >&g

Re: [PHP] problem with my class

2009-04-16 Thread Luke
2009/4/16 Jan G.B. > 2009/4/16 Luke : > > Hi guys, > > > > I've been learning about object oriented programming and I wrote this > test > > class but it doesn't seem to be working, it throws no errors but doesn't > > insert anything to the data

[PHP] problem with my class

2009-04-16 Thread Luke
;solution = mysql_real_escape_string($s); } public function saveRecipe() { $query = "INSERT INTO recipe (title, problem, solution) VALUES ('".$this->rtitle."', '".$this->problem."', '".$this->solution."')"; mysql_query($query); } } Many thanks, Luke Slater

Re: [PHP] Logical next step in learning?

2009-04-14 Thread Luke
Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > That or create a website that has already been created, but on a smaller scale. That way you will run into the common issues that you will have to deal with in most of the projects you do. -- Luke Slater :O)

Re: [PHP] Namespce operator

2009-03-25 Thread Luke
Safari: > http://www.rgraph.net (Updated March 14th) > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater http://dinosaur-os.com/ :O)

Re: [PHP] PHP blogs?

2009-03-20 Thread Luke
http://www.planet-php.net/ is an aggregator of some of the good stuff >> that's out there. >> > > It displays horribly in Firefox. > They need to fix it. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
You might have something there - never really thought about how windows forms the 8.3 names... & not many resources online about it ... The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe" I'd used "c:\Progra~1\Gammu~1\bin\gammu.exe" Luke On Thu, M

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
work was to get rid of the spaces in the path/to/exe. Luke On Thu, Mar 19, 2009 at 8:24 PM, bruce wrote: > hey... > > if you're going to deal with file/pathnames in windows/linux.. you're going > to have to encapsulate them with "" or with '' ie double/

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
work was to get rid of the spaces in the path/to/exe. Luke. On Thu, Mar 19, 2009 at 8:24 PM, bruce wrote: > hey... > > if you're going to deal with file/pathnames in windows/linux.. you're going > to have to encapsulate them with "" or with '' ie double/

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > > > On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > >> Thanks, but I tried this. Doesn't work because the path\to\gam

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Eventually settled for getting rid of the spaces in the path. That worked. Thanks. Luke On Thu, Mar 19, 2009 at 8:06 PM, Bastien Koert wrote: > > > On Thu, Mar 19, 2009 at 12:48 PM, Kyohere Luke wrote: > >> Thanks, but I tried this. Doesn't work because the path\to\gam

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Unless i'm mistaken, data written to the process's stdin (for the other process) is not treated like an argument. If I add the arguments to the process name/path? I'm back to square one. Luke On Thu, Mar 19, 2009 at 6:25 PM, Shawn McKenzie wrote: > Kyohere Luke wrote: > > Hi,

Re: [PHP] Re: Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
Unless i'm mistaken, data written to the process's stdin (for the other process) is not treated like an argument. If I add the arguments to the process name/path? I'm back to square one. Luke. On Thu, Mar 19, 2009 at 6:25 PM, Shawn McKenzie wrote: > Kyohere Luke wrote: > > Hi,

[PHP] Problems with exec() on windows

2009-03-19 Thread Kyohere Luke
, it fails again, which makes me believe that the problem is with the double quotes. I've used procmon and it shows that when the double quotes are added around the last argument, gammu.exe is not even called at all. Problem is that the double quotes are required by gammu to send an sms with spaces in it. Any ideas? :-( Luke

Re: [PHP] ruby / rails within a php site

2009-03-04 Thread Kyohere Luke
lation the way it expects to be run... Thoughts? Luke. On Wed, Mar 4, 2009 at 9:02 AM, dg wrote: > If it's html that Ruby generates, you could probably call that file as an > include? > > Something like... > > $ruby = file_get_contents('rubyfile.html'); > &

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Luke Slater
On Friday 13 Feb 2009 17:39:09 Daniel Brown : > 2009/2/13 Lists : > > :-) > > > > Donovan > > To you, as well! I think it's really neat. For us in the EST > time zone, with time adjustments and such, it'll be 6:31:30p tonight. > > > > -- > > daniel.br...@parasane.net || danbr...@php.net > h

Re: [PHP] Clarity needed OT

2009-02-06 Thread Luke Slater
On Friday 06 Feb 2009 18:13:02 tedd wrote: > At 1:55 AM +0100 2/6/09, Jochem Maas wrote: > >that tedd's unlimited educational resources (tutors/courses) might > >go someway to undoing all the harm Fox News inflicts on the masses. > > Or to provide clarity to those who think that Fox News is doing h

Re: [PHP] developers life

2009-01-19 Thread Luke Slater
On Mon, 19 Jan 2009, Robert Cummings wrote: On Mon, 2009-01-19 at 21:28 +, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer? - frequent bursts of side-tracking onto more interesting subjects - v

Re: [PHP] developers life

2009-01-19 Thread Luke Slater
On Mon, 19 Jan 2009, Kyle Terry wrote: On Mon, Jan 19, 2009 at 1:28 PM, Nathan Rixham wrote: well just for the hell of it; and because I'm feeling worn.. anybody else find the following true when you're a developer? - frequent bursts of side-tracking onto more interesting subjects - vast

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

2009-01-07 Thread Luke Slater
$buffer . chr(7); then it would work perfectly. Thanks again, Luke Slater On Wed, 7 Jan 2009, Fred Briand wrote: Paul M Foster a écrit : On Wed, Jan 07, 2009 at 11:11:53PM +, Luke Slater wrote: Hi, I'm storing ANSI escape sequences in an array, stored like this: $connections[$c

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

2009-01-07 Thread Luke Slater
$connections[$channel][1] . " " . $buffer . chr(7); It will print as a literal string, actually printing \033[33m to the screen, so how do I make it work? I'm sure I'm missing something fatally simple here. Thanks for your help, Luke Slater -- PHP General Mailing List (htt

Re: [PHP] PHP telnet server

2009-01-01 Thread Luke Slater
Well, I'm only 16 and I'm using 'em. They are pretty good but depreceated rather a lot as graphical MUDs came around. The people on them are generally of the, ah, computing persuasion though so it's a good way to meet people with like interests :) On Thu, 1 Jan 2009, Per Jessen wrote: Rob

Re: [PHP] PHP telnet server

2009-01-01 Thread Luke Slater
WELL, while we're advertising, tcz.net telnet tcz.net 23 The MUD does indeed cover many aspects of programming, most of them even have their own scripting language! On Thu, 1 Jan 2009, Robert Cummings wrote: On Thu, 2009-01-01 at 19:03 +0100, Per Jessen wrote: Robert Cummings wrote: 'c..

Re: [PHP] PHP telnet server

2009-01-01 Thread Luke Slater
ation it does become an issue? On Thu, 1 Jan 2009, Robert Cummings wrote: On Thu, 2009-01-01 at 13:27 +, Luke wrote: The current system also uses some kind of strange text based database, I was wondering if using MySQL for the database would slow it down too much? Which MUD engine are yo

Re: [PHP] PHP telnet server

2009-01-01 Thread Luke
bandwidth requirements > at all. > > > /Per Jessen, Zürich > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater :O) PGP Fingerprint: 643B B93E D979 15C9 5BBD 7AF

Re: [PHP] PHP telnet server

2009-01-01 Thread Luke Slater
Well the current system runs of a 20MB internet connection in London, seeing as that's the UK that about 2MB. It runs fine, responses are snappy even dealing with loads of users. This, however, is written in C: does PHP have that much of an overhead so that bandwidth is actually that much of a

Re: [PHP] PHP telnet server

2008-12-30 Thread Luke Slater
That supersocket class certainly seems good enough to get me started, thanks everyone! On Tue, 30 Dec 2008, Manuel Lemos wrote: Hello, There are plenty of ready to use solutions to build TCP servers. Here are some of them: Simple TCP Daemon http://www.phpclasses.org/daemon Generic socket ba

[PHP] PHP telnet server

2008-12-30 Thread Luke Slater
and there seems to be no real information out there? I would imagine that I'm looking for the wrong thing, however. In short I'm looking for the basic idea on how a MUD server would be implemented in PHP. Thanks in advance for anything, Luke Slater -- PHP General Mailing List (http://w

Re: [PHP] Chrome 1.0 released

2008-12-15 Thread Luke Slater
Hah, the world will only be a small collateral fallout in the mighty battles . . . On Mon, 15 Dec 2008, German Geek wrote: > Conspiracy against M$? I thought they were conspiring against the world :-) > > Tim-Hinnerk Heuer > > http://www.ihostnz.com > > > On Mon, Dec 15, 2008 at 2:22 PM, Yeti w

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Luke Slater
2008-12-07 at 13:59 +0000, Luke Slater wrote: /** Validate an email address. Provide email address (raw input) Returns true if the email address has the email address format and the domain exists. Not following the usual coding style I know but I can't bring mysel

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Luke Slater
h ;) On Sun, 7 Dec 2008, Robert Cummings wrote: On Sun, 2008-12-07 at 13:59 +, Luke Slater wrote: /** Validate an email address. Provide email address (raw input) Returns true if the email address has the email address format and the domain exists.

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Luke Slater
lways do an AJAX request :) On Sun, 7 Dec 2008, tedd wrote: At 1:59 PM + 12/7/08, Luke Slater wrote: /** Validate an email address. Provide email address (raw input) Returns true if the email address has the email address format and the domain exists.

Re: [PHP] Poll of sorts: Javascript Form validation or PHP

2008-12-07 Thread Luke Slater
/** Validate an email address. Provide email address (raw input) Returns true if the email address has the email address format and the domain exists. Not following the usual coding style I know but I can't bring myself to touch it... You'd better not tou

Re: [PHP] Stats (was anchor name on URL)

2008-11-19 Thread Luke Slater
On Wed, 19 Nov 2008, Ashley Sheridan wrote: On Wed, 2008-11-19 at 09:50 -0500, tedd wrote: Nathan Rixham wrote: well that bubble should have popped.. from some of my sites: Browser % visits Firefox 88.43% Internet Explorer 9.99% and At 12:25 PM + 11/19/08, Stut wrote: Firefox is

Re: [PHP] PHP Dev Facts

2008-10-16 Thread Luke Slater
> On Thu, Oct 16, 2008 at 7:14 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: > > Evening All, > > > > I'd be /really/ interested to know who uses what! > > > > *Procedural or OOP?* Procedural > > *Dev OS* Mandriva Linux (home and work) > > *Dev PHP Version* 5.2.6 > > > *Liv

Re: [PHP] Login [0T]

2008-10-09 Thread Luke
; That's my 2 cents... just 'cause a company gets it wrong most of the > time doesn't mean that there aren't a few shining gems in their bag. :) > > > Todd Boyd > Web Programmer > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Re: php framework vs just php?

2008-10-08 Thread Luke
;>> >> To unsubscribe, visit: http://www.php.net/unsub.php > >>> >> > >>> >> > >>> > > >>> > > >>> > -- > >>> > Atte > >>> > Farid H. López Durán > >>> > > >>&

Re: [PHP] SESSION array problems [SOLVED]

2008-10-03 Thread Luke Slater
That's lazyness, reply all does that by itself. Luke Slater Defiance.bounceme.net/blog/ On 2 Oct 2008, at 16:15, "Daniel Brown" <[EMAIL PROTECTED]> wrote: On Thu, Oct 2, 2008 at 11:11 AM, Jay Moore <[EMAIL PROTECTED]> wrote: Now, someone show me where that

Re: [PHP] Re: MySQL Workbench coming for Linux

2008-09-18 Thread Luke
tool (imperfectly, but sufficiently for my needs). > > Dia is just a diagramming tool (unless you can tell me otherwise). > -- > Ross McKay, Toronto, NSW Australia > "Nobody ever rioted for austerity" - George Monbiot > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Re: MySQL Workbench coming for Linux

2008-09-17 Thread Luke
ailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Re: uploading file outside WEB Root

2008-09-12 Thread Luke
tual hosting? >> >> Thanks >> Angelo >> >> >> >> > Hi Angelo, > dev and live are the same Server/Machine type? > Restrictions on the Folder? ( Group restrictions, User Restrictions, etc) > Exists the Folder on the Live System? > > > Regards > > Carlos > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Readdir() question

2008-09-12 Thread Luke
add entries to the table. If you are initially placing many files in there you may want to write a perl/shell/php script to enter all of the initial file entries for the table for you. 2008/9/12 Jochem Maas <[EMAIL PROTECTED]> > Luke schreef: > >> When I need to do 'filesyst

Re: Re: [PHP] CMS-Blog system

2008-09-12 Thread Luke
he mind. > > Also--might consider joining a MySQL list if you're going to have problems > in that area. In a nod to the movie "300"... > > Madness? THIS... IS... PHP-GENERAL! > > > Todd Boyd > Web Programmer > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] php image and javascript include

2008-09-12 Thread Luke
> > > > -- > --- > Børge Holen > http://www.arivene.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Luke Slater

Re: [PHP] switch case - to require the break statements seems strange to me

2008-09-12 Thread Luke
t; if it hasn't already. > > >> If you wanted to combine conditions, you could do this: >> >> switch (1) >> { >> case $i==-2: >> case $i==-1: >> case $i==0: >> >>echo "i is less than 0 but greater than -3 and is a counting number >> (i.e., no fraction)"; >>break; >> >> case $i==1: >>echo "i equals 1"; >>break; >> >> case $i==2: >>echo "i equals 2"; >>break; >> } >> >> >> Typed without checking and after my vacation. >> >> Cheers, >> >> tedd >> >> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Readdir() question

2008-09-12 Thread Luke
one include >>>> >>> >>> which would give an error on second and subsequent define()s >>> >>> yet if(!defined... it's already defined so won't be defined subsequent >> times :) >> > > my bad > > >> still crap though >> >> > yes :-P > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-12 Thread Luke
olin Guthrie > gmane(at)colin.guthr.ie > http://colin.guthr.ie/ > > Day Job: > Tribalogic Limited [http://www.tribalogic.net/] > Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Header() - POST

2008-09-11 Thread Luke
ore. > > the reply was on his original attempt to header("POST: /foo") ... that was > it. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Re: Interntet Explorer 8 beater 2

2008-09-11 Thread Luke
tp://www.tribalogic.net/] > Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Header() - POST

2008-09-05 Thread Luke
POST requests in Ajax (or without in js) is straight forward. On the iPod now but I'll POST an example later. Get it? Luke Slater Lead Developer NuVoo On 5 Sep 2008, at 18:14, mike <[EMAIL PROTECTED]> wrote: On Fri, Sep 5, 2008 at 9:20 AM, Boyd, Todd M. <[EMAIL PROTECTED]>

Re: [PHP] CMS-Blog system

2008-09-03 Thread Luke
rectory (= users subdomains) would include this > "cms-core" file with some individual settings. Is there better idea? > > I appreciate your discussion on this topic. > > Martin Zvarik > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Re: Google Chrome

2008-09-03 Thread Luke
thr.ie/ > > Day Job: > Tribalogic Limited [http://www.tribalogic.net/] > Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] Google Chrome

2008-09-02 Thread Luke
than you do now. > > -Stut > > -- > http://stut.net/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

[PHP] DNL by value

2008-08-26 Thread Luke
Hi everyone, I was wondering if there is a way to create a dnl (or an array?) with all the entries in an XML with a certain value in a certain tag in PHP DOM? Thanks a lot. Luke

Re: [PHP] Help and Advice needed please.

2008-08-23 Thread Luke
Commander) > > can > > find his way around. > > * Easily copiable and deployable. As in can be used by more than one > unit. > > > > -- > > I'm going out to find myself, if you see me here, keep me here untill I > can > > catch up > > > > If I haven't said so already, > > > > Thanks > > Byron > > > > > > -- > Feh. > -- Luke Slater

Re: [PHP] Re: Sale 79% OFF !!!

2008-08-21 Thread Luke
y Job: > Tribalogic Limited [http://www.tribalogic.net/] > Open Source: > Mandriva Linux Contributor [http://www.mandriva.com/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] php-gd problems on Ubuntu 8.04

2008-08-18 Thread Luke
Which gd package did you install? Php5-gd worked for me. Could be something like it trying to install a php4 module onto php5 Luke Slater Lead Developer NuVoo On 18 Aug 2008, at 15:47, Chantal Rosmuller <[EMAIL PROTECTED]> wrote: I did, but it doens't help On Thursday 14 August

Re: [PHP] Re: SOAP - return a list of items

2008-08-17 Thread Luke
> > > > > > > > It seems like I am just missing something somewhere. > > Anyone able to help? > > -- > -Dan Joseph > > www.canishosting.com - Plans start @ $1.99/month. > > "Build a man a fire, and he will be warm for the rest of the day. > Light a man on fire, and will be warm for the rest of his life." > -- Luke Slater

Re: [PHP] If Column Exists

2008-08-17 Thread Luke
gt; > > > > Thanks > > > > > > > Use the information_schema: > > > > SELECT COUNT(*) AS column_exists FROM information_schema.COLUMNS WHERE > > TABLE_SCHEMA='db_name' AND TABLE_NAME='table_name' AND > > COLUMN_NAME='

Re: [PHP] Re: PUT vs. POST (was: php File upload)

2008-08-09 Thread Luke
Except if paired with javadcript. Luke Slater Lead Developer NuVoo On 9 Aug 2008, at 15:09, Per Jessen <[EMAIL PROTECTED]> wrote: Boyd, Todd M. wrote: I had to use Java for the simple fact that PHP by itself cannot access the local file system in a way that allows for the partial l

Re: [PHP] Why PHP4?

2008-08-08 Thread Luke
A friend works in a place where they use pascal as a database interface! Luke Slater Lead Developer NuVoo On 8 Aug 2008, at 16:25, V S Rawat <[EMAIL PROTECTED]> wrote: On 8/8/2008 3:59 AM India Time, _Micah Gersten_ wrote: You can't steal it, but you can't do anything wi

Re: [PHP] php File upload

2008-08-08 Thread Luke
Is a 1.9 gb file upload even sustainable on even a fairly small scale web application? Maybe you could implement FTP if you trust the people that want to upload the file. Luke Slater Lead Developer NuVoo On 9 Aug 2008, at 14:52, "Tom" <[EMAIL PROTECTED]> wrote: Practica

Re: [PHP] Re: php File upload

2008-08-08 Thread Luke
You could always program in something (perhaps in Ajax) to monitor the progress of the file upload and check for errors periodically. Luke Slater On 8 Aug 2008, at 11:55, Peter Ford <[EMAIL PROTECTED]> wrote: Per Jessen wrote: Tom wrote: Im very glad to fix this problem, but the ne

Re: [PHP] php File upload

2008-08-08 Thread Luke
Maybe there is some configuration in the server somewhere causing it to incorrectly use the tmp? Luke Slater On 8 Aug 2008, at 08:48, Torsten Rosenberger <[EMAIL PROTECTED]> wrote: Hello on a linux system (Suese 10.2) with 1 GB memory its not possible to upload via http a 1 G

Re: [PHP] php File upload

2008-08-08 Thread Luke
I think the sentiment is that you can't fit all of the file in the memory at once Luke Slater On 8 Aug 2008, at 07:59, Per Jessen <[EMAIL PROTECTED]> wrote: Jim Lucas wrote: What Apache starts, it reads the PHP memory limits in to the running Apache process. When you try a

Re: [PHP] php File upload

2008-08-07 Thread Luke
y. > > Just my 2cents :) > > -- > Jim Lucas > > "Some men are born to greatness, some achieve greatness, > and some have greatness thrust upon them." > > Twelfth Night, Act II, Scene V >by William Shakespeare > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Luke Slater

Re: [PHP] mysqli_embedded_server_start

2008-02-01 Thread Kyohere Luke
t; > On Fri, 2008-02-01 at 09:13 +0100, Per Jessen wrote: > >> Kyohere Luke wrote: > >> > >> > Has anyone tried to use this function? Does php actually support > >> > mysql embedded server or is this just a stub for future use? I'm > >&

[PHP] mysqli_embedded_server_start

2008-01-31 Thread Kyohere Luke
mysql embedded server. Thanks! -- -- Luke Kyohere -- /dev/null

[PHP] internal operation

2006-05-10 Thread Luke Cole
oldname newname` If not, how does it do it? Also, if one disables users from using ``, are all file system and directory functions disabled to? Regards, Luke Cole -- http://rsise.anu.edu.au/~cole | http://lc.homedns.org/~cole Research Assistant Robotics Systems Lab, Systems Engineering RSISE/NIC

[PHP] Group By problems

2005-07-03 Thread W Luke
Hi, I used to have problems with this in Cold Fusion - and I'm still struggling this time in PHP! Very basic. Looping over 2 tables - an email table, and a data-table. I'm using * just for ease for the time being: SELECT * FROM f_c_users,f_comments WHERE fcEmail=cemail GROUP by fcEmail If the

Re: [PHP] Replacing 2 strings

2005-06-01 Thread W Luke
On 31/05/05, W Luke <[EMAIL PROTECTED]> wrote: > On 31/05/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote: > > > > > > > > function replace($string){ > > > preg_match("/^<\^([a-zA-Z]+?)_([a-zA-Z]+?)>/", $string, $matcha

Re: [PHP] Replacing 2 strings

2005-05-31 Thread W Luke
On 31/05/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote: > > > > > function replace($string){ > > preg_match("/^<\^([a-zA-Z]+?)_([a-zA-Z]+?)>/", $string, $matcharr); > > $string = str_replace($matcharr[0], $matcharr[1] . " " .$matcharr[2] > > . ":", $string); > > return

Re: [PHP] Replacing 2 strings

2005-05-30 Thread W Luke
On 30/05/05, Brian V Bonini <[EMAIL PROTECTED]> wrote: [...] > > Again, an example that is as close to your real-world needs as possible > > would be very helpful. > > The original request was: "the text-to-replace is just in a var named > $text1". > > I read that to mean you'd already extracte

  1   2   3   >