What to do in script to invoke the variables in PHP, as shown below

Source: Internet
Author: User
Tags php print
What to do in script to invoke the variables in PHP as follows:
What to do in script to invoke the variables in PHP as follows:

$strbbb = ' www.163.com ';
?>



Could have been in the 163 site, but my website is $strbbb, how to change it? I am not a computer professional, to this do not understand, please master advice

------Solution--------------------
Can't call! A client one server side!

But you can
$strbbb = ' www.163.com ';

echo "";

?>
I don't know if it counts!


------Solution--------------------
$strbbb = ' www.163.com ';
?>


------Solution--------------------
$strbbb = ' www.163.com ';
?>


------Solution--------------------
PHP Code
  
------Solution--------------------
I do not know the above several of the code has been tested no!
Throw aside the other simple
JScript code
 
------solution--------------------
!--? php
$strbbb = ' www.163.com ';
?>



------Solution--------------------
!--? php
$strbbb = ' www.163.com ';
?


------solution--------------------
Less "http://" To jump to the directory of your current website "www.163.com", should be modified as follows.
!--? PHP
$strbbb = ' http://www.163.com ';
?


------Solution--------------------
Cannot handle
var location = '!--? php print $strbbb?-- ';
if (Location.indexof ('://') ===-1) {
location = '/http '/' +location;
}
does not jump at all.
Change

you want to correct $strbbb can be in
!--? php
$strbbb = ' http://www.163.com ';//can also be www.163.com
?>
, why use JavaScript?
------Solution--------------------
!--? php $str = "ASDFA";?--"
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.