Php storm not exacuting my code

Hi and sory for my english I have just installed PhpStrom and trying to run  this code below but nothing  displays on the screen   I have run the same code np++ and everything great what ami dong wrong.this is the code


<form name="form1" method="post" action="ss.php">
<input name="metin" type="text"><br>
<input name="sayac"type="text"><br>
<input type="submit" name="gonder" value="sonucu göster">


for ($i=0;$i<$sayac;$i++){
echo $metin."<br/>";


Comment actions Permalink


I cannot reproduce this.

How exactly do you run the code in Notepad++ and in PhpStorm?

Comment actions Permalink

@Vladimir Luchansky 

Most likely (based on general symptoms) the guy is using built-in web server .. which has issues with POST requests.

I believe it's tracked as and this ticket had no dev attention/response for quite long time.


@ali ak

General solution: use proper web server (e.g. Apache) to serve your pages.


Please sign in to leave a comment.