Tommy Pham wrote:
On Wed, Mar 24, 2010 at 4:28 AM, Per Jessen wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 3:44 AM, Per Jessen wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 3:20 AM, Per Jessen
wrote:
Tommy Pham wrote:
What I find funny is that one of opponents of PHP threads
Rene Veerman wrote:
On Wed, Mar 24, 2010 at 10:21 PM, Robert Cummings wrote:
Rene Veerman wrote:
On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings
wrote:
Rene Veerman wrote:
On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings
wrote:
Rene Veerman wrote:
On Wed, Mar 24, 2010 at 3:25 PM
Rene Veerman wrote:
On Wed, Mar 24, 2010 at 10:24 PM, Robert Cummings wrote:
Are you suggesting that you need to be a guru in C to write threaded C code?
I think the word you're looking for is competent.
plz dont make me repeat myself, i've already indicated my reasons as
to why
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 1:24 PM, Robert Cummings wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 4:28 AM, Per Jessen wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 3:44 AM, Per Jessen wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 3:20 AM, Per Jessen
wrote
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 3:34 PM, Robert Cummings wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 1:24 PM, Robert Cummings
wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 4:28 AM, Per Jessen wrote:
Tommy Pham wrote:
On Wed, Mar 24, 2010 at 3:44 AM, Per Jessen
Matt Giddings wrote:
unsubscribe
*lol*
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm sorry, but I've never had problem reading backwards in time through
information. One merely understands that a piece of information is
dependent on the next. Seriously, hasn't anyone else ever read history
starting with now and then working their way backwards? It's just
reverse chronologic
Rene Veerman wrote:
+1 for top-posting..
proper nettiquette is to put replies beneath the quotes you're
replying to, and deleting the rest.
ultimately this 'rule' of bottomposting is laziness of the ones who
like that style of quoting.
they want everyone to conform to their favorite method, so
Per Jessen wrote:
Tommy Pham wrote:
(I remember a list member, not mentioning his name, does optimization
of PHP coding for just microseconds. Do you think how much more he'd
benefit from this?)
Anyone who optimizes PHP for microseconds has lost touch with reality -
or at least forgotten tha
Daevid Vincent wrote:
If I have to wait 3 seconds for a page to render, that wait is noticeable.
Dumb users will click refresh, and since (unbelievably in this day and age)
PHP and mySQL don't know the user clicked 'stop' or 'refresh', and
therefore mySQL will execute the same query a second tim
Daevid Vincent wrote:
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Thursday, March 25, 2010 7:16 PM
Daevid Vincent wrote:
If I have to wait 3 seconds for a page to render, that wait
is noticeable.
Dumb users will click refresh, and since
Tommy Pham wrote:
On Thu, Mar 25, 2010 at 8:15 PM, Robert Cummings wrote:
Daevid Vincent wrote:
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com] Sent: Thursday, March
25, 2010 7:16 PM
Daevid Vincent wrote:
If I have to wait 3 seconds for a page to render
David McGlone wrote:
On Thu, Mar 25, 2010 at 08:45:19PM -0400, David McGlone wrote:
Does anyone have any experience with authorize.net?
I have a test account with authorize.net and I have written a script to
use the checkout of authorize.net but I keep getting this error:
3|2|13|The merchant l
Guus Ellenkamp wrote:
I have the following lines in my PHP code:
header('Content-type: text/plain; charset=utf-8');
echo 'Invalid command';
However, the output is:
HTTP/1.1 200 OK
Date: Fri, 26 Mar 2010 13:30:08 GMT
Server: Apache/2.0.55 (Win32) PHP/5.1.4
X-Powered-By: PHP/5.1.4
Set-Cookie:
h
I viewed the source on the site like the features suggested I should...
does NOLOH always generate HTML with all those hard embedded style
attributes?
Cheers,
Rob.
Asher Snyder wrote:
Hello Brandon,
I'm Asher Snyder, one of the developers of NOLOH. Please feel free to e-mail
me with any qu
Daevid Vincent wrote:
(Sorry if this is a duplicate. I sent one earlier with "OT:" prefixing the
subject line and I think this list software kills the message despite being
proper netiquette. *sigh*)
I have your basic web tree setup.
develo...@mypse:/var/www/dart2$ tree -d -I 'CVS'
|-- UPDATE
tedd wrote:
At 8:28 AM -0400 4/8/10, Andrew Ballard wrote:
On Wed, Apr 7, 2010 at 6:46 PM, Ryan Sun wrote:
>
rsort(array_combine(array2, array1));
you should expect array(
'Personal Email' => 75,
'USPS mail' => 40,
'Personal Phone' => 31,
'Web site' => 31,
'Text Message' => 31
tedd wrote:
Rob:
You're never confused because you are always right.
I should have you mention this to my wife... I'll provide the helmet >:)
Congrats, you were the first to solve this problem this simply.
To tell the truth, I didn't fully understand how array_multisort()
worked until I re
Daniel Egeberg wrote:
On Sun, Apr 11, 2010 at 20:30, lala wrote:
Hi all,
I've wasted two days trying to find this in the documentation. Google is no
help here either; they only index text.
While looking at some code using objects I came across this:
$this->{$spec}
The example works wi
steve_r wrote:
I'm new to programming, drive a truck in the day, now taking night courses
to get a better job for my family. Please bear with me if this is a dumb
question, I don't have much experience.
I'm taking a night class in HTML and PHP and can't figure out a problem and
can't find the a
Dan Joseph wrote:
On Tue, Apr 13, 2010 at 12:19 PM, tedd wrote:
So, OP explain what you are trying to do?
Cheers,
tedd
Sorta looks to me like he's in a situation where users are fleeing the form,
and wondering why its not filled in when they go back. The natural reaction
for this would b
Dan Joseph wrote:
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote
I had a pair-a-dimes one time. Unfortunately I was a nickel short of a
quarter to put in the slot.
>
But the question is... were they outside the box?
They were in my pocket... so yes!
Cheers,
Rob.
--
h
Kevin Kinsey wrote:
Dan Joseph wrote:
On Tue, Apr 13, 2010 at 12:40 PM, Robert Cummings wrote
I had a pair-a-dimes one time. Unfortunately I was a nickel short of a
quarter to put in the slot.
But the question is... were they outside the box?
Nah, the question is, since the slot was
tedd wrote:
At 12:40 PM -0400 4/13/10, Robert Cummings wrote:
Dan Joseph wrote:
On Tue, Apr 13, 2010 at 12:19 PM, tedd wrote:
So, OP explain what you are trying to do?
Cheers,
tedd
Sorta looks to me like he's in a situation where users are fleeing the form,
and wondering why it
Nathan Rixham wrote:
Robert Cummings wrote:
steve_r wrote:
I'm new to programming, drive a truck in the day, now taking night
courses
to get a better job for my family. Please bear with me if this is a dumb
question, I don't have much experience.
I'm taking a night class in H
Nathan Rixham wrote:
Robert Cummings wrote:
Nathan Rixham wrote:
Robert Cummings wrote:
steve_r wrote:
I'm new to programming, drive a truck in the day, now taking night
courses
to get a better job for my family. Please bear with me if this is a
dumb
question, I don't have much
Nathan Rixham wrote:
Robert Cummings wrote:
Nathan Rixham wrote:
Robert Cummings wrote:
Nathan Rixham wrote:
Robert Cummings wrote:
steve_r wrote:
I'm new to programming
function check_it2($val) {
echo gettype($val);
switch($val) {
case($val > 0 ):
echo
tedd wrote:
At 5:06 PM -0400 4/13/10, Robert Cummings wrote:
Nathan Rixham wrote:
well that's one job I'm not getting :p
Well you DID get 66.7%. I've met "coders" that would stare at the
answer and still not understand :D
Cheers,
Rob.
Well.. count me among those
Jan G.B. wrote:
2010/4/16 Adam Richardson :
On Thu, Apr 15, 2010 at 5:55 PM, Jason Pruim wrote:
On Apr 15, 2010, at 8:55 AM, tedd wrote:
At 4:13 PM -0400 4/14/10, Al wrote:
Incidentally, about formatting scripts, one of the reasons I like phpEdit
is that it has a terrific code beautifier.
Andre Polykanine wrote:
Hi everyone,
I posted this in the PHP-i18n list, however got no answer so trying
here).
We are making a blog platform (http://oire.org/) which is provided in
several languages (currently they are Russian, Ukrainian, and
English).
Now the i18n process is made as follows: w
Michiel Sikma wrote:
On 19 April 2010 00:55, Andre Polykanine wrote:
Now the i18n process is made as follows: we set a cookie on the site
and depending on it we select the language to display the site in. We
have three (currently) interface files: rus.lng, ukr.lng, and enu.lng
(for English U
Peter Lind wrote:
On 19 April 2010 15:56, Robert Cummings wrote:
Unless you have namespaces (and I can't remember if they completed
namespaced based functions) then don't use something so commuon as a
function named underscore :/
Cheers,
Rob.
You might want to have a look at
Karl DeSaulniers wrote:
Hi,
I think the problem or the bad form, if you will, is using reply-all.
All you need to do is hit reply and it should just send a message
back to the list. Everyone gets the list messages.
If the reply-to is not set, type in the list email in the to and the
reply-to
David McGlone wrote:
On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote:
On 21 April 2010 14:38, Hans Åhlin wrote:
Why change the way that has been around for years and adopted by
multiple e-mail lists?
It feels like it's more problem to change the way for thousands of
users just to satisfy a
David McGlone wrote:
On Wed, 2010-04-21 at 11:34 +0200, Michiel Sikma wrote:
On 21 April 2010 11:23, David McGlone wrote:
Why is the list set up to reply to the OP and not the list?
--
Blessings,
David M.
Is it? I didn't notice. I just use "reply to all" which puts the list in the
CC, and
Peter Lind wrote:
On 21 April 2010 15:41, Dan Joseph wrote:
When you hit reply all, just take out all the other addresses and leave the
list one in there. The list was setup like this years ago on purpose, and
they've stated in the past they don't want to change it..
And waste time every sin
tedd wrote:
Hi gang:
Considering we recently had several people mention what games they
play, it might be interesting to see what everyone plays.
As for me, I currently play "Modern Warfare 2" on XBOX. It's the most
recent in a long line of war games (i.e., Call of Duty, Ghost Recon,
etc.).
I do, though I can't find the disc right now... Keiran (19 months) was
last seen toddling around with it about 2 weeks ago :/
When I find it I'll send you my player code.
Nathan Rixham wrote:
Robert Cummings wrote:
tedd wrote:
Hi gang:
Considering we recently had several peop
David Stoltz wrote:
Hi folks,
This isn't really a PHP question per se, but could apply to any
language...
I have a public facing web server, which we have a software component
that helps protect us from SQL Injection, and the like.
We recently have added a very small web application that is ve
Nathan Rixham wrote:
tedd wrote:
Hi gang:
I found something that really impressed me -- please review this:
http://palomarjewelry.com/product/id/19/collectionId/1/typeId/3
Try changing the number and type of stones and watch the main image
change (i.e., the basket).
If one calculates the n
Paul Waring wrote:
I've got the following script which demonstrates a problem I'm having
with floating point numbers and intval:
$times100 = (-37.12 * 100);
print $times100 . "\n";
$intval100 = intval($times100);
print $intval100 . "\n";
print ($intval100 / 100) . "\n";
I expect the output t
Hi,
I have a result set coming from a database that can be of the form below
$lines = array(0 => array('idA' => 1, 'idU' => 1),
1 => array('idA' => 1, 'idU' => 2),
2 => array('idA' => 2, 'idU' => 1),
3 => array('idA' => 2, 'idU' => 2),
Ashley Sheridan wrote:
[/snip]
If only I could speak Chinese and was gullible I'd love to take them up
on the offer for whatever it is.
Thanks,
Ash
http://www.ashleysheridan.co.uk
My Chinese is a bit rusty, but I think it says, please reply on-list to
this spam message!
:|
Cheers,
Rob.
:
David McGlone wrote:
On Thursday 06 May 2010 20:49:47 Jason Pruim wrote:
On May 5, 2010, at 9:02 PM, David McGlone wrote:
On Wednesday 05 May 2010 13:12:58 Dan Joseph wrote:
On Wed, May 5, 2010 at 1:06 PM, David McGlone
wrote:
On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote:
On Wed, M
Jan G.B. wrote:
2010/5/6 David McGlone :
On Wednesday 05 May 2010 16:19:35 Paul M Foster wrote:
On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote:
On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote:
On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote:
I've checked and che
tedd wrote:
At 6:40 AM -0400 5/7/10, David McGlone wrote:
On Thursday 06 May 2010 23:47:23 Jim Lucas wrote:
Robert Cummings wrote:
> David McGlone wrote:
>> On Thursday 06 May 2010 20:49:47 Jason Pruim wrote:
>>> On May 5, 2010, at 9:02 PM, David McGlone wrote:
>&g
tedd wrote:
At 11:53 AM -0400 5/7/10, Robert Cummings wrote:
tedd wrote:
At 6:40 AM -0400 5/7/10, David McGlone wrote:
On Thursday 06 May 2010 23:47:23 Jim Lucas wrote:
Robert Cummings wrote:
> David McGlone wrote:
>> On Thursday 06 May 2010 20:49:47 Jason Pruim wrote:
>
Paul M Foster wrote:
On Mon, May 10, 2010 at 06:09:00PM -0400, David McGlone wrote:
On Monday 10 May 2010 13:04:36 richard gray wrote:
On 10/05/2010 18:17, Ashley Sheridan wrote:
It makes sense sometimes to have different files for different sections
of a website. For example, blog.php, galle
Paul M Foster wrote:
On Mon, May 10, 2010 at 11:37:21PM -0400, Robert Cummings wrote:
Paul M Foster wrote:
Lots of people use templating systems and particularly Smarty. Here's
the difference between a templating system and just hand-coding:
Hand coding--
Templating system:
Nathan Nobbe wrote:
i did gander at robs template system in interjinn once, but never got my
head wrapped round it; honestly i only gave it a day or so. i prefer to go
the typical route as per above, and omit the bloat that systems like smarty,
savant etc bring to the table.
nothing personal da
tedd wrote:
Rob:
If I could understand what the Hell you are talking about, I'd be a
better programmer.
You're a bit like Einstein talking to a bunch of High School Physics
Teachers. We nod our collective heads thinking "huh?" while hoping
there isn't going to be a test.
If you want me to
Bob McConnell wrote:
Web servers can only identify computers, not users. You will need
something else to track which user started a specific application on a
particular computer, probably a fingerprint scanner next to the
keyboard. But that won't prevent someone else from replacing the entity
bet
Jagdeep Singh wrote:
Hi!
Thanks for all the replies... But may of the solutions are not for my
question.
Friends!
E.g. : If user1 has logged in Internet Explorer on IP adress (Say IP - A)
with MAC Adress (MAC-X)
Then No other user can login on that IP (IP-A) AND MAC Adress (MAC-X) on any
other
Ashley Sheridan wrote:
I see exactly the issue you have now, and there's no way round it. You
can't identify a single machine in the way you want.
Maybe you could restrict access to test answer materials to a user who
is logged in, and then lock them out when a test is in progress for
their user
Michelle Konzack wrote:
Hello PHP-Community,
I am PHP programmer since many years and over the years, I have reinvent
the wheel in authenification and session management at least 30 times.
Yeah, whenever a new project started, I had to reinvent the wheel.
So my question now is, is there a prov
Bill Guion wrote:
At 12:30 AM +0200 5/19/10, Rene Veerman wrote:
Hi.
I'm trying to build a html analyzer that looks at natural words in html text.
I'd like to build a routine that walks through the HTML character by
character, but i'm not sure on how to properly walk through escaped "
and ' c
tedd wrote:
At 4:27 PM +0200 5/21/10, Anton Heuschen wrote:
So in the file it would look like (from the original file the user uploads
that is)
1
2
3
4
5
6
but when the file is saved to the server it must look like
1
2
3
4
5
6
If that is all (i.e., removing double linefeeds), then thi
Phpster wrote:
On May 22, 2010, at 12:07 PM, tedd wrote:
At 8:00 PM +0100 5/21/10, Ashley Sheridan wrote:
What sort of format is that date, English or American?
For example: dd-mm- or mm-dd-?
Thanks,
Ash
Ash:
I don't think it's called "English" or "American" -- as Churchill
onc
Al wrote:
On 5/22/2010 1:02 PM, Robert Cummings wrote:
tedd wrote:
At 4:27 PM +0200 5/21/10, Anton Heuschen wrote:
So in the file it would look like (from the original file the user
uploads
that is)
1
2
3
4
5
6
but when the file is saved to the server it must look like
1
2
3
4
5
6
This was beaten to death last week. The solution is not possible because
it's not about restricting a single user from logging over multiple
machines, it about restricting a single computer to only one session (so
running IE, Firefox, Opera, Safari on same computer with different users
would no
Al wrote:
On 5/22/2010 4:34 PM, Robert Cummings wrote:
Al wrote:
On 5/22/2010 1:02 PM, Robert Cummings wrote:
tedd wrote:
At 4:27 PM +0200 5/21/10, Anton Heuschen wrote:
So in the file it would look like (from the original file the user
uploads
that is)
1
2
3
4
5
6
but when the file
Karl DeSaulniers wrote:
On May 22, 2010, at 3:37 PM, Robert Cummings wrote:
This was beaten to death last week. The solution is not possible
because it's not about restricting a single user from logging over
multiple machines, it about restricting a single computer to only
one sessio
Karl DeSaulniers wrote:
Duley noted, but the combo of tracking ips and cookies on computers
should still work.
If you are checking the ip against ALL users, if two users in the
active database have the same ip,
then whichever has the older timestamp stays and the new one gets
booted.
And i
Karl DeSaulniers wrote:
On May 22, 2010, at 7:43 PM, Brandon Rampersad wrote:
These third world internet providers are screwing up the IP address
system with their shared IPs which defeats the entire purpose of an
IP address.
I missed this bit... actually, this is less a third world issue
But then I don't get to use worldwide accepted and open standards for
development.
Karl DeSaulniers wrote:
Well you could alway build it as an Adobe AIR app.
Then it would be its own application. Not viewed through a browser.
Karl
On May 22, 2010, at 8:46 PM, Robert Cummings wrote:
Karl DeSaulniers wrote:
Wow. I'm going to stay away from that one. I'm just trying to help
this guy secure his learning API and that would be one way to insure
that two browsers were not logged in on the same system. Especially if
you weren't using a browser in the first place.
Have you ev
Robert Cummings wrote:
Karl DeSaulniers wrote:
Wow. I'm going to stay away from that one. I'm just trying to help
this guy secure his learning API and that would be one way to insure
that two browsers were not logged in on the same system. Especially if
you weren't using a
David Mehler wrote:
Hello,
I've got a custom app that interacts with a database. I want to use
something stronger than .htaccess to protect it and ssl is not
available as this is a shared host. There will be several user's
accessing this app and updating the database through it. What i was
thinki
??
Karl
On May 22, 2010, at 10:37 PM, Karl DeSaulniers wrote:
I am going to ask my flash guru buddies.
Let me see if I can find anything out.
Karl
On May 22, 2010, at 10:10 PM, Robert Cummings wrote:
Robert Cummings wrote:
Karl DeSaulniers wrote:
Wow. I'm going to stay away from that one
if I can find anything out.
Karl
On May 22, 2010, at 10:10 PM, Robert Cummings wrote:
Robert Cummings wrote:
Karl DeSaulniers wrote:
Wow. I'm going to stay away from that one. I'm just trying to
help this guy secure his learning API and that would be one
way to insure that tw
tedd wrote:
At 1:02 PM -0400 5/22/10, Robert Cummings wrote:
tedd wrote:
If that is all (i.e., removing double linefeeds), then this will do it:
$text_array = array();
$text_array = explode("\n\n", $input_text);
$output_text = implode("\n",$text_array);
Sorry tedd, this i
Nathan Rixham wrote:
Nathan Rixham wrote:
Robert Cummings wrote:
tedd wrote:
At 1:02 PM -0400 5/22/10, Robert Cummings wrote:
tedd wrote:
If that is all (i.e., removing double linefeeds), then this will do
it:
$text_array = array();
$text_array = explode("\n\n", $input_text);
$o
Nathan Rixham wrote:
Robert Cummings wrote:
Nathan Rixham wrote:
Nathan Rixham wrote:
Robert Cummings wrote:
tedd wrote:
At 1:02 PM -0400 5/22/10, Robert Cummings wrote:
tedd wrote:
If that is all (i.e., removing double linefeeds), then this will
do it:
$text_array = array
Nathan Rixham wrote:
Robert Cummings wrote:
You may want to start testing your solutions. None have worked yet.
Not even close :)
filed under 'works for me'
Doesn't appear to work on the following:
$input = '
1
2
3
4
5
6';
Additionally, your solution modifies
Nathan Rixham wrote:
Yes it was client stripping out extra whitespace! thanks Rob, replicated
your results:
1
2 3
4
5 6
and then 'fixed' to give what's needed:
preg_replace( "/(((\r|)\n)(\h*|))+/im", '\\1' , $input );
the above keeps line termination the same as in the source file; can y
Nathan Rixham wrote:
Robert Cummings wrote:
Nathan Rixham wrote:
Yes it was client stripping out extra whitespace! thanks Rob,
replicated your results:
1
2 3
4
5 6
and then 'fixed' to give what's needed:
preg_replace( "/(((\r|)\n)(\h*|))+/im", '\\1'
tedd wrote:
At 2:48 PM -0400 5/23/10, Robert Cummings wrote:
tedd wrote:
At 1:02 PM -0400 5/22/10, Robert Cummings wrote:
tedd wrote:
If that is all (i.e., removing double linefeeds), then this will do it:
$text_array = array();
$text_array = explode("\n\n", $input_text);
$o
Dan Joseph wrote:
Hi,
Are any of you using any of the php accelorators such as Zend, Ioncube, or
any others? Any idea which is the "best"?
I am partial to eAccelerator for *nixes. And wincache for Windows.
Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attach
Lester Caine wrote:
Robert Cummings wrote:
Dan Joseph wrote:
Hi,
Are any of you using any of the php accelorators such as Zend,
Ioncube, or
any others? Any idea which is the "best"?
I am partial to eAccelerator for *nixes. And wincache for Windows.
eAccelerator works fine for
Lester Caine wrote:
Robert Cummings wrote:
Lester Caine wrote:
Robert Cummings wrote:
Dan Joseph wrote:
Hi,
Are any of you using any of the php accelorators such as Zend,
Ioncube, or
any others? Any idea which is the "best"?
I am partial to eAccelerator for *nixes. And wincache f
Lester Caine wrote:
Robert Cummings wrote:
I use FastCGI and the NTS version of PHP in Windows because that is the
configuration recommended by PHP on their website. After experiencing
the instability of PHP as relates to the module version in Windows
(using eAccelerator at the time), I
Brian Dunning wrote:
Agreed that's a great overall strategy but what I need now is a way to track
down the offending script, within the next few days if possible.
On Jun 7, 2010, at 1:35 PM, Jim Lucas wrote:
Change all the forms to use a single
processing script and then you won't have such a
Tanel Tammik wrote:
Hi,
which one is correct or "better"?
$array[3] = '';
or
$array['3'] = '';
$i = 7;
$array[$i] = '';
or
$array["$i"] = '';
Sometimes it is good to illustrate the correct answer:
'1',
'2' => '2',
'three' => 'three',
'4.0' => '4.0',
5.0 => 5.0,
)
Paul M Foster wrote:
On Tue, Jun 08, 2010 at 04:44:53PM +0200, Peter Lind wrote:
On 8 June 2010 16:38, Ashley Sheridan wrote:
On Tue, 2010-06-08 at 10:35 -0400, Paul M Foster wrote:
On Tue, Jun 08, 2010 at 09:38:58AM -0400, Robert Cummings wrote:
Tanel Tammik wrote:
Hi,
which one is
Daevid Vincent wrote:
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
...as those tags only work when short_tags are turned on, which
itself causes problems with outputting XML from PHP.
Can you elaborate on this Ashley?
I use short tags and I output X
Robert Cummings wrote:
Daevid Vincent wrote:
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
...as those tags only work when short_tags are turned on, which
itself causes problems with outputting XML from PHP.
Can you elaborate on this Ashley?
I use
Robert Cummings wrote:
Robert Cummings wrote:
Daevid Vincent wrote:
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
...as those tags only work when short_tags are turned on, which
itself causes problems with outputting XML from PHP.
Can you elaborate on
Simon J Welsh wrote:
On 12/06/2010, at 8:43 AM, Daevid Vincent wrote:
Also, for the love of God, please don't embed a variable into a literal
string and use preprocessing.
Do it like so:
If you're doing it like that, you may as well use:
Fixed that for you :)
Cheers,
Rob.
--
E-Mail D
Rick Dwyer wrote:
Hello List.
I need to parse the PATH portion of URL. I have assigned the path
portion to a variable using the following:
$thepath = parse_url($url);
Now I need to break each portion of the path down into its own
variable. The problem is, the path can vary considerably
tedd wrote:
At 9:29 PM -0400 6/13/10, Robert Cummings wrote:
$parsed['pathbits'] = explode( '/', ltrim( dirname(
$parsed['path'] ), '/' ) );
return $parsed;
}
$url = my_parse_url( 'http://foo.fee.com/blah/bleh/bluh/meh.php' );
pr
tedd wrote:
At 2:18 PM +0100 6/14/10, Ashley Sheridan wrote:
On Mon, 2010-06-14 at 09:14 -0400, tedd wrote:
Hi gang:
Considering all the recent parsing, here's another problem to
consider -- given any text, parse the domain-names out of it.
You may limit the parsing to the most popular TDL's
Daniel P. Brown wrote:
On Wed, Jun 16, 2010 at 13:22, tedd wrote:
The given was to parse domain-names, but both routines pulled out
sub-domains as well. Perhaps I am wrong in my understanding of what a domain
name is, but I would normally look at sub domains as not part of the "domain
name".
Daniel P. Brown wrote:
On Wed, Jun 16, 2010 at 15:52, Robert Cummings wrote:
Additionally, extracting top level domains is not so simple since it may
have 2 or more parts.
*Gasp!* The Great Cummings is incorrect.
/me faints.
Actually, ccTLD's are just the very last
Adam Williams wrote:
I'm querying data and have results such as a variable named
$entries[$i]["dn"]:
CN=NTPRTPS3-LANIER-LD335c-LH107-PPRNP9A92,OU=XXf,OU=XX,OU=X,DC=,DC=xx,DC=xxx
Basically I need to strip off the first command everything after, so
shiplu wrote:
I'll use,
list($data) = explode(",",$entries[$i]["dn"]);
It's probably the least efficient method.
Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended sole
Troy Oltmanns wrote:
http://php.net/manual/en/function.split.php
I haven't tested for efficiency but splitting it will be great for assigning
it easily into an array.
Explode does the same thing without the overhead of a regular expression
engine.
But the OP didn't want the rest :)
Cheers,
Hi,
I am trying to access a webservice using php's soapclient but I keep getting
the error SoapFault exception: [HTTP] Unauthorized
If I try using a web browser I can authenticate using the same credentials
used by the php code.
I've searched but the only mention that I found led to a 'won't fix
e
application called SoapUI) without a problem.
Is there anyone using SoapClient (or Zend_Soap_Client) with auth with
success? What other library (that does not use SoapClient) could I try?
On Mon, Jun 28, 2010 at 6:27 AM, Richard Quadling wrote:
> On 26 June 2010 23:46, robert mena wrote:
>
is in this part specifically.
On Tue, Jun 29, 2010 at 7:23 AM, Richard Quadling wrote:
> On 28 June 2010 22:37, robert mena wrote:
> > Hi,
> > I'll have a look. I am using Zend Framework's Zend_Soap_Client which in
> > turn uses SoapClient. I'll try to use Soa
end/share/ZendFramework/library/Zend/Soap/Client.php on line 987
Calling the SoapClient directly gives me the same result.
On Tue, Jun 29, 2010 at 9:41 AM, Richard Quadling wrote:
> On 29 June 2010 13:58, robert mena wrote:
> > I was hoping for a "userland" soap library (li
2001 - 2100 of 5031 matches
Mail list logo