Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #46  
Old May 30th, 2001, 09:36 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: accessing oracle database?

May be you must not compile it.
Look for php_oracle.dll in php/extension dir.
If you find it, only uncomment
;extension=php_oracle.dll
in php.ini and restart apache.

Let me know what happens ;)

Reply With Quote
  #47  
Old June 25th, 2001, 01:06 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Nice synopsis

This article was a decent short synopsis of PHP class syntax even for experienced OO architects unfamiliar with PHP

Reply With Quote
  #48  
Old June 30th, 2001, 02:46 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
require php-mysql modules for Redhat Linux 6.2

I have Redhat linux 6.2 box (i386), on its able run .php3 files.
I hope, this php environment has come default with Linux installation.

Now I would write PHP scripts to connect the MySQL database.
So, what are php-MySQL modules, which version do I need to install on this Linux box?

Where do I get the compatable php-mysql modules?

Becuase, I have tried with
php-mysql-4.0.5-3.i386.rpm

It's giving following error:

only packages with major numbers <= 3 are supported by this version of RPM
error: php-mysql-4.0.5-3.i386.rpm cannot be installed


Please help me in this regard.

I would be thankfull for help.

-SubbaReddy
msubbareddy@mailcity.com

Reply With Quote
  #49  
Old February 11th, 2002, 12:30 PM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Gestault Moment

I don't have a formal software engineering academic, however I've been programming professionally for several years- php for over 1.5. However, I've never really been able to realize the power for object oriented programming. Most of my applications were written solely by me, and as long as I organized my libraries I found my code to be pretty scalable and reusable. However, this article with the example of mounting directories finally hit home. This is a great article. Thank you!!

Reply With Quote
  #50  
Old June 22nd, 2002, 11:54 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Thanks

TO the Author,
Thanks for taking the time to wirte this tutorial. It has helped me get over a serious hump...

Reply With Quote
  #51  
Old April 18th, 2003, 05:13 AM
Gerald Messiaen Gerald Messiaen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 1 Gerald Messiaen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
mysql_fetch_array()

I used class DB_Sql on my localhost and it works fine.
When using it on a web server, I get

"
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /db_mysql.inc on line 66

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /db_mysql.inc on line 73
"

the call is

$query = "select ...";
$db->query($query);
if (!$db->next_record()) {
do {
..
} while ($db->next_record());

Any idea ?

Thanks

Reply With Quote
  #52  
Old May 27th, 2003, 04:28 PM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Accessing Databases with Class

Accessing Databases with Class

June 14, 1999 - PHP offers a large number of native interfaces to database servers from different vendors. All of them are accessed in a similar, but subtly different way, which has its reason in the differences of the underlying C API and in the historic development of PHP's database support. In this article, you will learn how to create an easier interface to SQL databases by employing the class and object features of PHP.

Please discuss this article in this thread. You can read the article here .

Reply With Quote
  #53  
Old May 28th, 2003, 10:02 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If you would like to see an article covering a particular topic, please post your request here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Accessing Databases with Class


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT