我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP检索post变量会删除字符

My site is using the code

$_POST['products_previous_image'];

to retrieve product images and is returning Photo 11-12-2015 2 23 05 PM.jpg when the post header contains:

Content-Disposition: form-data; name="products_previous_image"

Photo 11-12-2015, 2 23 05 PM.jpg

This missing comma in the image path, is breaking the existing image when other fields are edited.

is there a way to fix this application side? or is this a server configuration isssue?

近期文章

  • PHP结果数据溢出/爆炸,带有赋值
  • Quickstart Jquery插件在网站上显示错误?
  • 用数组中的php中的<n>替换<br>
  • Cakephp:如何在链接中调用javascript函数?
  • vue视图层不刷新的问题
  • 我的python代码调用掉线程时报语法位置错误 我检查过一点问题没有就是在我这执行不了 代码如下
  • adb connect 192.168.X.X遇到的问题
  • 如何在php中将参数传递给crystal报表?
  • 合并SELECT查询和SELECT COUNT查询
  • Magento 2没有构建产品缩略图缓存
  • Symfony2在表单类型扩展中获取请求URL
  • 静态文件未在html Apache中加载
  • 从MySQL数据库中检索图像 - 文件路径
  • PHP REDIS NODE.JS多个发布者/订阅者
  • 如何使用Guzzle向Checker API发出请求?
  • 基于函数参数的变量内容
  • 不显示内部连接3表的结果
  • 使用preg_replace将内容替换为HTML
  • 使用mysqli使用php连接数据库
  • JAVA程序接受梵文(UTF8)字符[复制]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华