weixin_33728708 2012-10-24 12:16 采纳率: 0%
浏览 37

AJAX / JQUERY帖子,包括

Find this confusing...

If a user fills in a contact form (contactus.php) and submits the form using AJAX/JQuery to (process.php) and on the (process.php) there is a include function but the PHP file isn't being included..

Why could that be??

LOL if it makes sense. All help would really be appreciated.

include("file_name_goes_here.php");

OR__________________________________________________

How can I make (index.php) read a text file's contents as php coding and then excute it?

$data = file_get_contents("file.txt");
  • 写回答

1条回答 默认 最新

  • ??yy 2012-10-24 12:39
    关注

    Can you load your txt file as a string and use eval? Note: I'm not suggesting this is a good idea!

    评论

报告相同问题?

悬赏问题

  • ¥20 求用stm32f103c6t6在lcd1206上显示Door is open和password:
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类