|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
php-general Digest 14 Jul 2004 15:47:07 -0000 Issue 2876
php-general-digest-help
lists.php.net
Date: Wed Jul 14 2004 - 10:47:07 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php-general Digest 14 Jul 2004 15:47:07 -0000 Issue 2876
Topics (messages 190435 through 190493):
DAYLIGHT SAVINGS TIME OR NOT
190435 by: Chirag Shukla
190444 by: Curt Zirzow
Re: php 4.3.7/5.0
190436 by: Josh Close
190440 by: Josh Close
A question not directly related to PHP
190437 by: Feroze Arif
190445 by: Ed Lazor
Re: NO SUCH ADDRESS
190438 by: Jason Wong
Re: Opinion: PHP Sessions or Cookies
190439 by: Chris Shiflett
190441 by: Jason Wong
190450 by: Dennis Seavers
190453 by: Torsten Roehr
190478 by: Justin Patrin
190489 by: Harlequin
get value of array without key
190442 by: Prasit Narkdee
190443 by: Jason Wong
190448 by: Prasit Narkdee
PHPEdit almost as good as s*x (with a women in bikini)
190446 by: EE
190449 by: Aidan Lister
190457 by: PHP E-Mail List
Compile Php5: --with-mysql and --with-mysqli
190447 by: Jacob Friis Larsen
190460 by: Red Wingate
190465 by: Jacob Friis Larsen
190487 by: Curt Zirzow
Re: encryption needed?
190451 by: Dennis Seavers
Encrypted document
190452 by: Harald.radi
Re: #29028 [Opn->Bgs]: php_exif.dll reported as not found
190454 by: Tomasen
[PHP5]problem in extending mysqli class
190455 by: Tomasen
Cannot build ext/mysql together with ext/mysqli and apache2
190456 by: Jacob Friis Larsen
190462 by: Marek Kilimajer
190471 by: Jacob Friis Larsen
190491 by: Curt Zirzow
Simple POP3 mailbox checker script
190458 by: I.A. Gray
190459 by: Jason Wong
190463 by: I.A. Gray
190468 by: Jason Wong
190472 by: Torsten Roehr
190473 by: I.A. Gray
190474 by: Aaron Wormus
190477 by: Torsten Roehr
Re: Grab a range of rows from a mysql result
190461 by: Marek Kilimajer
2 version PHP on one web server
190464 by: Roman Duriancik
190466 by: romain bourdon
PHP JAVA Error on linux
190467 by: Alawi albaity
190485 by: raditha dissanayake
$_POST v4.3 to v5.0
190469 by: Michael Purdy
190475 by: Geethanandh Kandasamy
190480 by: Justin Patrin
190482 by: Richard Davey
Vienna anyone
190470 by: Alex Hogan
how to enable utf-8 in php?
190476 by: Marten Lehmann
190484 by: Michal Migurski
get_browser and $_SERVER info from an IFRAME
190479 by: I.A. Gray
190481 by: Richard Davey
190486 by: raditha dissanayake
messag length error
190483 by: André Cupini
MCAL Function
190488 by: Harlequin
Re: get_browser and $_SERVER info from an IFRAME[Scanned]
190490 by: Michael Egan
190493 by: Michael Egan
Re: Session Variables ~ Best Practices
190492 by: Harlequin
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
This function can be used to know whether it is Daylight Savings time or
not for the given date. It may not be the most optimized program, but
may be helpful.
If there is a modified code, please let me know.
Thank you.
Sincerely,
Chirag Shukla.
<?php
// here is the date. We wont worry about the time.
$processdate = "07/04/2004 14:45";
// calling the function.
// 1 means the date is in a daylight savings time
// 0 means the date is not in a daylight savings time
echo daylight($processdate);
// now the function
function daylight($mydate)
{
// separating the date and time
$datetime = explode(" ",$mydate);
// exploding the components of date
$dateexplode = explode("/",$datetime[0]);
// if the date is between Jan-Mar, NO DAYLIGHT
// if the date is between Nov-Dec, NO DAYLIGHT
if ($dateexplode[0]<4 or $dateexplode[0]>10)
{
return 0;
}
// if the date is not in the above zone, lets see
// if the date is between May-Sep, DAYLIGHT
elseif ($dateexplode[0]>4 and $dateexplode[0]<10)
{
return 1;
}
else
{
// we are going to pull out what date is a sunday
// then we compare our date's day-of-month with the day-that-is-sunday
$interestday = 0;
// lets see what happens in april - first sunday of the month
if ($dateexplode[0]==4)
{
// looping the first seven days to see what day is a sunday
for ($i=1; $i<=7; $i++)
{
$myday = date("w",mktime(0,0,0,$dateexplode[0],$i,$dateexplode[2]));
if ($myday==0)
$interestday = $i;
}
// now that we got what day is a sunday, lets see
// if our date's day-of-month is greater than this or not
// if it is greater, then DAYLIGHT
if ($dateexplode[1]>=$interestday)
return 1;
else
return 0;
}
// lets see what happens in october - last sunday of the month
elseif ($dateexplode[0]==10)
{
// looping the first seven days to see what day is a sunday
for ($i=25; $i<=31; $i++)
{
$myday = date("w",mktime(0,0,0,$dateexplode[0],$i,$dateexplode[2]));
if ($myday==0)
$interestday = $i;
}
// now that we got what day is a sunday, lets see
// if our date's day-of-month is greater than this or not
// if it is less, then DAYLIGHT
if ($dateexplode[1]<=$interestday)
return 1;
else
return 0;
}
}
}
?>
attached mail follows:
* Thus wrote Chirag Shukla:
>
> This function can be used to know whether it is Daylight Savings time or
> not for the given date. It may not be the most optimized program, but
> may be helpful.
>
> If there is a modified code, please let me know.
ok.
>
> <?php
>
> // here is the date. We wont worry about the time.
> $processdate = "07/04/2004 14:45";
What about different formats like 07-04-2004 14:45:00
>
> // calling the function.
> // 1 means the date is in a daylight savings time
> // 0 means the date is not in a daylight savings time
one thing to note, not all zones, even in the US honor the
DST. this is a rather sepecific function.
> echo daylight($processdate);
>
> // now the function
>
> function daylight($mydate)
> {
> // separating the date and time
> $datetime = explode(" ",$mydate);
>
> // exploding the components of date
> $dateexplode = explode("/",$datetime[0]);
Instead of exploding stuff around, make your date argument compatible
with the strtotime() function, it will return a unix timestamp or
-1 if it fails to parse the date.
>
> // if the date is between Jan-Mar, NO DAYLIGHT
> // if the date is between Nov-Dec, NO DAYLIGHT
> if ($dateexplode[0]<4 or $dateexplode[0]>10)
> {
> return 0;
> }
> // if the date is not in the above zone, lets see
> // if the date is between May-Sep, DAYLIGHT
> elseif ($dateexplode[0]>4 and $dateexplode[0]<10)
> {
> return 1;
> }
Since you have a timestamp as I suggested above, you simply need
to pull the month out, and then check the month value:
$month = strftime('%m', $utimestamp);
swtich ($month) {
case '01': case '02': ...
return 0;
case '05': case '06': ...
return 1;
}
> else
> {
> // we are going to pull out what date is a sunday
> // then we compare our date's day-of-month with the
> day-that-is-sunday
>
> $interestday = 0;
>
> // lets see what happens in april - first sunday of the month
> if ($dateexplode[0]==4)
> {
> // looping the first seven days to see what day is a
> sunday
> for ($i=1; $i<=7; $i++)
> {
> $myday =
> date("w",mktime(0,0,0,$dateexplode[0],$i,$dateexplode[2]));
> if ($myday==0)
> $interestday = $i;
> }
>
> // now that we got what day is a sunday, lets see
> // if our date's day-of-month is greater than this
> or not
> // if it is greater, then DAYLIGHT
> if ($dateexplode[1]>=$interestday)
> return 1;
> else
> return 0;
> }
>
> // lets see what happens in october - last sunday of the
> month
> elseif ($dateexplode[0]==10)
> {
> // looping the first seven days to see what day is a
> sunday
> for ($i=25; $i<=31; $i++)
> {
> $myday =
> date("w",mktime(0,0,0,$dateexplode[0],$i,$dateexplode[2]));
> if ($myday==0)
> $interestday = $i;
> }
>
> // now that we got what day is a sunday, lets see
> // if our date's day-of-month is greater than this
> or not
> // if it is less, then DAYLIGHT
> if ($dateexplode[1]<=$interestday)
> return 1;
> else
> return 0;
> }
> }
now instead of doing all that mundane work, we simply have to
find out if the days are outabounds for the paticular months.
// obtain the day of month
$dayofmonth = (int)strftime('%d', $utimestamp);
// and the day of week
$dayofweek = strftime('%u', $utimestamp);
if ($month == '04') {
// If its the first week of 04
if ($dayofmonth <= 7) {
// and we havn't reached sunday, return 0
return ($dayofweek < 7) ? 0: 1;
}
return 1; // otherwise we're passed it.
} elseif ($month == '10') {
// look at the last week october
if ($dayofmonth >= 24) {
// see if we're still in the zone.
return ($dayofweek < 7) ? 1: 0;
}
return 1;
}
// something went wrong.
return -2;
> }
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
attached mail follows:
That sounds about right. It pretty much described the behavior between
the two versions.
Thanks for the info.
On Tue, 13 Jul 2004 18:44:06 -0500, Michael Sims
<michaels
crye-leike.com> wrote:
> Curt Zirzow wrote:
> > * Thus wrote Josh Close:
> >> if($var)
> >>
> >> used to work for
> >>
> >> if($var != 0) or if($var != "0")
> >>
> >> but that doesn't seem to work since I upgrade. So I'm just going to
> >> do
> >>
> >> if((int)$var)
> >
> > I still think this is unnecessary
> >
> > if ("0") { echo '"0"'; }
> > if ("") { echo '""'; }
> > if (0) { echo 0; }
> >
> > As I pointed out earlier, are still all the same; this behaviour
> > hasn't changed.
>
> I agree. As I pointed out in my earlier message in this thread, based on
> the description that the OP gave (and the fact that he's using
> mssql_query()), I think he's getting bitten by the problems introduced by
> the fix for bug #25777:
>
> http://bugs.php.net/bug.php?id=25777
>
> Basically PHP used to trim trailing spaces from data being returned via the
> mssql and sybase extensions, and the fix for the above bug (in both
> extensions) was to stop this trimming. In my case this introduced a new
> problem, because bit fields that contain simply '0' in the database come
> back with trailing spaces. While this:
>
> $ php -r 'if ("0") echo "Yes\n";'
>
> produces no output (because "0" == false) this does:
>
> $ php -r 'if ("0 ") echo "Yes\n";'
>
> because "0 " != false.
>
> I have a hunch that if the OP does a print_r() on their "$var", it will be a
> string that starts with zero and ends with one or more spaces. Casting $var
> to int will restore the original behavior, but this is only because (int) "0
> " === 0 and 0 == false. So basically the cast to int does fix the OP's
> problem but not for the reasons he believes.
>
> Of course, that's a complete guess based off incomplete information. I
> could be way off. :)
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Josh
attached mail follows:
That sounds about right. It pretty much described the behavior between
the two versions.
Thanks for the info.
On Tue, 13 Jul 2004 18:44:06 -0500, Michael Sims
<michaels
crye-leike.com> wrote:
> Curt Zirzow wrote:
> > * Thus wrote Josh Close:
> >> if($var)
> >>
> >> used to work for
> >>
> >> if($var != 0) or if($var != "0")
> >>
> >> but that doesn't seem to work since I upgrade. So I'm just going to
> >> do
> >>
> >> if((int)$var)
> >
> > I still think this is unnecessary
> >
> > if ("0") { echo '"0"'; }
> > if ("") { echo '""'; }
> > if (0) { echo 0; }
> >
> > As I pointed out earlier, are still all the same; this behaviour
> > hasn't changed.
>
> I agree. As I pointed out in my earlier message in this thread, based on
> the description that the OP gave (and the fact that he's using
> mssql_query()), I think he's getting bitten by the problems introduced by
> the fix for bug #25777:
>
> http://bugs.php.net/bug.php?id=25777
>
> Basically PHP used to trim trailing spaces from data being returned via the
> mssql and sybase extensions, and the fix for the above bug (in both
> extensions) was to stop this trimming. In my case this introduced a new
> problem, because bit fields that contain simply '0' in the database come
> back with trailing spaces. While this:
>
> $ php -r 'if ("0") echo "Yes\n";'
>
> produces no output (because "0" == false) this does:
>
> $ php -r 'if ("0 ") echo "Yes\n";'
>
> because "0 " != false.
>
> I have a hunch that if the OP does a print_r() on their "$var", it will be a
> string that starts with zero and ends with one or more spaces. Casting $var
> to int will restore the original behavior, but this is only because (int) "0
> " === 0 and 0 == false. So basically the cast to int does fix the OP's
> problem but not for the reasons he believes.
>
> Of course, that's a complete guess based off incomplete information. I
> could be way off. :)
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-Josh
attached mail follows:
Hi,
I am using a notebook running Windows XP Professional with IIS for my
PHP development. I am developing an application that generates RTF
files on the fly and stores them in a directory.
A curious thing has been happening. When I run the PHP script on my
machine using localhost, the script executes perfectly. However when I
access the script from a remote machine (My machine is connected to a
LAN and since I am running IIS, the script can be accessed at
http://mynotebook/), the script does not execute. Not only does the
script not execute, the LAN connection on my notebook freezes. After
this, I am unable to access any network resources from my notebook
including internet etc. Once I reboot, I am able to access the net
until I access the above script from a remote machine.
I am also running Norton Anti-Virus and I tried turning it off but that
doesn't seem to have any effect. Norton has a Script Blocking feature
which I turned off as well but that didn't have any effect either.
One more thing is that, in another environment, I connect through
Wireless and in that environment this problem does not occur. Having
said that, i have to reconfirm if this problem occurs only when I
connect using wires.
Has anyone come accross a similar problem? I would appreciate it very
much if some one could point me towards a solution.
Best Regards
Feroze
=================
Jar Jar Binks will be Jedi!
=================
attached mail follows:
How are you resolving hostnames? Are relevant IPs/Hostnames in your hosts
file? Does the local machine have mynotebook mapped to 127.0.0.1?
> -----Original Message-----
> A curious thing has been happening. When I run the PHP script on my
> machine using localhost, the script executes perfectly. However when I
> access the script from a remote machine (My machine is connected to a
> LAN and since I am running IIS, the script can be accessed at
> http://mynotebook/), the script does not execute. Not only does the
> script not execute, the LAN connection on my notebook freezes. After
> this, I am unable to access any network resources from my notebook
> including internet etc. Once I reboot, I am able to access the net
> until I access the above script from a remote machine.
attached mail follows:
On Wednesday 14 July 2004 11:29, Curt Zirzow wrote:
> > I've already added that domain to my spam list and forgot lazy people
> > who does not unsubscribe from the list.
>
> I've mentioned this everytime this topic comes up, and every time
> it comes up, this solution is always given. And I'm going to say it
> again... That is not the way to deal with bounced mails.
As the list seems to run on ezmlm it would probably be a good idea to shorten
bounce timeout to say 3-5 days and take good advantage of ezmlm's auto
removal of "perpetually" bouncing addresses.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
If you don't do it, you'll never know what would have happened if you
had done it.
*/
attached mail follows:
--- Ed Lazor <Ed.Lazor
d20News.com> wrote:
> I'm using PHP sessions for user tracking. My host provider's server is
> dropping session data. He swears it's my scripts and says I should be
> using cookies for better security. That goes completely opposite to my
> understanding, so I'd like to run it by you guys. Which is more secure:
> PHP sessions or cookies?
First, I'd like to point out that sessions and cookies aren't opposite
ideas at all. In fact, PHP's default session mechanism uses cookies for
the session identifier (PHPSESSID).
The way I interpret your question is to ask whether it's better to store
session data on the server (in $_SERVER) or on the client (in cookies).
When stored on the client, you rely on the client to send all session data
to the server for every single request. These requests are sent across the
Internet. The Internet is a public network. Hopefully this makes it clear
that storing data on the server is more secure than having it sent across
a public network for every single HTTP transaction (multiple transactions
are typically required to render a single Web page).
I think your instinct ("That goes completely opposite to my
understanding") serves you well. :-)
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming Fall 2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/
attached mail follows:
On Wednesday 14 July 2004 12:45, Chris Shiflett wrote:
> The way I interpret your question is to ask whether it's better to store
> session data on the server (in $_SERVER) or on the client (in cookies).
So that people don't get confused: $_SERVER should be $_SESSION.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
...though his invention worked superbly -- his theory was a crock of sewage
from
beginning to end. -- Vernor Vinge, "The Peace War"
*/
attached mail follows:
Just as folks can turn off JavaScript, they can reject cookies. Sessions
have some advantages over cookies.
> [Original Message]
> From: Ed Lazor <Ed.Lazor
d20News.com>
> To: <php-general
lists.php.net>
> Date: 07/13/2004 2:47:31 PM
> Subject: [PHP] Opinion: PHP Sessions or Cookies
>
> I'm using PHP sessions for user tracking. My host provider's server is
> dropping session data. He swears it's my scripts and says I should be
using
> cookies for better security. That goes completely opposite to my
> understanding, so I'd like to run it by you guys. Which is more secure:
> PHP sessions or cookies?
>
>
>
> In case you're curious, more details on the specifics of the problem I'm
> experiencing:
>
>
>
> I have a prepend file that executes start_session. The script assumes the
> user is a guest if $_SESSION["UserID"] is not set. All guests route to
the
> login screen. Successful authentication sets $_SESSION["UserID"] and
sends
> you to the original requested page.
>
>
>
> It seems fairly straight forward to me. People are able to login and
start
> using the site, but the login screen displays randomly after they've
already
> authenticated successfully.
>
>
>
> It sounds like PHP session data is being lost on the server. I've also
seen
> error messages on web pages that report PHP / MySQL as having trouble
> reading from the temp directory. Here's the extact message: ERRORError
> writing file '/tmp/MYiYcf7q' (Errcode: 28).
>
>
>
> Anyway, those are the details. I look forward to hearing what you think.
>
>
>
> -Ed
>
>
>
attached mail follows:
"Ed Lazor" <Ed.Lazor
d20News.com> wrote in message
news:php.general-190398
news.php.net...
> I'm using PHP sessions for user tracking. My host provider's server is
> dropping session data. He swears it's my scripts and says I should be
using
> cookies for better security. That goes completely opposite to my
> understanding, so I'd like to run it by you guys. Which is more secure:
> PHP sessions or cookies?
>
>
>
> In case you're curious, more details on the specifics of the problem I'm
> experiencing:
>
>
>
> I have a prepend file that executes start_session. The script assumes the
> user is a guest if $_SESSION["UserID"] is not set. All guests route to
the
> login screen. Successful authentication sets $_SESSION["UserID"] and
sends
> you to the original requested page.
>
>
>
> It seems fairly straight forward to me. People are able to login and
start
> using the site, but the login screen displays randomly after they've
already
> authenticated successfully.
>
>
>
> It sounds like PHP session data is being lost on the server. I've also
seen
> error messages on web pages that report PHP / MySQL as having trouble
> reading from the temp directory. Here's the extact message: ERRORError
> writing file '/tmp/MYiYcf7q' (Errcode: 28).
Hi Ed,
have you tried storing your session data in a database? Storing session data
in a database has some advances over the standard file based solution,
mainly data security und comfort. For example, if you want to get the number
of the active sessions just do a simple "select count(*) from sessions".
Regards, Torsten Roehr
attached mail follows:
Except that sessions rely on data being passed to and from the client,
usually in a cookie. You can do it yourself by passinf the SID
manually or using trans sid, but cookies are the normal way to keep
the session working.
On Wed, 14 Jul 2004 00:10:17 -0700, Dennis Seavers
<deseavers
mindspring.com> wrote:
> Just as folks can turn off JavaScript, they can reject cookies. Sessions
> have some advantages over cookies.
>
> > [Original Message]
> > From: Ed Lazor <Ed.Lazor
d20News.com>
> > To: <php-general
lists.php.net>
> > Date: 07/13/2004 2:47:31 PM
> > Subject: [PHP] Opinion: PHP Sessions or Cookies
> >
> > I'm using PHP sessions for user tracking. My host provider's server is
> > dropping session data. He swears it's my scripts and says I should be
> using
> > cookies for better security. That goes completely opposite to my
> > understanding, so I'd like to run it by you guys. Which is more secure:
> > PHP sessions or cookies?
> >
> >
> >
> > In case you're curious, more details on the specifics of the problem I'm
> > experiencing:
> >
> >
> >
> > I have a prepend file that executes start_session. The script assumes the
> > user is a guest if $_SESSION["UserID"] is not set. All guests route to
> the
> > login screen. Successful authentication sets $_SESSION["UserID"] and
> sends
> > you to the original requested page.
> >
> >
> >
> > It seems fairly straight forward to me. People are able to login and
> start
> > using the site, but the login screen displays randomly after they've
> already
> > authenticated successfully.
> >
> >
> >
> > It sounds like PHP session data is being lost on the server. I've also
> seen
> > error messages on web pages that report PHP / MySQL as having trouble
> > reading from the temp directory. Here's the extact message: ERRORError
> > writing file '/tmp/MYiYcf7q' (Errcode: 28).
> >
> >
> >
> > Anyway, those are the details. I look forward to hearing what you think.
> >
> >
> >
> > -Ed
> >
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> !DSPAM:40f4db01325541434715910!
>
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--
attached mail follows:
I am using PHP sessions for my site. Have done the numbers and have to agree
that although cookies make life easier for the developer the whole reason
for cookies is to make life easier for the browser.
We have to accept that not all users can interrogate a cookie download and
verify if the site is safe, so sessions it is :)
--
-----------------------------
Michael Mason
Arras People
www.arraspeople.co.uk
-----------------------------
"Ed Lazor" <Ed.Lazor
d20News.com> wrote in message
news:php.general-190398
news.php.net...
> I'm using PHP sessions for user tracking. My host provider's server is
> dropping session data. He swears it's my scripts and says I should be
using
> cookies for better security. That goes completely opposite to my
> understanding, so I'd like to run it by you guys. Which is more secure:
> PHP sessions or cookies?
>
>
>
> In case you're curious, more details on the specifics of the problem I'm
> experiencing:
>
>
>
> I have a prepend file that executes start_session. The script assumes the
> user is a guest if $_SESSION["UserID"] is not set. All guests route to
the
> login screen. Successful authentication sets $_SESSION["UserID"] and
sends
> you to the original requested page.
>
>
>
> It seems fairly straight forward to me. People are able to login and
start
> using the site, but the login screen displays randomly after they've
already
> authenticated successfully.
>
>
>
> It sounds like PHP session data is being lost on the server. I've also
seen
> error messages on web pages that report PHP / MySQL as having trouble
> reading from the temp directory. Here's the extact message: ERRORError
> writing file '/tmp/MYiYcf7q' (Errcode: 28).
>
>
>
> Anyway, those are the details. I look forward to hearing what you think.
>
>
>
> -Ed
>
>
>
>
attached mail follows:
$tmp = unpack("d", substr($this->data, $spos + 6, 8));
// It machine machine dependent
if ($this->isDate($spos)) {
list($string, $raw) = $this->createDate($tmp['']);
// $this->addcell(DateRecord($r, 1));
}else{
$raw = $tmp[''];
if (isset($this->_columnsFormat[$column + 1])){
$this->curformat =
$this->_columnsFormat[$column + 1];
}
$string = sprintf($this->curformat, $tmp[''] *
$this->multiplier);
// $this->addcell(NumberRecord($r));
}
$raw = $tmp[''];
some server can get value of first element of array but some server $raw is
empty
how can i sole it?
What variable in php.ini must modify?
attached mail follows:
On Wednesday 14 July 2004 11:54, Prasit Narkdee wrote:
> $tmp = unpack("d", substr($this->data, $spos + 6, 8));
> // It machine machine dependent
>
> if ($this->isDate($spos)) {
> list($string, $raw) = $this->createDate($tmp['']);
> // $this->addcell(DateRecord($r, 1));
> }else{
> $raw = $tmp[''];
> if (isset($this->_columnsFormat[$column + 1])){
> $this->curformat =
> $this->_columnsFormat[$column + 1];
> }
>
> $string = sprintf($this->curformat, $tmp[''] *
> $this->multiplier);
>
> // $this->addcell(NumberRecord($r));
> }
>
>
> $raw = $tmp[''];
> some server can get value of first element of array but some server $raw is
> empty
> how can i sole it?
> What variable in php.ini must modify?
First of all I have no idea what your code is trying to do. But if you're
simply trying to get the first element from an array then use array_shift()
or array_slice().
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The clash of ideas is the sound of freedom.
*/
attached mail follows:
"Jason Wong" <php-general
gremlins.biz> wrote in message
news:200407141320.52688.php-general
gremlins.biz...
> On Wednesday 14 July 2004 11:54, Prasit Narkdee wrote:
> > $tmp = unpack("d", substr($this->data, $spos + 6,
8));
> > // It machine machine dependent
> >
> > if ($this->isDate($spos)) {
> > list($string, $raw) =
$this->createDate($tmp['']);
> > // $this->addcell(DateRecord($r, 1));
> > }else{
> > $raw = $tmp[''];
> > if (isset($this->_columnsFormat[$column + 1])){
> > $this->curformat =
> > $this->_columnsFormat[$column + 1];
> > }
> >
> > $string = sprintf($this->curformat, $tmp[''] *
> > $this->multiplier);
> >
> > // $this->addcell(NumberRecord($r));
> > }
> >
> >
> > $raw = $tmp[''];
> > some server can get value of first element of array but some server $raw
is
> > empty
> > how can i sole it?
> > What variable in php.ini must modify?
>
> First of all I have no idea what your code is trying to do. But if you're
> simply trying to get the first element from an array then use
array_shift()
> or array_slice().
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> The clash of ideas is the sound of freedom.
> */
i use class Spreadsheet_Excel_Reader i found in google
some server is no problem and get $tmp[''] value
but when i run this script in some server $tmp[''] is emptry
case Spreadsheet_Excel_Reader_Type_NUMBER:
$row = ord($this->data[$spos]) |
ord($this->data[$spos+1])<<8;
$column = ord($this->data[$spos+2]) |
ord($this->data[$spos+3])<<8;
$tmp = unpack("d", substr($this->data, $spos + 6, 8));
// It machine machine dependent
if ($this->isDate($spos)) {
list($string, $raw) = $this->createDate($tmp['']);
// $this->addcell(DateRecord($r, 1));
}else{
$raw = $tmp[''];
if (isset($this->_columnsFormat[$column + 1])){
$this->curformat =
$this->_columnsFormat[$column + 1];
}
$string = sprintf($this->curformat, $tmp[''] *
$this->multiplier);
// $this->addcell(NumberRecord($r));
}
$this->addcell($row, $column, $string, $raw);
//echo "Number $row $column $string\n";
break;
attached mail follows:
Sorry Guys,
I know that this is off-topic. In one of the sites,I saw the subject AD
{PHPEdit almost as good as s*x (with a women in bikini)}. This is really
irritating. What sex has to do with PHP. Does the PHPEdit folks think
that I will use their product if it is as good as s*x.
Sorry, really sorry.
attached mail follows:
What is PHPEdit to do with this mailing list?
Please don't send useless stupid crap to the hundreds of users subscribed.
"Ee" <ee
bjaili.com> wrote in message news:40F4CAF2.20300
bjaili.com...
> Sorry Guys,
>
> I know that this is off-topic. In one of the sites,I saw the subject AD
> {PHPEdit almost as good as s*x (with a women in bikini)}. This is really
> irritating. What sex has to do with PHP. Does the PHPEdit folks think
> that I will use their product if it is as good as s*x.
>
> Sorry, really sorry.
attached mail follows:
Well I believe the problem is, This "person" claiming PHPEdit is better
than sex, just doesn't get any.
As I use PHPEdit and I'd still rather have sex! :)
Especially.....if she was in a bikini!!!
-----Original Message-----
From: EE [mailto:ee
bjaili.com]
Sent: Wednesday, July 14, 2004 12:56 AM
To: PHP
Subject: [PHP] PHPEdit almost as good as s*x (with a women in bikini)
Sorry Guys,
I know that this is off-topic. In one of the sites,I saw the subject AD
{PHPEdit almost as good as s*x (with a women in bikini)}. This is really
irritating. What sex has to do with PHP. Does the PHPEdit folks think
that I will use their product if it is as good as s*x.
Sorry, really sorry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
How do I install Php5 with both --with-mysql and --with-mysqli?
MySQL is 4.1.3-beta and installed as official MySQL RPM.
This didn't work:
./configure --with-mysql=/usr/include/mysql --enable-embedded-mysqli
./configure --with-mysql=/usr/include/mysql
--with-mysql=/usr/bin/mysql_config
./configure --with-mysql=/usr/include/mysql
--with-mysqli=/usr/bin/mysql_config
The last gave me a lot of errors.
Thanks,
Jacob
attached mail follows:
[quote src="doc"]
If you would like to install the mysql extension along with the mysqli
extension you have to use the same client library to avoid any conflicts.
[/quote]
Jacob Friis Larsen wrote:
> How do I install Php5 with both --with-mysql and --with-mysqli?
>
> MySQL is 4.1.3-beta and installed as official MySQL RPM.
>
> This didn't work:
> ./configure --with-mysql=/usr/include/mysql --enable-embedded-mysqli
>
> ./configure --with-mysql=/usr/include/mysql
> --with-mysql=/usr/bin/mysql_config
>
> ./configure --with-mysql=/usr/include/mysql
> --with-mysqli=/usr/bin/mysql_config
>
> The last gave me a lot of errors.
>
>
> Thanks,
> Jacob
attached mail follows:
> [quote src="doc"]
> If you would like to install the mysql extension along with the mysqli
> extension you have to use the same client library to avoid any conflicts.
> [/quote]
I've read that too :)
What does it mean?
Could you correct my configure line?
./configure --with-mysql=/usr/include/mysql
--with-mysqli=/usr/bin/mysql_config
Thanks,
Jacob
attached mail follows:
* Thus wrote Jacob Friis Larsen:
> How do I install Php5 with both --with-mysql and --with-mysqli?
1. Follow instructions at http://php.net/mysqli.
2. Follow instructions at http://php.net/mysql, using the path
to your mysql4.1 library
3. Tweak your my.cnf so the mysqlclient look at the right places.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
attached mail follows:
If you've set things up so that the id is available client-side, then
there's no point in encrypting the id (by any encryption methods). If the
id is stored in the client browser, then you'd better make sure it's linked
to public data.
> [Original Message]
> From: klaus <klaus.schoki
web.de>
> To: <php-general
lists.php.net>
> Date: 07/13/2004 3:17:54 PM
> Subject: [PHP] encryption needed?
>
> Hi all,
>
> I am to set up a service where users can view news of companies.
> To identify the company selected an easy way is to use the company-id.
> The id is not displayed but stored in the client browser as JS-variable.
>
> Question:
> Is it ok to use the company-id or do I have to encrypt the id
> using mcrypt (takes some time)?
>
>
> Thanks in advance
> Klaus
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
attached mail follows:
the correct answer to this bug is:
you have to load php_mbstring.dll before you load php_exif.dll. like:
extension=php_mbstring.dll
...
extension=php_exif.dll
not like:
extension=php_exif.dll
...
extension=php_mbstring.dll
Tomasen
<sniper
php.net> wrote in message
news:200407061349.i66DnAGW006951
ez1.php.net...
> ID: 29028
> Updated by: sniper
php.net
> Reported By: phillip dot hegarty at ntlworld dot com
> -Status: Open
> +Status: Bogus
> Bug Type: Dynamic loading
> Operating System: Windows XP Professional
> PHP Version: 5.0.0RC3
> New Comment:
>
> It's missing some extra libraries that are located in the package.
> Please ask install support questions on e.g. php-windows
lists.php.net
> mailing list.
>
>
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2004-07-06 12:23:35] phillip dot hegarty at ntlworld dot com
>
> Description:
> ------------
> Various modules, e.g. gd2, mysql, mysqli, zip and exif
> marked for loading within php.ini.
>
> All modules found except php_exif.dll - it is colocated
> with all the other found modules.
>
> Message come up twice on Apache 2 startup.
>
> All php_*.dll files are in C:\Windows\System32
>
> Reproduce code:
> ---------------
> No code - error message on startup of Apache
>
> Expected result:
> ----------------
> No error message
>
> Actual result:
> --------------
> Message box explaining that php_exif.dll could not be
> found.
>
>
> ------------------------------------------------------------------------
>
>
> --
> Edit this bug report at http://bugs.php.net/?id=29028&edit=1
attached mail follows:
the follow script throw an error like this:
Fatal error: Can not call constructor in D:\-=WEB=-\include\database.php on
line 3
but it was working fine under PHP5RC3
1 class CDatabase extends mysqli {
2 function __construct($db_info ){
3 parent::__construct($db_info["hostname"], $db_info["username"],
4 $db_info["password"], $db_info["database"], $db_info["port"]);
5 }
6 }
attached mail follows:
I can only make it work, when not compiling php as
a module.
This works:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config
--with-mysql=/usr/include/mysql
This doesn't:
./configure --disable-all --with-mysqli=/usr/bin/mysql_config
--with-mysql=/usr/include/mysql --with-apxs2
I use:
Apache 2.0.49 (Fedora Core 1 RPM)
Php 5.0.0
MySQL 4.1.3-beta (MySQL RPM)
Any ideas?
Thanks,
Jacob
Georg Richter wrote:
> Am Mi, den 14.07.2004 schrieb Jacob Friis Larsen um 8:04:
>
> Hi!
>
>
>>Could you show me your configure statement. I can't make it work.
>>
>
> System
> Linux beethoven 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC 2004 i686
>
> Build Date
> Jul 14 2004 09:30:39
>
> Configure Command
> './configure' '--disable-all' '--with-pcre-regex'
> '--with-mysqli=/usr/local/mysql-4.1/bin/mysql_config'
> '--with-mysql=/usr/local/mysql-4.1'
> '--with-apxs2=/usr/local/apache2/bin/apxs'
>
> Versions:
> Apache 2.0.50
> latest PHP5 CVS
> MySQL 4.1.4-beta (works with 4.1.3-beta too)
>
> Hope, this will help!
>
> /Georg
>
attached mail follows:
How do you know it did not work? I guess you see some error messages.
Could you include them with your description?
Jacob Friis Larsen wrote:
> I can only make it work, when not compiling php as
> a module.
>
> This works:
> ./configure --disable-all --with-mysqli=/usr/bin/mysql_config
> --with-mysql=/usr/include/mysql
>
> This doesn't:
> ./configure --disable-all --with-mysqli=/usr/bin/mysql_config
> --with-mysql=/usr/include/mysql --with-apxs2
>
> I use:
> Apache 2.0.49 (Fedora Core 1 RPM)
> Php 5.0.0
> MySQL 4.1.3-beta (MySQL RPM)
>
> Any ideas?
>
> Thanks,
> Jacob
>
>
> Georg Richter wrote:
>
>> Am Mi, den 14.07.2004 schrieb Jacob Friis Larsen um 8:04:
>>
>> Hi!
>>
>>
>>> Could you show me your configure statement. I can't make it work.
>>>
>>
>> System Linux beethoven 2.6.5-7.95-default #1 Thu Jul 1 15:23:45 UTC
>> 2004 i686
>> Build Date Jul 14 2004 09:30:39
>> Configure Command './configure' '--disable-all' '--with-pcre-regex'
>> '--with-mysqli=/usr/local/mysql-4.1/bin/mysql_config'
>> '--with-mysql=/usr/local/mysql-4.1'
>> '--with-apxs2=/usr/local/apache2/bin/apxs'
>> Versions:
>> Apache 2.0.50
>> latest PHP5 CVS
>> MySQL 4.1.4-beta (works with 4.1.3-beta too)
>>
>> Hope, this will help!
>>
>> /Georg
>>
>
attached mail follows:
> How do you know it did not work? I guess you see some error messages.
> Could you include them with your description?
Below is the output from make. There are lots of errors. I can only send
some of them as this list has a limit of 100000 bytes.
<snip>
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x0): multiple
definition of `net_buffer_length'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple
definition of `max_allowed_packet'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): multiple
definition of `net_read_timeout'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x8): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0xc): multiple
definition of `net_write_timeout'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0xc): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x0): In function
`mysql_server_init':
: multiple definition of `mysql_server_init'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1d0): In function
`mysql_debug':
: multiple definition of `mysql_debug'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1d0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xf0): In function
`mysql_server_end':
: multiple definition of `mysql_server_end'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xf0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x150): In function
`mysql_thread_end':
: multiple definition of `mysql_thread_end'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x150): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x130): In function
`mysql_get_parameters':
: multiple definition of `mysql_get_parameters'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x130): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x140): In function
`mysql_thread_init':
: multiple definition of `mysql_thread_init'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x140): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1e0): In function
`pipe_sig_handler':
: multiple definition of `pipe_sig_handler'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1e0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x200): In function
`mysql_master_query':
: multiple definition of `mysql_master_query'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x200): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x250): In function
`mysql_master_send_query':
: multiple definition of `mysql_master_send_query'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x250): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2c0): In function
`mysql_slave_query':
: multiple definition of `mysql_slave_query'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2c0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x310): In function
`mysql_slave_send_query':
: multiple definition of `mysql_slave_send_query'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x310): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3a0): In function
`mysql_enable_rpl_parse':
: multiple definition of `mysql_enable_rpl_parse'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3a0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3c0): In function
`mysql_disable_rpl_parse':
: multiple definition of `mysql_disable_rpl_parse'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3c0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3e0): In function
`mysql_rpl_parse_enabled':
: multiple definition of `mysql_rpl_parse_enabled'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3e0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x400): In function
`mysql_enable_reads_from_master':
: multiple definition of `mysql_enable_reads_from_master'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x400): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x420): In function
`mysql_disable_reads_from_master':
: multiple definition of `mysql_disable_reads_from_master'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x420): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x440): In function
`mysql_reads_from_master_enabled':
: multiple definition of `mysql_reads_from_master_enabled'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x440): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xf60): In function
`mysql_query':
: multiple definition of `mysql_query'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xf60): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x6a0): In function
`mysql_rpl_probe':
: multiple definition of `mysql_rpl_probe'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x6a0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x760): In function
`mysql_rpl_query_type':
: multiple definition of `mysql_rpl_query_type'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x760): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x7f0): In function
`cli_read_change_user_result':
: multiple definition of `cli_read_change_user_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x7f0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x8d0): In function
`mysql_change_user':
: multiple definition of `mysql_change_user'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x8d0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xa60): In function
`read_user_name':
: multiple definition of `read_user_name'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xa60): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xb00): In function
`handle_local_infile':
: multiple definition of `handle_local_infile'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xb00): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xf20): In function
`mysql_set_local_infile_default':
: multiple definition of `mysql_set_local_infile_default'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xf20): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xee0): In function
`mysql_set_local_infile_handler':
: multiple definition of `mysql_set_local_infile_handler'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0xee0): first defined here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x10c0): In function
`mysql_set_master':
: multiple definition of `mysql_set_master'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x10c0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1120): In function
`mysql_add_slave':
: multiple definition of `mysql_add_slave'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1120): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1170): In function
`mysql_fetch_field':
: multiple definition of `mysql_fetch_field'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1170): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x11a0): In function
`mysql_fetch_lengths':
: multiple definition of `mysql_fetch_lengths'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x11a0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x11e0): In function
`mysql_data_seek':
: multiple definition of `mysql_data_seek'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x11e0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1230): In function
`mysql_row_seek':
: multiple definition of `mysql_row_seek'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1230): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1250): In function
`mysql_field_seek':
: multiple definition of `mysql_field_seek'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1250): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1270): In function
`mysql_list_dbs':
: multiple definition of `mysql_list_dbs'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1270): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x12e0): In function
`mysql_list_tables':
: multiple definition of `mysql_list_tables'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x12e0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1350): In function
`cli_list_fields':
: multiple definition of `cli_list_fields'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1350): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x13b0): In function
`mysql_list_fields':
: multiple definition of `mysql_list_fields'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x13b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x14b0): In function
`mysql_list_processes':
: multiple definition of `mysql_list_processes'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x14b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1580): In function
`mysql_shutdown':
: multiple definition of `mysql_shutdown'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1580): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x15c0): In function
`mysql_refresh':
: multiple definition of `mysql_refresh'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x15c0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1600): In function
`mysql_kill':
: multiple definition of `mysql_kill'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1600): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1640): In function
`mysql_set_server_option':
: multiple definition of `mysql_set_server_option'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1640): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1680): In function
`mysql_dump_debug_info':
: multiple definition of `mysql_dump_debug_info'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1680): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x16b0): In function
`cli_read_statistics':
: multiple definition of `cli_read_statistics'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x16b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1710): In function
`mysql_stat':
: multiple definition of `mysql_stat'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1710): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1760): In function
`mysql_ping':
: multiple definition of `mysql_ping'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1760): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1790): In function
`mysql_get_server_info':
: multiple definition of `mysql_get_server_info'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1790): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x17a0): In function
`mysql_get_server_version':
: multiple definition of `mysql_get_server_version'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x17a0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1810): In function
`mysql_get_host_info':
: multiple definition of `mysql_get_host_info'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1810): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1820): In function
`mysql_get_proto_info':
: multiple definition of `mysql_get_proto_info'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1820): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1830): In function
`mysql_get_client_info':
: multiple definition of `mysql_get_client_info'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1830): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1840): In function
`mysql_get_client_version':
: multiple definition of `mysql_get_client_version'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1840): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1850): In function
`mysql_eof':
: multiple definition of `mysql_eof'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1850): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1860): In function
`mysql_fetch_field_direct':
: multiple definition of `mysql_fetch_field_direct'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1860): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1880): In function
`mysql_fetch_fields':
: multiple definition of `mysql_fetch_fields'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1880): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1890): In function
`mysql_row_tell':
: multiple definition of `mysql_row_tell'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1890): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18a0): In function
`mysql_field_tell':
: multiple definition of `mysql_field_tell'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18a0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18b0): In function
`mysql_field_count':
: multiple definition of `mysql_field_count'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18d0): In function
`mysql_affected_rows':
: multiple definition of `mysql_affected_rows'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18d0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18f0): In function
`mysql_insert_id':
: multiple definition of `mysql_insert_id'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x18f0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1910): In function
`mysql_sqlstate':
: multiple definition of `mysql_sqlstate'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1910): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1920): In function
`mysql_warning_count':
: multiple definition of `mysql_warning_count'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1920): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1930): In function
`mysql_info':
: multiple definition of `mysql_info'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1930): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1940): In function
`mysql_thread_id':
: multiple definition of `mysql_thread_id'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1940): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1950): In function
`mysql_character_set_name':
: multiple definition of `mysql_character_set_name'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1950): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1970): In function
`mysql_thread_safe':
: multiple definition of `mysql_thread_safe'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1970): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1980): In function
`my_net_local_init':
: multiple definition of `my_net_local_init'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1980): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x19c0): In function
`mysql_escape_string':
: multiple definition of `mysql_escape_string'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x19c0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x19f0): In function
`mysql_real_escape_string':
: multiple definition of `mysql_real_escape_string'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x19f0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1a20): In function
`mysql_odbc_escape_string':
: multiple definition of `mysql_odbc_escape_string'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1a20): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1bb0): In function
`myodbc_remove_escape':
: multiple definition of `myodbc_remove_escape'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1bb0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1cf0): In function
`set_stmt_errmsg':
: multiple definition of `set_stmt_errmsg'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1cf0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1d40): In function
`cli_read_prepare_result':
: multiple definition of `cli_read_prepare_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1d40): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1e50): In function
`mysql_stmt_init':
: multiple definition of `mysql_stmt_init'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1e50): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1f00): In function
`mysql_stmt_prepare':
: multiple definition of `mysql_stmt_prepare'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x1f00): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x45c0): In function
`mysql_stmt_free_result':
: multiple definition of `mysql_stmt_free_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x45c0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2270): In function
`mysql_stmt_result_metadata':
: multiple definition of `mysql_stmt_result_metadata'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2270): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x22e0): In function
`mysql_stmt_param_metadata':
: multiple definition of `mysql_stmt_param_metadata'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x22e0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2750): In function
`cli_stmt_execute':
: multiple definition of `cli_stmt_execute'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2750): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2a50): In function
`mysql_stmt_attr_set':
: multiple definition of `mysql_stmt_attr_set'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2a50): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2a90): In function
`mysql_stmt_attr_get':
: multiple definition of `mysql_stmt_attr_get'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2a90): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2ac0): In function
`mysql_stmt_execute':
: multiple definition of `mysql_stmt_execute'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2ac0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2b80): In function
`mysql_stmt_param_count':
: multiple definition of `mysql_stmt_param_count'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2b80): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2b90): In function
`mysql_stmt_affected_rows':
: multiple definition of `mysql_stmt_affected_rows'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2b90): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2ba0): In function
`mysql_stmt_field_count':
: multiple definition of `mysql_stmt_field_count'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2ba0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2bb0): In function
`mysql_stmt_insert_id':
: multiple definition of `mysql_stmt_insert_id'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2bb0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2bd0): In function
`mysql_stmt_bind_param':
: multiple definition of `mysql_stmt_bind_param'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2bd0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2e30): In function
`mysql_stmt_send_long_data':
: multiple definition of `mysql_stmt_send_long_data'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x2e30): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3c30): In function
`mysql_stmt_bind_result':
: multiple definition of `mysql_stmt_bind_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x3c30): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4070): In function
`cli_unbuffered_fetch':
: multiple definition of `cli_unbuffered_fetch'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4070): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x40b0): In function
`mysql_stmt_fetch':
: multiple definition of `mysql_stmt_fetch'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x40b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4110): In function
`mysql_stmt_fetch_column':
: multiple definition of `mysql_stmt_fetch_column'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4110): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x41e0): In function
`cli_read_binary_rows':
: multiple definition of `cli_read_binary_rows'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x41e0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4380): In function
`mysql_stmt_store_result':
: multiple definition of `mysql_stmt_store_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4380): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4550): In function
`mysql_stmt_row_seek':
: multiple definition of `mysql_stmt_row_seek'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4550): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4570): In function
`mysql_stmt_row_tell':
: multiple definition of `mysql_stmt_row_tell'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4570): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4580): In function
`mysql_stmt_data_seek':
: multiple definition of `mysql_stmt_data_seek'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4580): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x45b0): In function
`mysql_stmt_num_rows':
: multiple definition of `mysql_stmt_num_rows'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x45b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4680): In function
`mysql_stmt_close':
: multiple definition of `mysql_stmt_close'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4680): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4790): In function
`mysql_stmt_reset':
: multiple definition of `mysql_stmt_reset'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4790): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4840): In function
`mysql_stmt_errno':
: multiple definition of `mysql_stmt_errno'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4840): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4850): In function
`mysql_stmt_sqlstate':
: multiple definition of `mysql_stmt_sqlstate'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4850): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4860): In function
`mysql_stmt_error':
: multiple definition of `mysql_stmt_error'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4860): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4870): In function
`mysql_commit':
: multiple definition of `mysql_commit'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4870): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4890): In function
`mysql_rollback':
: multiple definition of `mysql_rollback'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4890): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x48b0): In function
`mysql_autocommit':
: multiple definition of `mysql_autocommit'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x48b0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x48f0): In function
`mysql_more_results':
: multiple definition of `mysql_more_results'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x48f0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4910): In function
`mysql_next_result':
: multiple definition of `mysql_next_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x4910): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x49d0): In function
`mysql_use_result':
: multiple definition of `mysql_use_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x49d0): first defined
here
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x49f0): In function
`mysql_read_query_result':
: multiple definition of `mysql_read_query_result'
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.text+0x49f0): first defined
here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x0): In function
`randominit':
: multiple definition of `randominit'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x0): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x40): In function
`my_rnd':
: multiple definition of `my_rnd'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x40): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x90): In function
`hash_password':
: multiple definition of `hash_password'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x90): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x110): In function
`make_scrambled_password_323':
: multiple definition of `make_scrambled_password_323'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x110): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x190): In function
`scramble_323':
: multiple definition of `scramble_323'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x190): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x320): In function
`check_scramble_323':
: multiple definition of `check_scramble_323'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x320): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x460): In function
`get_salt_from_password_323':
: multiple definition of `get_salt_from_password_323'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x460): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x4e0): In function
`make_password_from_salt_323':
: multiple definition of `make_password_from_salt_323'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x4e0): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x510): In function
`create_random_string':
: multiple definition of `create_random_string'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x510): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x670): In function
`make_scrambled_password':
: multiple definition of `make_scrambled_password'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x670): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x730): In function
`scramble':
: multiple definition of `scramble'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x730): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): In function
`check_scramble':
: multiple definition of `check_scramble'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x830): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): In function
`get_salt_from_password':
: multiple definition of `get_salt_from_password'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x8e0): first defined here
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): In function
`make_password_from_salt':
: multiple definition of `make_password_from_salt'
/usr/lib/mysql/libmysqlclient.a(password.o)(.text+0x900): first defined here
/usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): In function
`mysql_manager_init':
: multiple definition of `mysql_manager_init'
/usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x0): first defined here
/usr/lib/mysql/libmysqlclient.a(manager.o)(.text+0x90): In function
`mysql_manager_connect':
</snip>
<snip>
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
</snip>
>> This works:
>> ./configure --disable-all --with-mysqli=/usr/bin/mysql_config
>> --with-mysql=/usr/include/mysql
>>
>> This doesn't:
>> ./configure --disable-all --with-mysqli=/usr/bin/mysql_config
>> --with-mysql=/usr/include/mysql --with-apxs2
>>
>> I use:
>> Apache 2.0.49 (Fedora Core 1 RPM)
>> Php 5.0.0
>> MySQL 4.1.3-beta (MySQL RPM)
Thanks,
Jacob
attached mail follows:
I'm not sure why you started a whole new thread on this..
* Thus wrote Jacob Friis Larsen:
> I can only make it work, when not compiling php as
> a module.
>
> This works:
> ./configure --disable-all --with-mysqli=/usr/bin/mysql_config
> --with-mysql=/usr/include/mysql
It works because nothing was linked, so symbols are never joined
together.
>
> This doesn't:
> ./configure --disable-all --with-mysqli=/usr/bin/mysql_config
> --with-mysql=/usr/include/mysql --with-apxs2
Your path for mysql appears to be wrong here. See my response in
the original thread.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
attached mail follows:
Hi all,
Is there are a simple way of checking quickly using PHP:
1) How many email messages on a POP3 mailbox
2) How many new email messages on a POP3 mailbox
3) The amount of memory in Kb or Mb used up on the POP3 mail box
I want to be able to show these on our customer control panel. Also I want
to use cron and a php script to be able to regularly check our customers
haven't exceeded their mail quota. At the moment we don't have our own
server and use a multiweb hosting account.
Many thanks,
I. Gray
attached mail follows:
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells all recipients
which posting(s) your posting refers to. A mail client uses this information
to build a threaded view ("tree view") of the postings.
With your posting style you successfully torpedoed this useful feature; your
posting shows up within an existing thread it has nothing to do with.
Always do a fresh post when you want to start a new thread. To achieve this,
click on "New message" instead of "Reply" within your mail client, and enter
the list address as the recipient. You can save the list address in your
address book for convenience.
attached mail follows:
Jason Wong said [With your posting style you successfully torpedoed this
useful feature; your
posting shows up within an existing thread it has nothing to do with.]
Sorry- I didn't realise this happened. Why can't things be easy in life? I
have posted this again as a new message. Hope you will all forgive me...
=============
Hi all,
Is there are a simple way of checking quickly using PHP:
1) How many email messages on a POP3 mailbox
2) How many new email messages on a POP3 mailbox
3) The amount of memory in Kb or Mb used up on the POP3 mail box
I want to be able to show these on our customer control panel. Also I want
to use cron and a php script to be able to regularly check our customers
haven't exceeded their mail quota. At the moment we don't have our own
server and use a multiweb hosting account.
Many thanks,
I. Gray
attached mail follows:
On Wednesday 14 July 2004 19:43, I.A. Gray wrote:
> Is there are a simple way of checking quickly using PHP:
> 1) How many email messages on a POP3 mailbox
> 2) How many new email messages on a POP3 mailbox
> 3) The amount of memory in Kb or Mb used up on the POP3 mail box
> I want to be able to show these on our customer control panel. Also I want
> to use cron and a php script to be able to regularly check our customers
> haven't exceeded their mail quota. At the moment we don't have our own
> server and use a multiweb hosting account.
Use the imap_*() functions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A lot of people are afraid of heights. Not me. I'm afraid of widths.
-- Steven Wright
*/
attached mail follows:
> Hi all,
> Is there are a simple way of checking quickly using PHP:
> 1) How many email messages on a POP3 mailbox
> 2) How many new email messages on a POP3 mailbox
> 3) The amount of memory in Kb or Mb used up on the POP3 mail box
> I want to be able to show these on our customer control panel. Also I want
> to use cron and a php script to be able to regularly check our customers
> haven't exceeded their mail quota. At the moment we don't have our own
> server and use a multiweb hosting account.
> Many thanks,
> I. Gray
Take a look at PEAR's Net_POP3 package:
http://pear.php.net/package/Net_POP3
Regards, Torsten Roehr
attached mail follows:
Thanks- I will take a look. But (sigh) my hosting company doesn't have
PEAR. Sob, sob...
-----Original Message-----
From: Torsten Roehr [mailto:roehr
zilleon.com]
Sent: 14 July 2004 14:39
To: php-general
lists.php.net
Subject: [PHP] Re: Simple POP3 mailbox checker script
> Hi all,
> Is there are a simple way of checking quickly using PHP:
> 1) How many email messages on a POP3 mailbox
> 2) How many new email messages on a POP3 mailbox
> 3) The amount of memory in Kb or Mb used up on the POP3 mail box