This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ajithkp560

Pages: [1]
1
News and Announcements / Re: Merry Christmas
« on: December 24, 2012, 03:56:01 PM »
Merry, Christmas to all the members :)

2
Web Oriented Coding / Re: execute python code on PHP syntax
« on: December 24, 2012, 03:52:36 PM »
Yeah you are right. Thats rights. Javascript(or AJAX) is the better choice for this.

3
Web Oriented Coding / Re: execute python code on PHP syntax
« on: December 24, 2012, 01:30:59 PM »
Sorry, I havent seen whats ur needing. Try code bellow.
Code: [Select]
<?php
print "E";
usleep(500000);
print 
"V";
usleep(500000);
print 
"I";
usleep(500000);
print 
"L";
?>

did you mean print this like???
PHP is the best language in web application programming.

4
Web Oriented Coding / Re: execute python code on PHP syntax
« on: December 24, 2012, 06:26:44 AM »
To execute a python program

Code: [Select]
<?php echo shell_exec("python pycode.py"); ?>
or

Code: [Select]
<?php echo exec("python pycode.py"); ?>
or

Code: [Select]
<?php echo system("python pycode.py"); ?>
there are many other functions like passthru,proc_open,popen to execute commands.

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.