by noob | 23/12/16 | 1 Answers | Tags : PHP , array , associative Views : 169
still using mysql extension get data by mysql_fetch_assoc , mysql_fetch_row or mysql_fetch_array , sometime i need to check i have associative fetch or row , array . so is there any way i can check array is associative or not dynamically ?

Read more

by web-api | 30/11/-1 | 1 Answers | Tags : cURL , header Views : 181
want to read header what i got from CURL for that header status checking i need to grab the header from result of CURL WEB API call

Read more

by web-api | 22/12/16 | 3 Answers | Tags : PHP , PASSWORD-SECURITY , BlowFish-cipher Views : 280
its about secure password with salt . i head about blowfish cipher . how to apply blowfish cipher in php . i want to use to generate more complicated hash of password to store at database so no one can crack my user's password any how so i choose Blowfish (cipher) , so if it any other good suggestion also advisable

Read more

by web-api | 22/12/16 | 2 Answers | Tags : PHP , PASSWORD-SECURITY Views : 81
i am seeking good function to generate secure password , i gonna use it to suggest password made some silly code . it will give a random number from 1000 , 100000 to user for suggestion of password. but need to generate more secure and more difficult password.

Read more

by web-api | 22/12/16 | 1 Answers | Tags : Wordpress , Web API , REST-API , WooCommerce Views : 179
i am building Android/ios app for my WooCommerce store . so to communicate with server i need web api . so thinking that should i start from scratch to develop web api (REST API) for WooCommerce or there are readily aviliable any API aviliable as open source. if so pls suggest and pls show how can i use it ? i need WooCommerce store 's REST API for getting products , product detail , orders , order detail etc..

Read more

by chirag | 21/12/16 | 0 Answers | Tags : PHP , server-acess , web-client Views : 128
i am using shared server and i want to always need to go at Cpanel to create new email for my domain. i brought unlimited email creation with my shared server so i want to create API by php by my local-script . so is there anything web api or something to create email account for my hosted domain for my shared hosting server . what i researched is that , Cpanel itself a web application which run with php so i think there some way so i can create the email by my local script . so let me know if anyone had idea about this

Read more

by chirag | 21/12/16 | 1 Answers | Tags : PHP , $_COOKIE , COOKIE-MANAGEMENT Views : 139
i am using $_COOKIE to remember some info for my website . but when i try to destroy it . it is not destroying some reason. setting cookie see i try unset and than setcookie to past by time()-3600 so it should be destroyed by this two function : 1. unset($_COOKIE["cookiename"]) i try to unset as we do for varable 2.setcookie("cookiename","",time()-3600); i set cookie time to remain alive to past so it will destroy that way also so point my problem pls . i am clueless now

Read more

by chirag | 21/12/16 | 1 Answers | Tags : PHP , scandir , file-system Views : 95
want to get all executable file at provided directory in php. using PHP for some local system. where i want to keep track of all files for particular directory. so if i provide directory path than it should be give how many number of file is executable on that directory . so i start to write code with count function give me count of all files not only count of executable files, so scandir not really scan the directory . suppose is that possible i can put scandir(".exe,.sh") something like that so it can give me scanned result where only provided extension's file contained in list or scandir("executable") give me only executable files . is that possible to use scandir like this? or any other solution to get executable files for given directory ? testing with wamp .

Read more

by pratik | 21/12/16 | 2 Answers | Tags : unity , import-issue Views : 324
want to import skybox so i go to assets > Import packages and you can see i dont find skybox package at assets > Import packages i am using unity 5.3.2

Read more

by fatso | 20/12/16 | 0 Answers | Tags : PHP , RecursiveIteratorIterator Views : 151
how RecursiveIteratorIterator work in php . is it avoid recursion or what ? what RecursiveIteratorIterator does ? how RecursiveIteratorIterator help in development in php ?

Read more

by noob | 20/12/16 | 1 Answers | Tags : PHP , array_merge Views : 153
how to merge two multidimensional array in one by array_merge , is it work as it is work with flat array ?

Read more

by jaman | 20/12/16 | 0 Answers | Tags : Mysql , Sql Views : 102
i want to list course name form the table course with student info. student_id is foreign key at course table , id is primary key at student table. i did it with join in "where clause" i got same result for both query. so what is difference between where clause and on clause in SQL join , whats is pros and cons of " where clause" vs "on clause" in SQL join currently dealing with MySQL but SQL , PostgreSQL all have same story i think,

Read more

by jaman | 20/12/16 | 1 Answers | Tags : PHP , Mysql , Sql Views : 183
i am managing to code a delete query so i can delete some selected entries form table which got from another select query . situation like this i want to delete all the common value contained row for a particular field . so i asked for and i got that i can write it by a query where i can compare same field 's value to same field's other value in same table . query is as below it give me all rows which have same value for users(tablename) 's name (field) now i want to delete it which most recent . want to keep old one . i know i can do it with separate query but i want to do it with single query where delete + above select query is that possible to join delete and other select so that we can use select query 's result to delete row ?

Read more

by noob | 20/12/16 | 3 Answers | Tags : PHP , scandir , directory , listing , grid Views : 228
give me all list of files and directory for given path i need only directory of given path not files. i dont need . or .. or files , only directories. so suggest me any direct function in PHP which give me list of only directories not files in given path. how to list all directory of given path in PHP ?

Read more

by jaman | 20/12/16 | 1 Answers | Tags : PHP , Mysql Views : 102
Suppose i have table with some structure like this i want to remove all record with same name but in differ case . suppose above table have two record with same name "jaman"(lowercase) and "JAMAN"(uppercase) , want to remove latest one so only one record for identical name. i want to know if possible to compare two record form same table in Mysql

Read more

by fatso | 19/12/16 | 0 Answers | Tags : jQuery , Javascript , PHP Views : 142
for some reason i want to auto submit form by JavaScript following is HTML FORM for add to cart page. how to auto submit FORM without any action like clicking button or without other trigger or action by user ? Form should be auto submit without any action . open for JavaScript or jQuery code.

Read more

by jignesh | 19/12/16 | 1 Answers | Tags : jQuery , Javascript , HTML Views : 161
How can i hide / disable submit button at form until input type file is empty.

Read more

by jessica | 21/12/16 | 2 Answers | Tags : PHP , array Views : 306
how to convert multidimensional array to flat array . flat array means single dimensional array , it give firstname list only but i need to make array with single dimensional with all value . do not want to skip any value from array.

Read more

by noob | 18/12/16 | 2 Answers | Tags : PHP , array , array_flip , multidimensional-Array Views : 820
trying to flip the multidimensional array in php so basically array_flip cant work with multidimensional array . so is there any other function will can work with flipping multidimensional array in php or any custom code which can help .

Read more

by fatso | 17/12/16 | 2 Answers | Tags : PHP , GD-LIB , imageloadfont Views : 202
trying to load new font for imagestring to draw horizontal text in GD Library. so what should be the issue ?

Read more