Programming information, Coding functions and tutorial for Website and Apps Development.
By default, ajax use sync request which is done in parallel. Unfortunately, ajax request still waiting for the task in server to complete (this is done by php) if only php session been used. To overcome this, you can use session_write_close() so that other requests can be made simultaneously.
Set the cookie from PERL to PHP using GET method. Problem: In PERL script, we use loop to request the API in PHP from PERL repeatedly. When request the API(PHP) from PERL using GET, the session created in PHP function will be reset after next call. For example, if PERL script want to get 5 data, it will request the API 5 times in one execution. We want to save each id from this 5 data, mean every time the API is excuted, stored the required data in SESSION. The problem is, for the first request, the data is stored in SESSION. After the next call, the data saved in SESSION will be not retrieved as it already created the new SESSION data.
Mobile application development has seen a tremendous rise in the past few years. The reasons - first there is a steep advancement in the mobile technologies. Second, the entry of several new Smartphone manufacturers and finally, the rise in competition between these Smartphone manufacturers, which ultimately leads to inexpensive Smartphone prices. The Smartphone users also played an important part in the rising demand for the mobile application developments. With the inexpensive Smartphone at their disposal, they have started to maximize it use. They have adapted the power that these Smartphones can bring to their everyday life. It made their daily task easy and more importantly, mobile.
MVC programming pattern is a web development approach or framework well termed as the Model-View-Controller. MVC designs give emphasis on isolation of development and design architecture, hence resulting in loose maintainable and coupling (relationship strength between modules) of codes.
Resize base64 image (png image) and save in png file