+ 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?
1 ответ
+ 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!!!!