Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
UncleanSp is on a distinguished road
 
Posts: 1
Join Date: Aug 2008
Default PHP pages. - 08-26-2008, 01:40 PM

Any idea on how to make PHP pages using the Admin Panel?

When I make a .php page via FTP,the default website theme does not load.

When I make the page via Admin panel it's HTML.

Any idea?
Reply With Quote
(#2 (permalink))
Old
sizzlefire's Avatar
Moderator
sizzlefire is an unknown quantity at this point
 
Posts: 1,122
Join Date: Apr 2008
Send a message via MSN to sizzlefire Send a message via Yahoo to sizzlefire
Default 08-27-2008, 09:27 PM

What exactly do you mean? If you want to create a php page, then go to notepad, put your code in it, save it as index.php and then upload it to the public_html file, it will then be your index page.


My sites:
My Blog | My Forum | Flash Games | File Sharing | Downloads

http://000webchat.wiredtron.com
the 000webhost support live chat, talk with members, users, and other people related. come here for support about anything, that another member could help with.

<?require("sleep.php");?>
Reply With Quote
(#3 (permalink))
Old
Member
Devastator is on a distinguished road
 
Posts: 50
Join Date: Aug 2008
Default 08-28-2008, 12:10 AM

HTML, JS, PHP, CSS, XML, XSL, etc. are all essentially just word documents, so you can actually switch between these extensions as much as you like. They may not function properly when changed to another extension, but they can still be changed to have a different extension and still be opened with any text editor as sizzlefire pointed out.

You can actually take a HTML document and just change the extension to PHP or XML/XSL and it'll still be read like an HTML file, since the PHP extension just tells the server to process any PHP coded that might be included in the document. As for XML/XSL, XHTML is essentially HTML with XML rules, so provided your HTML document is well-formed, it can be used as XML/XSL.

If you feel up to coding pages yourself (or if you can find the packages you plan to use), I would highly suggest that you download a server application such as XAMPP or another similar program. Such programs allow you to host your web pages from your own computer (you'll be able to view them from the localhost address (or IP 127.0.0.1)) so you can see how the pages look before you upload them to your website. This can help to prevent viewers from seeing any bugs you might run into while updating your site.
Reply With Quote
(#4 (permalink))
Old
YaThisHostRox's Avatar
Senior Member
YaThisHostRox is on a distinguished road
 
Posts: 346
Join Date: Jul 2008
Location: In a place where I don't answer IMs
Send a message via AIM to YaThisHostRox Send a message via MSN to YaThisHostRox Send a message via Yahoo to YaThisHostRox Send a message via Skype™ to YaThisHostRox
Default 08-29-2008, 09:30 PM

Use FTP to create PHP. Erm... duh...
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com