www.webdeveloper.com

Search:

Type: Posts; User: XeroSiS

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Thread: MySQL question

    by XeroSiS
    Replies
    1
    Views
    615

    MySQL question

    I have a two tables called

    - space (id, title, type, created_on)
    - space_counter (id, space_id, imp_count, clk_count, created_on)

    basically space is an advertising space and counter is a...
  2. Replies
    1
    Views
    722

    JS and PHP tracking on another server

    I have raised this question before in another way but please see below:

    In a nutshell for those who don't want to read all of below:
    I have given a website owner a PHP script and I am searching...
  3. Replies
    16
    Views
    1,623

    The JS encrypt is amazing but a new problem is...

    The JS encrypt is amazing but a new problem is that I generate JS on the fly and it is dynamic, something like this (a php file)

    var AdCounter = AdCounter || 0;
    if (AdCounter++ < 4) {...
  4. Replies
    16
    Views
    1,623

    Thank you. There is also another problem:...

    Thank you.
    There is also another problem:
    please load these pages:
    http://www.edoramedia.com/aauae
    and
    http://www.edoraemdia.com/aauae/test.php

    notice how slow the first one becomes when we...
  5. Replies
    16
    Views
    1,623

    OK. So I was able to figure this part out. Now...

    OK. So I was able to figure this part out. Now there is a new problem.

    Basically the first JS checks and if all is OK allows the second JS. My issue is that the user can easily go to source code,...
  6. Replies
    16
    Views
    1,623

    Basically what I am trying to say is I need to...

    Basically what I am trying to say is I need to pass a variable from adcheck.js to ad.js but the variable needs t come from somewhere within the URL.
  7. Replies
    16
    Views
    1,623

    bionoid I have a question using this script, if...

    bionoid I have a question using this script, if you could please help me.

    The thing is I need to also pass a string for example "abcd1234" which is different for each advertiser, and basically...
  8. Replies
    16
    Views
    1,623

    This is wonderful! I am sure it will work. ...

    This is wonderful! I am sure it will work.

    Thanks a million!
  9. Replies
    4
    Views
    670

    1 query 3 counts

    Hi,

    I was wondering if it is possible to write a query that gets the result of 3 counts?

    For example I have a table called "boxes" that has the following:

    - id
    - name
    - color
  10. Replies
    16
    Views
    1,623

    Thanks. Actually I can not do this as it will...

    Thanks.
    Actually I can not do this as it will make it a bit complicated for the users who mainly have very little logic.

    But this brought up a very interesting issue, I also noticed that Google...
  11. Replies
    16
    Views
    1,623

    Thank you for the idea. This could work in most...

    Thank you for the idea. This could work in most cases up until user navigating through pages quickly, also another issue could be that every ad that displays will require us to have to do an sql...
  12. Replies
    16
    Views
    1,623

    Yeah that could work but if someone wants to mess...

    Yeah that could work but if someone wants to mess with the system then they can use this method and I need to stop it.

    Thanks.
  13. Replies
    16
    Views
    1,623

    Yes! This could work, but the problem is that...

    Yes! This could work, but the problem is that people could still abuse the system by for example posting the script 200,000 times (just an example) and running it, this will create a lot of...
  14. Replies
    16
    Views
    1,623

    Creating a variable

    I have a JS code that users use on their site in order to display an advertisement.

    The code is something like this:
    <script type="text/javascript"...
  15. Thread: SQL query help

    by XeroSiS
    Replies
    2
    Views
    997

    SQL query help

    We have a bunch of videos in a table:
    video_id
    title
    ...
    views_count
    posted_on

    Generally 10-20 videos are posted every day.

    Now I need to write 1 query that gives me the most viewed...
  16. Replies
    33
    Views
    5,077

    So are you basically saying: Make a SELECT query...

    So are you basically saying:
    Make a SELECT query with all the filters and only get ID's, place them in an array, random one array and get the info from there?

    Basically make an index using...
  17. Replies
    2
    Views
    666

    Yes! That is perfect, great idea. Thanks.

    Yes! That is perfect, great idea.

    Thanks.
  18. Replies
    2
    Views
    666

    How to approach a SESSION problem

    Basically I have a small ad network and would like to stop click bombing (meaning not allow a user to click on an ad over and over again in order to drain the advertiser's budget in a few minutes).
    ...
  19. Replies
    1
    Views
    1,508

    Figured it out!!! After hours of checking ... I...

    Figured it out!!! After hours of checking ... I had to call my hosting and have them sync the server time!

    That easy!
  20. Replies
    1
    Views
    1,508

    Issue with S3 Amazon

    I am using codeigniter and the S3 library.
    Recently I have come upon a strange problem when using the below:


    $this->s3->putObject(S3::inputFile('uploads/ad.jpg'), 'adp-asset',...
  21. Replies
    33
    Views
    5,077

    excellent information guys, I will review them...

    excellent information guys, I will review them tomorrow and update you on how I finally approach this.
  22. Replies
    33
    Views
    5,077

    random row from a large database

    I have a table with for example the following columns:
    - id
    - title
    - body
    - type (image, swf, text)
    - posted_on

    Lets say there are over 3 million rows in this table.
    I need to get 1 random...
  23. Replies
    3
    Views
    1,661

    Thanks, that sounds best.

    Thanks, that sounds best.
  24. Replies
    3
    Views
    1,661

    best practice in saving image

    I was wondering when I want to save an image location on my database is better to save only the image name or save the full URL?

    For example I upload: cat.jpg

    In database should I save...
  25. Replies
    5
    Views
    3,523

    WOW!! It worked ... thank you so much!

    WOW!! It worked ... thank you so much!
Results 1 to 25 of 221
Page 1 of 9 1 2 3 4
HTML5 Development Center



Recent Articles