Unstoppable Domains โ€” AI Assistant

Php question

SpaceshipSpaceship
Watch

Badger

Ravaged By AgeVIP Member
Impact
107
So this guys writes me a script and stuff in php.

He does a bit of layout and design work and i pay him.

Being solely an html man (with no training), who up to recently was still designing in frames, how with my frontpage software do i incorporate his script and redesign my site.

Please, fisher price instruction / tips if you have any please.

fyi, the site is www.premiershipchallenge.com

Thanks in advance, 50 NP$ for any useful help
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
I believe you insert something like this into the layout.
PHP:
<?PHP
 include("path/to/php_file.php");
?>

I dont have frontpage but i'm sure theres a way where you can include HTML
 
0
•••
Thanks Cooper, but what i need are real basic stuff like "heres where you'll find the php code", "heres what you do", "this is how you design in php"
 
0
•••
Badger said:
Thanks Cooper, but what i need are real basic stuff like "heres where you'll find the php code", "heres what you do", "this is how you design in php"

You should really be doing a bit of research.

Google PHP Basics Tutorial or something of the sort.

This forum is a lot more useful if you have problems that need solving than if you need training from scratch. PM if you want resources to learn from.
 
0
•••
quick and dirty solution:
- open your index.htm code in notepad, not frontpage
- look for the <body> tag
- right after the <body> tag, and assuming the php script written for you is named myphpfile.php, enter:

<?PHP
include(myphpfile.php);
?>

- "save as" index.php
- close index.php
- upload index.php and myphpfile.php to your webhost
- delete index.htm and index.html at your webhost

What above will do is execute myphpfile.php whenever someone goes to your homepage, and insert the result of the script at the top of everything else on that page. Above is a super-oversimplification though, and many things can work (or not work) unexpectedly.
 
0
•••
if it is just changing text etc just open the php file in some text editor and search for the text you wish to replace.

If you wish to add some text you will need to work out where it goes and add something like

echo "text here";
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Spaceship
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back