Development

PHPコード:
<?
function osinfo() {
$os=””;
$Agent = $GLOBALS;
if (eregi(‘winR ...

Development

PHPコード:
<?
function browse_infor()
{
$browser=””;$browserver=””;
$Brow ...

Development

phpコード:

<?
$mime_types = array(
‘gif’ => ‘image/gif’,
‘jpg̵ ...

Development

phpコード:
<?
header(“Content-type:application/vnd.ms-excel”);
header(“Content-Disposit ...

Development

PHPコード:
//方法1:
<?
//$db->rowsはデータベースのdatetimeカラム値.
$today=time();
$theDay=date(“Y-m-d ...

Development

phpコード:
<?
@extract($_SERVER, EXTR_SKIP);
@extract($_SESSION, EXTR_SKIP);
@extract($_POST, EXTR_SK ...

Development

phpコード:
//現在のURLを取得する
<?
function get_php_url(){
if(!empty($_server)){
$scriptName = $_SERVER; ...

Development

phpコード:
//全角の数字を半角の数字に変わる
<?
function GetAlabNum($fnum){
$nums = array(“0”,”1 ...

Development

phpコード:
//相対パスから絶対パスへ変換
<?
function relative_to_absolute($content, $feed_url) {
preg_match(‘ ...

Development

サンプルコード:
#include <windows.h>
#include <stdio.h>
int make_dir( char * p_path )
{
int ...