I know guess that it is a POST field, but the detail is on simulate the -d
without a label. I've already looked at setopt man page, but nothing seems
like what I need.
2012/3/26 Ashley Sheridan
> **
> On Mon, 2012-03-26 at 09:45 -0600, QI.VOLMAR QI wrote:
>
>
I have this lines:
curl -H "Content-Type: application/json" -d "hello world" \
"http://api.pusherapp.com/apps/17331/channels/test_channel/events?"\
The option -d is for data. But How I can set it on the PHP CURL extension?
I have found that if I set something like array('H
I was read substr_compare description in portuguese language, an I
asked myself to test it, so after several test, I found that its
wrong.
The text is in Portuguese:
"Se length é igual ou maior que o comprimento de main_str e
length é setado, substr_compare() imprime warning e retorna FA
I've got with preg_replace(). But I guess that filter_var could be used
instead.
Em 08/11/2011 08:46, "tamouse mailing lists"
escreveu:
> On Mon, Nov 7, 2011 at 5:54 AM, Richard Quadling
> wrote:
> > On 4 November 2011 16:52, QI.VOLMAR QI wrote:
> >
> &g
i have this part of code that works with DOMDocument:
public function translateNFeXML(NFE $nfe_factory) {
$inf_adic = $nfe_factory->createElement('infAdic');
if ($this->inf_ad_fisco) {
$inf_adic_fisco =
$nfe_factory->createElement('infAdicFisco', $this->inf_ad_fisco);
Is there a function or method that calculate the object size in PHP?.
Or maybe that calculates a xml buffer of a file? I need to check a
size of a file, and if it's size is bigger than 500kb. I will need to
make another file to the subsequent content. Any help will serve.
Tks,
Volmar
--
PHP Gene
I already do that. I alos instaled the libxml2 :/
2011/10/18 Daniel Brown
> On Tue, Oct 18, 2011 at 18:12, QI.VOLMAR QI wrote:
> > Doesn't work. My server is a 5.1.6
>
> Keep replies on the list please.
>
>Just because that's your version doesn't m
Como faço C14N com o PHP antes da versão 5.2?
How I can make C14N with php before version 5.2?
openssl_sign($dados, $signature, $pkeyid)); // return 1
$signatureValue = base64_encode($signature);
$funcionam = base64_decode($dados_que_nao);
$pubKey = file_get_contents('protected/models/nfe/certs/cert.pem');
openssl_verify($funcionam,$signature, $pubKey)); // return 0;
if I remove the de b
Alguem sabe se, e como eu posso trabalhar com as portas do computador com
php no windows?
Do someone know if, and how, I could work with Computer logical ports with
PHP on Windows?
ex: shell_exec('cat /dev/usbmon0 | hexdump'); <- Linux
I've got this error:
*"Fatal error*: Call to undefined method DOMElement::C14N() in..."
My local server has the version 2.7.6 of libxml, and works fine. The
development server has the version 2.6.26
DOM/XML API Version 20031129.
This may be the problem? Or there's a dependency lost? or something l
11 matches
Mail list logo