option to
the mysql client ?
Regards,
Pierre-Gildas MILLON
pg.mil...@gmail.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Many thanks for your quick answer.
I tried what you suggest by modifying the phpMyAdmin code and it works
great !
Thank you very much !
Le 27/09/2012 17:55, Niel Archer a écrit :
Hi
You could try using mysqli_options(), but I do not know if that supports
this setting yet. The PHP
On Sun, Mar 7, 2010 at 4:36 PM, Gunawan Wibisono landavi...@gmail.com wrote:
sry.. this kinda other person problem
thx for your support and I kinda found this problem on other place.. Is
posible.. the problem in the windows 7?
No, php works fin on windows 7.
Cheers,
--
Pierre
@pierrejoye
= mb_convert_encoding($s_Recipient, 'UCS-2', 'UTF-8');
Why do you want to go back to UCS-2?
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
anybody has an idea to have a clean solution?
Thanks
Pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You just need to install PHP5 and to change your apache configuration
(httpd.conf).
If you are a windows user i guess it would be easier for you to use
wampserver which allow to switch from PHP5 to PHP4 easily.
Regards
Cyril
Manoj Singh a écrit :
Hello all,
I am using php4 in windows
Hi all,
I am currently working on PDO. Exactly on the bindParam() function.
The third parameter data_type seems to be here to force the type of the
value ?
But when I try :
$sql = INSERT INTO produit (idproduit, nom, marque)
VALUES (NULL, :nom, :marque);
$stmt = $dbh-prepare($sql);
But if there is an error in the SELECT query (either syntax error, or
reference to missing table), then no exception is raised, and control
just continues in the try block with a null result from the query.
Is this the intended behaviour?
Hey, it's really fun I was looking here and on
And also my question is :
Why did the PDO creators (Wez the King?) decide to choose the silent
mode for being the default one ?
Why not defining the ERRMODE_WARNING by default ?
Or perhaps I misunderstand something, and I would be very happy to learn
a bit :)
Thx
Cyril
--
PHP Database
-errorInfo();
// $info[0] == $dbh-errorCode() unified error code
// $info[1] is the driver specific error code
// $info[2] is the driver specific error string
Cyril PIERRE de GEYER a écrit :
And also my question is :
Why did the PDO creators (Wez the King?) decide
yet got ezPDF to work correctly. Set up is Win2k, PHP 4.3.2, Apache
1.3.24, MySQL 4.0.13.
A very good pure php PDF generator is FPDF. The scripts section has some
samples using a DB as input.
http://www.fpdf.org/
hth
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe
Hello,
something really good:
http://www.phpopentracker.de/
hth
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 23 Jun 2003 10:33:59 -0300
Tim Winters [EMAIL PROTECTED] wrote:
Interesting Pierre,
Is this something you have ever used?
I have tested it for a few weeks ago (and starting to translate the
doc to fr ;). I use it in a current project. However be
sure this is really something good
Hello,
Not really the same purpose, but so powerfull :)
http://www.fabforce.net/dbdesigner4/
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 12 Jun 2003 16:01:01 -0500
Cory Hicks [EMAIL PROTECTED] wrote:
FAW,
I would look at PEAR and then run, don't walkand get the
DB_Pager
It smokes anything else I have tried...
little tutorial on:
http://www.pearfr.org/index.php/en/article/db_pager
hth
pierre
--
PHP
On Thu, 12 Jun 2003 16:45:00 -0500
Sallee, Helen [EMAIL PROTECTED] wrote:
If you are on UNIX, you could just use a cgi script and use sendmail
command.
paging datas (Page 1 fo 3 1 2 3 ), not send a msg to a pager :)
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe
Hello,
See http://www.pearfr.org/docs/dbpager.php?lang=en, a tutorial about
PEAR::DB_Pager, which paging datas, from a DB result or a simple array.
It can help you to find a good method.
hth
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Sun, 02 Feb 2003 14:36:38 -0800 (PST)
Mihail Bota [EMAIL PROTECTED] wrote:
No, this is not the problem.
I did not test your code but a color channel start at 0 and finished at
255, corresponding to 256 possibilities.
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe
test. Find a quick cleanup at
the footer
As a side note, an image of 500x400 means a horizantal ranges from 0 to
499 and a vertical range from 0 to 399.
hth
pierre
?php
$image=imagecreatetruecolor(500,500);
$white=imageColorAllocate($image,255,255,255);
imageFilledRectangle($image,0,0,499,499
with a
palette image, the 1st allocated color is the background color.
hth
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 15 Jan 2003 14:47:59 -
Bruno Pereira [EMAIL PROTECTED] wrote:
How can i join two strings.
My code is something like:
$valor1=bruno;
$valor2=Pereira;
$valor=$valor1 + + $valor2
$valor=$valor1 . . $valor2;
See http://www.php.net/manual/pt_BR/language.operators.string.php
://www.phppatterns.com/
hth
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Look at this usefull PEAR package :
http://pear.php.net/package-info.php?pacid=31
A tutorial is available at:
http://www.pearfr.org/docs/dbpager.php?lang=en
hth
pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi!
does someone know how to find an exact word in a content with html tags ?
I'm using a regexp like this :
$searchRegEx = '\b.$word_search.\b'msi;
to get boundary word results, but... if the searched word is like 'word or
word. or anything else, the
regular expression doesn't work..
if I
On Thu, 7 Nov 2002 13:37:49 -0500
Anderson, Jerrad [EMAIL PROTECTED] wrote:
I'm using PHP on apache that's sitting on a Windows 2k server. When I
don't define a variable i'm getting a warning message on the screen..
anyway to suppress these errors?
Warning: Undefined variable:
You only need to add session_start() in your script before storing your data
into the $_SESSION array.
Without session_start(), no session is started by php...
Regards,
P.E. Baroiller
Seabird [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Hi everyone,
I use a
On Fri, 18 Oct 2002 13:26:20 +0200
Michel Bakkenes - bakkenes.net [EMAIL PROTECTED] wrote:
Ok.. I'm not a newbie I thought.. I do have experience with PHP, but I
never suffered from this error.
I used on my own redhat 8.0 server the following test-script:
if($action==test){ echo Test;}
your html is wrong...
you must write :
html
head
title?php echo $title ? /title
/head
/html
With the head tag, IE Netscape will display your title correctly.
Regards.
P.E.
Darrian Walker [EMAIL PROTECTED] a écrit dans le message de news:
01c274b9$2a10a1a0$[EMAIL PROTECTED]
Passing
Hi,
everyone know how to upload files from the browser to your web server using
multipart-form method with move_downloaded_file() php function.
But... It's a slow method for multiple files huge files transfert.
I'm currently working on a big photo album tool, and I want to provide user
the
On Fri, 04 Oct 2002 20:13:57 -0700
Shoulder to Shoulder Farm [EMAIL PROTECTED] wrote:
Hi all,
Sorry, but I REALLY don't want to subscribe to the PHP general list,
it's so high volume, so here goes. --T
How can I get values that were posted from a form to a PHP document
turned into
On Thu, 26 Sep 2002 19:48:31 +0300
Thomas \omega\ Henning [EMAIL PROTECTED] wrote:
I'm using PHP4.2.2 Win with MySQL 3.2.52 Win and PHP doesn't pass vars from
1 php to the other how i fix it?
Read the documentation, register_globals is SET to off by default.
On Thu, 26 Sep 2002 11:39:40 -0500
Wilmar Perez [EMAIL PROTECTED] wrote:
Hello guys
I know this should be asked in another list but don't want to subcribe just
for a simple question. I apologise in advance if that bothers anyone.
I'm trying to check valid IPs that come from a form
hello,
You can find syntax description in the documentation (variable variables section)
$myvar1 = MYVAR1 CONTENT;
$myvar2 = MYVAR2 CONTENT;
$i = 0;
$myvar = 'myvar'.++$i;
echo \n;
echo $$myvar;
echo \n;
$myvar = 'myvar'.++$i;
echo \n;
echo $$myvar;
echo \n;
can do it
hth
pa
--
PHP
On Tue, 03 Sep 2002 08:56:43 -0400
Matt Zur [EMAIL PROTECTED] wrote:
Can someone point me in the direction of an online tutorial for php
mysql that covers the following:
http://www.phpbuilder.com
http://www.devshed.com
http://www.devarticles.com
Well, if you do not find something here :-)
On Fri, 30 Aug 2002 12:09:22 +0200
simon [EMAIL PROTECTED] wrote:
Worked fine in 4.06?
Have I missed something?
REGISTER_GLOBAL is set to OFF from 4.2.x, code should be:
if(isset($_POST['sumbit']))
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
http://membres.lycos.fr/sqlpro/Tree/SQL_tree.htm provides a good way to store trees in
a DB, docs are in french, nut sqlimages are universal.
hth
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 22 Aug 2002 03:10:02 +0800
Jason Wong [EMAIL PROTECTED] wrote:
On Thursday 22 August 2002 02:54, [EMAIL PROTECTED] wrote:
As you can see, the list address ([EMAIL PROTECTED]), and my address
([EMAIL PROTECTED]) would be treated as invalid. Not very clever is it?
Well, anyway there
On Sun, 4 Aug 2002 17:30:31 +0200
John Fishworld [EMAIL PROTECTED] wrote:
Why not simply does the where clause like :
for a whole month, here is july:
WHERE YEAR(t_event_date)='2002' AND MONTH(t_event_date)='7'
For a specific day, here the current day
WHERE t_event_date=NOW()
That means you
On Sun, 4 Aug 2002 17:42:17 +0200
Pierre-Alain Joye [EMAIL PROTECTED] wrote:
On Sun, 4 Aug 2002 17:30:31 +0200
John Fishworld [EMAIL PROTECTED] wrote:
For a specific day, here the current day
WHERE DAYOFMONTH(t_event_date)=DAYOFMONTH(NOW()) AND MONTH(t_event_date)=MONTH(NOW())
if you store
On Thu, 25 Jul 2002 09:27:04 +0200
Pentothal [EMAIL PROTECTED] wrote:
Last but not least: it distributed under GPL !
AFAIK, that may causes problems. We cannot link GPL with non GPLized codes.
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 17 Jul 2002 10:06:11 +0200
Ulf Wendel [EMAIL PROTECTED] wrote:
Hi,
are there some DAO pattern implementations available for PHP to query
MySQL, Postgres and/or DB2? Which one do you preferr?
What mean DAO ? It can be confused (dao, ado, ...).
Did you try PEAR::DB_DataObject
Update your vacation message, we are the 17th :)
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2 Jul 2002 05:45:40 +0200
Andy [EMAIL PROTECTED] wrote:
is the increase of the network traffic noticable? The query is pretty small
just text. Do u really think this might increase the traffic?
Try to heavely charge a DB with images inside it.
Do the same without DB, that depends if
On Tue, 02 Jul 2002 12:57:56 +0200
Michael Bretterklieber [EMAIL PROTECTED] wrote:
Hi,
one point that you should keeped in mind is, if you have a cluster of
webservers connecting to the same db-server, then you have to mount the
filesystems, where you store the images on all webservers.
On Mon, 01 Jul 2002 14:55:01 -0300
Manuel Lemos [EMAIL PROTECTED] wrote:
Hello,
On 07/01/2002 06:46 AM, Casey Allen Shobe wrote:
I'm trying to write a unified database query function for an application I
have which currently accesses data from both DB2 and Microsoft SQL from a
Linux
On Mon, 1 Jul 2002 14:17:53 +0200
andy [EMAIL PROTECTED] wrote:
Hi there,
I am wondering if anybody has experiance in saving images to blob in mysql.
I do save images with 1 K and 4 KB to blob fields while I used to save them
to file. It seams to me that this is much slower accessing the
On Wed, 26 Jun 2002 10:41:26 +0200
Dib, Walid (MED, Stagiaire GEMS) [EMAIL PROTECTED] wrote:
Hello,
I downloaded the application PHPEd and DBG, I need débugger but I cannot
bind the two applications is what somebody has an idea. Thank you in
advance
I did not use DBG on
On Wed, 26 Jun 2002 10:41:26 +0200
Dib, Walid (MED, Stagiaire GEMS) [EMAIL PROTECTED] wrote:
Hello,
I downloaded the application PHPEd and DBG, I need débugger but I cannot
bind the two applications is what somebody has an idea. Thank you in
advance
the link to the forum :
On Wed, 26 Jun 2002 06:52:14 -0700 (PDT)
Manuel [EMAIL PROTECTED] wrote:
Any idea why this problem does not manifest itself in Foxpro, Excel or Visual Basic?
This problem happens also with VB. But later :), By example if you use decimal type,
smallest non-zero number is
On Tue, 25 Jun 2002 14:29:08 -0700
Michael Robbins [EMAIL PROTECTED] wrote:
I'm looking for a utility that can compare two database structures and
generate a SQL statement that will duplicate the differences.
I'm using mySQL and I have both live and development databases. While
working
On Mon, 3 Jun 2002 12:48:47 -0400
James Kupernik [EMAIL PROTECTED] wrote:
and I'm getting this:
Warning: Invalid argument supplied for foreach()
Why is that?
are you sure $cart is an array ?
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
i get $postdate from my mysql database,the problem is that i want
to increase that date by 6 months??
its stored in mysql as date field
http://www.mysql.com/doc/D/a/Date_and_time_functions.html
check DATE_ADD :)
hth
pa
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
On Sat, 16 Mar 2002 10:46:38 -
Dave Carrera [EMAIL PROTECTED] wrote:
Hi All
I am trying to count how many product names in my db have the same
category id and then show it ie:
Catid 1 Product 1
Catid 1 Product 2
Catid 2 Product 3
Catid 3 Product 4
Catid 3 Product 5
Result
On Sat, 16 Mar 2002 11:50:11 -
DL Neil [EMAIL PROTECTED] wrote:
Hi Dave,
SELECT * FROM tblNm;
SELECT * FROM tblNm GROUP BY Catid1;
SELECT Catid1, count(*) FROM tblNm GROUP BY Catid1;
As I said 'follow your instincts' and take it one step at a time: Code
the simplest query first,
On Wed, 21 Nov 2001 09:19:44 -0500 (EST)
Joao Prado Maia [EMAIL PROTECTED] wrote:
On Wed, 21 Nov 2001, Manuel Lemos wrote:
If we fixed these problems and more, we could talk about having
a unified API. Otherwise for the Oracle OCI_ASSOC, I would prefer
not to change it for speed,
Well I strongly need thoses $15 000 $ so
What is the purpose ?
As a average php user/developper I don_t really care about the pure cross
plateform/database issue but I do care about a standard, clean, secure (my-
bugs-free) and easy way to use a database, and PEAR::BD + Thomas V Cox
On Wed, 21 Nov 2001 16:14:04 +0100 (MET)
Luc Saint-Elie [EMAIL PROTECTED] wrote:
En réponse à Pierre-Alain Joye [EMAIL PROTECTED]:
This definition defines more a common interface to connect to a db,
execute queries, fetch the result and eventually gives errors reports
;).
Somehow
I probably used a bad choice of words. What I really meant was: What is
the objective of PEAR::DB as a database abstraction library ? To abstract
as much as possible like Metabase already does, or to provide a unified
API to databases and leave the implementation related to database specific
On Wed, 14 Nov 2001 16:27:20 -0400 (VET)
Ricardo Núñez [EMAIL PROTECTED] wrote:
Mensaje citado por: Gonzalez, Lorenzo [EMAIL PROTECTED]:
I thought '--with-db2' meant you'd get a DB2 (IBM) driver... what has
DB2 got to do with Berkeley?
An I suffering a bit of confusion between IBM's
I just put '--with-db2'. I suppose it compiled its Berkeley db2 code. Other thing, I
use PHP 4.0.6.
me too ;) but php not... every others tools on my station recognizes the db,db2 and
db3 support, php not.
Which lib do you have ? any link ? (or email :)
pa
--
PHP Database Mailing List
On Wed, 14 Nov 2001 16:56:47 -0400 (VET)
Ricardo Núñez [EMAIL PROTECTED] wrote:
Mensaje citado por: Pierre-Alain Joye [EMAIL PROTECTED]:
I just put '--with-db2'. I suppose it compiled its Berkeley db2 code.
Other thing, I use PHP 4.0.6.
me too ;) but php not... every others tools
Anyone can help with php and OCI8, to get the connection with Oracle? I am
running Oracle 9.0 and the error message is ORA-12705 (invalid or unknown
NLS parameter in /usr/local/apache/htdocs/xyz.php on line 5).
I am running PHP 4.0.6, Apache 1.3.22 on Suse linux 7.1
Thanks in advance
--
PHP
b and d.
Is it possible to get it directly from a SQL query ? (I am using MYSQL).
Thank for helping me.
Pierre
Thanks but I think subselect is not possible with MYSQL.
Pierre
- Original Message -
From: Gonzalez, Lorenzo [EMAIL PROTECTED]
To: Pierre [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 12, 2001 1:08 PM
Subject: RE: [PHP-DB] SQL query
in other RDBMs this is easily done
that produce a gif and then calling that gif as part of the report. But
I need to rotate this gif 90 degrees CW.
Can I do that with PHP?
Platform
-
W2K
MySQL
PHP 4.04
Let me clarify this. The app is written in PHP and I cannot find
anything that references rotating an
On Thu, 1 Nov 2001 16:17:38 +0550
[EMAIL PROTECTED] wrote:
Most of them availalbe in the downloads section of mysql.com :
http://www.mysql.com/downloads/contrib.html
Look at the sections clients, converter and using MySql with Other Products
hth
pa
--
PHP Database Mailing List
of a
developpement.
Thanks.
Pierre
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello,
Warning: Cannot add header information - headers already sent by (output
started at
e:\projects\globosapiens\07_production\actual\account\include\user.php:256)
in e:\projects\globosapiens\07_production\actual\account\include\user.php
on line 260
Where is the problem??? I can't see
Hello,
Currentlu testing the dbm functions (for a wrapper class), stopped with dbm.
Configure does not recognize the dbm library (db-3.3.11).
gdbm, db3 has been recognized.
Wich library do I need to use the dbm function (with or without dba), any
link ?
thank's
pa
--
PHP Database Mailing
Adress. I hope somebody could help
me.
Pierre Jochem
webmaster stpauli.de
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
70 matches
Mail list logo