PHP w / cookies加载Flash视频???? [英] PHP w/cookies to load Flash video????
问题描述
我不知道PHP,但它似乎是这样做的方式:
我需要一个家将Flash视频加载到HTML页面并为第一次访问者自动播放的页面。重复访问者(在15天内)将不得不点击视频来播放它。
我认为PHP脚本可用于设置或添加带有计数的cookie然后检查以查看计数。如果计数为1,则需要加载自动播放视频。如果计数为2或更大,则需要点击播放视频。
我可以制作2个视频,但我不知道如何编写PHP。
所以,这是这样做的方式还是有更好的方法?
任何人都可以帮我把这个剧本放在一起吗?
谢谢大家!
Hi,
I don''t know PHP but it seems like the way to do this:
I need a home page that loads a flash video into the HTML page and auto-plays for 1st time visitors. Repeat visitors (within 15 days) will have to click on the video to play it.
I think a PHP script can be used to set or add to a cookie with a count and then check to see the count. If the count is 1 it calls for the auto-play video to be loaded. If the count is 2 or greater, it calls for the click to play video.
I can make the 2 videos but I have no idea how to write the PHP.
So, is this the way to do this or is there a better way?
Can anyone help me put this script together?
Thanks guys!
推荐答案
好吧
简单
我的想法是:
[php]
<?php
//设置**************** *********************
well
its simple
my idea is:
[php]
<?php
//setup *************************************
videoHTML =" yourVideoPage.html";
videoHTML = "yourVideoPage.html";
withoutVideo =" yourNotVideoPage.html" ;;
withoutVideo = "yourNotVideoPage.html";
这篇关于PHP w / cookies加载Flash视频????的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!