Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Check Click


I have a page and a sponsor. Every time a user click on a banner from our
sponsor their webpage is opened. I'd like to reward these users, but how to
check who clicked on a banner. I can't do anything on sponsor's webpage?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Click Counting
I have a links directory that I would like to count the number of times a link is clicked.

I currently have all the links being displayed by pulling the links data from a MySQL table. I have added the a 'Count' field to the existing table. The table contains the following fields: LinkID, Category, Name, URL, Description, Count.

My question is is it possible to count the clicks once the links data has been printed to HTML? I am thinking of the PHP equivalent of OnClick Count = Count + 1. Or have I got the whole logic back to front?

Set Vars On Click
I just wonder if itspossible to set an var when u click on a link. For example: When i click on www.test.com i want to make $test contain something.

Assign Value On Click
is there a way to change the value of a variable when a hyperlink is clicked? like im include()ing a variable $content. and when you click it changes from URL to links or whatever?

Click Tracking
I have a portal where people advertise and on they are allowed to display their website addresses so that people that visit the site can go directly from their site from my site.

Do you know of a class or script that would be able to monitor when someone visits an advertisers site i.e. records the click as they go across to the advertisers website.

I could build this myself, but thought that there may be a class or script that would do this already. (Would like this to be stored on a MySQL database opposed to a text fil.

Banner Click Thru
I'm looking for an easy way to keep track of click thrus on a banner. Can anyone point me in the general direction of what I'd have to do code wise?

Click Counter
Anyone know about a script/code that count how many times a link have been clicked..
I have tried hotscripts.com, phpbank.net and so on.. Only found scripts that costs money or uses a MySQL database.

I need one with no needs for MySQL. It should look like something like this: [ Download ] Been downloaded (NUMBER) times.Anyone know about a simple script to do that?

Click Counter
i want to make a link counter, i mean, when somebody click on a link in my web, this click is archives. Code:

Single Click Downloads
How do I ptogram with PHP a link that when clicked starts downloading the file? Basically I dont want to link directly as I want to take note of the number of times a file is downloaded so I need some way of sending the file back to the browser after I have done some housekeeping.

Any Way To Remove Referring URL From A Click-thru?
Is there anyway to make a pass-through php file that will clear the referring URL, so the target site does not know where you came from?

Disable Right Click In Opera
In my website there is requirement to disable rightclick.
I am providing the code and it is working in I.E ,Netscape and
Mozilla.But not working in Opera browser.
My code is
<body oncontextmenu='return false;'>
The above single line code is working very fine in the above browsers
not in Opera.

MySql Dump On A Click
I am developing a system, in which user or power user is allowed to take the database backup, is there ne procedure, in which, on just click,,, the dump of mysql is created for backup.

Inserting Into Two Tables At One Click
I want to insert some data into 2 of my tables through my PHP form.How can i do it?
For example, field1, field2 should be inserted into table 1 and field3, field4 should be inserted into table 2. I'm able to insert into one table but not into 2 tables simultaneously.

Link Click Detection?
How might one detect if someone clicked on a hyperkink at your website,
so it can be logged in a database? This would have to be done before
the browser redirects.

Referrer/click Tracking?
Anyone know of a good referrer/click tracker program? I've checked hotscripts.com, freshmeat.net, and php.resourceindex.com but didn't find anything all that great. There seem to be a ton of programs to track outgoing links, but I was looking for something that is used to track incoming links to my site (i.e. if I put a link up on some site it would go to something like http://example.com/click.php?id=1 then I would know how many people came to my site through that one).

I don't need to know how to make one of these, that's easy, but I'm too busy to be reinventing the wheel right now.

User Feedback In One Click
I have seen this on google and MSN. Google groups has star on which if
you click the topic becomes stared... MSN has 5 stars to get feedback
from user for giving rank to the pages. Sorry I don't remember on which
page they have this feature but I am very sure they have this.

I also require it for page rank, I was wondering how do they do it. I
am sure MSN is not storing the data on the clients machine.

I want if users click on 3rd stat then the 3 should go inside my mySql
DB and at the same time I don't want them to go to some other page or
open a pop up or something,

Where Do They Go? How Can I Gather Click Info In PHP
I was wondering if it is possible to find out what people click on, using
PHP.

For example, I have a PHP page with an email link and some third party links
(e.g. www.someone-else.com). I want to know where people go.

My own solution would be to make the link not to an email or a third-party
website, but to another page along the lines of

<?php
//check out where it came from and where it is going
//write info to database
header = {where it should be going}

?>

I am not sure if you can do this with email, but I am also wondering if
there is an easier/smarter way to do this.

Click To Send This By Email
In this forum there is a option called click here to send this to a friend by email, I want to know how they pass the url to a different page?

Right-click Menu Change
Is there a possibility to change/define what will appear in menu after
right-clicking on text input box ?
If not - how to do this ?



Detect Mouse Click
Is it possible to detect where on a page someone clicks with PHP? If so, can you point me in the right direction?

Form Button Click Itself.
is it possible that  on a php script that i can make the form button click itself.

so i have a button that when a certain argument happens i want to click on itself thus resetting itself and doing the php script associated with the button being clicked the php is on a form on php self.  know it sounds strange but i have some coding that needs to reset itself and only does that when the button is clicked just want a work around. failing that is it possible to use jave to achive this.

Find New Record On Click
I want to make a next and a previous link with my data. here is my query:

<?php $sql = "SELECT DISTINCT pdp.PackageId, p.PackageType 
                            FROM productpackaging pdp, packaging p 
                            WHERE pdp.ProductId =2 
                            AND pdp.PackageId = p.PackageId";
$result = mysql_query($sql);

How do I write the code to get next or get previous??

Php Insert Into A Textbox On Click
I have a textbox, where a user can write out a newsletter type deal.

I also have a list of products, that when the user click on it, it grabs all the info from the database and neatly generates html for the product.

I can deal with grabbing from the database and formatting, but i need some help with on click insert into the text box.

Refresh The Page On Click
I'm trying to find a way to refresh the page upon the clicking of a link that does not use header's.

reason being there isnt anyway i can get the statement up above all the output.

The only way ive found of doing something similar is:

<META HTTP-EQUIV=Refresh CONTENT="3; mypage.php">
Which just refreshes the page every 3 seconds.

Not really suitable to be honest.

Can anyone think of another way to handle this?

Disable Right-click On Mouse
Is there a php script that wil disable the right-click on mouse or maybe disable the copy and paste feature of the browser?

because i have a client, wherein he wants to prevent public viewing his website from copying his website content?

Left Mouse Click To Download
I need to allow user to download, ex: a movie file, using left mouse click. How can I do it?

Simulation Of Left Mouse Click
I was looking for this script for some time now
But still didmf fined a salution.
I need a script that simulates a left mouse click on specified area of
the screen when the page is loaded.

Outbound Link Click Tracking
Does anyone know of any tutorials on how to write a script that will allow me to track clicks of outbound links on my site? Or any advice on the best way to do this?

Ideally I'd like to have a record written into a database each time an outbound link is clicked. I'd like to then be ablt to query the database and pull a report that shows the number of times each link was clicked during a time period.

: In Netscape Emulate The IE Object.CLICK();
In IE I can send a click event to a form filed with objectName.click();
Is there a way to do this in other browsers like Netscape 6+ and Opera,
etc...?

Change The Web Page Contents On Click
I want to sort the data displayed on web page on click of button. I have a combo in which all user have to select the sort order in which he wants to see the data...(The combo box or drop down box contains values "Name, Department Salary and Grade")

The user select the order (say name) by clicking the combo box or drop down box. The moment the user releases the combo or drop down box, I want to refresh the page with new sort order.

Unlinking File After Click On Link
I run a script that zips some files, after it's been zipped the client get the link to the file so that he can download it.

I want to unlink the zipped file after the client has clicked on the link. This sounds easy but I don't know how to perform an action from a link ie. <a href = ../path_to_zipped_file/zipped_file.zip>download here</a>

After they click that link I want to unlink ../path_to_zipped_file/zipped_file.zip
any ideas?

Registration And Tracking Click-thru's
My problem:
I have a form that captures information about our corporate site and then I insert it into a MySQL DB. The problem starts when I need to track how many users have come back after registering to view a demo we put up.

Having searched on google I saw that this thread had somethign similar to what I need, so I decided to post to this group. Can somebody please help me out here.... Am fighting a losing battle with my deadline..

Click A Hyperlink To Query MYSQL W/PHP - How?
Like so many questions this involves MYSQL and the PHP (or Perl) layer.

I'm going to have html in text fields and there's going to be what
normally would be an internal link to another place in the same
document. But in this case,
Code:

<a href="#futherdown">next title</a>

is not in the html document. When a user clicks this link I want to
query the DB and append/render the queried record on the I guess
existing (refreshed) page. What's a strategy to make a hyperlink query
via PHP?

Open Window On Button Click
in a form, here's what I want to do :

<input type=button onclick= (???)

is it possible to open a pop-up window with a specified url without
using javascript ?

Calling Php Function On Click Of A Hyperlink
How to call a php function on click of a hyperlink?

C Alling A Function With A Button Click
im relativly new to PHP but loving it - its fantastic isnt it (reminds me a
lot of BASIC on steroids)

my question is this

how do i call a function from a button using php?

Adding Multiple Entries With One Click
I've written a form in html and use php to process it to my database.  What I want to do is make it so that a person can choose a number and then by clicking submit it will create an amount of db entries that corresponds to the number that they chose. 

Click A Button To Download A File
i was wondering if this was possible, when a user wants to download a file from my server say: filename.pdf they need to "right click" save as to get it, but i was wondering if there was a way i could have a regular submit button do it for example:

<input type="submit" name="submit" value="Download File" />
once it's clicked it pops up the download box

Click Link To Delete Record
I am trying to add a function to one of my scripts.  I would like to be able to click a link and have it delete a particular row from by DB.  Links are generated by a PHP script and are based on entries on a DB.  In this DB I have a column called 'users'.  The table is generated by the following snippet: Code:

Click Link To Execute Code
Can code be inserted into a database via clicking on a link?

Changing Variable String Value On A Link Click
Hi... I'm trying to change the value of my $cat variable when someone clicks on a link that consists of an image and some next

I'm not sure how to do this... but I think I need some javascript as well so if $cat="Main" and a certain link is clicked I want $cat="Something else"

How To Avoid Multiple Submit Button Click?
i have one form on which the data is stored in database and suppose the
user clicks the back button of browser and again click on submit button
then the data will be saved in database again.

so how can i solve this problem?

Automatically Calling A Page Without Click On A HREF
I have a PHP page for adding a record that calls an update PHP page. I currently display the record out once it's updated and the user would press a link to get back to the main PHP display page.

Is it possible to call the update page and then automatically call the display page without the user having to click?

I know I could make this one routine/page, but I find it easier to follow when the add/update/delete pages are seperate.

Problem Resetting Sessions With Only One Button Click
I am struggling for a solution to clear some fields on my webpage that takes
their values from some sessions
My solution below works when the button is clicked twice. I sort of know why
I have to click it twice to do the job (the first submit resets the sessions
but this it too late to change the field values, which requires another
submit to pick up the new session values). Problem is I cant think how to
accomplish the resetting of the fields to nothing with one click

Code so far(below)
**********************************
<form name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF'];
?>">
<input name="Submit" type="submit" value=" Clear ">

<?php
if(isset($_POST['Submit'])){
$_SESSION['savedcomm']=''
$_SESSION['pupilfield']=''
$_SESSION['gender']=''
}
?>

</form>
****************************

Loading A Form On Button Click (client-side)
Hi can anyone show me how to load a simple form (i.e. make its contents
visible) on the click of a button (not in that same form).

A Link In An Email That, On Click, Sends The Headerinfo To A Server
Is it posible to make a link (to a php-file on a server) in an email
that, when you click on it, sends info about who the reciver of the
email is?

Lets say I send out an email thru an alias to a group of people and I
want to give them the opportunity to sign up for an event using that
link. Those that click the link are added to a post in a database
(MySQL), eg. with their email adress, initials, name... whatever. I
guess that it would be easy if it just takes the contest of the
to-field in the emails headerinfo? If a spammer can do it, so can I :o)

And... if you have an answer please assume that I know practicly
nothing about php :o) I have made a few sites with php and MySQL, but
nothing fancy - just simple guestbooks etc.

Right Button Click On Any URL Posts That Url To A Server-side Form
this isn't really a php question.
But php is involved, sort of, and I usually get good
answers here, regardless.

I want to build a browser (perhaps as a firefox plugin)
that, for any right-button click on any url on any page, posts the url
to
a server-side php form, that prompts for additional descriptive
metadata and
then inserts that link into a mysql schema.

I know how to do all the server-side php/mysql stuff, but I don't know
how to connect
any right-click on any url (inside the client) as a post to my
server-side URL.

I can imagine this happening, vaguely, as a firefox plugin mechanism.
Does anybody know of any how-to examples, that do something like this?
Or is there an even easier, pure javascript way to do this?

Click Button And Adds To Text Area - Like SMF Bbcode
How can I make buttons to add some things to a text area, like the bbcode for SMF?

Alphabetizing A List Of Links - Click A Link And It's Not Alphabetized Anymore??
I am editing a site, I didn't make it, and I have a list of links created from a mysql db.  I am sending the info from mysql in asc order, but this only works the first time the page comes up.  If you click on a link in the list, it appears to revert back to being ordered by the date entered and stays that way through subsequent clicks.  A point in the right direction on how to make my list stay alphabetized would be very good. 

Passing POST Data On Link Click, And Not Form Button
is it possible to send a form data to a page, using a link instead of a button?

id prefer not to have to rely on javascript, so i would like it to be ras html, or the like..


Copyright © 2005-08 www.BigResource.com, All rights reserved