+ 3

Is there any way to post to external url by SoloLearn CodePlayground?

I would develop a nice script but i need to keep data, so i mounted a db on my server but its not working the jquery post. I tried to create a file and append.... nothing. How to keep data sent by forms into sololearn codeplayground guys?

21st Sep 2019, 4:54 PM
Alberto Cini - Noviia
Alberto Cini - Noviia - avatar
1 Answer
+ 1
Do you have large data for passing to your url? If yes, you should write these code, in Ajax part, ..... xhtml.open("post","your-file-name.php") xhtml.send(fname=firstname&lname=lastname) .... in your-file-name.php .... $name=$_post(fname); $surname=$_post(lname); ..... echo $name." ".$surname; easy!!!!
24th Sep 2019, 5:24 PM
saeid piryaee
saeid piryaee - avatar