我需要一個代碼,當我得到http://www.youtube.com/watch?v=ktvTqknDobU
這PHP腳本重命名爲http://bloxhotel.nl/video?watch=ktvTqknDobU
改變輸入鏈接如何做到這一點?
而做到這一點載荷頁之後。
對不起,我的英語不好。
我已經試過這
<form action="welcome_get.php" method="get">
Youtube Link: <input type="text" name="link"><br>
<input type="submit">
</form>
這
<?php
ob_start();
include 'includes/inc.bootstrap.php';
$page = Array(
'title' => ((isset($user)) ? $user->username : ''),
'onload' => ((isset($_GET['utm_source']) && $_GET['utm_source'] == 'welcome') ? 'Pixel.View.OpenUrlOverlay(\'/pixlett/Video.php\');' : ''),
'tab' => Array('me', 'home'), 'access' => Array(true, false)
);
include 'content/header.php';
include 'content/menu.php';
?>
<?php echo htmlspecialchars($_POST['link']); ?>
該網頁還需要重新加載到該鏈接 –