Post json data via post in php

Webserveglobal Admin
0 Comments
Post json data via post in php
- URL that we want to send our JSON to. - initiated cURL using curl_init. - PHP array containing sample data.  - encoded our PHP array into a JSON string by using the function json_encode. - specified that we were sending a POST request by setting the CURLOPT_POST option to 1. -...
Continue Reading

Use error_log with array in php

Webserveglobal Admin
0 Comments
Use error_log with array in php
Sends an error message to the web server's error log or to a file.Using print_r() is the easiest, since the second parameter to the function says that we want to send the output to a variable rather than echoing it. Thus, to write to the error_log you just need to use the following code. you mu...
Continue Reading

How to enable CURL in php.ini xamp wamp ubuntu

Webserveglobal Admin
0 Comments
How to enable CURL in php.ini xamp wamp ubuntu
There are a few ways to enable CURL in apache.Option 1: Enable CURL via the php.ini This is the main method on any windows install like WAMP, XAMPP etc 1) Locate your PHP.ini file (normally located at in the bin folder of your apache i...
Continue Reading

Post data using CURL in php

Webserveglobal Admin
0 Comments
Post data using CURL in php
To POST a form remotely with CURL, we will use the simple form - User will submit the form, as usual. - In the form processing PHP, I use cURL to execute a POST transmission to a PHP script on the customer's server. - The remote script would do a MySQL INSERT query into th...
Continue Reading

Floating label input text field effect like material design

Webserveglobal Admin
0 Comments
Floating label input text field effect like material design
Floating label input text field effect like material design is the most used effects for input fields with in a form. Also in the Material Design we can se the floating lable effects for the input fields. If we want to have this kind of effect for the input fields in our forms for our websites, we n...
Continue Reading

Submit Form Using Ajax, PHP and jQuery

Webserveglobal Admin
0 Comments
Submit Form Using Ajax, PHP and jQuery
jQuery functions $.ajax() and $.post(), using these two functions you can submit the PHP Web Forms without Refreshing the whole Web Page of Your Site.A very simple example submitting HTML form values without refreshing page using php jQuery and Ajax.  HTML File: signupform.html <html> ...
Continue Reading

Difference Between include, include_once, require, require_once in php

Webserveglobal Admin
0 Comments
Difference Between include, include_once, require, require_once in php
The include and require statements are identical, except upon failure:     - If file not found require will produce a fatal error (E_COMPILE_ERROR) and stop the script     - If file not found include will only produce a warning (E_WARNING) and the sc...
Continue Reading

How to make mobile resposive tabs

Webserveglobal Admin
0 Comments
How to make mobile resposive tabs
Tab panels are the most commonly used jQuery component to display categorized data on web applications. Tab panels work fine on desktop but most of us face issue with the responsiveness for mobiles or any of the handheld devices, if we have more tabs. Here we have a solution for this, we can have m...
Continue Reading

Basic guidlines to develop an html emailer

Webserveglobal Admin
0 Comments
Basic guidlines to develop an html emailer
Share and Download Mailers are very important element of digital marketing unlike webpages to target online users. We only need to use basic html elements and there basic properties to develop email templates. Before start developing an html email template there are a few things to keep in...
Continue Reading

Highlight section or box when page scroll complete

Webserveglobal Admin
1 Comment
Highlight section or box when page scroll complete
Some times we have requirements where we need to highlight some section of the website when the webpage complete scrolling after clicking it's anchor link or button. Let's assume, we have webpage with lots of content on it. There is a link which is on the top of the page and we have a box in ...
Continue Reading

How to convert hex code to rgb

Webserveglobal Admin
2 Comments
How to convert hex code to rgb
Covert Hex code to RGB is the color code conversion. A JavaScript code to convert Hex code to RGB which takes Hex color code as input and return the RGB color code as output. Please find the code below to create a simple Hex code to RGB color code convertor. HTML <!--Input for Hex color code...
Continue Reading

Close dropdown on click outside anywhere on body

Webserveglobal Admin
0 Comments
Close dropdown on click outside anywhere on body
It is a very common situation where we have to create dropdowns for web applications. Dropdown use to have hidden actionable links which use to reveal on clicking on dropdown link or button. There is a most common issue we face when we create a dropdown is close dropdown on click outside anywhere o...
Continue Reading
Showing 25 to 36 of 44 (4 Pages)
my ad

Website in ₹4999*

Get your own website in ₹4999*

Latest Blogs

Advertise Here

For more details about advertisements and how to advertise with us

Contact us