我需要帮助我的邮件()代码没有执行 [英] please I need help with my mail() the code is not executed

查看:68
本文介绍了我需要帮助我的邮件()代码没有执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要你的帮助解决我的php mail()函数问题

代码出现在视图源中我不知道什么

问题我在哪里使用另一个页面来测试php及其

执行得非常好


页面有php代码已查看: http://beachtoursegypt.com/booking-form.htm

在提交表格之后,数据被发送到确认

年龄,其中php脚本位于那里且未执行


运行其他php代码示例的页面是: http://beachtoursegypt.com/123.php

请帮我解决这个紧急问题

解决方案

shror写道:


大家好,

Pl我需要你的帮助解决我的php mail()函数问题

代码出现在视图源代码中我不知道什么是

问题我在哪里使用另一个页面tto测试php和它的

执行得非常好


页面有php代码查看: http://beachtoursegypt.com/booking-form.htm

在提交表格后数据是发送到确认

年龄,其中php脚本位于那里且未执行


运行其他php代码示例的页面是: http://beachtoursegypt.com/123.php



如果没有看到代码,我们真的无法提供帮助。如果php正在那里执行

可能是邮件设置有问题,或者你的脚本可能包含错误。

mail()在完成时返回true或false,所以试试


if(mail(''','''','''')

{

//确认

}

其他

{

//问题

}
< br $> b $ b -

Arjen
www。 arjenkarel.nl


可能是脚本文件的权限,不允许执行

it ...


8月15日下午12:52,shror< shahi ... @ gmail.comwrote:


大家好,

我需要你帮忙解决我的php mail()函数问题

代码出现在视图源代码中我不知道什么是

问题我在哪里使用另一个页面来测试php及其

执行得非常好


该页面已查看php代码: http:/ /beachtoursegypt.com/booking-form.htm

在提交表格后,数据被发送到确认

年龄,其中php脚本位于那里,它没有执行


运行其他php代码示例的页面是: http://beachtoursegypt.com/123.php


请帮我解决这个紧急问题



8月15日上午10点33分,Arjen< d ... @ mail.mewrote:


shror写道:


大家好,

我需要你帮忙解决我的php mail()函数问题

代码出现在视图源代码中,我不知道

问题我在哪里使用anoth呃页面测试PHP和它的

执行非常好


页面有php代码查看: http://beachtoursegypt.com/booking-form.htm

在提交表格之后,数据被发送到确认

年龄,其中php脚本位于那里且未执行


运行其他php代码示例的页面是: http://beachtoursegypt.com/123 .php



如果没有看到代码,我们真的无法提供帮助。如果php正在那里执行

可能是邮件设置有问题,或者你的脚本可能包含错误。

mail()在完成时返回true或false,所以试试


if(mail(''','''','''')

{

// confirm}


其他

{

//问题


}


-

Arjenwww.arjenkarel.nl



我试过你的代码它给了我一个错误( //问题)

所以可能是什么问题现在真的不确定什么是错的


你可以查看你给我的那段代码的页面在此

链接: http://beachtoursegypt.com/123。 php

它的代码也在这里:


< body>

<?php


Hi every body,
Please I need your help solving my php mail() function problem that
the code is appearing in the view source and I dont know whats the
problem where I am using another page tto test the php and its
executed very nice

The page have php code viewed : http://beachtoursegypt.com/booking-form.htm
where after submitting the form the data are sent to the confirmation
age where the php script lies there and its not executed

the page with the other php code example running is: http://beachtoursegypt.com/123.php
please help me in this urgent problem

解决方案

shror wrote:

Hi every body,
Please I need your help solving my php mail() function problem that
the code is appearing in the view source and I dont know whats the
problem where I am using another page tto test the php and its
executed very nice

The page have php code viewed : http://beachtoursegypt.com/booking-form.htm
where after submitting the form the data are sent to the confirmation
age where the php script lies there and its not executed

the page with the other php code example running is: http://beachtoursegypt.com/123.php

We cant really help without seeing the code. If php is executing there
might be trouble with the mail setup or your script may contain errors.
mail() returns true or false on completion so try

if(mail('''','''',''''))
{
// confirm
}
else
{
// problem
}

--
Arjen
www.arjenkarel.nl


May be the permission for the script file do not allow to execute
it...

On Aug 15, 12:52 pm, shror <shahi...@gmail.comwrote:

Hi every body,
Please I need your help solving my php mail() function problem that
the code is appearing in the view source and I dont know whats the
problem where I am using another page tto test the php and its
executed very nice

The page have php code viewed :http://beachtoursegypt.com/booking-form.htm
where after submitting the form the data are sent to the confirmation
age where the php script lies there and its not executed

the page with the other php code example running is:http://beachtoursegypt.com/123.php

please help me in this urgent problem



On Aug 15, 10:33 am, Arjen <d...@mail.mewrote:

shror wrote:

Hi every body,
Please I need your help solving my php mail() function problem that
the code is appearing in the view source and I dont know whats the
problem where I am using another page tto test the php and its
executed very nice

The page have php code viewed :http://beachtoursegypt.com/booking-form.htm
where after submitting the form the data are sent to the confirmation
age where the php script lies there and its not executed

the page with the other php code example running is:http://beachtoursegypt.com/123.php


We cant really help without seeing the code. If php is executing there
might be trouble with the mail setup or your script may contain errors.
mail() returns true or false on completion so try

if(mail('''','''',''''))
{
// confirm}

else
{
// problem

}

--
Arjenwww.arjenkarel.nl


I have tried your code and it gave me an error (//problem)
so what could be the problem now really am not sure whats wrong

you can check the page having the piece of code you gave me at this
link: http://beachtoursegypt.com/123.php
its code is here too:

<body>
<?php


这篇关于我需要帮助我的邮件()代码没有执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆