by | 28/12/16 | 1 Answers | Tags : PHP , stdclass Views : 119
dont know more about the PHP but experimenting with class. i read that stdclass is the standard class definition in PHP. so i used like this and it give me Parse error , so what should be good way to define class inline in php

Read more

by python | 28/12/16 | 1 Answers | Tags : PHP , Mysql Views : 127
Difference between md5 in php vs Mysql

Read more

by python | 28/12/16 | 2 Answers | Tags : PHP , serialize Views : 129
what is use of serialize function in php ?

Read more

by noob | 24/12/16 | 2 Answers | Tags : PHP , xml-parser Views : 75
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 : 112
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 : 194
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 : 233
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 | 1 Answers | Tags : PHP , array , associative Views : 130
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 : 147
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 : 263
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 : 79
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 : 150
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 : 117
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 : 128
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 : 78
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 : 277
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 : 134
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 : 130
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 : 91
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 : 148
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