Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~628 People Reached
Favorite Tags
Member Avatar for benqb

[CODE]<?php $out = array(); $execute='./test.py'; $name="test"; exec("$execute $name",$out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] when I executing above code in local server its working.. But in hosted server, exec () function doesn't take the parameter variable '$name'. why?

Member Avatar for benqb
0
104
Member Avatar for benqb

[CODE]<?php $rainbowmsg =""; $var =""; $scale=""; $out=array(' Ann',' james',' rejo mathew',' sjo d emmanual',' mary varghese','devan','benqb','riya'); $links=array(' Ann',' james',' rejo mathew',' sjo d emmanual',' mary varghese','devan','benqb','riya'); //color arrays $rainbow = array('#C36546','#006633' , '#000099' , '#FF0000' , '#FF6699' , '#0099FF', '#FFFF00' , '#33FF00'); //get the message for( $j=0; $j<1; $j++ ) …

Member Avatar for paulrajj
0
95
Member Avatar for benqb

Iam using [color=#FF0040]import paketlogic2[/color] in my project when i hosted that project in webserver i got the following error [color=#FF4000]Couldn't connect to PacketLogic: cannot import name PLv11[/color] why?

0
49
Member Avatar for benqb

In my phpcode [CODE=php] <?php $out = array(); $execute='./test.py'; $name = "?key=1234&path=host"; exec ("$execute $name", $out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] In test.py file i want to get the value corresponding to path that is host In test.py [CODE] #!c:/Python27/python.exe -u import django import cgi, …

0
61
Member Avatar for benqb

I am executing python file through php code in my local host [CODE=php]<?php $out = array(); $execute='C:\wamp\bin\apache\Apache2.2.11\cgi-bin\test.py'; exec ("$execute", $out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] test.py [CODE=python] #!/usr/bin/python import cgi, cgitb, os, sys cgitb.enable(); # formats errors in HTML print "helloworld"[/CODE] it correctly working in …

Member Avatar for jkon
0
94
Member Avatar for benqb

I am passing the given query [url]http://localhost:8080/show?key=1234&path=host[/url] in my python script i want to take the 'path' only how can i get it? i use [CODE] def get(self): data = self.request.get('path') [/CODE] but it not working

Member Avatar for GDICommander
0
225