Robert Cummings wrote:
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd. wrote:
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to last }} is included, can
anyone point out where I am going wrong?
preg_match_all("/\{\{lang:(.*)
Eric Butera wrote:
On Thu, Dec 11, 2008 at 5:43 AM, Phil Ewington - iModel
wrote:
Phil Ewington - iModel wrote:
Hi All,
I have just installed the PECL JSON package, or at least think I have!!
But how do I use it?? I was expecting /usr/share/pear/Services/JSON.php to
be found on my
Phil Ewington - iModel wrote:
Hi All,
I have just installed the PECL JSON package, or at least think I
have!! But how do I use it?? I was expecting
/usr/share/pear/Services/JSON.php to be found on my system for include
but not so. My system tells me I have 1.2.1 successfully installed but
I
Hi All,
I have just installed the PECL JSON package, or at least think I have!!
But how do I use it?? I was expecting /usr/share/pear/Services/JSON.php
to be found on my system for include but not so. My system tells me I
have 1.2.1 successfully installed but I cannot find any docs that tell
iles all display correctly in browsers and it all works with
CF, what can the problem be? I have read articles about a bug in the
Sablotron libraries so the XSL file must not have any headers, this makes no
difference. Can anyone help?
Thanks in advance,
---
Phil Ewington
43 Plc - Ashdale Hous
iles all display correctly in browsers and it all works with
CF, what can the problem be? I have read articles about a bug in the
Sablotron libraries so the XSL file must not have any headers, this makes no
difference. Can anyone help?
Thanks in advance,
---
Phil Ewington
43 Plc - Ashdale Hous
> Jason Wong wrote:
> > On Wednesday 09 February 2005 02:31, Richard Lynch wrote:
> >> Phil Ewington - 43 Plc wrote:
> >> > For some reason user_prefs will not open
> >> > for read/write even when I tested it under apache.apache and chmod'd
> >
ily/safely edit files outside of the web root
using PHP or is there a 3rd party command line tool to do this?
TIA
---
Phil Ewington
43 Plc - Ashdale House
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)1189 789 500
F: +44 (0)1189 784 994
E: mailto:[EMAIL PROTECTED]
W: www.soyouthink.co
running PHP
4.3.8 on Linux Redhat Fedora 1 installed as an Apache module.
TIA
---
Phil Ewington
43 Plc - Ashdale House
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)1189 789 500
F: +44 (0)1189 784 994
E: mailto:[EMAIL PROTECTED]
W: www.soyouthink.com
---
Outgoing mail is certified Virus
Hi All,
I have been running 4.3.4 on a Cobalt RaQ 4 for some months and have been
using the WDDX functions with great effect. I have recently moved all our
sites to a new server (Linux RedHat ES 3 running PHP 4.3.6) and found that
the WDDX functions do not work! No errors just nothing happens. I c
know of any PHP scripts that will generate emails from a
database of email addresses and an HTML template with bespoke content I.E
greetings, unsubscribe email address links, etc... and send to an SMTP
server?
TIA
Phil Ewington.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus
> On Mon, 14 Jun 2004 12:10:30 +0100
> "Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote:
>
> > PHP
> > -
> > /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3
> >
> > After resolving include path issues
Hi All,
I have a PHP script that I need to call from both web browsers & from a
crontab but whichever route I choose I hit a problem. Here are the options I
have tried along with problems encountered...
PHP
-
/usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3
After res
g the directory that PHP runs from (CLI)
>
>
> Phil Ewington - 43 Plc wrote:
>
> > Hi All,
> >
> > I have read the manual page for 'Using PHP from the command
> line' thoroughly
> > and cannot find the answer to my problem. I have a script that
&g
Hi All,
I have read the manual page for 'Using PHP from the command line' thoroughly
and cannot find the answer to my problem. I have a script that needs to be
accessed from both the command line and from web browsers. I tested the
script from the command line and all worked well. As soon as I set
> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 15:11:
>
> >> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 14:27:
> >>
> >>>> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 12:58:
> >>>>
> >>>>> H
> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 14:27:
>
> >> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 12:58:
> >>
> >>> Hi All,
> >>>
> >>> Can anyone tell me how to pass arguments to a PHP script from the
>
> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 12:58:
>
> > Hi All,
> >
> > Can anyone tell me how to pass arguments to a PHP script from the
> > command line? I know I need to use the -args option but how exactly,
> > I have tried the following...
>
["key"] in my script. Any pointers will be much appreciated.
TIA
Phil.
---
Phil Ewington - Technical Director
43 Plc - Ashdale House
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)1189 789 500
F: +44 (0)1189 784 994
E: mailto:[EMAIL PROTECTED]
W: www.soyouthink.com
---
Outgoi
Hi All,
How can I stop fsockopen() throwing an error and killing my script when it
cannot connect?
I have tried the following:
$this->_Socket = fsockopen($s_server, $this->_Port, $i_errno, $s_errstr,
$this->_Timeout);
if (!$this->_Socket)
{
... code to handle connection failure
}
and ..
ckopen() errors.
>
>
> On 8 Mar 2004 Phil Ewington - 43 Plc wrote:
>
> > Can anyone tell me the best way to avoid errors using
> fsockopen(). I have
> > tried wrapping the function call in a conditional statement,
> and have also
> > tried calling the function and the
Hmm, added @ to fsockopen() function, still happens, can anyone shed any
light on this?
TIA
Phil.
> -Original Message-
> From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2004 12:57
> To: Miguel J. Jiménez
> Cc: PHP
> Subject: RE: [PHP]
Hi Miguel,
I am giving it a test at the moment, thanks.
-- Phil.
> -Original Message-
> From: Miguel J. Jiménez [mailto:[EMAIL PROTECTED]
> Sent: 08 March 2004 12:29
> To: Phil Ewington - 43 Plc
> Cc: PHP
> Subject: Re: [PHP] fsockopen() errors.
>
>
> Is it a
trigger an error if
fsockopen() failed. Any help will be greatly appreciated.
Phil.
---
Phil Ewington - Technical Director
43 Plc - Ashdale House
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)1189 789 500
F: +44 (0)1189 784 994
E: mailto:[EMAIL PROTECTED]
W: www.soyouthink.com
--
PHP
Ooops, forgot to specify the compare function with usort(); all working now.
Phil.
-Original Message-
From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED]
Sent: 22 December 2003 14:08
To: [EMAIL PROTECTED]
Subject: [PHP] sorting multi-dimensional arrays
Hi All,
I am trying to sort
ort($this->MXRecs);
Can anyone point me in the right direction?
TIA
Phil.
---
Phil Ewington - Technical Director
43 Plc - Ashdale House
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)1189 789 500
F: +44 (0)1189 784 994
E: mailto:[EMAIL PROTECTED]
W: www.soyouthink.com
--
PHP Genera
were network issues that stopped the request reaching the
target server.
Phil.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 10 October 2003 17:51
To: [EMAIL PROTECTED]
Subject: Re: [PHP] ftp_connect() issues
On Saturday 11 October 2003 00:01, Phil Ewington - 43 Plc w
, no
specific RFC error codes :o( Can anyone suggest where I can start looking
for a resolution to this matter?
Running PHP 4.2.3 on a Cobalt RAQ4.
TIA
Phil.
Phil Ewington - Technical Director
--
43 Plc
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)118 978
kopen()
On Tuesday 30 September 2003 20:39, Phil Ewington - 43 Plc wrote:
> Positive, I am deliberately using invalid domains to test how to catch
> errors when users misspell their domain.
Did you read that article (or are you aware of what it is about)?
And what "invalid domains&
18:46, Phil Ewington - 43 Plc wrote:
> I am having problems with fsockopen() and wondered if anyone else has
> encountered this behaviour. My problem is that when connecting to an
> invalid domain I cannot trap the errors.
Have you checked that it is really an invalid domain and not si
rrors rather than
socket initialisation? I need to know why the socket could not be opened so
I can give an appropriate error message.
TIA
Phil Ewington - Technical Director
--
43 Plc
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)118 978 9500
F: +44 (0)118 978 4994
E:
directories within
their web root only?
TIA
Phil Ewington
Technical Director
43 PLC
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)118 978 9500
F: +44 (0)118 978 4994
E: [EMAIL PROTECTED]
W: http://www.43plc.com
--
PHP General Mailing List (http://www.php.net/)
To
ttpd/php.ini, so why
is register_globals still set to 'off'?
TIA
Phil
----
Phil Ewington
Technical Director
43 PLC
35 Broad Street, Wokingham
Berkshire RG40 1AU
Tel: +44 (0)118 978 9500
Fax: +44 (0)118
s of javascript color="maroon"> - not perfect, but a start.
>
> Danny.
>
> - Original Message -
> From: "Phil Ewington" <[EMAIL PROTECTED]>
> To: "Danny Shepherd" <[EMAIL PROTECTED]>
> Sent: Saturday, August 03,
What's strange is that doing an ord($string) returns 171, which is a '1/2'
char. So why does PHP convert the pattern match??
> -Original Message-
> From: Phil Ewington [mailto:[EMAIL PROTECTED]]
> Sent: 03 August 2002 17:04
> To: PHP General
> Subject:
)>", "«font color=maroon»\1«/font»",
$string);
This results in opening and closing tags being replaced
with a square being wrapped in font tags. I have this working in Cold Fusion
but cannot seem to convert my scripts to PHP. Can anyone help?
TIA
Phil Ewington.
--
P
stImageName, 75);
imagedestroy($destImage);
All that happens is that I get an identical copy of the image, and not
a resized one.
TIA
Phil Ewington.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason,
This is for an events calendar, I want all the dates form the db but when I
am generating the individual days for the calendar I need to know whether
there is an event for that day, hence pulling out all the dates from the db.
As I am looping through all the days in a month to dynamically
event_id & event_title from the row. I am using PHP 4.01.
TIA
Phil Ewington.
---
P.S. If there are any ColdFusion developers on this list, what is the PHP
equivalent of a structure?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a refresh of the browser is performed. Have I done something wrong or are
headers not very reliable in PHP?
TIA
---
Phil Ewington - Technical Director
---
43 PLC
35 Broad Street, Wokingham
Berkshire RG40 1AU
/usr/lib/apache/ and all that is there is libperl.so, where
is it, and how can I find it? Help!!, Please :o)
-
Phil Ewington
Cold Fusion Developer
-
T: 01344 643138
E: mailto:[EMAIL PROTECTED]
-
> -Original Mess
.pkg install
MySQL? Any idiot proof step by step instructions will be greatly
appreciated, along with which is the best/most stable version of PHP 4?, and
where is best to install it?
Thanks in advance,
Phil.
-----
Phil Ewington
Cold Fusion Developer
---
ris 2.7/Apache 1.3.3
TIA
Phil.
BTW: I am completely new to PHP and Apache.
~~~~
Phil Ewington - Cold Fusion Developer
T: 01344 643138
M: 07811 309116
E: mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (htt
44 matches
Mail list logo