php 相关问题

PHP(PHP:Hypertext Preprocessor)是一种广泛使用的,高级,动态,面向对象和解释的脚本语言,主要用于服务器端Web开发。

将十六进制转换为字母数字 (PHP)

从十六进制源开始,我想将其转换为a-zA-Z0-9。 base_convert() 仅支持 32 基数作为输出,等于 a-z0-9。我需要一个 base-62 输出,用于额外的 A-Z(不知道 h...

php
回答 3 投票 0

PHP utf8_en/decode 已弃用,我可以使用什么?

我的网站页面90%使用utf8编码功能来编译DataTable。 $a[] = array_map('utf8_encode', $item); 使用旧版本的 php 8.0 一切都很好,在新版本中它...

回答 3 投票 0

PHP:如何覆盖函数或变量

我正在尝试替换我的页面标题。我知道我可以使用默认值打印 $var 或 function(){} 但是...当我打开页面时我想覆盖这些页面的值,但主要的...

回答 1 投票 0

Terawallet(woo-wallet)按钮自定义

请帮助我自定义“钱包充值”按钮指向我网站上已创建页面的位置,因为我不使用 WooCommerce 结帐页面。 我只有初级 php

回答 1 投票 0

将 PHP 生成的 HTML 内容保存为 PDF 文件

我正在尝试将 PHP 生成的 HTML 内容保存为 PDF 文件。 为此,我找到了 FPDF。 我的脚本如下: if(isset($_POST['content_to_save']) && isset($_POST['name_to_save'])){ $

回答 1 投票 0

Laravel Vue axios 端点获取数据并在控制台日志中显示,但不在 Vue 模板中

我有一个 laravel 8 项目,最近从版本 7 升级。我更新了 webpack 和 package.json 等。 这是我的 Vue 模板的准系统结构,它应该显示文档...

回答 1 投票 0

Laravel Auth::attempt 中未定义的数组键“密码”错误

我在尝试使用 Laravel 的 Auth::attempt 方法登录用户时遇到“未定义的数组键‘密码’”错误。以下是我的代码的相关部分: 公共职能

回答 1 投票 0

用 php 删除 markdown 链接

我原来的字符串: var_string = '[{"ImageNumber":"1","ImageLink":"[https://files.abc.com/flow1.png"}](https://files.abc.com/flow1.png) , {"图像编号&q...

php
回答 1 投票 0

Laravel 10 Cookie::forget() 不工作,而 PHP setcookie 代码工作正常

我试图在成功时从函数中删除cookie。这是代码 // 从 cookie 和会话中删除优惠券 如果($优惠券){ Cookie::queue(Cookie::forget('自动...

回答 1 投票 0

php表单处理后SQL表中所有值均为空

我有一个表单和 php 处理来存储文本和图像到服务器,我的问题是当我提交表单时,即使我在输入框中输入值,检查值也存储为空 PHP处理: 我有一个表单和 php 处理来存储文本和图像到服务器,我的问题是当我提交表单时,检查值存储为null,即使我在输入框中输入值 php处理: <?php $db_username = 'sanoj'; $db_password = '123456'; $file1 = isset($_FILES['files']['name'][0]) ? $_FILES['files']['name'][0] : null; $file2 = isset($_FILES['files']['name'][1]) ? $_FILES['files']['name'][1] : null; $file3 = isset($_FILES['files']['name'][2]) ? $_FILES['files']['name'][2] : null; $file4 = isset($_FILES['files']['name'][3]) ? $_FILES['files']['name'][3] : null; $file5 = isset($_FILES['files']['name'][4]) ? $_FILES['files']['name'][4] : null; $newname = md5(rand() * time()); if (isset($_FILES['files'])) { $uploadedFiles = array(); foreach ($_FILES['files']['tmp_name'] as $key => $tmp_name) { $errors = array(); $file_name = md5(uniqid("") . time()); $file_size = $_FILES['files']['size'][$key]; $file_tmp = $_FILES['files']['tmp_name'][$key]; $file_type = $_FILES['files']['type'][$key]; if ($file_type == "image/gif") { $sExt = ".gif"; } elseif ($file_type == "image/jpeg" || $file_type == "image/pjpeg") { $sExt = ".jpg"; } elseif ($file_type == "image/png" || $file_type == "image/x-png") { $sExt = ".png"; } if (!in_array($sExt, array('.gif', '.jpg', '.png'))) { $errors[] = "Image types alowed are (.gif, .jpg, .png) only!"; } if ($file_size > 2097152000) { $errors[] = 'File size must be less than 2 MB'; } $desired_dir = "user_data/"; if (empty($errors)) { if (is_dir($desired_dir) == false) { mkdir("$desired_dir", 0700); // Create directory if it does not exist } if (move_uploaded_file($file_tmp, "$desired_dir/" . $file_name . $sExt)) { $uploadedFiles[$key] = array($file_name . $sExt, 1); } else { echo "Couldn't upload file " . $_FILES['files']['name'][$key]; $uploadedFiles[$key] = array($_FILES['files']['name'][$key], 0); } } else { } } foreach ($uploadedFiles as $key => $row) { if (!empty($row[1])) { $codestr = '$file' . ($key + 1) . ' = $row[0];'; eval($codestr); } else { $codestr = '$file' . ($key + 1) . ' = NULL;'; eval($codestr); } } } $orig_directory = "user_data/"; //Full image folder $thumb_directory = "thumb/"; //Thumbnail folder /* Opening the thumbnail directory and looping through all the thumbs: */ $dir_handle = @opendir($orig_directory); //Open Full image directory if ($dir_handle > 1) { //Check to make sure the folder opened $allowed_types = array('jpg', 'jpeg', 'gif', 'png'); $file_type = array(); $ext = ''; $title = ''; $i = 0; while ($file_name = @readdir($dir_handle)) { /* Skipping the system files: */ if ($file_name == '.' || $file_name == '..') continue; $file_type = explode('.', $file_name); //This gets the file name of the images $ext = strtolower(array_pop($file_type)); /* Using the file name (withouth the extension) as a image title: */ $title = implode('.', $file_type); $title = htmlspecialchars($title); /* If the file extension is allowed: */ if (in_array($ext, $allowed_types)) { /* If you would like to inpute images into a database, do your mysql query here */ /* The code past here is the code at the start of the tutorial */ /* Outputting each image: */ $nw = 100; $nh = 100; $source = "$desired_dir{$file_name}"; $stype = explode(".", $source); $stype = $stype[count($stype) - 1]; $dest = "thumb/{$file_name}"; $size = getimagesize($source); $w = $size[0]; $h = $size[1]; switch ($stype) { case 'gif': $simg = imagecreatefromgif($source); break; case 'jpg': $simg = imagecreatefromjpeg($source); break; case 'png': $simg = imagecreatefrompng($source); break; } $dimg = resizePreservingAspectRatio($simg, $nw, $nh); imagepng($dimg, $dest); } } /* Closing the directory */ @closedir($dir_handle); } try { #connection $conn = new PDO('mysql:host=localhost;dbname=3ss', $db_username, $db_password); $conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $data = $conn->prepare('INSERT INTO mobile (mcat, mtype, mtitle, image1, image2, image3, image4, image5, description, mmodel, modelnumber, alsoinclude, mcondition, price, youare, mname, email, phone, ylocation, ystreet) VALUES (:mcat, :mtype, :mtitle, :image1, :image2, :image3, :image4, :image5, :description, :mmodel, :modelnumber, :alsoinclude, :mcondition, :price, :youare, :mname, :email, :phone, :ylocation, :ystreet)'); $mcat = filter_input(INPUT_POST, 'mtype', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $mtype = filter_input(INPUT_POST, 'mtype', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $mtitle = filter_input(INPUT_POST, 'mtitle', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $description = filter_input(INPUT_POST, 'description', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $mmodel = filter_input(INPUT_POST, 'mmodel', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $modelnumber = filter_input(INPUT_POST, 'modelnumber', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $alsoinclude = filter_input(INPUT_POST, 'alsoinclude', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $mcondition = filter_input(INPUT_POST, 'mcondition', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $price = filter_input(INPUT_POST, 'price', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $youare = filter_input(INPUT_POST, 'youare', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $mname = filter_input(INPUT_POST, 'mname', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $email = filter_input(INPUT_POST, 'email', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $phone = filter_input(INPUT_POST, 'phone', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $ylocation = filter_input(INPUT_POST, 'ylocation', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $ystreet = filter_input(INPUT_POST, 'ystreet', FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_AMP); $data->execute(array( ':mcat' => $mcat, ':mtype' => $mtype, ':mtitle' => $mtitle, 'image1' => $file1, 'image2' => $file2, 'image3' => $file3, 'image4' => $file4, 'image5' => $file5, ':description' => $description, ':mmodel' => $mmodel, ':modelnumber' => $modelnumber, ':alsoinclude' => $alsoinclude, ':mcondition' => $mcondition, ':price' => $price, ':youare' => $youare, ':mname' => $mname, ':email' => $email, ':phone' => $phone, ':ylocation' => $ylocation, ':ystreet' => $ystreet )); #exception handiling } catch (PDOException $e) { echo $e->getMessage(); } function resizePreservingAspectRatio($img, $targetWidth, $targetHeight) { $srcWidth = imagesx($img); $srcHeight = imagesy($img); // Determine new width / height preserving aspect ratio $srcRatio = $srcWidth / $srcHeight; $targetRatio = $targetWidth / $targetHeight; if (($srcWidth <= $targetWidth) && ($srcHeight <= $targetHeight)) { $imgTargetWidth = $srcWidth; $imgTargetHeight = $srcHeight; } else if ($targetRatio > $srcRatio) { $imgTargetWidth = (int) ($targetHeight * $srcRatio); $imgTargetHeight = $targetHeight; } else { $imgTargetWidth = $targetWidth; $imgTargetHeight = (int) ($targetWidth / $srcRatio); } // Creating new image with desired size $targetImg = imagecreatetruecolor($targetWidth, $targetHeight); // Add transparency if your reduced image does not fit with the new size $targetTransparent = imagecolorallocate($targetImg, 255, 0, 255); imagefill($targetImg, 0, 0, $targetTransparent); imagecolortransparent($targetImg, $targetTransparent); // Copies image, centered to the new one (if it does not fit to it) imagecopyresampled($targetImg, $img, 0, 0, 0, 0, $targetWidth, $targetHeight, $srcWidth, $srcHeight); return $targetImg; } ?> 形式: <form class="form-horizontal" method="post" action="process/mobile/mobileprocessing.php" enctype="multipart/form-data"> <fieldset> <!-- Multiple Radios (inline) --> <div class="form-group"> <label class="col-md-4 control-label" for="type">Type Of Ad&nbsp;&nbsp;&#10002;</label> <div class="col-md-4"> <label class="radio-inline" for="type-0"> <input type="hidden" value="mobile" name="mcat"> <input type="radio" name="mtype" id="type-0" value="sell" > I Want To Sell </label> <label class="radio-inline" for="type-1"> <input type="radio" name="mtype" id="type-1" value="buy" > I Want To Buy </label> </div> </div><br> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Title For Your Ad&nbsp;&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="mtitle" type="text" placeholder="&#10002;&nbsp;&nbsp;1 Year Old Sony Xperia Neo v in Market Road at Rs.10000" class="form-control input-md"> <span class="help-block">A title more than 60 characters have 2X more sell!.</span> </div> </div><br> <div id="uploa"> <div class="dis1234 lift"> <input type="file" name="files[]" multiple id="files" class="hidde fileInpu"/> </div> <output id="list"></output> <div class="dis1234 rite"> <span>Don't Upload Internet Images</span> </div> </div><br> <div class="form-group"> <label class="col-md-4 control-label" for="textarea">Description&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <textarea class="form-control" id="textarea" name="description" placeholder="Description About Your Ad"></textarea> </div> </div><br> <!-- Select Multiple --> <div class="form-group"> <label class="col-md-4 control-label" for="selectbasic">Select Brand&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <select id="dropone" name="mmodel" class="form-control"> <option>Select a Mobile Brand</option> <option value="vodafone">Vodafone</option> <option value="lg">LG</option> <option value="o2">O2</option> <option value="htc">HTC</option> <option value="samsung">Samsung</option> <option value="nokia">Nokia</option> <option value="fly">FLY</option> <option value="alcatel">Alcatel</option> <option value="zen">Zen</option> <option value="palm">Palm</option> <option value="viva">Viva</option> <option value="intex">Intex</option> <option value="karbonn">Karbonn</option> <option value="lava">Lava</option> <option value="tataindicom">Tata Indicom</option> <option value="rocker">Rocker</option> <option value="lemon">Lemon</option> <option value="wynncom">Wynncom</option> <option value="virginmobile">Virgin Mobile</option> <option value="gfive">G-Five</option> <option value="geepee">Gee Pee</option> <option value="inq">INQ</option> <option value="iball">Iball</option> <option value="airfone">AirFone</option> <option value="acer">Acer</option> <option value="byond">Byond</option> <option value="beetel">Beetel</option> <option value="sagem">Sagem</option> <option value="toshiba">Toshiba</option> <option value="benq">BenQ</option> <option value="pantech">Pantech</option> <option value="videocon">Videocon</option> <option value="spice">Spice</option> <option value="zte">ZTE</option> <option value="blackberry">BlackBerry</option> <option value="maxx">Maxx</option> <option value="appleiphone">Apple iPhone</option> <option value="micromax">Micromax</option> <option value="sonyericsson">Sony Ericsson</option> <option value="hp">HP</option> <option value="motorola">Motorola</option> <option value="dell">Dell</option> <option value="imate">I-Mate</option> <option value="other">Other</option> </select> </div> </div><br> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Mobile Model&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="modelnumber" type="text" placeholder="Xperia Neo v" class="form-control input-md"> </div> </div><br> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Also Includes&nbsp;&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="alsoinclude" type="text" placeholder="Case, Headset, Charger" class="form-control input-md"> </div> </div><br> <!-- Multiple Radios (inline) --> <div class="form-group"> <label class="col-md-4 control-label" for="radios">Condition&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <label class="radio-inline" for="radios-0"> <input type="radio" name="mcondition" id="radios-0" value="new" > New </label> <label class="radio-inline" for="radios-1"> <input type="radio" name="mcondition" id="radios-1" value="old"> Old </label> </div> </div><br> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Price&nbsp;&nbsp;&#10002;</label> <div class="col-md-2"> <input id="textinput" name="price" type="text" placeholder="&#8377;" class="form-control input-md"> </div> </div> <hr> <h3> <center>Seller Information</center> </h3> <hr> <div class="form-group"> <label class="col-md-4 control-label" for="selectbasic">You Are&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <select id="dropone" name="youare" class="form-control"> <option>Select Bellow</option> <option value="Individual">Individual</option> <option value="Dealer">Dealer</option> </select> </div> </div><br> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Name&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="mname" type="text" placeholder="Sanoj Lawrence" class="form-control input-md"> </div> </div><br> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Email&nbsp;<r>*</r>&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="email" type="text" placeholder="&#10002;[email protected]" class="form-control input-md"> <span class="help-block">Your mail id will not be shared</span> </div> </div><br> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Phone Number&nbsp;&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="phone" type="text" placeholder="&#9742;&nbsp;&nbsp;Phone Number" class="form-control input-md"> </div> </div><br> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Your Loaction&nbsp;&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="ylocation" type="text" placeholder="Enter Your Loacation (Town or Village Name)" class="form-control input-md"> </div> </div><br> <div class="form-group"> <label class="col-md-4 control-label" for="textinput">Your Street&nbsp;&nbsp;&#10002;</label> <div class="col-md-4"> <input id="textinput" name="ystreet" type="text" placeholder="Enter Your Street (Street or Area)" class="form-control input-md"> </div> </div><br> <center> <input type="submit" class="btn btn-success"></center> </fieldset> </form> SQL: create table `mobile`( `id` int(9) NOT NULL auto_increment, `mcat` varchar(255) NULL default '', `mtype` varchar(255) NULL default '', `mtitle` varchar(255) NULL default '', `image1` varchar(255) NULL default '', `image2` varchar(255) NULL default '', `image3` varchar(255) NULL default '', `image4` varchar(255) NULL default '', `image5` varchar(255) NULL default '', `description` varchar(255) NULL default '', `mmodel` varchar(255) NULL default '', `modelnumber` varchar(255) NULL default '', `alsoinclude` varchar(255) NULL default '', `mcondition` varchar(255) NULL default '', `price` varchar(255) NULL default '', `youare` varchar(255) NULL default '', `mname` varchar(255) NULL default '', `email` varchar(255) NULL default '', `phone` varchar(255) NULL default '', `ylocation` varchar(255) NULL default '', `ystreet` varchar(255) NULL default '', `ipnu` varchar(255) NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=1 ; 我复制了你的代码(包括 SQL)并在我的机器上进行了测试,除了你不记得创建的缩略图文件夹之外,一切正常。因此,为了创建这个目录,我在定义后添加了以下内容: if ( is_dir( $thumb_directory ) == false) { mkdir("$thumb_directory", 0700); // Create directory if it does not exist } 我猜问题出在环境上。首先查明您的文件是否确实已提交。在最顶部执行此操作( exit() 是在转储 $_FILES 数组后终止脚本): var_dump( $_FILES['files'] ); exit(); 这将在屏幕上打印上传的文件数组。如果文件已正确提交,您应该会看到类似的内容 array(5) { ["name"]=> array(5) { [0]=> string(23) "Computer ICE Africa.JPG" [1]=> string(24) "Computer ICE Africa2.jpg" [2]=> string(27) "Computer ICE AfricaLogo.png" [3]=> string(17) "Guest - SLAB4.jpg" [4]=> string(17) "Guest - SLAB5.jpg" } ["type"]=> array(5) { [0]=> string(10) "image/jpeg" [1]=> string(10) "image/jpeg" [2]=> string(9) "image/png" [3]=> string(10) "image/jpeg" [4]=> string(10) "image/jpeg" } ["tmp_name"]=> array(5) { [0]=> string(24) "C:\xampp\tmp\php3630.tmp" [1]=> string(24) "C:\xampp\tmp\php3641.tmp" [2]=> string(24) "C:\xampp\tmp\php3642.tmp" [3]=> string(24) "C:\xampp\tmp\php3643.tmp" [4]=> string(24) "C:\xampp\tmp\php3653.tmp" } ["error"]=> array(5) { [0]=> int(0) [1]=> int(0) [2]=> int(0) [3]=> int(0) [4]=> int(0) } ["size"]=> array(5) { [0]=> int(103834) [1]=> int(95387) [2]=> int(12901) [3]=> int(204380) [4]=> int(179149) } } 如果您看到上述内容(文件名和大小会有所不同),请检查大小数组: ["size"]=> array(5) { [0]=> int(103834) [1]=> int(95387) [2]=> int(12901) [3]=> int(204380) [4]=> int(179149) 确保上传的文件每个大小为几 kb。一开始这些文件的总大小将小于 1 MB。尝试这一切,让我们看看效果如何。 您应该检查查询错误。 我猜你的问题与: 'image1' => $file1, 'image2' => $file2, 'image3' => $file3, 'image4' => $file4, 'image5' => $file5, 应该是: ':image1' => $file1, ':image2' => $file2, ':image3' => $file3, ':image4' => $file4, ':image5' => $file5, 另外,如果您想检查查询的错误: PDO 准备语句的错误检查 去掉 filter_input() 函数中的第四个参数怎么样? 尝试消除数据库中的 NULL 默认值。然后,当您尝试插入值时,它应该会给您错误。

回答 4 投票 0

无法从php中的多个输入上传文件

我使用下面的代码从多个输入上传文件并为上传的图像创建缩略图并重命名文件,但无法上传图像。 有人可以纠正我犯错的地方吗 注意:对于...

回答 1 投票 0

PHP 如何在 aws s3 存储桶中创建文件夹?

请帮帮我!我正在使用 aws-php-sdk 在 aws s3 服务器上上传文件。我能够将文件夹从我们的服务器移动到 aws s3 服务器并可以删除文件,但无法创建目录/ 我

回答 1 投票 0

如何从主页中删除index.php以及从其他php文件中删除.php扩展名

我想从主页网址中删除index.php 例如:https://url.com/index.php 变成 https://url.com/ 并从其他文件中删除 .php 扩展名 例如:https://url.com/contact.php 变成 https...

回答 2 投票 0

通过 Codeigniter 的活动记录方法从带有 LIMIT 的 suquery 中选择 SUM()

我有一个这样的查询,我想在Codeigniter中使用这个查询。 选择总和(价格) 从(选择价格 来自项目 按价格说明排序 限制3 ) AS 子查询; 我已经做到了 $这个-&g...

回答 6 投票 0

在 Codeigniter 中从具有限制的结果中选择 SUM

我是codeigniter的初学者。 我有一个这样的查询,我想在 codeigniter 中使用这个查询 选择总和(价格) 从(选择价格 来自项目 按价格说明排序 限制3 )...

回答 6 投票 0

两个 CodeIgniter 应用程序之间的会话共享

我在同一台服务器上运行了 2 个 codeigniter 安装。 第一个应用程序是: 本地主机/aa/index.php 第二个应用程序是: 本地主机/aa/发票/index.php 第二个应用程序位于第一个应用程序文件夹中。在...

回答 6 投票 0

添加代码点火器中选定范围的列值

我有时间记录表 日期 时间在 暂停 打破 爆发 总时间 我的表中的字段。我有这个sql查询 公共函数 showattendance(){ $start = $this->输入-&g...

回答 2 投票 0

主幻灯片布局中的变量不会被 OpenTBS 替换

我正在尝试使用 OpenTBS 更改 PowerPoint 文件中的文本和图像,并为此使用变量。这适用于幻灯片、主幻灯片,但不适用于属于主幻灯片的布局...

回答 1 投票 0

在 phpspreadsheet 中合并并居中单元格

我在文档中搜索了几个小时,但没有任何内容可以合并和水平居中.. 任何人都可以帮助我如何做到这一点? 我的最后一个代码: $电子表格=新电子表格(); $excel = $spreadsheet->getActiv...

回答 2 投票 0

在带有 nginx 的服务器上部署 laravel 出现 500 错误

我现在正在学习 laravel。我做了一个博客演示,它在我的 mac 上与 MAMP 配合得很好。 但是当我将它部署到远程服务器上时,它现在可以工作了!除了 500 错误之外我什么也得不到! 我搜索

回答 3 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.