Help
Search
Login
Register
Home
Forum: web design and graphics community
Celestial Star Forum
>
Web Development
>
Coding
>
php
Pages: [
1
]
« previous
next »
Print
Author
Topic: php (Read 966 times)
impressiondesigns
Skogul
Posts: 43
php
«
on:
October 01, 2006, 12:44:20 PM »
ok so im finally understanding a bit of php and mysql. but what i dont get is..do i really need to make databases for my site? cuz my sites a graphic design site and provides avatars/icons, layouts, blends etc. what would i need the databases to do?
Logged
Blackstone
Administrator
Valkyrie Randgris
Posts: 821
Oh look! People!
php
«
Reply #1 on:
October 01, 2006, 12:53:04 PM »
Databases, though not needed, make it easier to update your site. If you didn't use databases, then each time you wanted to add a layout or an avatar to your site, you would have to go into your file, and physically
add
the avatar or layout to the page to display.
With databases, all you need to do is enter in some information, and if you have it set up correctly, the PHP in your file will automatically display the new avatar/layout. Databasing also makes it easier to sort and view things, keep track of how many times your layout is viewed, and other things like that. ^^
Logged
impressiondesigns
Skogul
Posts: 43
php
«
Reply #2 on:
October 01, 2006, 01:48:11 PM »
oo ok so basically once i have it in my database, php automatically puts it up without me having to put it in manually? and also..i moved my domain from freewebs to awardspace.com. for the nameservers i changed them to awardspace but left the freewebs nameserver as the third one. and im having trouble viewing my php files.
my site is
www.impressiondesigns.us
and that site still shows up in the freewebs so i know its connected there. and it says its set up to awardspace too since im allowed to upload files. but for some reason it says that
www.impressiondesigns.us/index.php
doesnt exist. and neither do my other php files :/ i uploaded my php files from awardspace..so yeah... :/
Logged
Blackstone
Administrator
Valkyrie Randgris
Posts: 821
Oh look! People!
php
«
Reply #3 on:
October 01, 2006, 03:08:32 PM »
If you have it set up correctly, then yes. ^^
It says that index.php doesn't exist because it doesn't. You're currently using .html files, all your links lead to .html files and your index page is a .html.
Logged
impressiondesigns
Skogul
Posts: 43
php
«
Reply #4 on:
October 01, 2006, 03:30:06 PM »
well thats because thats in freewebs
my php files are in awardspace.com. do i have to take off the freewebs server for it to fully function in awardspace?
Logged
Blackstone
Administrator
Valkyrie Randgris
Posts: 821
Oh look! People!
php
«
Reply #5 on:
October 01, 2006, 04:18:01 PM »
Oh... yeah, probably. I don't think you can host a domain name on two hosts. I don't know, though, I've never really messed with it before.
Logged
impressiondesigns
Skogul
Posts: 43
php
«
Reply #6 on:
October 01, 2006, 04:43:40 PM »
o ok. i have a question though..in my account theres this directory called /home/www and thats where my files are. and say the file i uploaded is layouts.php and i uploaded it in /home/www because its the default directory or root. how do i view it? like..what will the link be?
Logged
Blackstone
Administrator
Valkyrie Randgris
Posts: 821
Oh look! People!
php
«
Reply #7 on:
October 01, 2006, 05:00:03 PM »
Hmmm.... maybe that's why the files aren't showing up. Maybe you have them in the wrong directory? I'm not really sure, I've never used awardspace before and each host is different.
Logged
impressiondesigns
Skogul
Posts: 43
php
«
Reply #8 on:
October 01, 2006, 05:16:18 PM »
oo ok. well i changed where the files are and put them in the impressiondesigns directory and took of the freewebs nameserver and now it works. YAYYAYAYA! thank youuu sooo much!! ahh youve helped me tons of times. and THANK YOU THANK YOU THANK YOU lol :D
Logged
Blackstone
Administrator
Valkyrie Randgris
Posts: 821
Oh look! People!
php
«
Reply #9 on:
October 02, 2006, 10:19:51 AM »
Awesome! ^^ I'm glad it works. =)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General
=> New Members
=> Announcements
=> Support / Suggestions
-----------------------------
Contests
-----------------------------
=> Archive
===> Contests
===> Blend Challenges
===> SOTW
-----------------------------
Art Boards
-----------------------------
=> Creative mediums
=> Requests & offers
=> Tutorials
===> Celestial Star Tutorials
-----------------------------
Web Development
-----------------------------
=> Coding
=> Web Design
=> Advertisements / Affiliation
-----------------------------
Off-topic
-----------------------------
=> Entertainment
-----------------------------
Español (Spanish Only)
-----------------------------
=> General / Bienvenida
=> Anuncios / Ayuda
=> Código / Desarrollo web
Welcome,
Guest
Members login
Register for free
General
General
New members
Announcements
Support / Suggestions
Art boards
Creative mediums
Requests and offers
Tutorials
Celestial Star tutorials
Web development
Coding
Web design
Advertisements / affiliation
Off-topic
The non-sense
Ententainment
Loading...