Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New to PHP 2

Status
Not open for further replies.

Elliott3

Programmer
Joined
Sep 5, 2002
Messages
347
Location
CA
Hey all,

I have never even looked at PHP and am thinking of learning. Is it secure? Also, can you use an MSAccess database. I am thinking of translating a small ASP site to PHP...any suggestions? All feedback welcome..

CES
 
For the most part, PHP is as secure as the code you write. There are some runtime configuration settings which can affect security, notably register_globals ( PHP's default configuration is generally the most secure.

You can use Access as a database backend using PHP's support for ODBC, provided you are running PHP on Win32.

A good place to start with PHP is the PHP online manual, available at and a number of mirrors around the world. The online manual is continually kept up-to-date, and contains a lot of code examples.

Coming from ASP, you're probably going to want to take a look at PHP's predefined variables ( which are arrays that take the place of a number of the object properties you use in ASP to get input from forms, etc. You're probably also going to want to take a look at PHP's session-handling functions:
Want the best answers? Ask the best questions: TANSTAAFL!!
 
Thanks for the suggestions! In reegards to the Access database...it site will be running on an apache server...is that going to be a problem?

CES
 
No,

As long as ur hosting the site on windows based server!!

--------------------------------------------------------------------------
I never set a goal because u never know whats going to happen tommorow.
 
And before the obvious confusion point sets in, Apache is your web server (which can be anything you want), Windows (Win32 etc) is the OS that your web server runs on (which in this case must be Windows).
 
I figure in for a penny, in for a pound....

I also recommend that you look into one of the open source database servers, such as MySQL.

Access was engineered to be a single-user database engine. Although it can do multiuser apps, that functionality is an add-on that I've found to be not particularly stable. A database server can give you very good throughput and better data consistency.

Also, PHP can communicate with database servers using native communication libraries, which removes some of the performance hits you take using ODBC.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top