by lain | 28/11/16 | 2 Answers | Tags : PHP , Lamp Views : 153
i have file and i want full physical directory path of that file . like /home2/shareddomain/public_html so how can i get full directory path by php programm or by Cpanel ? any how i need directory path so i can use it to set cron . i am using Lamp shared server

Read more

by lain | 28/11/16 | 1 Answers | Tags : PHP , Lamp , cron , cpanel Views : 251
How to set cron in Cpanel ? its Linux shared server : LAMP , and i dont know much php but i have file named "cron.php" want to set it cron so it run twice a day . so after login at Cpanel i got "cron job" section i select their once per day so its auto selected some timing parameter but now question is that what to enter in command input box . because i dont know any command to set cron .

Read more

by jessica | 28/11/16 | 3 Answers | Tags : Javascript , array Views : 209
How to remove last element from array in JavaScript so i get removed last element from array and get remaining in return array

Read more

by jassy | 28/11/16 | 4 Answers | Tags : Javascript , array Views : 229
suppose now how can i remove first and last element from array by JavaScript is there any method or function in JavaScript so i can remove first and last element by it ?

Read more

by shabi | 18/12/16 | 1 Answers | Tags : Android , object-monitoring , Java Views : 184
How can i measure distance of object from camera in android ? i am developing app for android people can measure distance from their mobile to particular object , and i found some app also working on same concept like some android app :: smart distance - etc. give me some hint so i can measure distance of object from camera in android .

Read more

by fatso | 27/11/16 | 0 Answers | Tags : jQuery , Javascript Views : 147
i am more familiar with jQuery but i need to use fabric js for my project but i want to use jQuery some basic other functions so is that possible to use jQuery and fabric js together without any issue ?

Read more

by fatso | 27/11/16 | 0 Answers | Tags : Javascript , HTML , XHTML , fabric js Views : 201
i am new to fabric js and i want to use with one web application and i don't know where to start . where to start to integrate fabric js ? how to setup fabric js in web page ? i downloaded fabric js from github https://github.com/kangax/fabric.js/ and after this pls explain how to start with fabric js ?

Read more

by jaman | 27/11/16 | 1 Answers | Tags : PHP , Wamp server , Lamp Views : 187
i dont have system level acess so i cant change the magic_quotes_gpc , magic_quotes_sybase , magic_quotes_runtime in php.ini . basically i want to turn it off because it causing lots of problem . i know ini_set can change value of php.ini directive . like we can use is it work ? is ini_set can disable magic_quotes_gpc or magic_quotes_sybase or magic_qutoes_runtime ?

Read more

by jaman | 27/11/16 | 1 Answers | Tags : PHP Views : 131
i have shared server hosting and i got that in php_info() function that server have magic_quote_gpc= on and magic_quote_sybase=on and magic_quote _runtime=on and i want to make it off because it s automatically adding / to every single quote and double quote . so how can i make it of at my shared server .

Read more

by jaman | 27/11/16 | 2 Answers | Tags : PHP , HTML , XHTML Views : 219
Hi i have problem with post method , every time when i post FORM and i get added / to single quote or double quote . suppose if input have value is "india" is 'good' than it goes into database /"india/" is /'good/' and if input have value is /"india/" is /'good/' and it goes into database //"india//" is //'good//' every time value get added / to single quote and double quote .

Read more

by duglus | 24/11/16 | 1 Answers | Tags : Javascript , fabric js Views : 137
problem arise with fonts which supports kerning how it look in canvas problem fiddle :: http://jsfiddle.net/3jk3jvy7/147/ problem video :: http://screencast.com/t/gYVMk4Gj

Read more

by duglus | 24/11/16 | 1 Answers | Tags : Javascript , PHP , fabric js Views : 316
let me explain why i need it . by method toDataUrl i got string with data type and format followed by base64 encoded image data and it very heavy in size . its about 8 MB because canvas have images of resolution ~9000x9000 and up by using toDataUrl and post string which is 8 mb in size by ajax . it take about 2 to 3 minute wait . which is not reliable and user friendly so i need some other way where i cut this time by posting . so i am thinking if i do it in server side in cron . for that i need some php program which convert fabric js json to Image

Read more

by sec8 | 24/11/16 | 1 Answers | Tags : PHP Views : 104
how to get yesteraday 's date in PHP ?

Read more

by ajamil | 23/11/16 | 1 Answers | Tags : Android , Android Studio Views : 168
How to Change Android SDK Path .when i install it goes to C drive .now i want to release some space from c drive so i want to change sdk to C drive to another D drive . so is it just copy to another drive or what ? so i want to move Android Sdk to another drive without causing any problem .

Read more

by jaggy | 23/11/16 | 1 Answers | Tags : jQuery , Javascript , HTML , XHTML Views : 157
How to validate email in JavaScript or in jQuery ?

Read more

by jaggy | 22/11/16 | 1 Answers | Tags : jQuery , Javascript , HTML Views : 165
In JavaScript . given value is Numeric or not ? i want to check the given number is Numeric or not in HTML Form . so i can validate it properly In JavaScript or in jQuery , any solution helps.

Read more

by sqltreat | 22/11/16 | 4 Answers | Tags : PHP , Mysql Views : 262
How to get result of yesterday ' date by sql query in MySQL ? Database table name : users Field list : Id(Primary Key) , username , password , register_date (field type : dateTime) i want to get all user who registered yesterday i can put static date here but i need dynamic date . it means i need registered user for yesterday.

Read more

by sqltreat | 21/11/16 | 0 Answers | Tags : PHP , Mysql Views : 128
How to reset Auto Increment in MySql i set my id as Primary Key with not null and auto increment . but problem arise that i was testing environment untill now for my PHP web application. now i am transferring it to production.and i want to reset all Auto increment to 0 so it start with 1 so tell me how to reset Auto increment to 1 so it start Counting from 1 again.

Read more

by sqltreat | 21/11/16 | 1 Answers | Tags : PHP , Mysql Views : 184
how to remove whitespace in MySql In Sql Query . i am running following query with mysql_query in php but sometime i got admin enter category name with space. so i want to omit it to get stored name with space in MySql can i remove white space before get it saved. ? php function or MySql function any thing which help on this .

Read more

by sarah | 18/11/16 | 1 Answers | Tags : jQuery , Javascript Views : 251
differnce between forEach and each in JavaScript ?

Read more