PHP variable passing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eddyman592
    New Member
    • Apr 2007
    • 20

    PHP variable passing

    I have a javascript applet I obtained that uses php as the back end to tell the files where to upload. It works great when the file paths are hard coded. The problem is is that they need to be variable because it's gonna be a different folder for every upload. The php page is never actually visited in the browser, but I need to pass a variable to it... how is this done?
  • shoonya
    New Member
    • May 2007
    • 160

    #2
    try
    Code:
    self.location.href
    in javascript
    i guess it will give you the complete path

    Comment

    Working...