Capturing Java and Converting to PHP

Javascript coding ..

Moderators: egami, macek, gesf

Post Reply
User avatar
Harlequin
New php-forum User
New php-forum User
Posts: 102
Joined: Sat Jul 24, 2004 10:38 am
Location: UK
Contact:

Thu Oct 21, 2004 2:01 pm

Morning all.

I've managed to create some script through begging, borrowing and a little manipulation that captures browser data such as screen resolution and screen depth and cookies enabled etc and can post these using a form with hidden fields. But what I need to do is this:

Instead of the form having a button, I just want it to be a regular hypelink and that way I can embed this code in a normal web page and when the user clicks to view another page I capture the data.

I know this is easily donw but I'm beat as I've been at this for hours now and if it would be of any use to you guys I'll be making the whole script available with a list of the variables it captures.
-----------------------------
Mick Mason
http://www.whatnowebsite.co.uk
-----------------------------

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Thu Oct 21, 2004 3:06 pm

<a href="link_to_page.php" onClick="my_function()">Bla Bla</a>
that way you can call yout script... you should replace my_function() with the actual name..
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest