tln6482 Posted July 22, 2010 Share Posted July 22, 2010 I have my php script setup to check if a file exists, if that is so, I called a JS function to pop up a confirm box to ask whether or not to overwrite the file. I've noticed that there is a distinct difference between the client-side JS and the server-side PHP and was wondering if there was any way around this? It'd be nice to give the user the option to overwrite/not overwrite if possible...... Thanks in advance! Quote Link to comment Share on other sites More sharing options...
tln6482 Posted July 27, 2010 Author Share Posted July 27, 2010 Anyone have any idea for a solution? I'm having great difficulties trying to conquer this roadblock. Quote Link to comment Share on other sites More sharing options...
tln6482 Posted July 29, 2010 Author Share Posted July 29, 2010 I just did the condition check within the javascript and the function is now handling the values alright. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.