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

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:
  #1  
Old July 1st, 2003, 09:35 PM
vb.net vb.net is offline
Demonic Swordsman DGQB
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Posts: 997 vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 12 h 50 m 48 sec
Reputation Power: 76
Need a solution

Here is the delimma: For my personal website, I must use a server-side language to pull records out of an MS ACCESS database. Naturally, I would go with ASP. But, this language must be hosted on my university's Unix server, so the hell with ASP. Here are some of my options:

1. use PHP with Access (has anyone EVER done that?)
2. use Perl with Access (is that even possible?)
3. use PHP with MySQL (yay - but I haven't used either)
4. use PHP with some other free DB solution

5. if all fails, copy static HTML from [the ASP/Access page hosted on my personal server] onto the new server. This is a stupid solution, as I would need to manually replace the HTML every time I update the database, which I do every week.

I'm open to THE EASIEST suggestions.

Reply With Quote
  #2  
Old July 1st, 2003, 09:46 PM
thedude thedude is offline
The Dude Abides
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Feb 2000
Location: grass valley,ca
Posts: 1,063 thedude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 9 h 4 m 29 sec
Reputation Power: 10
Try this:

Keep the Access db on your local computer, use mysql on the unix server and php. Connect the access db to the server using the myodbc drivers.

Now, anytime you update the Access db it will automatically update the website database.
__________________
The Dude
I'm the Dude. So that's what you call me.
That, or Duder, His Dudeness, Or El Duderino.
If, you know, you're not into the whole brevity thing

Reply With Quote
  #3  
Old July 1st, 2003, 09:56 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Easiest solution long term would probably be to just migrate the data from Access to MySQL (shameless plug: or, I'd actually recommend PostgreSQL or maybe Firebird) and be done with it. If I had a dime for every headache Access 97 through 2002 ever gave me I'd be able to buy the damn thing and axe its production for good....

And yes, you can access Access with Perl - I do it all the time... unfortunately.

Last edited by Ctb : July 1st, 2003 at 10:01 PM.

Reply With Quote
  #4  
Old July 1st, 2003, 11:29 PM
vb.net vb.net is offline
Demonic Swordsman DGQB
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2003
Posts: 997 vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level)vb.net User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 12 h 50 m 48 sec
Reputation Power: 76
About MySQL or PostgreSQL, is it GUI a la ACCESS at all? I like entering data in Access by just double-clicking on the table. That's real easy. Do I have to use SQL to insert data into these unix DBs?

Reply With Quote
  #5  
Old July 2nd, 2003, 09:28 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,840 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 36 m 16 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
They both have front ends that allow you to view and add data / tables / etc... to them. There are two web front ends that I know of that are made with php (see sourceforge for phpmyadmin, etc) and I know of one command center (see the mysql website) for mysql but I am not sure about postgresql.

Reply With Quote
  #6  
Old July 2nd, 2003, 09:31 AM
bcyde's Avatar
bcyde bcyde is offline
Me likey breadsticks...
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jan 2003
Location: Los Angeles
Posts: 1,189 bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level)bcyde User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 1 h 12 m 58 sec
Reputation Power: 12
Send a message via AIM to bcyde Send a message via Yahoo to bcyde
MySQL and Postgres can both have GUI type front ends to them. Look up phpmyadmin for mysql and phppgadmin for PostgreSQL. They're both web based front ends to adminster the databases. They also have full client executable front ends to aid in administering like PGAdmin II. Check here under administration tools for more PG stuff. I'm sure MySQL has the same type of stuff, if not more, but I'm more partial to PG.

HTH,

-b
__________________
PostgreSQL, it's what's for dinner...

Reply With Quote
  #7  
Old July 2nd, 2003, 11:39 AM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
If you get the Windows version of dbExperts' PostgreSQL you get some funky little Tk-based GUI tool called pgAccess with it. It's ugly as all heck but it does a lot of the same basic stuff as Access like letting you enter data into the system using spreadsheet-like "tables". I don't know if you can get that seperately or if it's only with the Windoze version though.

Still, you're best bet would probably be the web-based admin tools for My/PostgreSQL that were previously mentioned.

One other thing: Access is incredibly stupid and tries to test for the existence of NULLs in some of the reports it creates. If you properly iplement the system, testing for the existance of NULLs is totally useless, so when Access is hooked as the frontend to some systems (like PostgreSQL), you can cause problems. You can set PostgreSQL to handle these oddball tests the way Access wants to, but why risk breaking your data because the people who programmed Access think that databases and spreadsheets are the same thing? Just ditch Access... that's just one of numerous problems Access has with proper data handling. If you stick with it, you'll get burned eventually (frequently, is more likely).

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Need a solution


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


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





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