php-general Digest 25 Jan 2007 14:33:22 - Issue 4589
Topics (messages 247745 through 247778):
Re: most powerful php editor
247745 by: Roman Neuhauser
247746 by: Curt Zirzow
247748 by: Jochem Maas
247749 by: John Meyer
247750 by: Robert Cummings
Hi
On Thursday 25 January 2007 02:16, Richard Lynch wrote:
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
On Wednesday 24 January 2007 15: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-25 11:06:22 +0200:
On Wednesday 24 January 2007 15: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
M5 wrote:
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
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';
}
Here is the problem, and it is
Vinicius C Silva wrote:
hi everyone!
i'd like to ask something maybe commonly asked here. what is the most
powerful php editor?
Just thought I'd add my bit,
I used to use phpedit when I developed on a windows systems, then I
started using Zend.
Ive now moved to linux and still use Zend
I wrote something about this, but it is in Spanish:
http://www.satyam.com.ar/blog/2007/01/17/internacionalizacion-y-localizacion-indice/
Satyam
- Original Message -
From: Otto Wyss [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Wednesday, January 24, 2007 10:44 PM
Subject:
hi
The X in AJAX says that the data are XML Data.
To parse XML I use DOM.
It is also possible to validate the data using RelaxNG, DTD or XMLSchema
before processing.
A receiver in PHP looks like
?php
//read the string ($HTTP_RAW_POST_DATA is by default
//not active - use php://input)
Stut wrote:
M5 wrote:
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
Roman Neuhauser skrev:
# [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]
On Thu, 2007-01-25 at 10:12 +, Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2007-01-25 11:06:22 +0200:
On Wednesday 24 January 2007 15: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
Hi guys, I need to send a email to mobiles I don´t know if I have to use the
function mail( ) or if I have to use other one. Thanks your help
On 25 January 2007 10:55, Alexander Sagen wrote:
Roman Neuhauser skrev:
# [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
Hi everyone,
In November I sent a mail to this list asking how to get the mail From header
right, I solved that but I still have a problem. The solution was using
the -f option like this:
$frommail = [EMAIL PROTECTED];
mail($to, $subject, $message, $headers,-f$frommail);
The from address is
On Thursday 25 January 2007 08:14, David Robley wrote:
tedd wrote:
At 9:07 PM -0500 1/24/07, Robert Cummings wrote:
Code structure
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' :-)
'n a God
Ford, Mike skrev:
On 25 January 2007 10:55, Alexander Sagen wrote:
Roman Neuhauser skrev:
# [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.
[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. But with
Hi Jim,
Thanks for all the help, but where is the link.
Here is a link to a page that has this on it, but with the added '
Plus a link to the source code for it.
Jim
--
PHP General Mailing List (http://www.php.net/) To
unsubscribe, visit: http://www.php.net/unsub.php
--
Beauford wrote:
Hi Jim,
Thanks for all the help, but where is the link.
Here is a link to a page that has this on it, but with the added '
Plus a link to the source code for it.
Jim
--
PHP General Mailing List (http://www.php.net/) To
unsubscribe, visit: http://www.php.net/unsub.php
Chantal Rosmuller wrote:
Hi everyone,
In November I sent a mail to this list asking how to get the mail From header
right, I solved that but I still have a problem. The solution was using
the -f option like this:
$frommail = [EMAIL PROTECTED];
mail($to, $subject, $message,
Marcelo Ferrufino Murillo wrote:
Hi guys, I need to send a email to mobiles I don´t know if I have to use
the
function mail( ) or if I have to use other one. Thanks your help
Hi Marcelo,
if the mobile phones you are trying to email have Internet connectivity
the PHP mail() will enable to
On 25-Jan-07, at 7:49 AM, Myron Turner wrote:
[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
Is there a php function I can call to pass in a number and get the values
returned?
For example, pass in 7 and get 1,2,4 ?
Thanks!
If there isn't a function to do exactly what you want, you could use dec2bin()
to at least get the binary and work from there:
http://us3.php.net/manual/en/function.decbin.php
-TG
= = = Original message = = =
Is there a php function I can call to pass in a number and get the values
returned?
function bits($num) {
$bit_array = str_split(strrev(decbin(intval($num;
$val_array = array();
foreach ($bit_array as $pow = $bit) {
if ($val = $bit * pow(2,$pow))
$val_array[] = $val;
}
return($val_array);
}
(I wanted
Hi,
Sorry if the top is not closely PHP related. But I need to accomplish it
using PHP.
I can query the attribute 'memberOf' of a user from the active directory
server with no problem. The challenge I'm facing now is how to obtain all
the groups a user is member of. In many cases, a user can
# [EMAIL PROTECTED] / 2007-01-25 14:34:51 -0500:
function bits($num) {
$bit_array = str_split(strrev(decbin(intval($num;
$val_array = array();
foreach ($bit_array as $pow = $bit) {
if ($val = $bit * pow(2,$pow))
$val_array[] =
Jon Anderson wrote:
function bits($num) {
$bit_array = str_split(strrev(decbin(intval($num;
$val_array = array();
foreach ($bit_array as $pow = $bit) {
if ($val = $bit * pow(2,$pow))
$val_array[] = $val;
}
On Thu, January 25, 2007 3:07 pm, Bing Du wrote:
Sorry if the top is not closely PHP related. But I need to accomplish
it
using PHP.
I can query the attribute 'memberOf' of a user from the active
directory
server with no problem. The challenge I'm facing now is how to obtain
all
the
At 1/25/2007 11:16 AM, blackwater dev wrote:
Is there a php function I can call to pass in a number and get the values
returned?
For example, pass in 7 and get 1,2,4 ?
Here's a slightly more off-the-wall contribution:
function bin2array($iDecimal)
{
On Thu, January 25, 2007 1:34 pm, Jon Anderson wrote:
function bits($num) {
$bit_array = str_split(strrev(decbin(intval($num;
$val_array = array();
foreach ($bit_array as $pow = $bit) {
if ($val = $bit * pow(2,$pow))
On Thu, January 25, 2007 9:53 am, Jim Lucas wrote:
http://www.cmsws.com/examples/php/preg_match/example01.php
The \t inside of '' has no special meaning.
So you don't have a TAB character in there.
You need to get \t to mean TAB
Once you do that, you should then escape the $ with \$ instead
On Thu, January 25, 2007 12:41 am, M5 wrote:
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
On Thu, January 25, 2007 12:06 am, [EMAIL PROTECTED] wrote:
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
Re-read the docs more carefully.
The second arg is optional, and it returns the PRIOR state of the
interlaced-ness (or progressive-ness for a JPEG).
Standard computer-science function trick to return prior state when
altering state, and to simply return state if the second arg is not
passed in.
On Thu, January 25, 2007 3:06 am, Sancar Saran wrote:
On Wednesday 24 January 2007 15: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
On Wed, January 24, 2007 8:07 pm, Robert Cummings wrote:
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
I *have* tried, Richard. It is not returning the state of the file.
Files that Irfanview recognizes are prograssive, your example code
does not.
Looking at C code in gd-2.0.33/gd_jpeg.c downloaded from
http://www.boutell.com/gd/ there is a comment:
/* REMOVED by TBB 2/12/01. This field of the
On 25-Jan-07, at 4:46 PM, Richard Lynch wrote:
On Thu, January 25, 2007 12:41 am, M5 wrote:
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
Frank Arensmeier wrote:
Did you take a look at the error numbers / messages returned by
fsockopen? What do they say?
Actually, I only get warnings, not errors, but here's what they say:
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or
service not known in
Try changing that url to www.youtube.com:80/v/JqO8ZevPJNk
On 1/25/07, Robert Porter [EMAIL PROTECTED] wrote:
Frank Arensmeier wrote:
Did you take a look at the error numbers / messages returned by
fsockopen? What do they say?
Actually, I only get warnings, not errors, but here's what they
42 matches
Mail list logo