10-24-2008, 08:27 AM
|
#6 (permalink)
|
|
The Acquainted
Join Date: Nov 2007
Location: Sweden
Posts: 100
Thanks: 13
|
Yes it may have been saved "automaticly" but not without the user loading the page.
Cause thats what the user would have to do if your not going with JavaScript.
Cause PHP in itself canīt magicly induce a page load and run the code for saving the data.
You would need some form of user intervention.
Thats why you would need to use JavaScript to make the "Call" to the server using AJAX and calling your script.
In other words the user must do something to make the page load.
Like click a link or send a form.
At least if your not going to use JavaScript.
Thats the bottom line. Because as said before. PHP is Server-Side.
and JavaScript is Client-Side.
good luck :)
__________________
Of course the whole point of a doomsday machine, would have been lost if you keep it a secret.
|
|
|
|