新手需要帮助:) [英] Novice needs help :)

查看:67
本文介绍了新手需要帮助:)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我运行一个目录,根据收到的

点击次数列出程序。点击次数最多的程序位于

顶部,依此类推。现在我希望人们成为苹果在这个网站上设置一个链接,以便人们可以投票支持他们的节目,点击广告。例如

有人点击某个页面上的链接,点击我的页面点击+1。

如果有人点击下面的链接,它将计算我页面上的点击次数。
http://www.affiliatesjunction。 net / di ...?ax = out& id = 280


现在我怎样才能在文本字段中显示此链接时有人投放广告

他们的程序?

我不太了解php,所以请让我知道

你需要的信息,所以你可以帮帮我!

Casper

我的网站是 http://www.affiliatesjunction.net


我希望这样能够在某人广告后显示他们的链接(谢谢

页面)。如果您想尝试一下,只需添加google test链接即可或者

作为标题的东西。

Hi

I run a directory, where programs are listed based on the number of
clicks they have recieved. The program with most clicks are placed on
top and so on. Now I would like people to be apple to place a link on
there site so people can vote for their program, "ad a click". eg
someone clicks the link on some page and it counts +1 click on my page.
if some one clicks the link below it will count a click on my page.
http://www.affiliatesjunction.net/di...?ax=out&id=280

Now how can I have this link showed, in a textfield, when someone ads
their program?
I don''t reaaly know much about php, so please just let me know what
information is needed for you guys, so you can help me out!
Casper
my site is http://www.affiliatesjunction.net

I''d like this like to show up after someone ads their link (thank you
page) . If you want to try it out just ad a link with "google test" or
something as title.

推荐答案

你想填充文本字段 - 我当输出页面加载时,会建议一个文本框 -

。我假设您可以从数据库中提取所需的

查询字符串变量。因此,在不了解您的设置太多的情况下,假设两个必需的查询字符串

变量是ax。 (具有恒定值out)和id。 (使用

值的页面/帐户,其点击次数将增加,它将是b / b
看起来像这样:


----> CODE<< ----

<?php

/ *获取用户ID * /

//如果您使用数据库或已将用户ID传递给输出

//脚本,您可能希望将其放在友好变量中。我是

//将要使用
You''ll want to populate the textfield -- I would suggest a text box --
when the output page loads. I assume that you can pull the required
query string variables from a database. So, without knowing too much
about your setup and assuming that the two required query string
variables are "ax" (with a constant value of "out") and "id" (with the
value of the page/ account whose click count will be incremented, it
would look something like this:

---->CODE <<----
<?php
/* Get the user id */
// If you use a database or have passed the user id to the output
// script, you may want to put it in a friendly variable here. I''m
// going to use


userid

?>


<! - 现在输出到文本框的html - >


< textarea name =" outputLink">

http://www.affiliatesjunction .net / directory.php?ax = out& id =<?=
userid
?>

<!-- Now out the html leading up to the textbox -->

<textarea name="outputLink">
http://www.affiliatesjunction.net/directory.php?ax=out&id=<?=


userid?>

< / textarea>


<! - 将html的其余部分放在这里 - >

----> END CODE<< ----


或类似的东西。它当然会因你获得用户的方式而有所不同,但一般的想法就在那里。 />

HTH


casper christensen写道:
userid?>
</textarea>

<!-- Put the rest of the html here -->
---->END CODE <<----

Or something like that. It will of course vary in how you get the user
id, but the general idea is there.

HTH

casper christensen wrote:




我运行一个目录,根据他们收到的

点击次数列出程序。点击次数最多的程序位于

顶部,依此类推。现在我希望人们成为苹果在这个网站上设置一个链接,以便人们可以投票支持他们的节目,点击广告。例如

有人点击某个页面上的链接,点击我的页面点击+1。


如果有人点击下面的链接,它将计算一次点击在我的页面上。
http:// www.affiliatesjunction.net/di...?ax=out&id=280


他们的程序?


我不太了解php,所以请让我知道是什么

信息是你们需要的,所以你们可以帮帮我!


Casper

我的网站是 http://www.affiliatesjunction.net


我希望这样能够出现在某人之后广告他们的链接(谢谢

页面)。如果您想尝试一下,只需添加google test链接即可或者

作为标题。
Hi

I run a directory, where programs are listed based on the number of
clicks they have recieved. The program with most clicks are placed on
top and so on. Now I would like people to be apple to place a link on
there site so people can vote for their program, "ad a click". eg
someone clicks the link on some page and it counts +1 click on my page.
if some one clicks the link below it will count a click on my page.
http://www.affiliatesjunction.net/di...?ax=out&id=280

Now how can I have this link showed, in a textfield, when someone ads
their program?
I don''t reaaly know much about php, so please just let me know what
information is needed for you guys, so you can help me out!
Casper
my site is http://www.affiliatesjunction.net

I''d like this like to show up after someone ads their link (thank you
page) . If you want to try it out just ad a link with "google test" or
something as title.


这篇关于新手需要帮助:)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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