/    Sign up×
Community /Pin to ProfileBookmark

to create directories

Hi there
I am building a web site and i am fine with the HTML part of it.
I have used PHP to connect to mySQL server DB. Now I have to create an index file and directories to give access to the owners of the web site.

Could any one answer the below at least provide me the link to resources.

What is an index file.

How can we create folders ( is it in data base or elsewhere)

How to provide security to it.
I am a novice in this field and would appreciate any kind of suggestion regarding web building.

Thanks in advance
skreddy

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@felgallJul 30.2005 — An index file is a file named index.html that is the home page for a given directory.

Directories are created on a web site not in a database. For example you might create an image directory to store your images separately from the HTML files.
Copy linkTweet thisAlerts:
@decibelJul 30.2005 — index.html or [B]index.php[/B]
Copy linkTweet thisAlerts:
@BeachSideJul 30.2005 — it depends on what you are using it for...

index.htm or index.html -> regular html or xhtml pages

index.php/index.php3/index.phtml (there are more but these are most common) -> server will parse these as php pages
Copy linkTweet thisAlerts:
@decibelJul 30.2005 — dont confuse him. start with index.php, since you said you are connecting to a sql db with php. echo ""; your html in this file, with references to your database data in the html.

Or, use index.php to redirect browsers to the page you want to be your home page.
×

Success!

Help @skreddy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...