Search found 8 matches

by Mobius Man
Sun Jan 11, 2004 2:51 am
Forum: PHP - Theory and Design
Topic: Using PHP/Database for home entertainment system
Replies: 15
Views: 6647

It would be cool to have it organzie it (be it music or video). Then you would be able to play it (make a link to the file or something).
by Mobius Man
Sat Jan 10, 2004 9:26 pm
Forum: PHP - Theory and Design
Topic: Using PHP/Database for home entertainment system
Replies: 15
Views: 6647

Using PHP/Database for home entertainment system

Is it possible to rig PHP, and say MYSQL, on an entertainment system, and use a database to organzie music and video listings. I think it could work a lot better than folers upon folders. Is something like this even possible.
by Mobius Man
Sun Dec 21, 2003 12:16 am
Forum: PHP - Code
Topic: Giving a writien file an extension
Replies: 1
Views: 462

Giving a writien file an extension

What is the easiest and most secure way to give a file (writing using fwrite) a extension name. I need this so my menu system can read the files. I haven't been able to figure out how to do this.
by Mobius Man
Fri Dec 19, 2003 3:22 pm
Forum: PHP - Code
Topic: Writing a .php extension
Replies: 1
Views: 332

Writing a .php extension

I have a simple fwrite script to create new pages with. However, those new pages always never have an extension, so I have to manually change it. How can I have it write an extension (I only need .php) to those files I've created. <?php include ("news/config.php"); $id = $_POST["id&qu...
by Mobius Man
Fri Dec 19, 2003 3:18 pm
Forum: PHP - Code
Topic: Extending a single page management script
Replies: 16
Views: 2045

Thanks guys. I've figured it out, and now I am getting it to work. Thanks.
by Mobius Man
Thu Dec 18, 2003 3:38 pm
Forum: PHP - Code
Topic: Extending a single page management script
Replies: 16
Views: 2045

Wow! There's been a lot of posts since I was last on. Basically, my problem is this. I want to include pages branching from a page off of index.php For example: index.php -> articles.php --- this works fine. However... index.php -> articles.php -> a linked pages from articles.php --- instead of bein...
by Mobius Man
Mon Dec 15, 2003 8:44 pm
Forum: PHP - Code
Topic: Extending a single page management script
Replies: 16
Views: 2045

Basically I'm trying to make a basic mangaer using flat files (I have no access to SQL). :( This is the file that makes the links, and writes the information to the pages: <?php include ("news/config.php"); $id = $_POST["id"]; $filename = $_POST["id"]; $date = date(&quo...
by Mobius Man
Mon Dec 15, 2003 8:16 pm
Forum: PHP - Code
Topic: Extending a single page management script
Replies: 16
Views: 2045

Extending a single page management script

I've created a script (well, two different ones). The first one is for my index.php page, which is a simple include switch that keeps it to a single page design: <?php ini_set('include_path', 'http://mobius_man.t35.com'); switch ($_GET['page']) { case 'articles': include('articles.php'); break; case...