My friend says i need the:
Local Host
and
The username and Password to in the behind my website.
Local Host
and
The username and Password to in the behind my website.
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
<script>
document.write("<?php echo 'hello!'; ?>");
</script>
<?php
echo "<script language=\"JavaScript\">";
echo "alert(\"Hello World\");";
echo "</script>";
?>
<?php $phpvar=1; ?>
<script type="text/javascript">
jsvar = 3;
//Assign jsvar javascript variable value to php variable $phpvar
'<?php $phpvar="<script>document.write(jsvar)</script>"; ?>';
</script>
<?php echo $phpvar; ?>
<script type="text/javascript">
var counter = 0;
for(i=0;i<10;i++){
counter++;
}
</script>
<?php
$phpvar= "<script>document.write(counter)</script>";
echo $phpvar;
?>
<?php session_start(); $_SESSION['nume']='Sanat';?>
<!-- HTML code -->
<script type="text/javascript">
alert("Welcome <?php echo $_SESSION['nume']; ?>");
</script>
<script type="text/javascript">
function test(){
document.getElementById("php_code").innerHTML="<?p hp
$w="do";
switch($w){
case 'do': echo "You will be logged in?"; break;
case 'loguot': echo "You will be logged out?" ; break;
}
?>";
}
</script>
<a href="" onclick="test(); return false;"> test </a> <br>
<span id="php_code"> </span>
<?php
if(isset($_GET[action])){
// Retrieve the GET parameters and executes the function
$funcName = $_GET[action];
$vars = $_GET[vars];
$funcName($vars);
} else if (isset($_POST[action])){
// Retrieve the POST parameters and executes the function
$funcName = $_POST[action];
$vars = $_POST[vars];
$funcName($vars);
} else {
echo "<INPUT NAME='click_me' TYPE='button' ONCLICK='javascript:javaFunction()' VALUE='Click Me'>";
}
function phpFunction($v1){
// makes an array from the passed variable
// with explode you can make an array from string.
$varArray = explode(",", $v1);
echo "First Value: $varArray[0] <BR>";
echo "Second Value: $varArray[1]<BR>";
}
?>
<SCRIPT language="javascript">
function javaFunction(){
// In the varArray are all the variables you want to give with the function
var varArray = new Array();
varArray[0] = "Hello";
varArray[1] = "World";
// the url which you have to pass an action to the GET- or POST-variable
var url="<?php echo $_SERVER[PHP_SELF];?>?action=phpFunction&vars="+varArray;
// Opens the url in the same window
window.open(url, "_self");
}
</SCRIPT>
Trigger:
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("h1").click(function () {
alert("h1");
});
$("button:last").click(function () {
$("h1").trigger('click');
});
});
</script>
<div><h1>Hello World</h1></div>
<button value="Enter">Enter</button>
Triggered By Select Change Event
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("select").change(function () {
var str = "You select : ";
$("select option:selected").each(function () {
str += $(this).text() + " ";
});
$("div").text(str);
}).trigger('change');
});
</script>
<select name="A" multiple="multiple">
<option>A</option>
<option selected="selected">B</option>
<option>C</option>
</select>
<div></div>
What is it your trying do ? a screen shot of the thing your trying to place on your site would helpPh4zeChineseBanana wrote:The Code Works, but it's just vBulletin, but we need the Local Host and stuff to tweek it up a bit, could you guys tweek it up a bit to make it for forumotion?