, 05 2010 . 16:26
+
_- (
community_coding)
PHP4 ASP.NET -
ASP.NET - ASP. Microsoft, .NET. .NET , , " " (safe-programming).
PHP - , . , PHP Personal Home Page , . PHP - , HTML. , . , PHP .
, 03 2008 . 01:39
+
Real_Rp (
community_coding)
.
- - .... MySQL
$hostname = "localhost";
$username = "prefix_username";
$password = "password";
$userstable = "name_of_table';
MYSQL_CONNECT($hostname,$username,$password) OR DIE(" ");
mysql_select_db("prefix_DBname") or die(" ");
$query = "INSERT INTO $userstable VALUES('','$header','$text', '$author', '$date')";
$result = MYSQL_QUERY($query);
- " "... , - phpMyAdmin'a...
- , ?)
, , , ...
, 20 2007 . 16:00
+
, 03 2007 . 16:26
+
, 16 2007 . 07:49
+
Dail (
community_coding)
wiki-
wiki .
www.sourceforge.net MediaWiki 1.9 , .
MySQL. #1238. , openssl. , InnoDB .
. . , wiki ,
LocalSettings.php .
. (!)
LocalSettings.php, , headers .
LocalSettings.php -
config, .
LocalSettings.php, (
config/LocalSettings.php), .
, .. .. !
, 11 2006 . 23:14
+
Aeron_Dae (
community_coding)
, ...
, ... - , ...
---index.php---
code:
if (!$_REQUEST["x"])
{
require ('./dl.php');
}
else
{
require ('./'.$_REQUEST["x"].'.php');
}
blah();
.. , , , /?x=news , , , blah(), news.php news.php
---news.php( )---
code:
blah()
{
/* , */
}
, - global.php footer, header ( , ..) news.php ..
, news.php , blah() , ...
index.php...
, , index.php ( ) dl.php
news.php , , index.php?x=< >
, , ( )...
...
- N.phect & Diz:play - White Russian
, 06 2006 . 14:23
+