Hello* *Everyone,
I am geetting the error below. Can you please guide me on a fix. It is
working on the live site but not on local server. Has anyone ever experinced
this error before.
*
Warning*: parse_str() expects parameter 1 to be string, array given**
On Mon, Oct 19, 2009 at 12:45 AM, Julian Muscat Doublesin
wrote:
> Hello* *Everyone,
>
> I am geetting the error below. Can you please guide me on a fix. It is
> working on the live site but not on local server. Has anyone ever experinced
> this error before.
> *
> Warning*: parse_str() expects pa
SED wrote:
How can I access an index for IP to a country (or a more detailed location)?
I have not yet found a function for that in PHP nor a free to use website
that offers a remote search.
http://www.hostip.info/ is free, provides a database to download and
even allows you to query the datab
You might find this useful:
http://sites.google.com/site/interrupt0x13h/code/ip2c
On Sun, Oct 18, 2009 at 4:03 PM, SED wrote:
> Hi,
>
> How can I access an index for IP to a country (or a more detailed location)?
> I have not yet found a function for that in PHP nor a free to use website
> that
Use var_dump() and see exactly what your variable is.
You can be certain it is really an array; the parser is good about such
warnings.
Fix the source of the variable given to parse_str.
Julian Muscat Doublesin wrote:
Hello* *Everyone,
I am geetting the error below. Can you please guide me o
Hi,
I use PHP to read data form a mysql 5 table. allow the user to edit the data
and then update the table. I am having trouble with French characters.
Before the update: Pas de description détaillée
After the update:Pas de description détaillée
When I read from the table I wrap the dat
What about browsers encoding? And also, does your html code has a header about
character-encoding in french
-Original Message-
From: Don [mailto:d...@program-it.ca]
Sent: Monday, October 19, 2009 3:58 PM
To: php-general@lists.php.net
Subject: [PHP] French characters
Hi,
I use PHP to rea
I am using the following code:
"Mert Oztekin" wrote in message
news:e2c046087e10d943811a0bd0a4e8316d1bd2e81...@ankara.anadolusigorta.pvt...
What about browsers encoding? And also, does your html code has a header
about character-encoding in french
-Original Message-
From: Don [mailto
You may use UTF-8 both in your code and database. It is used more commonly.
(almost seems to become a encoding standart)
-Original Message-
From: Don [mailto:d...@program-it.ca]
Sent: Monday, October 19, 2009 4:08 PM
To: php-general@lists.php.net
Subject: Re: [PHP] French characters
I am
Hi,
I need to build the form (donation) people will use to submit their
basic data (name, email, city/country) to mysql and start recurring
payment using PayPal. The amount has to be selected from drop-down menu
or radio buttons or any other solution.
Does anybody already built up something l
Thanks. For the database, there are many UTF8 collations. Is this the
recommended one?
UTF8_unicode-ci?
- Original Message -
From: Mert Oztekin
To: 'Don' ; php-general@lists.php.net
Sent: Monday, October 19, 2009 9:13 AM
Subject: RE: [PHP] French characters
You may use U
This doesn't not seem to be having an affect as the French characters are
still written scrambled.
"Mert Oztekin" wrote in message
news:e2c046087e10d943811a0bd0a4e8316d1bd2e81...@ankara.anadolusigorta.pvt...
You may use UTF-8 both in your code and database. It is used more commonly.
(almost se
Don wrote:
I am using the following code:
Ther emaybe something else setting the charset though. I find the
easiest way to check the actual charset that the browser thinks you are
using is to open up firefox and go to:
Tools -> Page Info
There you will see the charset type that the br
- Original Message -
From: "Phpster"
To: "Don"
Cc:
Sent: Monday, October 19, 2009 9:33 AM
Subject: Re: [PHP] French characters
On Oct 19, 2009, at 9:29 AM, "Don" wrote:
This doesn't not seem to be having an affect as the French characters are
still written scrambled.
"Mert O
On Oct 19, 2009, at 9:29 AM, "Don" wrote:
This doesn't not seem to be having an affect as the French
characters are
still written scrambled.
"Mert Oztekin" wrote in message
news:E2C046087E10D943811A0BD0A4E8316D1BD2E81C11@
ankara.anadolusigorta.pvt...
You may use UTF-8 both in your code a
"Phpster" wrote in message
news:587e29a7-9904-45f2-beb3-b818ed0ca...@gmail.com...
On Oct 19, 2009, at 9:29 AM, "Don" wrote:
> This doesn't not seem to be having an affect as the French characters are
> still written scrambled.
>
> "Mert Oztekin" wrote in message
> news:E2C046087E10D943811A
Dotan Cohen wrote on 2009-10-18 21:21:
I thought that one could not test if a database connection is
established or not, this is the most relevant thing that I found while
googling that:
http://bugs.php.net/bug.php?id=29645
from http://www.php.net/manual/en/function.mysql-connect.php
$link =
Typing 'pear segmentation fault' in Google produces tons of
responses so I know I'm not the only one with this issue, but I'll be
damned if I can figure out what the problem is and how to fix it. I
rolled my own PHP 5.3.0 from source. Compilation went fine, no errors.
Installation went
Typing 'pear segmentation fault' in Google produces tons of
responses so I know I'm not the only one with this issue, but I'll be
damned if I can figure out what the problem is and how to fix it. I
rolled my own PHP 5.3.0 from source. Compilation went fine, no
errors. Installation we
Don wrote:
I use PHP to read data form a mysql 5 table. allow the user to edit the data
and then update the table. I am having trouble with French characters.
Before the update: Pas de description d�taill�e
After the update:Pas de description détaillée
It is an encoding problem.
My Thund
Hello everyone,
I post a message here because i didn't find any solution yet.
I just finished video streaming service on my website. I use xmoov script
(http://xmoov.com/xmoov-php/) to do that. It works like a charm, but I find an
issue. When the video is buffering into the flash player, all oth
Thodoris wrote:
Was, by any chance, PHP installed as binary before you install it from
source?
If this is the case try uninstalling the binary and then configure and
compile the source again running 'make clean' before.
PHP was not installed at all on this machine. I grabbed the source
from
Hey
Talawa wrote on 2009-10-19 18:29:
Hello everyone,
I post a message here because i didn't find any solution yet.
I just finished video streaming service on my website. I use xmoov script
(http://xmoov.com/xmoov-php/) to do that. It works like a charm, but I find an
issue. When the video is
Thodoris wrote:
Was, by any chance, PHP installed as binary before you install it
from source?
If this is the case try uninstalling the binary and then configure
and compile the source again running 'make clean' before.
PHP was not installed at all on this machine. I grabbed the source
fr
Here is a problem that I have had for years now. I have been trying to come up
with the perfect solution for this problem. But, I have come down to two
different methods for solving it.
Here is the problem...
date('c'),
'Message-ID' => md5($to.$subject),
);
$headers += $defaults;
END
Thodoris wrote:
Is there a good reason for needing this pear package?
http://pear.php.net/package/DB
It is old and it has been replaced with MDB2 some time ago. Why don't
you use it instead of trying to install DB.
The issue here isn't what package is being installed. The issue is
that PE
Thodoris wrote:
Is there a good reason for needing this pear package?
http://pear.php.net/package/DB
It is old and it has been replaced with MDB2 some time ago. Why don't
you use it instead of trying to install DB.
The issue here isn't what package is being installed. The issue is
that
Thodoris wrote:
Obviously something went wrong while installing PHP and you will have
to find this because this probably the reason pear segfaults.
Did you run make test before installing? (makes sure everything went
well)
You know you don't need pear binary to use a pear's package right?
(
On Mon, Oct 19, 2009 at 1:28 PM, Ashley M. Kirchner wrote:
> Thodoris wrote:
>>
>> Obviously something went wrong while installing PHP and you will have to
>> find this because this probably the reason pear segfaults.
>>
>> Did you run make test before installing? (makes sure everything went well)
On Mon, Oct 19, 2009 at 1:35 PM, Ashley M. Kirchner wrote:
> Eddie Drapkin wrote:
>>
>> Have you tried running "pear upgrade pear"?
>
> Yep, but I'll do it again for you to see:
>
>
> pear -vvv upgrade pear
>
> Warning: file_exists(): Unable to find the wrapper "channel" - d
Eddie Drapkin wrote:
Try rebuilding PEAR manually.
No dice. Same segfault. Bunch of deprecated warnings too ...
[ ... snip ... ]
Installing selected packages..
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Command/Inst
O/H Ashley M. Kirchner έγραψε:
Eddie Drapkin wrote:
Try rebuilding PEAR manually.
No dice. Same segfault. Bunch of deprecated warnings too ...
[ ... snip ... ]
Installing selected packages..
PHP Deprecated: Assigning the return value of new by reference is
deprecated
Eddie Drapkin wrote:
Have you tried running "pear upgrade pear"?
Yep, but I'll do it again for you to see:
pear -vvv upgrade pear
Warning: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Pac
Kim Madsen a écrit :
Hey
Talawa wrote on 2009-10-19 18:29:
Hello everyone,
I post a message here because i didn't find any solution yet.
I just finished video streaming service on my website. I use xmoov
script (http://xmoov.com/xmoov-php/) to do that. It works like a
charm, but I find an is
Ok, we have activity here. Before deleting everything and
re-installing, I decided to just rename my php.ini file. Low and
behold, pear works now. So, now the next task is figuring out where and
why does php.ini cause pear to bomb.
--
H | It's not a bug - it's an undocumented feature.
Thodoris wrote:
Manually is the best solution as far as I can tell:
http://pear.php.net/manual/en/installation.getting.php
That's exactly what I did. I grabbed http://pear.php.net/go-pear
and saved it, then ran php go-pear.php. The result is what you saw in
my previous e-mail.
--
H | It
Well, it boiled down to zlib.so causing the segfault. As soon as I
removed that module, everything worked. Recompiling just the zlib.so
module yielded the same result: pear segfaults.
So now the question is: is it zlib's fault, or is it pear?
At this point I've accomplished what I
Hi all.
I know this question has been asked a thousand times on the list, but
my searches in the archives are not being nice to me. So... please
don't kick me.
Currently, we use DOMPDF to generate PDFs from HTML. However, it's no
longer maintained and it has a few bugs that we just can no
Phillip,
I use ezpdf (http://www.ros.co.nz/pdf/). I've been using it for
years and have found it very capable of making any PDF I want.
Take care,
Floyd
On Oct 19, 2009, at 4:47 PM, Philip Thompson wrote:
Hi all.
I know this question has been asked a thousand times on the list,
but my
2009/10/19 Kim Madsen :
> Dotan Cohen wrote on 2009-10-18 21:21:
>
>> I thought that one could not test if a database connection is
>> established or not, this is the most relevant thing that I found while
>> googling that:
>> http://bugs.php.net/bug.php?id=29645
>
> from http://www.php.net/manual/
On Oct 19, 2009, at 3:52 PM, Floyd Resler wrote:
Phillip,
I use ezpdf (http://www.ros.co.nz/pdf/). I've been using it for
years and have found it very capable of making any PDF I want.
Take care,
Floyd
This one seems fairly neat. However, it appears as though the author
no longer keeps
Nope. I've never had any troubles with it. I've been able to produce
all kinds of PDFs including loan agreements, inventory pick lists with
barcodes, and various others. I find it incredibly powerful and easy
to use.
Take care,
Floyd
On Oct 19, 2009, at 5:17 PM, Philip Thompson wrote:
Hi Philip
Philip Thompson wrote on 2009-10-19 22:47:
> Hi all.
>
> I know this question has been asked a thousand times on the list, but
my searches in the archives are not being nice to me. So... please don't
kick me.
Why would anyone do that? We're PHPeople and PHfrinds (ho ho)
> Currently
- Original Message -
From: "Philip Thompson"
To: "PHP General list"
Sent: Monday, October 19, 2009 1:47 PM
Subject: [PHP] Please don't kick me!
Hi all.
I know this question has been asked a thousand times on the list, but my
searches in the archives are not being nice to me. So...
Talawa a écrit :
Kim Madsen a écrit :
Hey
Talawa wrote on 2009-10-19 18:29:
Hello everyone,
I post a message here because i didn't find any solution yet.
I just finished video streaming service on my website. I use xmoov
script (http://xmoov.com/xmoov-php/) to do that. It works like a
charm
This has been solved today. Talawa had a similar problem and came up
with a solution to his problem, namely using session_write_close()
before creating the headers. That stunt also solved my problem :-)
--
Kind regards
Kim Emax
Kim Madsen wrote on 2009-10-03 13:30:
Hi PHP people
I have a rea
Dotan Cohen wrote:
> 2009/10/19 Kim Madsen :
>> Dotan Cohen wrote on 2009-10-18 21:21:
>>
>>> I thought that one could not test if a database connection is
>>> established or not, this is the most relevant thing that I found while
>>> googling that:
>>> http://bugs.php.net/bug.php?id=29645
>> from
If I am using the mysqli extension and prepared statements, after I
execute bind_param, is there a away to print the actual query that gets
sent to the server?
--
Chris W
KE5GIX
"Protect your digital freedom and privacy, eliminate DRM,
learn more at http://www.defectivebydesign.org/what_is_dr
Hi,
I'm writing a program to record the system calls my web application places
by interposing the libc libraries. However, I noticed that none of the
system calls generated by the MySQL module in PHP is being recorded. I did
ltrace and it seems like the module is statically linked, but doing "file
Ashley M. Kirchner wrote:
>
>Typing 'pear segmentation fault' in Google produces tons of responses
> so I know I'm not the only one with this issue, but I'll be damned if I
> can figure out what the problem is and how to fix it. I rolled my own
> PHP 5.3.0 from source. Compilation went fine,
Ashley M. Kirchner wrote:
>
>Well, it boiled down to zlib.so causing the segfault. As soon as I
> removed that module, everything worked. Recompiling just the zlib.so
> module yielded the same result: pear segfaults.
>
>So now the question is: is it zlib's fault, or is it pear?
>
>
Hi,
The error I posted about the other day, "PHP has encountered an
Access Violation at .", is recurring on an intermittent basis. I find that
once it starts occurring, it continues happening for about an entire day,
and then it mysteriously stops occurring again for a day or two.
52 matches
Mail list logo