我在哪里放置服务器端php代码? [英] where do i put a Server Side php code?

查看:86
本文介绍了我在哪里放置服务器端php代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一些php代码,我们希望将该php代码放在服务器端,但不知道怎么做!

php代码已准备就绪,请参见下面的内容:

We have a little php code and we wish to put that php code on server side but don’t know how!

The php code is ready, see it below:

If ($_POST["booking.php"]) { $iFrameURL = $_POST["booking.php"]; $i = 0; foreach($_POST as $key => $value) { $i++; if($i == 1) { $iFrameURL .= "?"; } else { $iFrameURL .= "&"; } $iFrameURL .= $key."=".$value;} }
?>



如果您能告诉我如何将此代码放在服务器端,那么我也可以做到!

如何在托管的服务器端实现此代码?

我该在哪里粘贴此代码或将其复制或复制到页面,然后呢?

非常感谢吗?

Oz



If you please tell me how to put this code on server side then I can do it too!

How to I implement this code on server side on my hosting?

where do i paste this code to or copy this code or as page and then what?

Thanks so much?

Oz

推荐答案

_POST [" ]){
_POST["booking.php"]) {


iFrameURL =
iFrameURL =


_POST [" booking.php"];
_POST["booking.php"];


这篇关于我在哪里放置服务器端php代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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