I'm sorry, but you can't.
Serialize object and pass as a variable in url:
abook = new BOOK();
abook->isbn = 11111;
abook->title = ".....:
.....
CONFIRMATION =???? java_script_or_any_popup_win()
/ My difficult is to get the user's choice into a PHP variable /
if (confirmed)
{
document.location.replace(document.location+"?object=<?serialize(abook)?>");
}
Or save it in a file, or in a db, or in a cookie, etc etc...
From client simply you can't call a php function.