PDA

View Full Version : [php][ssi][5mb+][ftp][noads]



Weapon
December 8th, 2001, 17:08
'tis thing exist?:rolleyes:

murat
December 8th, 2001, 17:18
host4u ?

Weapon
December 8th, 2001, 17:29
they don't have SSI, or atleast i can't get it workin :eek: do u think barrysworld will host meh site if it has nothing to do with gamin' ?

MN-Carl
December 8th, 2001, 17:48
probally.

tandoc
December 8th, 2001, 18:58
digitalrice.com

they have everything you need except SSI. If you have PHP there is no need for SSI!

if you need to include something this should work:

<? include('absolutepathtofile/file.extension') ?>

it should work

Weapon
December 8th, 2001, 20:04
huh? d00d i am lost with php. All my pages are in .html and i just use php for forms and forums thats all:D

tandoc
December 9th, 2001, 00:08
just go to the ASP/CGI/PHP forum and ask about it. it's quite simple. just rename alll your html files to .php and add the php code i posted above into the places where the SSI includes were

Weapon
December 9th, 2001, 00:19
huh? php source code is da same as html? :confused:

AlieXai
December 9th, 2001, 01:01
Not really. PHP is a html embedded scripting language. If the server is configured right, all you would have to do is create a regular webpage, save it with a .php file extension (or whatever extension the server administrators created a handler for...), and put the php code inside your html.

eg.



<html>
<body>

This is a webpage

<?php
while($web = "page") {
echo "This is a web" . $web . " ... dork";
}
echo "I am a \"dork\"";
?>

</body>
</html>


I may have actually made that look very complex... anyway... you get the idea. On the other hand, instead of embedding your php code in an html page, you can have php output all your html. ex:



<?php
echo "<html>\n<body>\n\n";
echo "This is a webpage dufus\n";
echo "</body>\n</html>";
?>


And of course, the code gets a lot more complex when you want it to do more.

Weapon
December 9th, 2001, 01:48
oh i "sorta" get it ;)

Weapon
December 9th, 2001, 03:29
oh, and do u have to rename them to php? or is can leave it as .html? or even maybe with .htaccess?

MN-Carl
December 9th, 2001, 05:03
Originally posted by Weapon
oh, and do u have to rename them to php? or is can leave it as .html? or even maybe with .htaccess?

Rename to .php ..