关于PHP Bits&的博客件 [英] Blog on PHP Bits & Pieces

查看:65
本文介绍了关于PHP Bits&的博客件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的新博客,关于PHP编码的点点滴滴。

http ://bitspiecesphp.blogspot.com/

已经使用了所有这些。希望他们对他人有用:


使用PHP跟踪网站上的电子邮件发件人
http://bitspiecesphp.blogspot.com/20...from- your.html

使用PHP解决session_start()错误
http://bitspiecesphp.blogspot.com/20...art-error.html


使用PHP阅读发布的表单数据
http://bitspiecesphp.blogspot.com/20...form-data.html


使用PHP添加到字符串或使用字符串连接字符串。
http: //bitspiecesphp.blogspot.com/20...s-or-join.html

使用PHP检查表单是否已提交
< a rel =nofollowhref =http://bitspiecesphp.blogspot.com/2008/05/using-php-to-check-is-form-has-been.html\"target =_ blank> http:/ /bitspiecesphp.blogspot.com/20...-has-been.html

使用PHP查找Nummber是奇数还是偶数
< a rel =nofollowhref =http://bitspiecesphp.blogspot.com/2008/05/using-php-to-find-out-if-nummber-is-odd.html\"target =_ blank> http ://bitspiecesphp.blogspot.com/20...er-is-odd.html


完整列表可以在这里找到: http://webflexing.com/

My new blog on bits and pieces of PHP coding.

http://bitspiecesphp.blogspot.com/

Have used all of them. Hope they''re as useful to others:

Use PHP to track email sender from your web site
http://bitspiecesphp.blogspot.com/20...from-your.html

Using PHP to solve the session_start() Error
http://bitspiecesphp.blogspot.com/20...art-error.html

Using PHP to read posted form data
http://bitspiecesphp.blogspot.com/20...form-data.html

Using PHP to add to strings or join string with string.
http://bitspiecesphp.blogspot.com/20...s-or-join.html

Using PHP to check if a form has been submitted
http://bitspiecesphp.blogspot.com/20...-has-been.html

Using PHP to find Out if a Nummber is Odd or Even
http://bitspiecesphp.blogspot.com/20...er-is-odd.html

The complete listcan be found here: http://webflexing.com/

推荐答案

6月3日下午5:58,f ... @ craft2style.com写道:
On Jun 3, 5:58 pm, f...@craft2style.com wrote:

我的新博客关于PHP编码的点点滴滴。

http://bitspiecesphp.blogspot.com/

已经使用了所有这些。希望它们对其他人有用:


使用PHP从您的网站跟踪电子邮件发件人http://bitspiecesphp.blogspot.com/2008/06/use-php-to -track-email-send ...

使用PHP解决session_start()Errorhttp://bitspiecesphp.blogspot.com/2008/05/using-php-to-solve -sessions ...
My new blog on bits and pieces of PHP coding.

http://bitspiecesphp.blogspot.com/

Have used all of them. Hope they''re as useful to others:

Use PHP to track email sender from your web sitehttp://bitspiecesphp.blogspot.com/2008/06/use-php-to-track-email-send...

Using PHP to solve the session_start() Errorhttp://bitspiecesphp.blogspot.com/2008/05/using-php-to-solve-sessions...



对不起 - 没有留下太深刻的印象。前两个未能解决问题

他们声称解决,HTML代码无效 - 可能通过

上传到您的CMS,并且PHP格式错误(再次可能对于

同样的原因)。


关于电子邮件的事情 - 这里什么也没有什么不可以

欺骗。


您的会话修复仅处理一小部分情景,有一些

你没有做过的事情清单 - 提及 - 比如采用一种不用

的样式来终止<?php的包含文件,检查BOM标记,检查

的自动包含....


C.

Sorry - not very impressed. The first two fail to address the problem
they claim to solve, the HTML code is invalid - possibly through
upload to your CMS, and the PHP is badly formatted (again possibly for
the same reason).

Regarding the email thing - there''s nothing here which can''t be
spoofed.

Your session fix only deals with a small set of scenarios, there''s a
whole list of things you didn;t mention - like adopting a style of not
terminating <?php in include files, checking for BOM markers, checking
for auto-includes....

C.


6月4日凌晨2点00分,C。 (http://symcbean.blogspot.com/)"

< colin.mckin ... @ gmail.comwrote:
On Jun 4, 2:00*am, "C. (http://symcbean.blogspot.com/)"
<colin.mckin...@gmail.comwrote:

6月3日下午5:58,f ... @ craft2style.com写道:
On Jun 3, 5:58 pm, f...@craft2style.com wrote:

我的新博客关于PHP编码的点点滴滴。
My new blog on bits and pieces of PHP coding.

http://bitspiecesphp.blogspot .com /


已经使用了所有这些。希望它们对其他人有用:
Have used all of them. Hope they''re as useful to others:


使用PHP从您的网站跟踪电子邮件发件人http://bitspiecesphp.blogspot.com/2008 / 06 / use-php-to-track-email-send ...
Use PHP to track email sender from your web sitehttp://bitspiecesphp.blogspot.com/2008/06/use-php-to-track-email-send...


使用PHP解决session_start()Errorhttp:// bitspiecesphp .blogspot.com / 2008/05 / using-php-to-solve-sessions ...
Using PHP to solve the session_start() Errorhttp://bitspiecesphp.blogspot.com/2008/05/using-php-to-solve-sessions...



对不起 - 没有留下太深刻的印象。前两个未能解决问题

他们声称解决,HTML代码无效 - 可能通过

上传到您的CMS,并且PHP格式错误(再次可能对于

同样的原因)。


关于电子邮件的事情 - 这里什么也没有什么不可以

欺骗。


您的会话修复仅处理一小部分情景,有一些

你没有做过的事情清单 - 提及 - 比如采用一种不用

的样式来终止<?php的包含文件,检查BOM标记,检查

的自动包含....
< br $>
C.


Sorry - not very impressed. The first two fail to address the problem
they claim to solve, the HTML code is invalid - possibly through
upload to your CMS, and the PHP is badly formatted (again possibly for
the same reason).

Regarding the email thing - there''s nothing here which can''t be
spoofed.

Your session fix only deals with a small set of scenarios, there''s a
whole list of things you didn;t mention - like adopting a style of not
terminating <?php in include files, checking for BOM markers, checking
for auto-includes....

C.



注意上传错误导致的html代码。将更正



除此之外,所有脚本都是摘录,目前是在Windows服务器上运行的实际网站上工作的b $ b。

至于解决你评论的所有场景修复,请注意

博客的标题是BITS& PIECES php而不是Php

百科全书! Dah !!! ??? !!!


电子邮件解决方案只是这里简要说明的一个方面。

为了您的信息,它是有用的防止,报告

在实际情况下控制垃圾邮件。至于其他通常

应用的输入图形生成代码的解决方案,那将是另一个博客条目。


那里'有许多方法可以查看并提出解决问题的方法。简明扼要是一个比在不需要的方向上投入不需要的信息更好的方法。

Have notice the html codes caused by uploading errors. Will correct
that.
Other than that, all the scriptings are extracts and are currently
working on actual web sites running on Windows servers.
As for the solve all scenarios fixes that you commented, please note
that the title of the blog is "BITS & PIECES php" and NOT Php
Encyclopedia! Dah!!!???!!!

The email solution is only one aspect that concisely explained here.
For you information, it has been useful to preventing, reporting
control spamming in actual circumstances. As for the other commonly
applied solution of entering graphic generated code, that will be
another blogging entry.

There''re many ways to views and present solutions to problems. Being
concise is definitely a better approach than throwing unrequired
information in unwanted directions.


fy*@craft2style.com 写道:

我的新博客上的点点滴滴PHP编码。
My new blog on bits and pieces of PHP coding.



Sheesh。我们所需要的只是糟糕的PHP编程实践的另一个例子:

Sheesh. All we need is another example of lousy PHP programming practices:

http://bitspiecesphp.blogspot.com/

已经使用了所有这些。希望他们对他人有用:


使用PHP跟踪网站上的电子邮件发件人
http://bitspiecesphp.blogspot.com/20...from- your.html



HTTP_REFERER和HTTP_USER_AGENT都很容易伪造 - 可能

将由垃圾邮件发送者提供。这没有增加安全性。

HTTP_REFERER and HTTP_USER_AGENT are both easily forged - and probably
would be by a spammer. This adds no security.


使用PHP解决session_start()错误
http://bitspiecesphp.blogspot.com/20...art-error.html



用ob_start()隐藏问题而不是修复它。错误是

仍然存在 - 你刚刚给服务器增加了额外的开销。

Hiding the problem with ob_start() instead of fixing it. The bug is
still there - you''ve just added additional overhead to the server.


使用PHP来阅读发布的表单数据
http ://bitspiecesphp.blogspot.com/20...form-data.html



没有错 - 但即使是只有2天的人PHP

编程经验可以做到这一点。

Nothing wrong with this - but even someone with only 2 days of PHP
programming experience can do this.


使用PHP添加到字符串或用字符串连接字符串。
http:// bitspiecesphp.blogspot.com/20...s-or-join.html



再次,非常简单。更好的方法是使用。=

运算符。

Again, very simple. And a better way would have been to use the .=
operator.


使用PHP检查表单是否已提交
http://bitspiecesphp.blogspot.com/20...-has-been.html



你忘了提到按钮最好被命名''提交'' - 或者这个

将会失败。喜欢

You forgot to mention the button had better be named ''submit'' - or this
will fail. Like the


这篇关于关于PHP Bits&amp;的博客件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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