Beginner PHP, ask for advice

Source: Internet
Author: User
 
  <?php echo $vd [' Web ' [' title '];?>-distributor system 
 
  
 
  
 
  
 
  

The top of the $vd[' content ' where it is defined, not found, where to find


Reply to discussion (solution)

You should use a frame, the $VD passed in the controller is an array, so the subscript can be used in the view.

If the file is a view, look for the corresponding controller.

This is the content on the home page

$g _mod = Request ("M", "Mod_". $R 3c53a5814a); $R 9036dcfc79 = $g _mod; $R 8eeb1221ae = Explode ("_", $g _mod); if ($R 8eeb1221ae [0] = = "mod") {$Rd 3c3fd7322 = $moddir;} else{$Rd 3c3fd7322 = $comdir;} $g _controller = Ucfirst (Request ("C", "Home"), $g _action = Ucfirst (Request ("A", "index"), $Rfd 821ceebb = Upath_root . DS. $Rd 3c3fd7322.ds. $g _mod. DS. " Controllers ". Ds.ucfirst ($g _controller). " Controller ".". PHP "; if ($Rd 3c3fd7322 = = $moddir) {$R 0652a93b4e = upath_root. $vipdir 1. DS. $Rd 3c3fd7322.ds. $g _mod. DS. " Views ";} else{$R 0652a93b4e = upath_root. DS. $Rd 3c3fd7322.ds. $g _mod. DS. " Views ";} if (!file_exists ($RFD 821ceebb)) {header ("location:index.php"); exit ();} $path _cache = upath_root. $vipdir 1. DS. " Content ". DS. $cache. DS. " Template "; $R 0f8fc17896 = Upath_root. DS. " Content ". DS. $cache. DS; $R 6a7824e5bd = Upath_root. $vipdir 1. DS. " Content ". DS. $cache. DS. " Site ". DS; $R 2f2157ac24 = $R 0f8fc17896. " Agent ". DS; $R 892a70c08a = $R 0f8fc17896. " Product ". Ds;define ("Datacache", $R 0f8fc17896);d efine ("Sitecache", $R 6a7824e5bd);dEfine ("Acache", $R 2f2157ac24);d efine ("Pcache", $R 892a70c08a); if ($baseurl = = "" | | $baseurl = = "/") {$Ra 1b993256f = "/";} else{$Ra 1b993256f = $baseurl. " /";} $R 881aa6e00a = $g _mod;if ($g _mod = = "Mod_agent") {$R 881aa6e00a = "mod_b2b";} $path _content = $baseurl. $vipdir 2. " /content/". $R 881aa6e00a." /"; Require_once (" Libraries "). DS. " Umebiz ". DS. " Controller ".". PHP "); Require_once (" Libraries "). DS. " Umebiz ". DS. " Factory.php ") require_once ($Rfd 821ceebb);d efine (" Upath_webroot ", $Ra 1b993256f);d efine (" Dbprefix ", $dbprefix); Define ("VROOT", $vdir);d efine ("Upath_content", $path _content); $Rb 91e88361d = $vdir! = ""? $vdir. " /":" ";d efine (" Upath_sharecontent ", $Rb 91e88361d." content/mod_shared/");d efine (" Upath_helper "," libraries ". DS. " Umebiz ". DS. " Helper ". DS);d efine ("Upath_pay", "libraries". DS. " Umebiz ". DS. " Pay ". DS);d efine ("Upath_picture", "content/mod_shared/skins/picture/"); require_once (Upath_helper. ") Htmlhelper.php "); require_once (Upath_helper." Homehelper.php "); $R 3e33e017cd = Ucfirst ( $g _controller). " Controller "; $Rbbd 82f1834 = new $R 3E33E017CD (), if (!method_exists ($Rbbd 82f1834, $g _action)) {Header (" LOCATION:INDEX.P HP "); exit ();} if ($g _mod = = "Mod_agent" | | $g _mod = = "Mod_b2b") {include ("authority.php"); $R 7135610620 = $g _mod. " _ ". Ucfirst ($g _controller)." _ ". Ucfirst ($g _action); $R 4c8e7226c5 = Isset ($R 5383a87c60[$R 7135610620])? $R 5383a87c60[$R 7135610620]:-1; $RBBD 82f1834->authority ($R 4c8e7226c5);} $RBBD 82f1834->checksomething (); $RBBD 82f1834-> $g _action ();? >
  • 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.