小编tot*_*oob的帖子

应用程序中包含的 VPN 连接

Is it possible to have a program which establishes a VPN connection but the VPN is contained only within the application?

Example: An application establishes a VPN connection to retrieve the data from another server via VPN without having an effect on the machine's network connectivity - The machine remains on the network/internet as if there is no VPN connection established.

Ideally I'd like to do this in C#.

Also, I currently use a Cisco VPN client which has "Group …

.net c# vpn networking cisco

5
推荐指数
1
解决办法
1600
查看次数

SQL - 将数字转换为十进制

我正在尝试将数字转换为带小数点后两位的小数.

SELECT CONVERT(DECIMAL(10,2),12345) 
Run Code Online (Sandbox Code Playgroud)

以上将返回12345.00,但我试图达到123.45

sql t-sql sql-server

1
推荐指数
1
解决办法
4694
查看次数

如何在正斜杠上拆分URL

我正在尝试将URL路径拆分为数组中的单个字符串.我已经尝试了一些东西,这就像我得到的一样接近:

<?php   
$url = '/category/subcategory/item';

$output = array(); 
$chunks = explode('/', $url); 
foreach ($chunks as $i => $chunk) 
{
    $output[] = sprintf
    (
        //'<a href="#/%s">%s</a>',
        implode('/', array_slice($chunks, 0, $i + 1)),
        $chunk
    );
}

echo implode(' &gt;&gt; ', $output);

include 'footer.php';
?>
Run Code Online (Sandbox Code Playgroud)

返回:

/ category >>/category/subcategory >>/category/subcategory/item

但我想尝试回来

category >> subcategory >> item

谢谢!

php

0
推荐指数
1
解决办法
1934
查看次数

标签 统计

.net ×1

c# ×1

cisco ×1

networking ×1

php ×1

sql ×1

sql-server ×1

t-sql ×1

vpn ×1