查看單個文章
  #5  
舊 2006-04-15, 12:20 AM
vivi5945 vivi5945 目前離線
初級會員
 
註冊日期: 2006-04-11
文章: 5
預設

感謝你的指導,我去申請http://www.hots.sk的免費空間做試驗,程式也已下載,由於小弟是初次接觸php的程式,故不是很瞭解,原程式readme如下:
///////////////////////////////////////////////////////
// uDi - You Direct It, was written by Mike Cheesman /////////////////////
// It is free to you, thus free to anyone else, it is not for sale, but //
// is freeware. Please send any comment's or bug reports to: //
// mike@comfymusic.net. Please read the following, and enjoy my script //
//////////////////////////////////////////////////////////////////////////

BEFORE YOU START, PLEASE NOTE THAT uDi DOES NOT WORK ON SERVERS RUNNING PHP IN SAFEMODE.


INSTALLATION
============

1. UnZip the contents to a folder on your hard drive.
2. Edit the following values in 'config.php':
$website, $sitename, $adminmail, $adminusername, $adminpass, $header, $footer, $credir.
Use the comments beside each, to help you out.
3. Once #2 is done, upload all the files you got in the zip (minus the readme) to your web server.
4. CHMOD everything, 777 EVEN THE FOLDER YOU PLACE IT IN.
5. Surf to the control panel, (http://yoursite.com/cpanel.php) and login, bookmark this page for future reference.
6. Enjoy, and please send me feedback and suggestions.

CHANGING THE DESIGN
===================

Changing the design of the script is simple. Create a template, then copy everything right before the content, and paste it in to you header file, copy everything after the content, and paste it into your footer file. Simple!

WORKING EXAMPLE
===============

Visit http://www.themudd.org to view a working example of uDi. Please do not use this service to test uDi, only signup if you really want an account.

UPDATES/ADDITIONS
=================
(newest to oldest)
META-Tag feature submitted by Reggie Goldman of TheMudd.org, and edited somewhat by me to get out the kinks.

WHOIS script submitted by Reggie Goldman of TheMudd.org

=================

Thanks,
Mike.

ICQ: 76600538
Email: mike@comfymusic.net

想請教php的程式需不需像cgi程式般放在特定的目錄下,還是放在空間目錄下就可,另readme中所說修改config.php中之
<?php

// Your Site
$website = "http://www.themudd.org/udi"; // Website address (also it's $website/USER
$sitename = "Yoursite Redirection"; // website name, NAME Redirection suggested...
$adminmail = "admin@yoursite.net"; // Admin/Contact email
$adminusername = "username"; // Control panel username
$adminpass = "password"; // Control Panel password
是何意思,可否請哈啦大大註解一下
回覆時引用此篇文章