file - Saving Source of Self (PHP) -


okay, have strange problem. , ah, no solution. can please me or send me off in right direction?

i have simple html page, , need able have 'save' button on page user click. , upon clicking save button, php save copy of current page user on same directory on server.

is possible?x

thanks! @ appreciated

you need ajax. if you're using jquery entire html of page using $('body').html() , send ajax post.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -