![]() |
pro,s
hi guy's am looking for someone to help me with some php code how can one change coce that runs on a linux platform to a windows platforrm
|
Re: pro,s
dont know
|
Re: pro,s
Quote:
|
php code problem
<?php
/* A collection of commonly used functions in OnLib */ require_once("conf.php"); function clean($input,$maxlength) { $input=substr($input,0,$maxlength); $input=Escapeshellcmd($input); return $input; } function showerror() {?> <html><body><p><p><p><p><p><p> <? die("Error " . mysql_errno() . " : " . mysql_error()); } function isadmin() { if($_SESSION['bo_id'] != "ADMIN") { global $wwwroot; include("style.html"); ?> <html><head><title>Must Be admin</title> <meta http-equiv="Refresh" content="5 ; URL=<?=$wwwroot?>/userf/login.php"> </head> <br><br><center> <font color="brown"><h4>Only Administerators Can Access This Page</h4></font> <br>You will be redirected to <a href="<?=$wwwroot?>/userf/login.php">Login Page</a> in 5 seconds </center></body></html> <? exit; } } ?> |
| All times are GMT +5.5. The time now is 16:54. |