当前位置: 首页>>代码示例>>PHP>>正文


PHP config::get_domain_path方法代码示例

本文整理汇总了PHP中config::get_domain_path方法的典型用法代码示例。如果您正苦于以下问题:PHP config::get_domain_path方法的具体用法?PHP config::get_domain_path怎么用?PHP config::get_domain_path使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在config的用法示例。


在下文中一共展示了config::get_domain_path方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: roundedBox

 function roundedBox()
 {
     $objconfig = new config();
     $this->getDomainPath = $objconfig->get_domain_path();
     $this->color = "";
     $this->heading = "";
 }
开发者ID:sknlim,项目名称:classified-2,代码行数:7,代码来源:display.class.php

示例2: photo

 function photo($files)
 {
     $objConfig = new config();
     $objCommon = new common();
     $this->domainPath = $objConfig->get_domain_path();
     $this->fullPath = $objConfig->get_full_domain_path();
     $this->uploadDir = $objConfig->get_upload_dir();
     $this->imageQuality = $objCommon->getConfigValue("imageQuality");
     $this->files = $files;
     $this->description = "";
     $this->fileType = "";
     $this->title = "";
     $this->tags = "";
 }
开发者ID:sknlim,项目名称:classified-2,代码行数:14,代码来源:photo.class.php

示例3: checkReferrer

 function checkReferrer($checkstr)
 {
     $objconfig = new config();
     if ($_SERVER['HTTP_REFERER'] == $objconfig->get_domain_path() . $checkstr) {
         return true;
     } else {
         return false;
     }
 }
开发者ID:sknlim,项目名称:classified-2,代码行数:9,代码来源:common.class.php

示例4: config

<?php

include "config.class.php";
$objconfig = new config();
header("Location: " . $objconfig->get_domain_path());
开发者ID:sknlim,项目名称:classified-2,代码行数:5,代码来源:index.php

示例5: getPhotoTags

 function getPhotoTags($pid)
 {
     $sql = "select * from tags_photos where photos_id='" . $pid . "'";
     $relatedtags = $this->mysql->getdata($sql);
     $objconfig = new config();
     $domain = $objconfig->get_domain_path() . "tag/photos/";
     foreach ($relatedtags as $data) {
         $str .= "<a href='tags/photo_tags.php?type=photo&tag=" . $data['tag'] . "'>" . $data['tag'] . "</a>  ";
     }
     return $str;
 }
开发者ID:sknlim,项目名称:classified-2,代码行数:11,代码来源:fileupload.class.php

示例6: resendVerification

 function resendVerification()
 {
     $verificationlink = substr(md5($ar['username'] . $ar['email']), 1, 25);
     $sql = "update `users` set activation='" . $verificationlink . "' where userid='" . $_SESSION['vibes_userid'] . "'";
     $this->query($sql);
     $str = $objcommon->getTemplateFormat('emailverification');
     $objconfig = new config();
     $objuser = new user();
     $to['name'] = $_SESSION['vibes_username'];
     $to['email'] = $objuser->getUserEmailFromUserId($_SESSION['vibes_userid']);
     $from['name'] = $objcommon->getConfigValue('email_verification_from_name');
     $from['email'] = $objcommon->getConfigValue('email_verification_from_email');
     $subject = $objcommon->getConfigValue('email_verification_subject');
     $identifier['sitename'] = $objcommon->getConfigValue('sitename');
     $identifier['link'] = '<a href="' . $objconfig->get_domain_path() . 'emailverification.php?linkid=' . $verificationlink . '">' . $objconfig->get_domain_path() . 'emailverification.php?linkid=' . $activationlink . '</a>';
     $objemail = new email();
     $objemail->sendMail($to, $from, $subject, $body, $identifier);
     return true;
     //echo $identifier['link'];
     //					exit();
 }
开发者ID:sknlim,项目名称:classified-2,代码行数:21,代码来源:user.class.php


注:本文中的config::get_domain_path方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。