by jabber | 07/11/16 | 1 Answers | Tags : Javascript Views : 161
i want to add js file to web page without use of <script> so it will be done by javascript and should be lately . so let me know if you have code for it .

Read more

by iPhone-coder | 04/11/16 | 2 Answers | Tags : ios , xcode Views : 172
i want draggable image so i made code above and i got error when i setting center of image to current point of touchMoved error is Expression is not assignable

Read more

by css-learner | 30/10/16 | 0 Answers | Tags : HTML , XHTML , css Views : 212
i am learning css and dont know where to use margin and where to use padding in css . i got that if anyone want padding at top , left , right , bottom one can use padding-top , padding-left , padding-right , padding-bottom or same way we can use margin regarding css but dont know difference between margin and padding and where to use padding or margin .. because i think they both do same work . so let me know difference or some good understanding about this two css property : margin and padding

Read more

by QuickIos | 28/10/16 | 0 Answers | Tags : ios , xcode , swift Views : 149
i am loosing navigation item for both of UIViewController at tabBar

Read more

by iPhone-coder | 28/10/16 | 0 Answers | Tags : ios , xcode , swift Views : 156
i want to change UITabBarItem background color grey to white . so is it will be done by UITabBarControllerDelegate method

Read more

by QuickIos | 28/10/16 | 1 Answers | Tags : ios , xcode , swift Views : 234
using code belowed i tried setting image to nil, but text is small and aligned to bottom of UITabBarItem. so is that possible to use UITabBarItem without image only text

Read more

by iPhone-coder | 26/10/16 | 1 Answers | Tags : ios , swift Views : 236
Hi right navigation bar have edit button i have created edit button using i want to know how to change the tile of edit button to \"any text\"

Read more

by sandip | 24/10/16 | 2 Answers | Tags : Javascript , PHP , css , compress , gzip , on-fly Views : 164
i am checking my website's page speed by google PageSpeed Insights , and i found error there Enable compression gzip compression for all CSS/JS file requests so How to do gzip compress js/css on fly in php ? or any supported compress with web server should be used to compress javascript/css on fly in php so let me know if any way we can compress javascript or css on fly in php

Read more

by sachin | 22/10/16 | 3 Answers | Tags : Javascript , PHP Views : 513
How to minify JavaScript on fly in php . i had many dynamic custom JavaScript and used some open source. dynamic javascript should be minified every time on the fly .so suggest some code

Read more

by sachin | 21/10/16 | 3 Answers | Tags : PHP , strpos , file-extension , substr , pathinfo Views : 708
how to get extension from the filename in php i had some code i made this code my own but not sure it is good way to find extension from the file in php

Read more

by denyy | 21/10/16 | 2 Answers | Tags : PHP Views : 295
how to check file in zip or not in php , i am working for my one client who need website where people can upload there large data . they need to upload in .zip format so we can decompress zip file i used following code to upload and to check file is zip or not by checking file 's extension ".zip" or not but extension checking for valid zip or not is not enough . sometime users upload not valid zip . so how to check is file is valid zip or not ?

Read more

by sqltreat | 21/10/16 | 1 Answers | Tags : PHP , WebService Views : 162
I am using get SOAP and getting result in xml format . now i want to read particular element value. how can i get it with php?

Read more

by chirag | 20/10/16 | 3 Answers | Tags : PHP Views : 288
i am working with my old website and i upgraded some hosting plan which shared hosting with PHP MYSQL And i got this at from my site header . site is loaded full but get error like this so how to solve this error ?

Read more

by ching | 19/10/16 | 2 Answers | Tags : PHP , WebService , cURL , Web API Views : 212
i want to connect with remote window server and so i am using cURL for it but simple connection not working well but i think it need SSL connection , so how to connect with SSL site and make Authentication by cURL ?

Read more

by ching | 19/10/16 | 3 Answers | Tags : PHP , Page-Speed , web-page , speed Views : 422
how can i set custom HTTP header for curl php i am working with api and i want to set HTTP request header with [ls] User-Agent: PHP-SOAP-CURL [/ls] so i can send request with above HTTP header ?

Read more

by debugger | 17/10/16 | 1 Answers | Tags : Javascript , PHP , Minify Views : 175
i am testing page speed with google PageSpeed Insights , and i did not find good score , google PageSpeed Insights suggest me to Minify JavaScript Compacting JavaScript code can save many bytes of data and speed up downloading, parsing, and execution time. so now i want JavaScript to be Minified .but question is now how to Minify JavaScript in php ? so google PageSpeed Insights score goes up so pls give me some suggestion

Read more

by sarah | 16/10/16 | 1 Answers | Tags : PHP , Wamp server , Lamp Views : 159
Hi actually i am old school and saved some config setting at .ini file and .txt file and now i want to secure it so people cant browse and see it . right now if any one browse with www.myhost.com/config.ini at my site than they can see the content of the config file and [inf] i want hack or something so .ini or .txt it cant be view able for the web client [/inf]you can suggest any type of solution which work by lamp so php or apache or any hack which can do and can improve the security any how .

Read more

i have $list which is array of the object with id and other values , i am removing the all object who have id is equal to $id in short want to remove duplicate object from array $list is there array_unique like function for the object like object_unique . above code is working but i want to do it without foreach or any other loop so any how i can shrink code or make performance better

Read more

by sarah | 14/10/16 | 0 Answers | Tags : PHP Views : 167
Mostly i got the error like [le] Invalid argument supplied for foreach() [/le] for some code [ld]foreach($item as $value)[/ld] i know it s error for because $item is not array .if put validation of if is array or not for $item i never get that error . but always forget to check it is valid array or not and use direct foreach and it dont show error at some level but if passed array is dynamic and it is not valid array than it give error so i want to make wrapper function which use foreach for looping but check it first is it valid array or not , foreach is construct so i be blind . give me some direction pls

Read more

by sandip | 14/10/16 | 2 Answers | Tags : PHP Views : 232
i want to get rid of uploading any file to my server by the php files. is there any way of by php.ini or .htacess or any other server modification so i can disable uploading of files to users ? main reason is My wordpress site got infected. i got index.php file have following some code with eval function which is undesirable i am cleaning daily but still it get infected . so i want to limit the cause of the get it infected daily. so i find that it should be uploaded from somewhere so i want to get rid of the upload function of my server.

Read more