thinkphp如何引入第三方类

WBOY
Release: 2016-06-23 13:33:52
Original
975 people have browsed it

比如我想引入别人的类,这些文件放在哪里,如何写thinkphp的引入第三方类的语法


回复讨论(解决方案)

放在lib/ORG下
比如 A.class.php 放在lib/ORG/Util下
那么引用 import('@.ORG.Util.A'); 

各位大神,现在你们工作用的是tp,还是zf多

各位大神,现在你们工作用的是tp,还是zf多


用的操你妈多,当然了我们不带套

放在lib/ORG下
比如 A.class.php 放在lib/ORG/Util下
那么引用 import('@.ORG.Util.A'); 


别扯了,学几天thinkphp你以为你 就是神了,那个是第三方吗?那个是图像处理类,你个二货!

3.4楼是傻逼,不懂叫个鸟,还图像处理类,你妹,import导入函数都不懂,2比

3.4楼是傻逼,不懂叫个鸟,还图像处理类,你妹,import导入函数都不懂,2比


你妈我明白了,原来你以为我在问如何导入类,说你是一个大粪别不服啊,你妈,我还有第三方你没看吗,你妈你就差没说用include了,学了几天基础就过来扯蛋,滚回你妈的B里去吧!小丑!

查看手册,PHP3.2和3.1是有区别的。

竟是一些刚学thinkphp没有几天的大粪美的不知姓啥了,竟然来回答问题,不是一般的恶心

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!