(file) Return to start.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / photo / sspadmin

 1 rizwank 1.1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2             <html xmlns="http://www.w3.org/1999/xhtml">
 3             <head>
 4             <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 5             <title>SSP Admin :: Install</title>
 6             <link rel="stylesheet" href="styles/main.css" /> 
 7             </head>
 8             
 9             <body>
10             
11             <div id="container">
12             <h1>SSP Admin Install</h1>
13             
14             <?php
15             	
16             	$s = $_SERVER['PHP_SELF'];
17             	$s = str_replace('/start.php', '', $s);
18             	$s = explode('/', $s);
19             	
20             	$c = count($s);
21             	
22 rizwank 1.1 	$dir = $s[$c-1];
23             
24             ?>
25             
26             <form action="write.php" method="post">
27             	<h2>Server Details :: Be sure you have created the database first!</h2>
28             	<fieldset>MySQL Server Name: <input type="text" name="svr" /> <small>ex. mysql.server.com</small></fieldset>
29             	<fieldset>Database Name: <input type="text" name="db" /></fieldset>
30             	<fieldset>UserName: <input type="text" name="usr" /></fieldset>
31             	<fieldset>Password: <input type="password" name="pwd" /></fieldset>
32             	
33             	<h2>Advanced Settings</h2>
34             	<fieldset>SSP Admin Install Folder: <input type="text" name="fldr" value="<?php echo $dir; ?>" /> <small>Should have guessed this correctly</small></fieldset>
35             	<fieldset>MySQL Table Prefix: <input type="text" name="pr" value="ssp_" /> <small>Change if this causes a conflict with existing tables in your database.</small></fieldset>
36             	<fieldset><input type="submit" value="Start Install" /></fieldset>
37             </form>
38             
39             </div>
40             </body>
41             </html>

Rizwan Kassim
Powered by
ViewCVS 0.9.2