Php/ajax rate script need help for something..

Discussion in 'PHP' started by scutari, Jul 22, 2008.

  1. #1
    Here is the link for the script:

    http://www.masugadesign.com/the-lab/...ar-rating-bar/

    The problem is because the script won't work( won't submit results) whenever you put index.php in another directory rather than the script's directory.

    I tried lots of configurations but could not resolve the problem.

    Can anyone check this?
     
    scutari, Jul 22, 2008 IP
  2. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you changed the code in the javascript that points to index.php?
     
    matthewrobertbell, Jul 23, 2008 IP
  3. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    no I have not changed anything at the javascript codes, just included them in the index.php
     
    scutari, Jul 23, 2008 IP
  4. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That means that all of the files the main page looks for wont exist, as it looks for those filese probably in the current directory.
     
    matthewrobertbell, Jul 23, 2008 IP
  5. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Did you check the script? I found that only the rcp.php file needs to stand to the index.php directory for the script to work. If I put it back to the script's folder/directory it won't work.
     
    scutari, Jul 23, 2008 IP