Hey folks.
Not sure if this is the right place to be asking this, (I looked for a
PHP group for dopes but couldn't find one...) You're probably going to
think I'm a philistine for doing this but what can I do...
I downloaded a copy of DBqwiksite and have "designed" a wee PHP
website based on an access database with only one table with 7
datafields. Its laughably straight forward. The thing is, I have no
idea what the file structure on my web space should be like.
Do I put the database in the root folder or does it go in a seperate
database folder? I have to say, don't believe the blurb on
DBqwiksite's box, its so easy to get something up and running on your
PC but as soon as you try to publish; it falls flat on its face.
It has a 'deploy' wizard but so far, it has been distinctly unwizard-
like in that it deploys everything other than the database itself.
Any basic pointers would be appreciated and do assume that I know very
little about PHP. If I see INVALID QUERY once more on my screen its
going out the window... :-)
Thanks 4 1709
pa_broon74 wrote:
Hey folks.
Not sure if this is the right place to be asking this, (I looked for a
PHP group for dopes but couldn't find one...)
That is OK, dopes are welcome here. ;-)
You're probably going to
think I'm a philistine for doing this but what can I do...
I downloaded a copy of DBqwiksite and have "designed" a wee PHP
website based on an access database with only one table with 7
datafields. Its laughably straight forward. The thing is, I have no
idea what the file structure on my web space should be like.
Do I put the database in the root folder or does it go in a seperate
database folder? I have to say, don't believe the blurb on
DBqwiksite's box, its so easy to get something up and running on your
PC but as soon as you try to publish; it falls flat on its face.
Where to put the yourDB.mdb file?
Best thing to do is make that general, so you don't have to decide upfront,
since you don't know the target machine.
How to make it flexible?
Define the location of the database in a file.
Include this file in all pages that use the database.
You can also add the connectstring in the same file.
That way you can easily change location without having to check all your
scripts.
Have a look at www.php.net and find the function:
require() or probably better: require_once()
You can also use include() but require will throw an error at you when the
file cannot be found, which makes more sense on a page that demands
databaseaccess. :-)
It has a 'deploy' wizard but so far, it has been distinctly unwizard-
like in that it deploys everything other than the database itself.
Well, no help there. I never used that program.
>
Any basic pointers would be appreciated and do assume that I know very
little about PHP. If I see INVALID QUERY once more on my screen its
going out the window... :-)
Don't hit any Linux users please. ;-)
>
Thanks
Regards,
Erwin Moller
Erwin Moller wrote:
pa_broon74 wrote:
>Hey folks.
Not sure if this is the right place to be asking this, (I looked for a PHP group for dopes but couldn't find one...)
That is OK, dopes are welcome here. ;-)
You're probably going to
>think I'm a philistine for doing this but what can I do...
I downloaded a copy of DBqwiksite and have "designed" a wee PHP website based on an access database with only one table with 7 datafields. Its laughably straight forward. The thing is, I have no idea what the file structure on my web space should be like.
Do I put the database in the root folder or does it go in a seperate database folder? I have to say, don't believe the blurb on DBqwiksite's box, its so easy to get something up and running on your PC but as soon as you try to publish; it falls flat on its face.
Where to put the yourDB.mdb file?
Best thing to do is make that general, so you don't have to decide
upfront, since you don't know the target machine.
How to make it flexible?
Define the location of the database in a file.
Include this file in all pages that use the database.
You can also add the connectstring in the same file.
That way you can easily change location without having to check all your
scripts.
Have a look at www.php.net and find the function:
require() or probably better: require_once()
You can also use include() but require will throw an error at you when the
file cannot be found, which makes more sense on a page that demands
databaseaccess. :-)
>It has a 'deploy' wizard but so far, it has been distinctly unwizard- like in that it deploys everything other than the database itself.
Well, no help there. I never used that program.
>> Any basic pointers would be appreciated and do assume that I know very little about PHP. If I see INVALID QUERY once more on my screen its going out the window... :-)
Don't hit any Linux users please. ;-)
>> Thanks
Regards,
Erwin Moller
One addition: IF you choose Access as your database you are limmiting
yourself to Microsoft platforms (read IIS).
I think you can also use Access on Linux, but this is a lot of pain, and you
don't want that.
IF you are in the process of designing your application, it makes sense to
switch to a database, like Postgres or MySQL. Those databases can run under
both W$-OS and Linux.
Regards,
Erwin
On 6 Mar, 13:06, Erwin Moller
<since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
Erwin Moller wrote:
pa_broon74 wrote:
Hey folks.
Not sure if this is the right place to be asking this, (I looked for a
PHP group for dopes but couldn't find one...)
That is OK, dopes are welcome here. ;-)
You're probably going to
think I'm a philistine for doing this but what can I do...
I downloaded a copy of DBqwiksite and have "designed" a wee PHP
website based on an access database with only one table with 7
datafields. Its laughably straight forward. The thing is, I have no
idea what the file structure on my web space should be like.
Do I put the database in the root folder or does it go in a seperate
database folder? I have to say, don't believe the blurb on
DBqwiksite's box, its so easy to get something up and running on your
PC but as soon as you try to publish; it falls flat on its face.
Where to put the yourDB.mdb file?
Best thing to do is make that general, so you don't have to decide
upfront, since you don't know the target machine.
How to make it flexible?
Define the location of the database in a file.
Include this file in all pages that use the database.
You can also add the connectstring in the same file.
That way you can easily change location without having to check all your
scripts.
Have a look atwww.php.netan d find the function:
require() or probably better: require_once()
You can also use include() but require will throw an error at you when the
file cannot be found, which makes more sense on a page that demands
databaseaccess. :-)
It has a 'deploy' wizard but so far, it has been distinctly unwizard-
like in that it deploys everything other than the database itself.
Well, no help there. I never used that program.
Any basic pointers would be appreciated and do assume that I know very
little about PHP. If I see INVALID QUERY once more on my screen its
going out the window... :-)
Don't hit any Linux users please. ;-)
Thanks
Regards,
Erwin Moller
One addition: IF you choose Access as your database you are limmiting
yourself to Microsoft platforms (read IIS).
I think you can also use Access on Linux, but this is a lot of pain, and you
don't want that.
IF you are in the process of designing your application, it makes sense to
switch to a database, like Postgres or MySQL. Those databases can run under
both W$-OS and Linux.
Regards,
Erwin- Hide quoted text -
- Show quoted text -
Thanks for your help.
I think that I might transmogrify from access to mySQL. We don't
support access here so it makes sense to use sql (which we do, sort of
anyway...)
My IT equipment is still on my desk, I count this as a good day :-)
(Am I allowed to aim for apple users?? ;-)
pa_broon74 wrote:
On 6 Mar, 13:06, Erwin Moller
<since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
>Erwin Moller wrote:
pa_broon74 wrote:
>Hey folks.
>Not sure if this is the right place to be asking this, (I looked for a PHP group for dopes but couldn't find one...)
That is OK, dopes are welcome here. ;-)
You're probably going to think I'm a philistine for doing this but what can I do...
>I downloaded a copy of DBqwiksite and have "designed" a wee PHP website based on an access database with only one table with 7 datafields. Its laughably straight forward. The thing is, I have no idea what the file structure on my web space should be like.
>Do I put the database in the root folder or does it go in a seperate database folder? I have to say, don't believe the blurb on DBqwiksite's box, its so easy to get something up and running on your PC but as soon as you try to publish; it falls flat on its face.
Where to put the yourDB.mdb file?
Best thing to do is make that general, so you don't have to decide
upfront, since you don't know the target machine.
How to make it flexible?
Define the location of the database in a file.
Include this file in all pages that use the database.
You can also add the connectstring in the same file.
That way you can easily change location without having to check all
your scripts.
Have a look atwww.php.netan d find the function:
require() or probably better: require_once()
You can also use include() but require will throw an error at you when
the file cannot be found, which makes more sense on a page that demands
databaseaccess. :-)
>It has a 'deploy' wizard but so far, it has been distinctly unwizard- like in that it deploys everything other than the database itself.
Well, no help there. I never used that program.
>Any basic pointers would be appreciated and do assume that I know very little about PHP. If I see INVALID QUERY once more on my screen its going out the window... :-)
Don't hit any Linux users please. ;-)
>Thanks
Regards,
Erwin Moller
One addition: IF you choose Access as your database you are limmiting yourself to Microsoft platforms (read IIS). I think you can also use Access on Linux, but this is a lot of pain, and you don't want that. IF you are in the process of designing your application, it makes sense to switch to a database, like Postgres or MySQL. Those databases can run under both W$-OS and Linux.
Regards, Erwin- Hide quoted text -
- Show quoted text -
Thanks for your help.
I think that I might transmogrify from access to mySQL. We don't
support access here so it makes sense to use sql (which we do, sort of
anyway...)
My IT equipment is still on my desk, I count this as a good day :-)
(Am I allowed to aim for apple users?? ;-)
:-)
Even Apples have Postgresql and MySQL (at least in their 10.X editions).
I really doubt if you can find a Postgresql port for Apple OS 6, or
something old like that, but who knows: Maybe an adept created it.
Much to my suprise I found out people are using Amigas (my old favorite
comp) as webservers these days, so I wouldn't be too surprised to see an
OS6 run mySQL. :-)
Erwin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jerome |
last post by:
Hi, I'm a bit confused ... when would I rather write an database
application using MS Access and Visual Basic and when (and why) would I
rather write it using Visual Studio .Net?
Is it as easy in Visual Studio to create reports and labels as it's in
Access?`
The advantage of VS.net is that not every user needs Access, right? And
that would eliminate the Access version problem as well I guess.
|
by: bill |
last post by:
I am trying to convince a client that dotNet is preferable to an Access
project (ADP/ADE).
This client currently has a large, pure Access MDB solution with 30+ users,
which needs to be upgraded.
I believe a dotNet solution is better, but I'm trying to be as convincing as
possible -- and maybe I'm wrong!
I would appreciate any input or references which could help me.
|
by: Dave |
last post by:
Hello NG,
Regarding access-declarations and member using-declarations as used to
change the access level of an inherited base member...
Two things need to be considered when determining an inherited base member's
access level in the derived class: its access level in the base class and
the type of inheritance (public, protected, or private). After this
determination is made, the following possibilities exist for manually
changing the...
|
by: Simon Bailey |
last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have
a very simplified knowledge of databases overall. I would very much
appreciate a (simplifed) message explaining the advantages and
disadvantages of both programs.
Many Thanks
Simon
|
by: Frederick Noronha \(FN\) |
last post by:
---------- Forwarded message ----------
Solutions to Everyday User Interface and Programming Problems
O'Reilly Releases "Access Cookbook, Second Edition"
Sebastopol, CA--Neither reference book nor tutorial, "Access Cookbook,
Second Edition" (O'Reilly, US $49.95), by Ken Getz, Paul Litwin, and
Andy Baron, delivers hundreds of practical examples, up-to-date
suggestions, and handy solutions to real-world problems that Access users
and...
| |
by: Olav.NET |
last post by:
I am a .NET/C++ developer who is supposed to do some work with Access.
I do not know much about it except for the DB part.
Questions:
*1*
I am looking for INTENSIVE books to get quickly up to speed.
I like books with practical exercises, and also with test questions (like
cert books)
*2*
|
by: John |
last post by:
Hi
What future does access have after the release of vs 2005/sql 2005? MS
doesn't seem to have done anything major with access lately and presumably
hoping that everyone migrates to vs/sql.
Any comments?
Thanks
|
by: com |
last post by:
Extreme Web Reports 2005 - Soft30.com
The wizard scans the specified MS Access database and records
information such
as report names, parameters and subqueries. ...
www.soft30.com/download-1-11975.htm - 31k - Cached - Similar pages
MDBSecure 1.0.8.0 - Soft30.com
Utility which makes it easy to create secure MS Access Databases, ...
MS Access
2000/2003 format. 30 day money back guarantee, 30 day trial. ...
|
by: Mell via AccessMonster.com |
last post by:
Is there a way to find out where an application was created from?
i.e. - work or home
i.e. - if application sits on a (work) server/network, the IT people know the
application is sitting there, but is there a way they can find out if that
application was put there from a CD or email or created at work?
Hint: It's not on a client/server database, just native jet database mdb
created on Access 2003 (default 2000)...
|
by: jasmith |
last post by:
How will Access fair in a year? Two years? .... The new version of
Access seems to service non programmers as a wizard interface to
quickly create databases via a fancy wizard. Furthermore, why would
you even continue to use Access as a backend when you have a much
superior option in SQL express?
What about as a future front-end development tool? Let's get serious.
Microsoft continues to publish numerous articles and videos on how you...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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.
| |