Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 04-04-2008, 10:24 AM using GoDaddy.com
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
How do I turn my index page into a .php file?

and

Once you help me, how do I give you Talkupation?
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-04-2008, 11:28 AM Re: using GoDaddy.com
VirtuosiMedia's Avatar
Web Design Made Simple

Posts: 1,228
Trades: 0
Turning your index page into a .php file doesn't really have much to do with using GoDaddy.com as a host. All you have to do is save your file with the .php extension rather than the .html extension and then upload it to your server. Just doing that, however, isn't going to do much for you unless you're also going to use what PHP has to offer over HTML.

If you want to include actual PHP code in your file (you can even do it in an HTML file), you would insert the PHP in between the <?php and ?> tags. To learn about PHP, here is a site that gives a pretty good tutorial: http://www.tizag.com/phpT/

Last edited by VirtuosiMedia; 04-04-2008 at 11:31 AM..
VirtuosiMedia is offline
Reply With Quote
View Public Profile Visit VirtuosiMedia's homepage!
 
Old 04-04-2008, 02:42 PM Re: using GoDaddy.com
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
I recommend you rename the file to index.php
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 04-07-2008, 11:07 AM Re: using GoDaddy.com
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
Yeah, that's just the thing.

I would have renamed it to index.php from the get-go, but...

I am using a SiteBuilder that saves files in .ims

and it doesn't give me an option to save it as a .php

Or maybe it does and I am a dumb person.

But, I am using SiteBuilder v2.0 if that helps anyone.

But probably not, considering you guys are perhaps all hand coders
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
Old 04-07-2008, 12:40 PM Re: using GoDaddy.com
Skilled Talker

Posts: 90
Location: Savannah, GA
Trades: 0
Your server is going to have a list of file names that it will server out if the server isn't asked for a specific page (directory listing). Here is an example of a list.

index.htm
index.html
default.htm
default.html

if your server is running asp then the following might be added to the list

index.asp
index.aspx
default.asp
default.aspx

1. You need to verify you have PHP as an option
- try uploading a file called info.php and have the contents of the file be
Code:
<?php echo phpinfo(); ?>
2. using your browser go to http://yoursite.com/info.php

3. If you do have PHP the above page will tell you. Then look in your server admin area for that list I mentioned above and add index.php to the list

If you have difficulty after this your hosting company should be your next stop for help.

If you don't like your hosting company come back and take a look at what the people here like.

-Mike
__________________
-Mike
-
Please login or register to view this content. Registration is FREE
mgarde is offline
Reply With Quote
View Public Profile Visit mgarde's homepage!
 
Old 04-07-2008, 05:29 PM Re: using GoDaddy.com
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
nice, you got that solved for me in some very clear words. Thanks!

I'm struggling with the installation of some PHP scripts, which is why I asked.

They demand the homepage be .php for it to execute.
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to using GoDaddy.com
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23028 seconds with 12 queries