|
by: kain |
last post by:
hi there,
I'm currently converting a MySQL application to PostgreSQL, and I
hacked this app to support PEAR::Db .
after some good coding days, I've found a problem: mysql_insert_id on
pear::db .
I've those two piece of code, the first is part of a class:
---------
function connect($layer,$host,$db_port,$db_name,$user,$pass) {
$dsn = "$layer://$user:$pass@$host:$db_port/$db_name";
|
by: Chung Leong |
last post by:
Do you guys use PEAR regularly?
I haven't used it at all and wonder if I'm outmoded in PHP fashion.
|
by: Robert |
last post by:
Iam running a server and PEAR is compiled with PHP. Before some days I have
upgraded PHP from 4.3.4 to 4.3.7 using Apache update from WHM (cPanel). This
went well but after that one client contacted me to tell me that he have
problems with showing some variables. The thing is that he told me that he is
using his own PEAR installation in his web hosting account !
This is part of the code which had a problem:
$ID_rubrike =$row; //THIS...
|
by: Tim Tyler |
last post by:
I've been using PHP for a while now - and have recently been trying
to set up PHP, MySQL and Apache on Windows (for a client).
It seems like all the PEAR stuff under PHP 5 doesn't work out of the box.
It took me a while to track down the go-pear.bat file in the root -
what with all the other garbage in there.
Shouldn't this file get at least a mention in:
|
by: Sven Jacobs |
last post by:
Dear newsgroup,
I've upgraded to PEAR::DB 1.6.5 recently. Unfortunately now the database
connection doesn't work as expected anymore :( The problems seems to be the
method disconnect(), which now closes the database connections of _all_
database objects. I ask myself if this is intentional or a bug. Below a
code example:
01 <?php
02 error_reporting(E_ALL);
|
|
by: Wayne Smallman |
last post by:
Hi! I've had a look through various forums for some advice on getting
Pear DB working with my Entropy installation of PHP Version 4.3.6
Most of the topics I found are after the fact, so that's not much use to me.
I want run Pear DB under PHP Version 4.3.6 with MySQL Version 3.23.49.
At the minute, I'm getting this error from the Pear.php file:
Code:
|
by: crescent_au |
last post by:
Hi all,
I've been using PHP for a while now but I haven't actually used PEAR. I
have just read half a chapter in a book, it sounds alright but haven't
actually used it. I was just wondering, is it really necessary to use
PEAR? I usually get things done using PHP/MySQL. I don't know if I'm
really missing out on something by not using PEAR. How highly is it
recommended? On most job ads, i don't even see them mentioning PEAR.
They mostly...
|
by: john |
last post by:
All:
Very experienced developer, newbie to PHP. My situation:
I have installed on my WIndows XP machine the following:
* PHP 5.2.1
* MySQL 5.0
* Apache 2.2
All of these are installed under C:\Program Files under their own
|
by: wannabe |
last post by:
This is being installed on WindowsXP home edition.
I am a complete novice at working with php and have just installed apache2_2, php5, mySQL5.0 and phpMyAdmin 2.10.1. After installing all 4 programs following the instructions from http://www.semtopia.com/?p=28 it tells you to create a file called testpear.php to test your pear install when working with MySQL and PHP. The file I was to create contains this information:
<?php
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|