php-general Digest 19 Oct 2009 07:45:16 - Issue 6398
Topics (messages 299035 through 299036):
Re: ip-to-country
299035 by: George Langley
parse_str() expects parameter 1 to be string, array given
299036 by: Julian Muscat Doublesin
Administrivia:
To subscribe to the
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
opensourc...@gmail.com 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*:
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
You might find this useful:
http://sites.google.com/site/interrupt0x13h/code/ip2c
On Sun, Oct 18, 2009 at 4:03 PM, SED s...@sed.is 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
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
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
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
I am using the following code:
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
Mert Oztekin mozte...@anadolusigorta.com.tr wrote in message
news:e2c046087e10d943811a0bd0a4e8316d1bd2e81...@ankara.anadolusigorta.pvt...
What about browsers encoding? And also, does your html
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
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
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
This doesn't not seem to be having an affect as the French characters are
still written scrambled.
Mert Oztekin mozte...@anadolusigorta.com.tr wrote in message
news:e2c046087e10d943811a0bd0a4e8316d1bd2e81...@ankara.anadolusigorta.pvt...
You may use UTF-8 both in your code and database. It is
Don wrote:
I am using the following code:
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
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:
- Original Message -
From: Phpster phps...@gmail.com
To: Don d...@program-it.ca
Cc: php-general@lists.php.net
Sent: Monday, October 19, 2009 9:33 AM
Subject: Re: [PHP] French characters
On Oct 19, 2009, at 9:29 AM, Don d...@program-it.ca wrote:
This doesn't not seem to be having
On Oct 19, 2009, at 9:29 AM, Don d...@program-it.ca wrote:
This doesn't not seem to be having an affect as the French
characters are
still written scrambled.
Mert Oztekin mozte...@anadolusigorta.com.tr wrote in message
news:E2C046087E10D943811A0BD0A4E8316D1BD2E81C11@
Phpster phps...@gmail.com wrote in message
news:587e29a7-9904-45f2-beb3-b818ed0ca...@gmail.com...
On Oct 19, 2009, at 9:29 AM, Don d...@program-it.ca wrote:
This doesn't not seem to be having an affect as the French characters are
still written scrambled.
Mert Oztekin
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
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
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
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
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
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
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...
?php
function sendEmail(
$to,
$from,
$subject,
$body,
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:
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 ash...@pcraft.com 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
On Mon, Oct 19, 2009 at 1:35 PM, Ashley M. Kirchner ash...@pcraft.com 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 -
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
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
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
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 |
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
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
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 php@emax.dk:
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
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
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 philthath...@gmail.com
To: PHP General list php-general@lists.php.net
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
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
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
Dotan Cohen wrote:
2009/10/19 Kim Madsen php@emax.dk:
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
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, no
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?
At this
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.
53 matches
Mail list logo