In this case "media" is a namespace, so is "live".
The XML should have some lines above the ones you posted defining those
namespaces.
Try something like this:
$simplexml = simplexml_load_string(...your entire xml...);
$url0 = $simplexml->xpath( '//media:content' );
$url = $url0[0]->at
$reply = new DOMDocument("1.0","utf-8");
$reply->formatOutput = true;
$headers = $reply->createElement("headers");
$body = $reply->createElement("body");
$subject = $reply->createElement("Subject","Re: [PHP] Tripple The Fun");
$to = $reply->createElement("To","abdulazeez alugo
");
$cc
hi Johannes,
Fixed, thanks for the head up!
Cheers,
On Tue, Mar 24, 2009 at 11:02 PM, Johannes Mueller wrote:
> Lukas Kahwe Smith wrote:
>
>> Windows binaries are available here:
>> http://windows.php.net/qa/
>
> The .ini files in the 5.3RC1-VC6-nts-package are empty. Can someone fix
> this?
>
HI all,
How would a get this video from XML.
/***Example i want to View***/
http://video-cdn.abcnews.com/090324_gma_leamy.flv";
lang="en" width="424" height="318" type="video/x-flv" />
/**/
/**XML CODE
Lukas Kahwe Smith wrote:
Windows binaries are available here:
http://windows.php.net/qa/
The .ini files in the 5.3RC1-VC6-nts-package are empty. Can someone fix
this?
thanks for your hard work
Johannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
anyways I always figured Rocks[tm] was the first OO language, how much
more 'objecty' can you get than a rock :)
Maybe so, but we lacked the concept of an abstract rock -- it was
hard to down a Pterodactyl with one.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com htt
I'm trying to use the openssl extension for PHP. Having some problems
and trying to figure out if the problem is in openssl or PHP's wrapper
around it.
The problem happens when I call openssl_pkey_get_private(). The function
returns failure and openssl_error_string() returns
"error:0E06D06C:con
Hello!
Johannes has packaged PHP 5.3.0RC1, which you can find here:
http://downloads.php.net/johannes/
Windows binaries are available here:
http://windows.php.net/qa/
This release candidate makes us feature complete and we hope to only
require minimal changes ahead of the next release. Many,
tedd schreef:
> At 2:02 PM +0100 3/24/09, abdulazeez alugo wrote:
>> Hello guys,
>>
>> The list seems boring to me today so I've come up with an idea (you
>> can call it a challenge). What if we all wrote to this thread in PHP
>> codes. on't get the gist yet? well all it means is that, on this
>> t
What about MySQL max_allowed_packet setting? is it bigger than produced string?
> To: php-general@lists.php.net
> Date: Tue, 24 Mar 2009 15:23:20 +0100
> From: t...@ezl-data.dk
> Subject: Re: [PHP] Problems with implode
>
> Per Jessen skrev:
> > Andrea Giammarchi wrote:
> >
> >> Dunno why you g
Tom Worster skrev:
On 3/24/09 9:15 AM, "Per Jessen" wrote:
TG wrote:
I don't think that would be a problem, the size of the array. I've
used implode at least once or twice on fairly large arrays. More
likely is something weird with your data.
Yeah, like the odd backspace or carriage retur
Have fun =]
Per Jessen skrev:
Andrea Giammarchi wrote:
Dunno why you guys started talk about utf-8 problems, he has a list of
ids which should contain only unsigned integers, otherwise I do not
get how that query could work with an implode(',', $whatever)
Very good point - maybe the OP has not yet teste
> Date: Tue, 24 Mar 2009 14:01:23 +
> From: nick.coo...@jdi-solutions.co.uk
> To: li...@bithub.net
> CC: php-general@lists.php.net
> Subject: Re: [PHP] Tripple The Fun
>
> 'defghi/ghijkl/qurstu/efghij/opqurs/stuvwx/defghi/tuvwxy/abcd/opqurs/abcde/stuvwx';$e
> = explode('/',$var1);for($
2009/3/24 Marc
> $RCDCE0CB7B12D0116B987F9A96911A37B = array('2','3','w','
> d','q','o','e','i','3','p','p','2','e','s','a','n','u','y','d','q','z','s');
> for ($REDCEC4A793439846D7944E29AD2898E9=1;
> $REDCEC4A793439846D7944E29AD2898E9 % 3)){echo
> $RCDCE0CB7B12D0116B987F9A96911A37B[$REDCEC4A79
And yeah, I really got too much spare time
>echo 'won\'t it just end up as lots of echos and prints?';
>
>?>
>
>2009/3/24 abdulazeez alugo
>
>>Hello guys,
>>
>> The list seems boring to me today so I've come up with an idea (you can
>> call it a challenge). What if we all wrote to this thread
At 2:02 PM +0100 3/24/09, abdulazeez alugo wrote:
Hello guys,
The list seems boring to me today so I've come up with an idea (you
can call it a challenge). What if we all wrote to this thread in PHP
codes. on't get the gist yet? well all it means is that, on this
thread, all that we should se
Andrea Giammarchi wrote:
> Dunno why you guys started talk about utf-8 problems, he has a list of
> ids which should contain only unsigned integers, otherwise I do not
> get how that query could work with an implode(',', $whatever)
Very good point - maybe the OP has not yet tested his code that
It won't take long until someone digs out the old joke... touch unzip,
strip ...
I can't read it anymore!
2009/3/24 Nick Cooper :
> echo 'won\'t it just end up as lots of echos and prints?';
>
> ?>
>
> 2009/3/24 abdulazeez alugo
>
>>
>> Hello guys,
>>
>> The list seems boring to me today so I've
2009/3/24 abdulazeez alugo
>
> Hello guys,
>
> The list seems boring to me today so I've come up with an idea (you can
> call it a challenge). What if we all wrote to this thread in PHP codes. on't
> get the gist yet? well all it means is that, on this thread, all that we
> should see must be w
On 3/24/09 9:15 AM, "Per Jessen" wrote:
> TG wrote:
>
>> I don't think that would be a problem, the size of the array. I've
>> used implode at least once or twice on fairly large arrays. More
>> likely is something weird with your data.
>
> Yeah, like the odd backspace or carriage return perh
2009/3/24 Toke Herkild :
> Hi All,
>
> I've an array() with approx 1200 items (list of id-mappings) that part works
> fine.
>
> Now I want to add this list to a query:
> $where = "id in (".$idList.")";
>
> To accomplish that i do an implode:
> $idList = implode(',', $TidList);
Are all of the Ids
Dunno why you guys started talk about utf-8 problems, he has a list of ids
which should contain only unsigned integers, otherwise I do not get how that
query could work with an implode(',', $whatever) rather than 'id in
("'.implode('","', array_map('mysql_real_escape_string', $whatever)).'")' .
On 3/24/09 8:58 AM, "Per Jessen" wrote:
> I can't reproduce that behaviour - I tried with ascii ('klop') and utf8
> ('Köhler') text.
neither can i. if the mail systems don't screw it up, here's my test
strings:
$strs = array(
'Iñtërnâtiônàlizætiøn',
'החמאס: רוצים להשלים את
On Tue, Mar 24, 2009 at 9:15 AM, Per Jessen wrote:
> TG wrote:
>
>> I don't think that would be a problem, the size of the array. I've
>> used implode at least once or twice on fairly large arrays. More
>> likely is something weird with your data.
>
> Yeah, like the odd backspace or carriage ret
TG wrote:
> I don't think that would be a problem, the size of the array. I've
> used implode at least once or twice on fairly large arrays. More
> likely is something weird with your data.
Yeah, like the odd backspace or carriage return perhaps.
/Per
--
Per Jessen, Zürich (3.0°C)
--
PH
I don't think that would be a problem, the size of the array. I've used
implode at least once or twice on fairly large arrays. More likely is
something weird with your data. I'd do a print_r or var_dump to check
the data and make sure that's not the issue.
Not saying implode isn't having a
Hello guys,
The list seems boring to me today so I've come up with an idea (you can call it
a challenge). What if we all wrote to this thread in PHP codes. on't get the
gist yet? well all it means is that, on this thread, all that we should see
must be written in PHP codes and it must be meani
Toke Herkild wrote:
> Hi All,
>
> I've an array() with approx 1200 items (list of id-mappings) that part
> works fine.
>
> Now I want to add this list to a query:
> $where = "id in (".$idList.")";
>
> To accomplish that i do an implode:
> $idList = implode(',', $TidList);
>
> My problem is tha
On 3/24/09 7:14 AM, "Toke Herkild" wrote:
> I've an array() with approx 1200 items (list of id-mappings) that part
> works fine.
>
> Now I want to add this list to a query:
> $where = "id in (".$idList.")";
>
> To accomplish that i do an implode:
> $idList = implode(',', $TidList);
>
> My prob
On 3/23/09 2:02 PM, "Tom Worster" wrote:
> i havea general replacement or workaround for every php function in my code
> that i know to be utf-8-unsafe. except one: strtr().
strtr() with three parameters is certainly unsafe. but my tests are showing
that it may be ok with two parameters if the s
Hi All,
I've an array() with approx 1200 items (list of id-mappings) that part
works fine.
Now I want to add this list to a query:
$where = "id in (".$idList.")";
To accomplish that i do an implode:
$idList = implode(',', $TidList);
My problem is that some of the values gets concenated, othe
Daniel Brown schreef:
> On Mon, Mar 23, 2009 at 05:57, Nabil Khamassi
> wrote:
>> I am especially interested in "Integrated Code Coverage of C and PHP Code"
>> because I have a solid knowledge in C language (and a full-time project in
>> C is planned at the end of this semester in ENSIMAG) but als
Hello Dipen,
I recently found Codenizer (http://www.softwarehood.com/Codenizer/) to do
similar (only code syntax & semantics analysis - no formatting) thing for
PHP. However I couldn't find out how to use it with eclipse, so I switched
to Netbeans for now.
Regards
On Mon, 23 Mar 2009 11:0
34 matches
Mail list logo