form action =<?= $ _ SERVER ['PHP_SELF']?> - 停止工作 [英] form action = <?=$_SERVER['PHP_SELF']?> - stopped working

查看:61
本文介绍了form action =<?= $ _ SERVER ['PHP_SELF']?> - 停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我向自己提交值的表单操作代码已停止使用

代码


form action =<?= $ _ SERVER ['' PHP_SELF'']?>


此代码用于工作


我的网站主机最近告诉我他们在apache中启用了phpsuexec选项

显然需要我将我的PHP页面CHMOD到750并将目录改为755.(我

我不知道这意味着什么,但知道如何CHMOD文件)。我已经清除了

文件,但是我的PHP页面不适用于那些设置,所以我将它们设置为

返回。


提前感谢您的帮助。


祝你好运,


tHatDudeUK

解决方案

_SERVER [''PHP_SELF'']?>


此代码用于工作


我的网站主持人最近告诉我他们在apache中启用了phpsuexec选项

显然需要我将我的PHP页面清理为750并将目录设置为755.(我

不要知道这意味着什么,但知道如何CHMOD文件)。我已经清除了

文件,但是我的PHP页面不适用于那些设置,所以我将它们设置为

返回。


提前感谢您的帮助。


致敬,


tHatDudeUK


2005年1月13日星期四19:54:06 -0000,tHatDudeUK

< th ******** @ gmail.com.removethisbit>写道:

我提交给自己的值的表单操作代码已停止使用
代码

form action =<?=

_SERVER ['PHP_SELF '']>?;


你有一些额外的空间和缺少报价。右边

方向的一步将是:


< form action ="<?php echo htmlspecialchars(


My form action code to submit values to itself have stopped working using
the code

form action = <?=$_SERVER[''PHP_SELF'']?>

This code used to work

My web host recently told me they enabled phpsuexec option in apache which
apparently needs me to CHMOD my PHP page to 750 and the directory to 755. (I
don''t know what this means but know how to CHMOD files). I have CHMODed the
files this but my PHP page doesn''t work with those settings, so I set them
back.

Thanks in advance for any help.

Best regards,

tHatDudeUK

解决方案

_SERVER[''PHP_SELF'']?>

This code used to work

My web host recently told me they enabled phpsuexec option in apache which
apparently needs me to CHMOD my PHP page to 750 and the directory to 755. (I
don''t know what this means but know how to CHMOD files). I have CHMODed the
files this but my PHP page doesn''t work with those settings, so I set them
back.

Thanks in advance for any help.

Best regards,

tHatDudeUK


On Thu, 13 Jan 2005 19:54:06 -0000, "tHatDudeUK"
<th********@gmail.com.removethisbit> wrote:

My form action code to submit values to itself have stopped working using
the code

form action = <?=


_SERVER[''PHP_SELF'']?>
You''ve got some extra spaces and missing quotes there. A step in the right
direction would be:

<form action="<?php echo htmlspecialchars(


这篇关于form action =&lt;?= $ _ SERVER ['PHP_SELF']?&gt; - 停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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