All Questions

by noob | 24/12/16 | 2 Answers | Tags : PHP , xml-parser Views : 605
sample configuration.xml so its look very backward class work , and i think there should be more good way .

Read more

by web-api | 24/12/16 | 1 Answers | Tags : PHP Views : 1884
How to improve quality of image in php . in my website . i had section where people can upload image , some time they upload very low resolution image. and it get stretched / blurred when we show it with bigger width and height .

Read more

by web-api | 24/12/16 | 3 Answers | Tags : PHP , image-flip , imageflip Views : 1623
How to do image flip at php porgramming by GD library original image how to do horizontal and vertical image flip at php . use GD library or any other library is that possible without even GD library usage ?

Read more

by noob | 23/12/16 | 2 Answers | Tags : PHP , Cross-Platform Views : 3631
how to detect device in php suppose i want to check if device is mobile or not and if device is mobile than is it android or ios ? i have some section in my website where want to show device specific instruction , so is that possible to check on which mobile device user surfing website ? so i need mobilecheck function which say me website is opened at device or pc and if device than which device.

Read more

by noob | 23/12/16 | 2 Answers | Tags : PHP , array , associative Views : 1108
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 | 09/07/21 | 1 Answers | Tags : cURL , header Views : 1208
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 : 1501
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 : 578
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 : 1542
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 | 1 Answers | Tags : PHP , server-acess , web-client Views : 947
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 : 1297
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 : 862
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 : 1096
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 | 1 Answers | Tags : PHP , RecursiveIteratorIterator Views : 908
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 : 2233
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 | 1 Answers | Tags : MySQL , Sql Views : 879
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 : 1096
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 | 4 Answers | Tags : PHP , scandir , directory , listing , grid Views : 8192
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 : 1037
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 | 1 Answers | Tags : jQuery , Javascript , PHP Views : 1141
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