PHP:
PHP:
//Generate a Random String
function StrRandom($req = 6) //The Random string will be of the size $req
#By Galal Aly (Written from scratch) hah kan nefsy aktebha men zaman :D
{
//The Random String will be generated using this set of characters
$SetOfCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz_";
//Generate ba2a
$len = strlen($SetOfCharacters);
//The $rand variable will contain our string
$rand = "";
for ($i = 1; $i <= $req; $i++) {
$teet = rand(0, $len - 1);
$rand .= substr($SetOfCharacters, $teet, 1);
}
return $rand;
}
:
.. Session hash ...
:
PHP:
$SetOfCharacters
String ..
PHP:
$req
String .. 6 .. default value
PHP:
function StrRandom($req = 6)
PHP:
StrRandom(32);
:
Procedure ..
PHP:
$SetOfCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmn opqrstuvwxyz_";
SetOfCharacters strlen
PHP:
$len = strlen($SetOfCharacters);
"" Random String
PHP:
$rand = "";
loop $req
PHP:
for ($i = 1; $i <= $req; $i++)
$teet :
SetOfCharacters .. Ͽ String .. ( ) .
PHP:
$teet = rand(0, $len - 1);
substr SetOfCharacters teet .. rand
PHP:
$rand .= substr($SetOfCharacters, $teet, 1);
req rand Random String
PHP:
return $rand;
iterative .. Recursive :
PHP:
PHP:
function StrRandomRec($req = 6, $rand)
{
#By Galal Aly (Written from scratch)
if ($req > 0) {
$SetOfCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz_";
$len = strlen($SetOfCharacters);
$teet = rand(0, $len - 1);
$rand .= substr($SetOfCharacters, $teet, 1);
return StrRandomRec($req - 1, $rand);
} else
return $rand;
}
PHP:
PHP:
function StrRandomRec2($req) #Where $req is the length of the generated string
{
return StrRandomRec($req, "");
}
Options numbers only .. ..
htaccess.
PHP:
RewriteEngine on
PHP:
RewriteRule ^New Url$ old Url
RewriteRule
^
$
index.php
index.htm
Code:
RewriteEngine onRewriteRule ^index\.htm$ index.php
htaccess.
RewriteEngine on :
RewriteRule :
^ :
\. : . \
$ :
mod rewrite
:: ::
Smarty , ,,
Smarty PHP Smarty
::: < > :::
:
{ }~~ Smarty ~~[]
{ }~~ Smarty ~~ [ Smarty]
{ }~~ Smarty ~~ [ Smarty]
{ }~~ Smarty ~~ [ Smarty]
::: < / > :::
:- -:
( PHP )
Smarty smarty_func libs Smarty
templates compile Smarty Smart.class.php
Smarty :
PHP:
register_function( ' temp_vari ' , ' php_vari ' )
:
: :
PHP:
{temp_vari}
$
: PHP
::: - - :::
( )
:
1 - math.php
2 - func.htm
3 - index.php PHP
1 - math.php
: math.php :
PHP:
<?php
function php_math(){
$a = 5;
$b = 15;
$c = $a + $b;
echo $a." + ".$b." = ".$c;
}
?>
smarty_func
php_math
math.php :
PHP:
php_math();
:
:
:
PHP:
php_math();
:
Smarty
2 - func.htm
:
Code:
:<html dir="rtl"> <head> <meta http-equiv="Content-Type" content="****/html; charset=windows-1256"> <meta http-equiv="Content-Language" content="ar-sa"> <title> </title> </head> <body> <table border="1" width="100%" id="table1"> <tr> <td bgcolor="#F2FCFF"> <p align="center"><b><font size="6"> </font></b></td> </tr> <tr> <td> <p align="center"> </p> <p align="center"> </td> </tr> </table> </body> </html>
func.htm templates
( ) :
:
:
PHP:
{smarty_math}
:
:
Code:
:<html dir="rtl"> <head> <meta http-equiv="Content-Type" content="****/html; charset=windows-1256"> <meta http-equiv="Content-Language" content="ar-sa"> <title> </title> </head> <body> <table border="1" width="100%" id="table1"> <tr> <td bgcolor="#F2FCFF"> <p align="center"><b><font size="6"> </font></b></td> </tr> <tr> <td> <p align="center">{smarty_math}</p> <p align="center"> </td> </tr> </table> </body> </html>
3- index.php math.php
index.php :
PHP:
PHP:
<?php
//
include("libs/Smarty.class.php");
//
include("math.php");
//
$smarty = new Smarty;
###############################
###############################
//
$smarty->register_function('smarty_math','php_math');
//
$smarty->display("func.htm");
?>
:
PHP:
//
include("libs/Smarty.class.php");
Smarty.class.php Smarty
PHP:
//
include("math.php");
Smarty
PHP:
//
$smarty = new Smarty;
Smarty new Smarty
PHP:
//
$smarty->register_function('smarty_math','php_math');
Smarty
: smarty_math func.htm
: math.php
PHP:
//
$smarty->display("func.htm");
dispaly Smarty
index.php :
Smarty
:
Smarty
Smarty
Smarty Manual Smarty
HTML index.html Smarty
:
http://www.smarty.net/download-docs.php
Smarty
:: ::
:
Smarty
..<DIV class=smallfont style="MARGIN: 5px 20px 20px" align=center>
..
..
index.php :
PHP:
PHP:
<?php
// index.php ..
include('index.htm');
// ..
include('call.php');
?>
index.php
:
PHP:<SPAN style="COLOR: #000000">..PHP:
<?php
include('index.htm');
include('call.php');
?>
index.htm index.php ..
:
call.php
:PHP:
switch()
:
PHP:
if()
..
call.php :
PHP:
PHP:
<?php
// q .. ..
switch ($_GET["q"]){
//
case "1";
include "examble_1/examble_1.htm";
break;
//
case "2";
include "examble_2/examble_2.htm";
break;
// .........
case "3";
include "examble_3/examble_3.htm";
break;
}
?>
..
..
Learnkey
********** For Developers - Part 1 and 2
The ********** for Developers training course from LearnKey starts with core concepts and takes you step-by-step through the process of creating richer, more dynamic client-side *** pages using **********. Expert instructor Campbell Gunn combines information usually found only in multiple reference sources into this concise course. At the conclusion of this course, you ll understand how to effectively use ********** to develop interactive client-side *** pages.
Benefits:
Increase your earning potential with technical mastery and proficiency.
Enhance employment opportunities with in-demand *** development knowledge.
LearnKey courses let you move along at your own pace and gain new skills in a useful, productive manner.
-----------------------------
5
-----------------------------
ZShare
Part 1
Part 2
Part 3
Part 4
Part 5
Part 6
Part 7
Part 8
Part 9
RapidShare
Part 1
Part 2
Part 3
Part 4
Part 5
Part 6
Part 7
Part 8
Part 9
SendSpace
Part 1
Part 2
Part 3
Part 4
Part 5
Part 6
Part 7
Part 8
Part 9
IFile
Part 1
Part 2
Part 3
Part 4
Part 5
Part 6
Part 7
Part 8
Part 9
FileFactory
Part 1
Part 2
Part 3
Part 4
Part 5
Part 6
Part 7
Part 8
Part 9
:
www.yas-m.com
http://www.yas-m.com/vb/showthread.php?t=938
1-
2-
3-
2006
MIT License
GNU General Public License
*-
*- css
*-
*-
*-
*-
*-
*-
http://www.hack-systems.com
---------------------------
header.php
index.php
:
PHP:
$close = "yes" ;
if ( $close = "yes" ){
echo " , ";
include( "footer.php" );
exit;
}
---------------------------
PHP:
$close = "yes" ;
yes close
PHP:
if ( $close = "yes" ){
echo " , ";
include( "footer.php" );
exit;
}
yes
:
PHP:
include( "footer.php" );
footer.php
---------------------------
File and Disk Utilities
Sysinternals Utilities: File & Disk
AccessChk
This tool shows you the accesses the user or group you specify has to files, Registry keys or Windows services.
AccessEnum
This simple yet powerful security tool shows you who has what access to directories, files and Registry keys on your systems. Use it to find holes in your permissions.
CacheSet
CacheSet is a program that allows you to control the Cache Manager's working set size using functions provided by NT. It's compatible with all versions of NT.
Contig
Wish you could quickly defragment your frequently used files? Use Contig to optimize individual files, or to create new files that are contiguous.
DiskExt
Display volume disk-mappings
Diskmon
This utility captures all hard disk activity or acts like a software disk activity light in your system tray.
DiskView
Graphical disk sector utility
Du
View disk usage by directory
EFSDump
View information for encrypted files
Filemon
This monitoring tool lets you see all file system activity in real-time.
Junction
Create Win2K NTFS symbolic links
LDMDump
Dump the contents of the Logical Disk Manager's on-disk data****, which describes the partitioning of Windows 2000 Dynamic disks.
MoveFile
Schedule file rename and delete commands for the next reboot. This can be useful for cleaning stubborn or in-use malware files.
NTFSInfo
Use NTFSInfo to see detailed information about NTFS volumes, including the size and location of the Master File Table (MFT) and MFT-zone, as well as the sizes of the NTFS meta-data files.
PageDefrag
Defragment your paging files and Registry hives!
PendMoves
See what files are scheduled for delete or rename the next time the system boots.
Process Monitor
Monitor file system, Registry, process, thread and DLL activity in real-time.
PsFile
See what files are opened remotely
PsTools
The PsTools suite includes command-line utilities for listing the processes running on local or remote computers, running processes remotely, rebooting computers, dumping event logs, and more.
SDelete
Securely overwrite your sensitive files and cleanse your free space of previously deleted files using this DoD-compliant secure delete program.
ShareEnum
Scan file shares on your network and view their security settings to close security holes.
Sigcheck
Dump file version information and verify that images on your system are digitally signed.
Streams
Reveal NTFS alternate streams
Sync
Flush cached data to disk
VolumeId
Set Volume ID of FAT or NTFS drives
: 2 (0 2 )