why does ajax doesn,t work will in python as php?

  1. The php is inherited in to apache web server to echo the response stream with TCP connection client and server.
  2. The python is not inherited with Apache web server as php.So as response the output in standard like in command prompt,so python cant response the request from Ajax.
  3. Most of the language is supported to ajax ,because the  web server executes the file.
  4. so python need webserver to run on it.And its done through CGI recently the MOD_PYTHON is used to run on server

Comments

Popular posts from this blog

create pdf by using javascript

yii framework simple shopping cart tutorial for beginners

yii2 arrayhelper::map vs array_map