Jump to content

PHP able to handle values returned from a JS confirm box?


tln6482

Recommended Posts

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!

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.