Here some images from this panel:
IMAGE 1: http://img707.images...716/nimeton.png
IMAGE 2: http://img213.images...nimetontoka.png
Really big and warm thank you for help




Posted 26 February 2013 - 09:37 AM
Posted 26 February 2013 - 01:26 PM
<?php
$filePath = "/path/to/where/the/pages/are/pageName.php";
$contents "<!DOCTYPE html><html>...</html>";
// You'd first want to make sure the page doesn't already exist!
if (file_exists($filePath)) {
die("Page already exists!");
}
// And then you can just write it.
if (file_put_contents($filePath, $contents)) {
echo "Success!";
}
else {
echo "Failure!";
}
Posted 27 February 2013 - 08:28 AM
Posted 02 March 2013 - 04:02 AM
<?php
require_once("login.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title></title>
</head>
<body>
<div id="keskitys">
<div id="ylapalkki">
<div align="center">
<p><img src="../images/logo.png" width="519" height="180" /></p>
<p>Tällä sivulla voit luoda uuden sivun.</p>
</div>
<p class="perus"> </p>
</div>
<div id="asia">
<div id="teksti">
<form id="paivitys" name="update" method="post" action="confirmuusisivu.php">
<p>
<input type="text" name="sitename" value="Name of site" maxlenght="30"size="50">
<br><br>
<textarea name="sisalto" cols="80" rows="10">
<?php
readfile("../codeofblankpage.txt");
?>
</textarea>
</p>
<p>
<input name="valinta" type="hidden" value="">
<br />
<br />
<input name="update" type="submit" id="update" value="Add site"/>
</p>
</form>
</div>
</div>
</div>
</body>
</html>
Posted 02 March 2013 - 04:09 AM
Posted 02 March 2013 - 06:15 AM
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
