变量的调用,怎么把两个文件联系起来,我是菜鸟 比如我在Index.php里定义变量$hack_aaa=mt_rand(80000,304913);,然后写了一个index.htm的静态文件,想在这个文件里调用$hack_aaa这个变量,意思就是把index.htm跟Index.php联系起来 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 执行的机器不同,联系只能通过post或者get 如果Index.php里没有输出代码的话,那么index.htm直接include这个index.php就可以引用$hack_aaa了,如果Index.php有输出,那么把这个$hack_aaa写到另外一个文件中,大家都include这个文件就可以了 为什么非得是静态的htm,加入php代码获取$hack_aaa不行吗? I think you should use ror(ruby on rails), I think it is very fit for you.this problem can be solved by using Ajax, but you still could use the variable $hack_aaayou can only get this value by javascript. that's all[email protected] 问一个简单的正则表达式问题 请教个关于include的问题 菜鸟级PHP正则表达式语解 请教一个数据库写入的问题。。 使用post提交数据之后,有错误,页面刷新之后,想保持原有值 怎样可以使得网页打开象discuz这样快? 怎样从mysql中选择出所有不同的和它们的个数? 在线等!!!PHP+mysql上传图片 在linux下php.ini的include_path应该如何设置 在PHP如何创建Socket? 请问从数据读取出输出后如何将values提出出来? 怎么样能让flash与数据库的连接起来???急啊
this problem can be solved by using Ajax, but you still could use the variable $hack_aaa
you can only get this value by javascript. that's all
[email protected]