Does Mihopa support SSI

Started by Faltzer June 5th, 2006 5:16 PM
  • 756 views
  • 6 replies

aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
PC != Mihopa support forums

kthnx

PHP include:

<?php

$news 
"news.txt";
$error "404.txt";
$ext ".txt";

if(!isset(
$_GET['id'])){
include 
$news;
}
elseif(
$_GET['id'] == "main") {
include 
$news;
}
elseif(isset(
$_GET['id']) && file_exists($_GET['id'].$ext)){
include 
$_GET['id'].$ext;
}
else{
include 
$error;
}

?>
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...

Eon-Rider

An &quot;Original&quot; PC Supporter

Age 29
Male
Sydney
Seen July 5th, 2011
Posted March 31st, 2011
7,498 posts
18.5 Years
*dies*

Use:
<?php include("filename.txt"); ?>
Instead of:
<!--#include virtual="filename.txt"-->
My Links:
Kablooza // My YouTube Channel // Friend Codes


ANYTHING works in-game

Want a free PokePark Meowth?


If you think my posts are rude then you can't handle the truth.

Faltzer

Male
Seen April 19th, 2020
Posted March 22nd, 2017
1,670 posts
17.6 Years
PC != Mihopa support forums

kthnx

PHP include:

<?php


$news 
"news.txt";
$error "404.txt";
$ext ".txt";

if(!isset(
$_GET['id'])){
include 
$news;
}
elseif(
$_GET['id'] == "main") {
include 
$news;
}
elseif(isset(
$_GET['id']) && file_exists($_GET['id'].$ext)){
include 
$_GET['id'].$ext;
}
else{
include 
$error;
}

?>

I find you a real noob aside from a good webmaster Koroku. And I clearly stated in my post that I DON'T want to use PHP includes using those stupid index.php?id= urls. Those have been causing me problems.


Thanks coolmaster.


aRedMoon

Wait for me outside the lines

Age 34
Male
Minnesota
Seen April 23rd, 2018
Posted September 10th, 2013
11,126 posts
19.2 Years
I find you a real noob aside from a good webmaster Koroku. And I clearly stated in my post that I DON'T want to use PHP includes using those stupid index.php?id= urls. Those have been causing me problems.


Thanks coolmaster.
I heard there is a way to use PHP includes just like SSI. Can anybody tell me how to do so?
No you didn't.


You said absolutely no where.

You're the flipping n00b.
facebook \\ twitter \\ blog a.k.a life // tumblr // google+

june 10, 2003 = registered at old pc
march 24, 2004 = registered at new pc
june, 2004 = modded ;;; august, 2004 = quit/fired (point of debate)
december, 2004 = banned ;;; december 2, 2005 = unbanned
june 10, 2008 = omg... five years!
june 10, 2012 = countdown to nine years on pc...

Morkula

Get in the Game

Age 34
Male
Virginia
Seen February 6th, 2020
Posted March 4th, 2018
7,294 posts
19.3 Years
Faltzer, you had no right to call Greg a n00b, especially when you didn't specifically state your request. I suggest you change your attitude, or you'll be taking another vacation from PC. >>

Faltzer

Male
Seen April 19th, 2020
Posted March 22nd, 2017
1,670 posts
17.6 Years
Firstly I DID state my request on using PHP includes like SSI. And when I meant like SSI I meant keeping the ORIGINAL normal plain link instead. And the one who basically understood it was Coolmaster. Just lock this topic.

End of discussion

http://www.pokeuniverse.mihopa.net/site/staff.php

:(