Jump to content

Solve this infinite looping problem


ankit1986

Recommended Posts

<?php
header("Cache-Control: no-cache, must-revalidate");
$cgi = shell_exec("cmd /K C:/portcode/port.exe");
echo $cgi;
?>

 

This code is going into infinite loop on line 3. Any suggestions or way outs ???

 

I want to execute port.exe from PHP script ...... if any alternate coding is there then plz post here

 

Thankx

 

Link to comment
https://forums.phpfreaks.com/topic/103838-solve-this-infinite-looping-problem/
Share on other sites

When asking for help on a forum, you have to remember that you're asking for free help.  Nobodys urgency is *my* problem...I like to answer questions here and read the articles for fun.  Nothing other than $$ will make me jump.

 

Also, it does look like port.exe is looping.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.