php-general Digest 27 May 2010 15:13:49 - Issue 6767
Topics (messages 305559 through 305568):
Re: One more time about regexes
305559 by: Adam Richardson
305561 by: Andre Polykanine
305562 by: Ford, Mike
Re: getaddrinfo() - what is the equivalent php function?
Per Jessen wrote:
AFAICT, gethostbyname() only works for ipv4 addresses, so that one is
out - dns_get_record seems to be really for dns only, i.e. it does not
look at /etc/hosts. Is there a hph function that essentially just
calls getaddrinfo() ?
Wow, lots of answers to that one.
Let me
Hello Adam,
You did understand me exactly and perfectly).
Ordering arrays is a good idea but I don't know how to do that
exactly.
For instance, there's a cypher called Polybius square. You write in
the alphabet in a grid like this:
1 a b c d e
2 f g h i j
3 k l m n o
4 p q r s t
5 u v w x y
6 z
-Original Message-
From: Andre Polykanine [mailto:an...@oire.org]
Sent: 27 May 2010 09:14
To: Adam Richardson
Cc: php-general@lists.php.net
Subject: Re[2]: [PHP] One more time about regexes
Hello Adam,
You did understand me exactly and perfectly).
Ordering arrays is a good
Hello Guus,
Actually, we are using the same method here on http://oire.org/. We
have all of the language files in UTF8 format and everything seems to
be OK. Yes, unicode support in PHp laisse à désirer, like the French
say, but it does support UTF8 files.
--
With best regards from Ukraine,
Andre
Thanks, but are you sure of that? I did some research a while ago and found
that officially PHP files should be ascii and not have any specific
character encoding. I believe it will work anyhow (did not try this one),
but would like to stick with the standards.
Ashley Sheridan
On Thu, 2010-05-27 at 21:45 +0800, Guus Ellenkamp wrote:
Thanks, but are you sure of that? I did some research a while ago and found
that officially PHP files should be ascii and not have any specific
character encoding. I believe it will work anyhow (did not try this one),
but would like
hallo there everyone!
i am uploading a file in a php applet i developed and i face a problem
while i upload greek named files..
have no problem with the english or so on files...
is there a way to use iconv or something else so as to solve my problem ?
my code looks like that...
$uploaddir =
On Thu, 2010-05-27 at 17:49 +0300, Manolis Vlachakis wrote:
hallo there everyone!
i am uploading a file in a php applet i developed and i face a problem
while i upload greek named files..
have no problem with the english or so on files...
is there a way to use iconv or something else so as
On Thu, 2010-05-27 at 18:03 +0300, Manolis Vlachakis wrote:
i am using gentoo
and on the server side i cant see either the files with their greek
names
but i had no problem in the past handling them even though
i couldn't see them...
my servers log say that they uploaded the file but
Hi folks.
OK, so here's the deal. I am trying to figure out the right way to
document methods in OO code that includes method overriding in child
classes. Simple, right? Unfortunately, it seems the tools out there
are making this much more complicated than it should be. Example:
class
On 27 May 2010 17:15, la...@garfieldtech.com la...@garfieldtech.com wrote:
Hi folks.
OK, so here's the deal. I am trying to figure out the right way to
document methods in OO code that includes method overriding in child
classes. Simple, right? Unfortunately, it seems the tools out there
On 5/27/10 10:43 AM, Peter Lind wrote:
You're overriding the function. IDEs should *not* show the parent
documentation, because the parent function does *not* get called. It
only gets called if you do a specific parent::hello($a, $b);
*snip*
So it seems like no matter what I do, someone
On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp
ellenkamp_g...@hotmail.comwrote:
Thanks, but are you sure of that? I did some research a while ago and found
that officially PHP files should be ascii and not have any specific
character encoding. I believe it will work anyhow (did not try this
On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote:
On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp
ellenkamp_g...@hotmail.comwrote:
Thanks, but are you sure of that? I did some research a while ago and found
that officially PHP files should be ascii and not have any specific
On 27 May 2010 17:57, la...@garfieldtech.com la...@garfieldtech.com wrote:
On 5/27/10 10:43 AM, Peter Lind wrote:
You're overriding the function. IDEs should *not* show the parent
documentation, because the parent function does *not* get called. It
only gets called if you do a specific
On 5/27/10 11:13 AM, Peter Lind wrote:
I'm overriding the method because I want to change the *implementation*.
The *interface* of it, which is documented in the docblock, should not
change and it's a bug (and possibly compile error) if it does change. You
cannot, for instance, change what
At 3:50 PM -0400 5/26/10, Alice Wei wrote:
My bad, I cannot imagine I sent that stuff. To answer your
question, here it is,
form action= method=post
pSelect the type of your starting point of interest:br/
input type=text name=start
On 27 May 2010 18:21, la...@garfieldtech.com la...@garfieldtech.com wrote:
On 5/27/10 11:13 AM, Peter Lind wrote:
I'm overriding the method because I want to change the *implementation*.
The *interface* of it, which is documented in the docblock, should not
change and it's a bug (and
At 5:13 PM +0100 5/27/10, Ashley Sheridan wrote:
I don't use the higher range of characters often, but I do sometimes use
them for things like the graphical glyphs (12), etc) I know I could do
those with regular text and the Wingdings font, but that's not available
on every computer, and
On 5/27/10 11:30 AM, Peter Lind wrote:
Sure, but @param, @access and possibly @return are but a part. I stand
by my words: document the parent as a stub and provide actual
documentation for the real implementations. Otherwise you're trying to
be *clever* and will see the age-old result: you'll
On 27 May 2010 17:21, la...@garfieldtech.com la...@garfieldtech.com wrote:
On 5/27/10 11:13 AM, Peter Lind wrote:
I'm overriding the method because I want to change the *implementation*.
The *interface* of it, which is documented in the docblock, should not
change and it's a bug (and
On Thu, May 27, 2010 at 12:44 PM, la...@garfieldtech.com
la...@garfieldtech.com wrote:
On 5/27/10 11:30 AM, Peter Lind wrote:
Sure, but @param, @access and possibly @return are but a part. I stand
by my words: document the parent as a stub and provide actual
documentation for the real
On 5/27/10 12:10 PM, Adam Richardson wrote:
Larry,
I've thought about this very issue before (java developers sometimes lament
this issue, too), and I error on the side of duplication if I'm using
inheritance.
However, I'd say I rarely use inheritance for anything in my development,
and I'm
On 27 May 2010 18:10, Adam Richardson simples...@gmail.com wrote:
On Thu, May 27, 2010 at 12:44 PM, la...@garfieldtech.com
la...@garfieldtech.com wrote:
On 5/27/10 11:30 AM, Peter Lind wrote:
Sure, but @param, @access and possibly @return are but a part. I stand
by my words: document the
From: Ashley Sheridan
On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote:
On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp
ellenkamp_g...@hotmail.comwrote:
Thanks, but are you sure of that? I did some research a while ago and found
that officially PHP files should be ascii and not
On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote:
From: Ashley Sheridan
On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote:
On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp
ellenkamp_g...@hotmail.comwrote:
Thanks, but are you sure of that? I did some research a while
On May 25, 2010, at 8:27 PM, David Mehler wrote:
Hello,
I'm trying to display mysql database output in a formatted table. My
problem is i'm getting a blank screen with no errors. I've got
debugging on, and have run the cli php on this file which produces no
errors either, but neither does it
On Thu, 2010-05-27 at 13:16 -0500, Philip Thompson wrote:
On May 25, 2010, at 8:27 PM, David Mehler wrote:
Hello,
I'm trying to display mysql database output in a formatted table. My
problem is i'm getting a blank screen with no errors. I've got
debugging on, and have run the cli php
From: Philip Thompson
On May 25, 2010, at 8:27 PM, David Mehler wrote:
Hello,
I'm trying to display mysql database output in a formatted table. My
problem is i'm getting a blank screen with no errors. I've got
debugging on, and have run the cli php on this file which produces no
errors
On Thu, May 27, 2010 at 1:14 PM, la...@garfieldtech.com
la...@garfieldtech.com wrote:
On 5/27/10 12:10 PM, Adam Richardson wrote:
Larry,
I've thought about this very issue before (java developers sometimes
lament
this issue, too), and I error on the side of duplication if I'm using
Larry,
I've thought about this very issue before (java developers sometimes
lament
this issue, too), and I error on the side of duplication if I'm using
inheritance.
However, I'd say I rarely use inheritance for anything in my development,
and I'm much more likely to use
At 7:11 PM +0100 5/27/10, Ashley Sheridan wrote:
On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote:
From: Ashley Sheridan
I don't use the higher range of characters often, but I do sometimes use
them for things like the graphical glyphs (12), etc) I know I could do
those with
From: tedd
The Unicode database uses the same lower
character values (i.e., code points) as does
ASCII, namely 0-127, and thus UFT-8 (8-bit
variable width encoding) is really a super-set
which includes the sub-set of ASCII.
The Wingdings font that Ash refers to is the
really the
On Thu, 2010-05-27 at 15:28 -0400, Bob McConnell wrote:
From: tedd
The Unicode database uses the same lower
character values (i.e., code points) as does
ASCII, namely 0-127, and thus UFT-8 (8-bit
variable width encoding) is really a super-set
which includes the sub-set of ASCII.
On Thu, May 27, 2010 at 4:13 AM, Andre Polykanine an...@oire.org wrote:
Hello Adam,
You did understand me exactly and perfectly).
Ordering arrays is a good idea but I don't know how to do that
exactly.
For instance, there's a cypher called Polybius square. You write in
the alphabet in a
I've seen @inheritDoc used in Java before, though I'm not sure about
the php support.
Waynn
On 5/27/10, Adam Richardson simples...@gmail.com wrote:
Larry,
I've thought about this very issue before (java developers sometimes
lament
this issue, too), and I error on the side of
On Thu, May 27, 2010 at 3:59 PM, Waynn Lue waynn...@gmail.com wrote:
I've seen @inheritDoc used in Java before, though I'm not sure about
the php support.
Waynn
On 5/27/10, Adam Richardson simples...@gmail.com wrote:
Larry,
I've thought about this very issue before (java
Hi there,
I am still attempting to get a display of the result of my two
timestamp fields subtracted from one another in minutes and hours if
needed. This is for a form and the timestamps are recorded when a user
logs in [login_timestamp] and when the form is
submitted[submit_timestamp]. The
Hello Everyone,
Thanks for all your suggestions. Unfortunately, I've replaced
require_once with include_once and require with include in all the
documents, I'm still not having any luck.
Thanks.
Dave.
On 5/27/10, Bob McConnell r...@cbord.com wrote:
From: Philip Thompson
On May 25, 2010, at
On Thu, May 27, 2010 at 5:47 PM, David Mehler dave.meh...@gmail.com wrote:
Hello Everyone,
Thanks for all your suggestions. Unfortunately, I've replaced
require_once with include_once and require with include in all the
documents, I'm still not having any luck.
Thanks.
Dave.
On 5/27/10,
On 5/27/10 3:15 PM, Adam Richardson wrote:
On Thu, May 27, 2010 at 3:59 PM, Waynn Luewaynn...@gmail.com wrote:
I've seen @inheritDoc used in Java before, though I'm not sure about
the php support.
Waynn
You're absolutely right, Waynn,
Phpdocumentor has this, too:
Anyone have a good example or routine or library or something that will use
JSON-RPC client and SSL .pem certs? All the code I've found out there is
pretty dated or unkept or lacks one or more of those requirements.
http://jsonrpcphp.org/ is about as close as I could find, but it doesn't
use SSL
Date: Thu, 27 May 2010 12:23:46 -0400
To: aj...@alumni.iu.edu; php-general@lists.php.net
From: tedd.sperl...@gmail.com
Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms
At 3:50 PM -0400 5/26/10, Alice Wei wrote:
My bad, I cannot imagine I sent that
On Thu, 2010-05-27 at 17:59 -0400, Adam Richardson wrote:
On Thu, May 27, 2010 at 5:47 PM, David Mehler dave.meh...@gmail.com wrote:
Hello Everyone,
Thanks for all your suggestions. Unfortunately, I've replaced
require_once with include_once and require with include in all the
And I need(ed) this stuff especially for non-ASCII characters like Chinese,
Arabic and stuff :)
Ashley Sheridan a...@ashleysheridan.co.uk wrote in message
news:1274976794.2202.274.ca...@localhost...
On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote:
On Thu, May 27, 2010 at 9:45 AM,
I would like if you stick to the original issue: can a PHP source file be in
utf-8. It's not about the output, that is properly supported.
Think it would be a good idea anyhow that PHP would support utf-8 source
files as it seems utf-8 is going to be the de-facto standard for text files
47 matches
Mail list logo