• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
May 07, 2024, 03:18:38 pm

News:

Don't be hasty to start your own mod; all our FFT modding projects are greatly understaffed! Find out how you can help in the Recruitment section or our Discord!


Future PHP Website design

Started by Xifanie, March 01, 2008, 03:13:10 pm

Kheldarn

March 10, 2008, 06:11:23 pm #40 Last Edit: December 31, 1969, 07:00:00 pm by Kheldarn
Code both PSX and PSP info into one page using IF statements, then have them choose a link for the version they want. For example, if they wanted the Chapter 1 Walkthrough for PSP, the link would be something like this:
http://www.aurirech.eu/walkthrough/chapter1.php?sys=PSP
The IF statement would say:
if($sys==PSP) {
  code for PSP info
}

That gives one page, but two outputs, based on if the link is sys=PSP or sys=PSX.

Xifanie

March 10, 2008, 07:31:07 pm #41 Last Edit: December 31, 1969, 07:00:00 pm by Xifanie
I want to make sections for patches too; I'll code the whole thing so it loads from FFT's raw data.

I think I decided how to code the pages.
I will include the code with my main frame and use the $_GET method to load from .txt files from the specified folder.

For example:
URL
http://www.ffthacktics.com/walkthrough. ... &battle=21
would load from
http://www.ffhacktics.com/psp/walkthrough/21.txt

similarly,
http://www.ffthacktics.com/walkthrough.php?s=gba
would load from
http://www.ffhacktics.com/gba/walkthrough/0.txt

then result in a 404 error because there is no gba folder... yet. </jk>

Of course that will require me to have a duplicate of each file for each folder but I can simply link back to the PSX folder if it's the same information.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful

trickstardude7

March 10, 2008, 10:58:08 pm #42 Last Edit: December 31, 1969, 07:00:00 pm by trickstardude7
jeez are you making the site from scratch 0_o

Xifanie

March 10, 2008, 11:18:06 pm #43 Last Edit: December 31, 1969, 07:00:00 pm by Xifanie
lol, there is no other way to make a site.
  • Modding version: PSX
Love what you're seeing? https://supportus.ffhacktics.com/ 💜 it's really appreciated

Anything is possible as long as it is within the hardware's limits. (ie. disc space, RAM, Video RAM, processor, etc.)
<R999> My target market is not FFT mod players
<Raijinili> remember that? it was awful