# [EMAIL PROTECTED] / 2007-01-25 08:12:14 +0200:
> How can I sort an array like this so that it would be ASC ordered by the [1]
> key in subarrays? I need to maintain only the subarray key - value pairs.
> (Do I make sense?)
>
> Array
> (
> [0] => Array
> (
> [0] => Logo
# [EMAIL PROTECTED] / 2007-01-24 23:41:19 -0700:
> Just wondering what smart people do for parsing data sent by the
> Javascript XMLHTTP object--e.g., http.send("post",url,true)...
>
> In a normal form submit, the $_POST global nicely allocates form
> elements as array elements automatically.
At 1/24/2007 10:12 PM, William Stokes wrote:
How can I sort an array like this so that it would be ASC ordered by the [1]
key in subarrays? I need to maintain only the subarray key - value pairs.
(Do I make sense?)
Array
(
[0] => Array
(
[0] => Logo
[1] => Nam
# [EMAIL PROTECTED] / 2007-01-25 02:21:34 +0100:
> Curt Zirzow wrote:
> > On 1/20/07, Vinicius C Silva <[EMAIL PROTECTED]> wrote:
> >> hi everyone!
> >>
> >> i'd like to ask something maybe commonly asked here. what is the most
> >> powerful php editor?
> >
> >
> > So now we have a 4 day thread o
25 jan 2007 kl. 07.06 skrev [EMAIL PROTECTED]:
Richard Lynch wrote:
I dunno what you did wrong with fsockopen...
First of all, thanks for taking the time to respond.
I had tried fsockopen, but here's the problem. The
following calls work as expected, returning a valid file
pointer for valid
tedd wrote:
> At 9:07 PM -0500 1/24/07, Robert Cummings wrote:
> Ahem to that!
>
> You're on a roll brother -- keep going.
>
> Can I get another Ahem?!
>
> tedd
I'll see your 'Ahem' and raise you an 'Amen' :-)
Cheers
--
David Robley
Vultures only fly with carrion luggage.
Today is Sett
Just wondering what smart people do for parsing data sent by the
Javascript XMLHTTP object--e.g., http.send("post",url,true)...
In a normal form submit, the $_POST global nicely allocates form
elements as array elements automatically. But with the AJAX way, the
data get stuffed inside $HTTP
Just wondering what smart people do for parsing data sent by the
Javascript XMLHTTP object--e.g., http.send("post",url,true)...
In a normal form submit, the $_POST global nicely allocates form
elements as array elements automatically. But with the AJAX way, the
data get stuffed inside $HTTP
Hello,
How can I sort an array like this so that it would be ASC ordered by the [1]
key in subarrays? I need to maintain only the subarray key - value pairs.
(Do I make sense?)
Array
(
[0] => Array
(
[0] => Logo
[1] => NameC
[2] => Home
Richard Lynch wrote:
>I dunno what you did wrong with fsockopen...
First of all, thanks for taking the time to respond.
I had tried fsockopen, but here's the problem. The
following calls work as expected, returning a valid file
pointer for valid urls and FALSE for invalid urls:
$fp = fsockopen(
On Wednesday 24 January 2007 7:48 pm, John Meyer wrote:
> Jochem Maas wrote:
> > Curt Zirzow wrote:
> >> On 1/20/07, Vinicius C Silva <[EMAIL PROTECTED]> wrote:
> >>> hi everyone!
> >>>
> >>> i'd like to ask something maybe commonly asked here. what is the most
> >>> powerful php editor?
> >>
> >>
At 9:07 PM -0500 1/24/07, Robert Cummings wrote:
Dear Mr Lynch, normally I highly respect your commentary on the list,
but today I think you've been-a-smoking the crackpipe a tad too much.
There is no way in hell one long line of SQL is easier to read than
formatted SQL that clearly delineates t
At 6:48 PM -0700 1/24/07, John Meyer wrote:
If we want to argue about this, let's set a few guidelines as to what
"powerful" means. I propose these guidelines
1. Syntax highlighting
2. Web server integration
3. Link checking
4. Browser check in the top three (Mozilla-IE-Opera)
Now maybe you di
On Wed, 2007-01-24 at 20:44 -0600, Larry Garfield wrote:
> On Wednesday 24 January 2007 8:07 pm, Robert Cummings wrote:
>
> > There is no way in hell one long line of SQL is easier to read than
> > formatted SQL that clearly delineates the clause structure.
>
> Sure there is. If it's a very simp
On Wednesday 24 January 2007 8:07 pm, Robert Cummings wrote:
> There is no way in hell one long line of SQL is easier to read than
> formatted SQL that clearly delineates the clause structure.
Sure there is. If it's a very simple SQL statement.
I have at various times done all of the following,
On Wed, 2007-01-24 at 18:48 -0700, John Meyer wrote:
> Jochem Maas wrote:
> > Curt Zirzow wrote:
> >> On 1/20/07, Vinicius C Silva <[EMAIL PROTECTED]> wrote:
> >>> hi everyone!
> >>>
> >>> i'd like to ask something maybe commonly asked here. what is the most
> >>> powerful php editor?
> >>
> >> So
On Wed, 2007-01-24 at 18:23 -0600, Richard Lynch wrote:
> On Wed, January 24, 2007 7:41 am, Roman Neuhauser wrote:
> > # [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200:
> >> and also in these days I'm looking for 19 inch (or more) wide LCD
> >> sceerns to able to fit longer lines in my screen...
>
Jochem Maas wrote:
> Curt Zirzow wrote:
>> On 1/20/07, Vinicius C Silva <[EMAIL PROTECTED]> wrote:
>>> hi everyone!
>>>
>>> i'd like to ask something maybe commonly asked here. what is the most
>>> powerful php editor?
>>
>> So now we have a 4 day thread of discussing nothing but, this is what i
>>
Curt Zirzow wrote:
> On 1/20/07, Vinicius C Silva <[EMAIL PROTECTED]> wrote:
>> hi everyone!
>>
>> i'd like to ask something maybe commonly asked here. what is the most
>> powerful php editor?
>
>
> So now we have a 4 day thread of discussing nothing but, this is what i
> use
let see if we c
Richard,
imageinterlace() turns the interlace bit on or off. It only returns 1
if you set it to 1 as the second parameter...
Thanks
Gerry
On 1/24/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Wed, January 24, 2007 12:08 am, Gerry Danen wrote:
>> One other possibility is to see what happens
On 1/20/07, Vinicius C Silva <[EMAIL PROTECTED]> wrote:
hi everyone!
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
So now we have a 4 day thread of discussing nothing but, this is what i use
Curt.
--
PHP General Mailing List (http://www.php.
# [EMAIL PROTECTED] / 2007-01-24 18:23:10 -0600:
> On Wed, January 24, 2007 7:41 am, Roman Neuhauser wrote:
> > # [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200:
> >> and also in these days I'm looking for 19 inch (or more) wide LCD
> >> sceerns to able to fit longer lines in my screen...
> >
> > Nu
On Wed, January 24, 2007 12:53 am, Don wrote:
> zips are fixed, but my clients have districts that I want to be
> searched by
> zip+4. Each client will have a different district with different zips
> per
> district.
> They are to input the zips that are within their district when they
> sign up,
>
On Tue, January 23, 2007 11:49 pm, Don wrote:
> I appreciate all the input. I would definitely like to use a separate
> table
> for the zips, but I cannot figure out how make the form that stores
> them
> user friendly each entry can have any number of zips - from many
> to just
> a few.
>
> Al
On Wed, January 24, 2007 1:11 am, Travis Doherty wrote:
> Aslam Bari wrote:
>
>>Hello,
>>Just a minute. I know the php script will run on server. Suppose i m
>> working
>>on server machine and i need to make a project for myself. The
>> machine is
>>only one and same. Also there are a lot of file a
On Wed, January 24, 2007 10:25 am, [EMAIL PROTECTED] wrote:
> I'm hoping y'all can help me with a bit of a php code problem I'm
> having.
>
> What I'm trying to do is link to YouTube videos (more than one in a
> single
> webpage). However, because I'm worried about the videos going away
> and the
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-24 23:55:27 +0100:
>> Roman Neuhauser wrote:
>>> Are you doing this to learn regular expressions or are you actually
>>> trying to do work? Because you're going the wrong way.
>>> It's XML, why do you treat it as text?
>> not everyone shares th
On Wed, January 24, 2007 7:41 am, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200:
>> and also in these days I'm looking for 19 inch (or more) wide LCD
>> sceerns to able to fit longer lines in my screen...
>
> Number of reading errors people make grows with line length,
>
Richard Luckhurst wrote:
> Hi Jochem,
>
> JM>
> JM> you be needing an ungreedy modifier on yer regex.
> JM>
>
> JM> see here:
> JM> http://php.net/manual/en/reference.pcre.pattern.modifiers.php
>
> Thanks very much. That solved my problem and I my now getting exactly what I
> want. I h
On Wed, January 24, 2007 9:17 am, Sancar Saran wrote:
> After updating company test server to dotdeb 5.2.0 it star to give
> memory
> problems (even 32mb session). I tought it was because of suhosin. And
> I
> cannot update that server to vanilla debian php5 package because it
> was a
> sarge so to
On Wed, January 24, 2007 1:01 pm, Skip Evans wrote:
> Hey all,
>
> I'm working on a site that allows users to build
> libraries of podcasts, and one of the calls to a
> PHP file is itpc, not http.
>
> Hence I don't have the ability to echo data for
> debugging, and I also don't have write access to
You want to add a 'U' after you closing # so that matches are
"Ungreedy" -- I.e., they do NOT grab as much text as the can to
fulfill the pattern (greedy) but they grab as LITTLE text as they can
to fulfill the pattern (ungreedy)
On Wed, January 24, 2007 4:27 pm, Richard Luckhurst wrote:
> Hi List
At 1/24/2007 02:27 PM, Richard Luckhurst wrote:
What I am trying to do is extract the first chunk.
...
preg_match('##', $xml_string,$matches);
$tempstr = $matches[0];
What I actually get in $tempstr is everything from the first through to
the last (second)
I would have expected preg_match
Peter Lauri wrote:
> Hi,
>
>
>
> Is there any similar way to package PHP software as Java with a jar file or
> similar? I have never seen it, because then would probably Smarty for
> example be packaged already :-) This question came out of the blue when I
> was thinking about how to deliver so
Hi Jochem,
JM>
JM> you be needing an ungreedy modifier on yer regex.
JM>
JM> see here:
JM> http://php.net/manual/en/reference.pcre.pattern.modifiers.php
RL Thanks very much. That solved my problem and I my now getting exactly what I
RL want. I had seen the reference to greedy and ungre
This article was released just a couple days ago -
http://www-128.ibm.com/developerworks/library/os-php-intl/index.html
Respectfully,
Ligaya Turmelle
Systems Analyst
Guamcell Communications
Phone: (671)689-2377
-Original Message-
From: Otto Wyss [mailto:[EMAIL PROTECTED]
Sent: Thursday
# [EMAIL PROTECTED] / 2007-01-25 09:27:59 +1100:
>
> addInfPrice="0.0">
>
>
>
>
>
> addInfPrice="0.0">
>
>
>
# [EMAIL PROTECTED] / 2007-01-24 23:55:27 +0100:
> Roman Neuhauser wrote:
> > Are you doing this to learn regular expressions or are you actually
> > trying to do work? Because you're going the wrong way.
> > It's XML, why do you treat it as text?
>
> not everyone shares that sentiment. in terms o
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-25 09:27:59 +1100:
>> I must be dumb as I have been battling my way through regular expression
>> examples for a while and I can not work out why the following does not work
>> properly. I am the first to admit that regular expressions confuse
Hi Roman,
RN> Are you doing this to learn regular expressions or are you actually
RN> trying to do work? Because you're going the wrong way.
RN> It's XML, why do you treat it as text?
I am well aware it is XML and I could use an XML parser or simpleXML. I am
trying to learn regular expressions as
# [EMAIL PROTECTED] / 2007-01-25 09:27:59 +1100:
> I must be dumb as I have been battling my way through regular expression
> examples for a while and I can not work out why the following does not work
> properly. I am the first to admit that regular expressions confuse me greatly.
>
> The string
At 1/24/2007 01:44 PM, Otto Wyss wrote:
I'd like to make my pages multi lingual, showing everything in the
language the user chooses. My pages show mostly static text. So
what's the usual implementation for this case.
This is a vast subject that deserves general study. I recommend that
you
On Wed, January 24, 2007 12:08 am, Gerry Danen wrote:
>> One other possibility is to see what happens if you do
>> imagefromjpeg()
>> on a progressive JPEG -- There amy be functions in GD that will tell
>> you if the JPEG is progressive, once you have sucked it into PHP...
>
> Any idea which ones t
Hi List
I must be dumb as I have been battling my way through regular expression
examples for a while and I can not work out why the following does not work
properly. I am the first to admit that regular expressions confuse me greatly.
The string is a piece of XML as follows and I have put that s
Otto Wyss escreveu:
I'd like to make my pages multi lingual, showing everything in the
language the user chooses. My pages show mostly static text. So what's
the usual implementation for this case.
O. Wyss
To to this, I use the GeoIP database.
For me, it works fine!
http://www.maxmind.com/ap
At 1/24/2007 01:13 PM, Beauford wrote:
> Here is my rendition of what I think you are looking for.
>
> $str = 'tab( )/space( )/[EMAIL PROTECTED]&*();:...';
>
> if ( preg_match('|[EMAIL PROTECTED]&*();:_. /\t-]+$|', $str) ) {
> echo 'success';
> } else {
> echo 'failure';
> }
>
H
I'd like to make my pages multi lingual, showing everything in the
language the user chooses. My pages show mostly static text. So what's
the usual implementation for this case.
O. Wyss
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Here is my rendition of what I think you are looking for.
>
> $str = 'tab( )/space( )/[EMAIL PROTECTED]&*();:...';
>
> if ( preg_match('|[EMAIL PROTECTED]&*();:_. /\t-]+$|', $str) ) {
> echo 'success';
> } else {
> echo 'failure';
> }
>
Here is the problem, and it is strange.
# [EMAIL PROTECTED] / 2007-01-24 21:34:43 +0200:
> Is there any similar way to package PHP software as Java with a jar file or
> similar? I have never seen it, because then would probably Smarty for
> example be packaged already :-) This question came out of the blue when I
> was thinking about how
[snip]
Is there any similar way to package PHP software as Java with a jar file
or
similar? I have never seen it, because then would probably Smarty for
example be packaged already :-) This question came out of the blue when
I
was thinking about how to deliver some plugins to a customer.
[/snip]
h
On Wed, 2007-01-24 at 12:01 -0700, Skip Evans wrote:
> Hey all,
>
> I'm working on a site that allows users to build
> libraries of podcasts, and one of the calls to a
> PHP file is itpc, not http.
>
> Hence I don't have the ability to echo data for
> debugging, and I also don't have write acc
http://cwashington.netreach.net/depo/default.asp?topic=repository&move=next&ScriptType=vbscript&SubType=Misc
Script:
'
' FolderSelectDialog.vbs
' Alan Kaplan alan at akaplan dot com 12-15-2005
' after getting tired of reading it will not wo
Hey Robert,
Oh, of course. Heck, I was already trying to
fwrite to a file so that should have occurred me...
...if I hadn't done all that acid in the 60s, and
I was only FIVE in the 60s!
Thanks for clearing the fog.
Skip
Robert Cummings wrote:
On Wed, 2007-01-24 at 14:07 -0500, Robert Cu
Dear Roman,
Unfortunately, I did not find any examples on the net on using connect.c with
PHP. Could anyone provide me with some examples, please?
Thank you.
Best regards,
Ed
Sunday, January 21, 2007, 6:27:44 PM, you wrote:
> # [EMAIL PROTECTED] / 2007-01-21 17:29:56 +0300:
>> I am trying to
At 10:04 AM -0500 1/24/07, Jon Anderson wrote:
Miles Thompson wrote:
More seriously, many times I've taken a "It's right, but not
working, dammit!" SQL statement,
broken it up so it's listed "vertically" and discovered the error.
Just my 2 cents worth...
SQL actually does lend itself rather w
Hi Pinter:
Look at your php.ini file for the sentence
error_reporting = E_ALL
this mean that your server shut to your browser any error or warning that it
found in your php code. You must go to your php.ini and change that sentence
for any that disables all warnings.
You can use for example a c
On Wed, 2007-01-24 at 14:07 -0500, Robert Cummings wrote:
> On Wed, 2007-01-24 at 12:01 -0700, Skip Evans wrote:
> > Hey all,
> >
> > I'm working on a site that allows users to build
> > libraries of podcasts, and one of the calls to a
> > PHP file is itpc, not http.
> >
> > Hence I don't have
Hey all,
I'm working on a site that allows users to build
libraries of podcasts, and one of the calls to a
PHP file is itpc, not http.
Hence I don't have the ability to echo data for
debugging, and I also don't have write access to
any dirs to fopen and fwrite data.
Any suggestions for ot
Hi all,
I'm hoping y'all can help me with a bit of a php code problem I'm having.
What I'm trying to do is link to YouTube videos (more than one in a single
webpage). However, because I'm worried about the videos going away and the
links going bad, I'd like to use PHP to check if the link is goo
Thanks guys. The issue is that users can specify text as well as currency in
the input field ie '£2 students / £5 general admission'.
# [EMAIL PROTECTED] / 2007-01-24 16:58:51 +0100:
> currency values should be stored in the DB as integers (i.e. as penny
> based values). no floats (so that you avoid any rounding errors) and
> definitely no currency symbols!
What about DECIMAL?
> if you need to store which currency the price/a
Dave Goodchild wrote:
> This may be more of a mysql issue, but I am using php for my app so here
> goes...
>
> I have a fee field in the database, and when users post events they can
> specify entrance fee in £. In some, not all, of the fields I am getting,
> for
> example, £7 rather than £. Is t
Németh Zoltán wrote:
> On sze, 2007-01-24 at 17:17 +0200, Sancar Saran wrote:
>> Hi,
>>
>> After updating company test server to dotdeb 5.2.0 it star to give memory
>> problems (even 32mb session). I tought it was because of suhosin. And I
>> cannot update that server to vanilla debian php5 packa
Hi,
I mean there was no offical php5 package for debian sarge. Dotdeb was not
offical.
On Wednesday 24 January 2007 17:46, Németh Zoltán wrote:
> On sze, 2007-01-24 at 17:17 +0200, Sancar Saran wrote:
> > Hi,
> >
> > After updating company test server to dotdeb 5.2.0 it star to give memory
> > pr
On sze, 2007-01-24 at 17:17 +0200, Sancar Saran wrote:
> Hi,
>
> After updating company test server to dotdeb 5.2.0 it star to give memory
> problems (even 32mb session). I tought it was because of suhosin. And I
> cannot update that server to vanilla debian php5 package because it was a
> sarg
Hi,
After updating company test server to dotdeb 5.2.0 it star to give memory
problems (even 32mb session). I tought it was because of suhosin. And I
cannot update that server to vanilla debian php5 package because it was a
sarge so today my company gives me another debian etch (like my home pc
# [EMAIL PROTECTED] / 2007-01-24 10:44:21 -0400:
> Rather than a wide monitor, I'd like to have a tall one - say 21" square.
Wide screens are nice, you can have more 80-char terminals next to each
other.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You do
Miles Thompson wrote:
More seriously, many times I've taken a "It's right, but not working,
dammit!" SQL statement,
broken it up so it's listed "vertically" and discovered the error.
Just my 2 cents worth...
SQL actually does lend itself rather well to normal code style
indenting, even though
At 09:41 AM 1/24/2007, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200:
> and also in these days I'm looking for 19 inch (or more) wide LCD
> sceerns to able to fit longer lines in my screen...
Number of reading errors people make grows with line length,
this has been kno
Hi,
I'm currently looking into the best way to approach this.
Users will be allowed to enter HTML, but I want to add the ability to
automatically format URL's and e-mail addresses.
The problem here is before formatting URL's we need to ignore URL's that are
already used in HTML tags and that ar
> >Hello,
> >
> >on 10/31/2006 01:36 PM Andy said the following:
> >
> >
> >>I need a class that reads emails from a server and reads the
> >>
> >>
> >attachments from the mail.
> >
> >
> >>The mailservers is an IMAP for mail reading.
> >>
> >>The attachment types can be: images/pdf/text documents.
Manuel Lemos wrote:
Hello,
on 10/31/2006 01:36 PM Andy said the following:
I need a class that reads emails from a server and reads the
attachments from the mail.
The mailservers is an IMAP for mail reading.
The attachment types can be: images/pdf/text documents.
Any suggestio
On Wed, 2007-01-24 at 13:41 +, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200:
> > and also in these days I'm looking for 19 inch (or more) wide LCD
> > sceerns to able to fit longer lines in my screen...
>
> Number of reading errors people make grows with line length
# [EMAIL PROTECTED] / 2007-01-24 13:57:03 +0200:
> and also in these days I'm looking for 19 inch (or more) wide LCD
> sceerns to able to fit longer lines in my screen...
Number of reading errors people make grows with line length,
this has been known for as long as I remember. You're increasing
I believe this was related to what did you want to do with your editor.
I use these editors
Linux - KDE -> Kate
Win32 -> Ultra Edit
Both are support UTF8 and both can handle more than one file at one session..
Enough search and replace abilites. Both can highlight code...
I wish to KDE (and
with all the respect that should be afforded to someone
so bloody helpful:
thank you for all the fish :-)
best wishes,
Jochem
John Nichel wrote:
> Howdy ladies and gents:
>
> For the past 9 or so years, with one email account or another, I have
> been subscribed to the PHP General Mai
On Wed, 2007-01-24 at 10:31 +, Robin Vickery wrote:
> On 21/01/07, Arno Kuhl <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Vinicius C Silva [mailto:[EMAIL PROTECTED]
> > Sent: 21 January 2007 02:54
> > To: php-general@lists.php.net
> > Subject: [PHP] most powerful php edit
FYI, for the noobs, the John and Jason referenced in the email are John
Holmes and Jason Wong.
Yep, two of the "big" guys without who... many would have taken a muchh longer
path to learning php, including me.
I dont know if theres a "list heroes" list, but if there is... John is def mine.
Al
Who the f*/k are you? and why should we remember you
Hehe just kidding, you may have not posted a lot in the last year but you have
helped me many times before thatwhich I really appreciate.
Thanks for your help mate, and I hope you have success in whatever you decide
to do.
Cheers!
R
On 21/01/07, Arno Kuhl <[EMAIL PROTECTED]> wrote:
-Original Message-
From: Vinicius C Silva [mailto:[EMAIL PROTECTED]
Sent: 21 January 2007 02:54
To: php-general@lists.php.net
Subject: [PHP] most powerful php editor
For me the analogy goes something like this: if you type the occasional
On k, 2007-01-23 at 22:49 -0700, Don wrote:
> On k, 2007-01-23 at 00:58 -0800, Jim Lucas wrote:
> > Németh Zoltán wrote:
> > > On k, 2007-01-23 at 19:46 +1100, chris smith wrote:
> > >> On 1/23/07, Németh Zoltán <[EMAIL PROTECTED]> wrote:
> > >>> On h, 2007-01-22 at 22:53 -0800, Jim Lucas wrote:
>
23 jan 2007 kl. 18.55 skrev Dave Goodchild:
This may be more of a mysql issue, but I am using php for my app so
here
goes...
I have a fee field in the database, and when users post events they
can
specify entrance fee in £. In some, not all, of the fields I am
getting, for
example, £7 r
82 matches
Mail list logo