24 Posted Topics
I am using Microchip board SAMA5D27-SOM1 I am building "buildroot" by refering below showed link (https://microchipdeveloper.com/32mpu:buildroot-custom-project) I would like to add gcc or compiler to run c program related to libusb in that.How to add gcc or other compiler during building. | |
After running a python code for usb device following error is occured Traceback (most recent call last): File "test1.py", line 6, in dev = usb.core.find(idVendor=0x1d6b, idProduct=0x0001) File "/usr/lib/python2.7/site-packages/usb/core.py", line 1263, in find raise NoBackendError('No backend available') usb.core.NoBackendError: No backend available | |
I have wriiten a script to switch on buzzer and given the path of that script in '/etc/rc.local'. So after booting my script works and it make the buzzer to switch on... my question is i want to switch the buzzer off when my device is shutdown.(for startup we use … | |
2018-03-01 19:50:40.224088 [ERR] switch_core_sqldb.c:1197 SQL ERR: [select call_id,sip_user,sip_host,contact,status,rpid,expires,user_agent,server_user,server_host,profile_name,network_ip, network_port,0,sip_realm from sip_registrations where expires > 0 and expires <= 1519905040] database disk image is malformed | |
Deleting a table data from adminer,It is showing error unable to "unable to open database file"..But command line sqlite3 delete query is working in ubuntu. | |
i want to change (.php) to my own extension like (.abc) and it should work like php page in lighttpd server in ubuntu os. Anybody knows how to do this? | |
using lua is it possible to download from url?? Below code i have tried but not getting 1) using curl local curl = require "luacurl" local c = curl.new() function GET(url) c:setopt(curl.OPT_URL, url) local t = {} -- this will collect resulting chunks c:setopt(curl.OPT_WRITEFUNCTION, function (param, buf) table.insert(t, buf) -- … | |
In php we all know file_get_contents("https://xxxxx/p.php); is there any similar function like in Lua programming language | |
is it possible to run php page from lua programing code? | |
every 5 minutes i need to execute a php page..is it possible through php code ? | |
Is it possible to upload a file in php without form tag browse button and upload button. if particular file exist in folder i want to upload that file to server..how it is possible | |
$image = file_get_contents('http://4rapiddev.com/wp-content/themes/4rapiddev/images/authors/hoanhuynh.png'); file_put_contents('/home/jiby/Downloads/image.jpg', $image); //Where to save the image on your server | |
a pop up will display during a button click...before that i want to store a hidden field value to session at the same time popup should come..how it is possible ![]() | |
1) i fetch data from database suppose $data contains all the data of table A from $data first two goes to below div <div> //bgcolor green echo $data['a']; echo $data['a']; </div> next 2 data to below div <div>//bgcolor yellow echo $data['a']; echo $data['a']; </div> again next two data to <div> … ![]() | |
Below shown code after fetching data from database not listing the result? <?php $answer = $listcareer['bigcontent']; $bigcontent = substr($answer,0,10); print_r($bigcontent); exit(); ?> ![]() | |
hai friends...i have a doubt in php..I am using Tiny MCE editor..i want to know how to get style for the content i have entered in editor but not print the html tags in my website..how it is poosible????\ ![]() | |
while using below code the error is : Warning: Cannot modify header information - headers already sent by (output started at.......................) please help frnds.......................plz <?php header('Location:index.php?menu=18');?> ![]() | |
<a href="http://server/page.html#anchor-name">Link text</a> | |
$headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: testing <test@gmail.com>' . "\r\n"; $subject = "testing"; $content = " //html content question How to use foreach loop inside this ? "; $sent=mail("test@gmail.com",$subject,$content,$headers); | |
*) when we click addmore and add content for the below code 2 textboxes will appear extra?? how to avoid that??please help <?php include_once 'config.php'; if (isset($_POST['submit'])) { $text1 = $_POST['boxes']; $text2 = $_POST['boxes1']; foreach($text1 as $a => $b){ if (!isset($text1[$a])) { $text1[$a] = null; } echo "<input type='text' name='boxes12' … ![]() | |
//How dinamically adding textbox and textarea of the given code can take after submit button is clicked in php? <!DOCTYPE html> <html> <head> <title>Add or Remove text boxes with jQuery</title> <script type="text/javascript" src="//code.jquery.com/jquery-latest.js"></script> <style type="text/css"> <!-- #main { max-width: 800px; margin: 0 auto; } --> </style> </head> <body> <div id="main"> … | |
$capture_field_vals .= $text_field .", "; | |
how to do explode function in php after every 2nd commas question jiby, t, joby, p, expected answer jiby,t joby,p | |
<?php $message = "test mail"; $name = "jiby"; $email = "test@gmail.com"; $tel = "9744462131"; $mob = "9744462131"; $comment = "hai"; $content = "<h3>Contact Form</h3><br/><table width=100% border=3> <tr> <td width=40% ><b>Name :</b></td> <td width=60% >$name</td> </tr> <tr> <td><b>Email Address : </b></td> <td>$email</td> </tr> <tr> <td><b>Telephone : </b></td> <td>$tel</td> </tr> <tr> <td><b>Mobile … |
The End.