Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
laravel 3 是否有专门用于处理电子邮件、FTP、文件上传、ZIP 文件、验证码、Web 服务的类?还是应该为函数制作自己的类?
是的,借助Bundles的力量!如果他们把所有可能的特性都放在核心中,那么每个人都会抱怨这个框架会有多臃肿。这就是捆绑包的用武之地。
这里有些例子:
Input 类支持文件上传。
在我的 html 上,我有这个标签供用户从他们的计算机上浏览文件,就像这样
*<form action="SamePageUpload.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <inp