变量的调用,怎么把两个文件联系起来,我是菜鸟 比如我在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] 求助:Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename 函数调用自己的问题 php cookie 无效问题 对MYSQL的(*.sql)文件,如何转换成ACCESS数据库? PHP与SQL2000中TEXT类型的问题 什么是二级域名呢 介绍给大家一个很快的PHP空间,可有多个数据库,速度很快。 请各位高手走过路过不要错过帮我一下忙,我这个新手先谢了! 谁能告诉我怎么安装GD库 怎样关闭一个打开的窗口 请问从数据读取出输出后如何将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]