douti6740 2014-09-23 07:24
浏览 39

嵌入图像问题条带斜线

I have a script which inputs form data then generates an email to the user who completes the form. The email goes to the email recipient all fine, but the image does not show.( I get a broken link icon in Mail).

I looked at the source code of the email when it arrived and it appears the backslashes where before the double quotes. How do I get this to work?

Email source code:

 <img src=\"https://amb.cbussuper.com.au/registration-test/images/sig.png\” /><br><br>

PHP Code:

    $message = "<html><body>";
    $message .= "<b>Thank you for registering for the meeting</b><br>";
    $message .= "-  Day: 28 October 2014<br>";
    $message .= "-  Time: 7pm<br><br>";
    $message .= "If you have any questions about the meeting please email email@address.com.au<br><br>";
    $message .= "Please do not reply - this is an automatically generated email.<br><br>";
    $message = stripcslashes($message); 
    $message .= '<img src="https://website.com.au/registration/images/sig.png" /><br><br>';
    $message .= "</body></html>";  
  • 写回答

1条回答 默认 最新

  • douluo1330 2014-09-23 07:44
    关注

    This is quite simple: https://website.com.au/registration/images/sig.png Not Found

    The requested URL /registration/images/sig.png was not found on this server. Apache Server at website.com.au Port 443

    Please upload the file which you want to refer as an image ...

    评论

报告相同问题?

悬赏问题

  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法