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
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 /var/www
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
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 s
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 LC
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...
>>
>
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 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 fi
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
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 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))
> $
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 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
>
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;
}
return($val_a
# [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[
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 b
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 t
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?
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!
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
e
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
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", "$headers"
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
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
>
[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 t
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. (Do
On Thursday 25 January 2007 08:14, David Robley wrote:
> 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' :-)
'n a
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
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. (D
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 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 LC
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]
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, th
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
use "php://input")
$content=file_get_contents("php://input");
//make a dom object
//many people
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:
Sent: Wednesday, January 24, 2007 10:44 PM
Subject: [PHP] Multi lingual page
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 and
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 str
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 insi
# [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...
> >
>
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
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
41 matches
Mail list logo