Getting Started

Kenbob

New Member
Messages
18
Reaction score
0
Points
0
I put my index.php file in the file manager. my website name per my understanding is www.brunk.elementfx.com

I am assuming you have to go to the web and type this in == nothing happens.

Here is my index.php it is in my home directory
Any help?
PHP:
<html>
<head>
<title>Can You Do It</title>
</head>
<body bgcolor="#FFFFFF">
<?php
/* php require("header.php") the book says to use 
require -fatal error instead of include */
// Comment This is opening page for starters
//*************************************
/*
This is comment on a block
Block1
Block2
*/

$txt = "7x24 Is the Way to Go!";
echo $txt;.<br />
?>
<p>Some paragaph text</p>
<?php
$d=date("D");
echo $d;.<br />
$wholedate=date("Y/m/d");
echo $wholedate;
// You could put dashes or dots or slashes
//*************************************
/*  
Posts to file named name_company_post.php
To format the output to web make this file
*/
?>
</body>
</html>
 
Last edited by a moderator:

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Put the file in public_html
Make sure you delete the current index.html

All files visible to the public must be in that folder.
 
Last edited:
Top