Jump to content

Counter


AlphaWolf

Recommended Posts

Hi,

After looking at some Javascript, I think it can only be done in PHP. I'm trying to get my script to add a "1" to an external file. It's made in Javascript, but I hope I can put some PHP in it, even if it's at the end. I'm working on a Safari Extension, and would like to know how many people use it. It's all made in a .HTML file, so I should be able to add a PHP script at the end.

I hope this is clear, and I hope it can be done in PHP, or something at least.

Thanks,

Joseph Duffy

Link to comment
Share on other sites

So, can this be done? Is there anything in HTML that can execute a file somewhere. I'm thinking this is impossible, but I'd really like to implement this :(

 

Maybe javascript.

 

I've posted on a Javascript forum, with no reply, although Javascript was my first option. It's primarily written in Javascript, so I'd love to use Javascript :D

Link to comment
Share on other sites

Browser's don't have access to files due to the security hole that would open, which is why there are cookies. Can you add 1 to a cookie value and accomplish your task?

 

I believe cookies are restricted, although it might be possible to bundle a txt file with the package, but then editing and uploading that it an issue D:

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.