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
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] 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

[PHP] Weighted Lists

2005-02-09 Thread W Luke
Hi, I've been fascinated by Flickr's, del.icio.us and other sites' usage of these Weighted Lists. It's simple but effective and I really want to use it for a project I'm doing. So I had a look at Nick Olejniczak's plugin for Wordpress (available here: www.nicholasjon.com) but am struggling to un

Re: [PHP] Re: Weighted Lists

2005-02-10 Thread W Luke
On Wed, 09 Feb 2005 10:56:51 -0800 (PST), Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > * W Luke <[EMAIL PROTECTED]>: > > I've been fascinated by Flickr's, del.icio.us and other sites' usage > > of these Weighted Lists. It's simple

[PHP] Replacing spaces with commas

2005-04-17 Thread W Luke
Hi, I have about 200 records in a table, and I need to update 2 of the fields. The first is easy, but the second contains a list of keywords all separated by spaces; I need to replace the spaces with commas. Is this something I can do with some clever SQL, or shall I just do it in PHP? Any idea

Re: [PHP] Replacing spaces with commas

2005-04-17 Thread W Luke
On 4/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have about 200 records in a table, and I need to update 2 of the > > fields. The first is easy, but the second contains a list of keywords > > all separated by spaces; I need to replace the spaces with commas. Is > > this something I

[PHP] Regex nightmares

2005-05-23 Thread W Luke
Hi, I really struggle with regex, and would appreciate some guidance. Basically, I have a whole load of files (HTML) which are updated every few minutes. I need to go through each line, looking for the word CONFIRMED: (which is always in capitals, and always superseded by a colon). The line loo

[PHP] mysqli_embedded_server_start

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

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] 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

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] 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

[PHP] new to php question

2004-03-10 Thread Luke Brindley
alendar page in chronological order. For an example of what I'm trying to do check out: http://www.schubas.com/calendar.asp Any suggestions? Thanks for your help, Luke http://www.brindleybrothers.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protecting Javascript via PHP

2004-10-28 Thread Luke Barker
http://scriptasylum.com/tutorials/encdec/encode-decode.html is a good article on wasy to achieve this On Thu, 28 Oct 2004 16:24:24 +0200, Ryan A <[EMAIL PROTECTED]> wrote: > Hey, > I have been searching around the web for a way to "mangle" my javascript > code the way some people do it to HTML/P

[PHP] 404 custom handler on a cgi-wrap PHP - No input specified error

2005-01-14 Thread Luke Barker
should say that in IE it just gets the default 404 ( I think this is windows own one responding to the particular http response header) - in firefox you get the 'No input ' error thanks for any advice Luke -- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To u

[PHP] 404 custom handler on a cgi-wrap PHP - No input specified error

2005-01-14 Thread Luke Barker
should say that in IE it just gets the default 404 ( I think this is windows own one responding to the particular http response header) - in firefox you get the 'No input ' error thanks for any advice Luke -- [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To u

[PHP] Using SELECT IN with arrays

2005-02-02 Thread W Luke
Hi. I'm trying to execute a query which does a SELECT IN on an array...here's how it stands: $doms = implode( "','", $domarray ); $d=$_GET['d'] $qmailsql = "SELECT mq.id, mq.user, mq.domain, mq.sender, mq.arrive_time, mq.subject, mq.body_preview, mq.relay FROM mail_quarantine AS mq WHERE //??

Re: [PHP] Using SELECT IN with arrays

2005-02-02 Thread W Luke
On Thu, 3 Feb 2005 08:37:44 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > > $doms is a "master array" of a user's domains. $d is a > > comma-seperated and unexploded list of domains to filter the SELECT > > down with. (error checking is already in place) > > 1) make both $d and $doms into arra

[PHP] Escaping using htmlentities

2005-02-03 Thread W Luke
Hi. htmlentities has worked pretty well so far for me...except when it comes across something like "ñw" or "ñ0w" in an RSS feed (v2) It tries to convert the ñ - and it does, but because the ñ doesn't have a space next to the w or the 0w, it breaks the XML and it comes out as ñ0w which, I think, i

Re: [PHP] newbie question regarding forms and drop down list

2005-02-03 Thread W Luke
On Thu, 3 Feb 2005 15:45:51 -0800, Max Krone <[EMAIL PROTECTED]> wrote: > I assume I am just missing something dumb. Could someone please > enlighten me. I can post my code if it will help. Code please, Max! -- Will The Corridor of Uncertainty http://www.cricket.mailliw.com/ - Sanity is a

[PHP] Replacing 2 strings

2005-05-29 Thread W Luke
Hi, I have some text in a file which, when it's dumped to a var, needs to be replaced. In its raw form, it looks like this: <^JIM_JONES> and I need to remove the <^_ and > characters and have it read "Jim-Jones" It's nestled in amongst a load of other text - I'm fopen'ing a file and reading it l

Re: [PHP] Replacing 2 strings

2005-05-30 Thread W Luke
On 30/05/05, Brian V Bonini <[EMAIL PROTECTED]> wrote: > On Sun, 2005-05-29 at 12:22, W Luke wrote: > > Hi, > > > > I have some text in a file which, when it's dumped to a var, needs to > > be replaced. In its raw form, it looks like this: <^JIM_JO

Re: [PHP] Replacing 2 strings

2005-05-30 Thread W Luke
On 30/05/05, Brian V Bonini <[EMAIL PROTECTED]> wrote: > On Mon, 2005-05-30 at 11:13, Murray @ PlanetThoughtful wrote: > > > Someone much more clever that I can probably come up with something much > > > cleaner and efficient but This works... > > > > Definitely not more clever and arguably not

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

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-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

[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

[PHP] How do I run a command as root?

2002-12-02 Thread Luke van Blerk
Hi I'm trying to find out how to run a command on the server as root. Does anybody know how to do this? Thanks Luke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I run a command as root?

2002-12-02 Thread Luke van Blerk
Hi I'm trying to find out how to run a command on the server as root. Does anybody know how to do this? Thanks Luke

[PHP] Re: How do I run a command as root?

2002-12-02 Thread Luke van Blerk
Thanks for all the replys. I'll be checking out sudo. p.s I forgot to put 'in a script' "Luke Van Blerk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > I'm trying to find out how to run a command

[PHP] Setting up PHP5 alongside PHP4 on apache

2003-11-04 Thread Luke van Blerk
Hi everyone I'd like to set up PHP5 to parse php files with a .php5 extension on Apache 1.3.28. Anybody know how to do this? Regards Luke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Setting up PHP5 alongside PHP4 on apache

2003-11-04 Thread Luke van Blerk
ch PHP (on Windows that is). My machine is for development only but we'll be setting up PHP 5 on a live box soon for testing. - Luke "Eugene Lee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, Nov 04, 2003 at 10:30:39AM +0200, Luke van Blerk wrote:

[PHP] PHP not using resolv.conf

2003-11-13 Thread Luke van Blerk
Hi Our PHP installation is not using the nameservers in resolv.conf but instead using the dns server on the hostname. Does anyone know why this is and how to change it? Thanks Luke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unexpected T_ISSET

2002-05-03 Thread Luke van Blerk
Xitami but needed to use PHP_SELF which wasn't available in the CGI version of PHP which Xitami supports. Since using Apache my code which worked perfectly on Xitami no gives the error above. Line 8 looks like this: $DOC_TITLE = "My homepage"; Any help would be appreciated. Thanks Luk

[PHP] Ignore: unexpected T_ISSET

2002-05-03 Thread Luke van Blerk
gt; worked perfectly on Xitami no gives the error above. Line 8 looks like this: > > $DOC_TITLE = "My homepage"; > > Any help would be appreciated. > > Thanks > Luke > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pear on Windows

2002-05-04 Thread Luke van Blerk
Hi Can someone please refer me to some information on how to install Pear on windows. The manual seems to cover unix only. Thanks Luke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is While needed in MySQL Result with a Limit of 1

2002-04-10 Thread Luke van Blerk
No its not. mysql_fetch_array will return an array if a record is found or false if not. Regards Luke - Original Message - From: "Brian Drexler" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002

[PHP] PEAR libraries

2002-04-11 Thread Luke van Blerk
s any other libraries? Thanks Luke P.s I sent this to the PEAR mailing list but got no reply. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3