What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-02 22:05:42
SMTP -> ERROR: Failed to connect to server: Connection refused (111)SMTP Connect() failed.
<?php include "emails/PHPMailer/PHPMailerAutoload.php"; //or just include the phpMailer //Create a new PHPMailer instance $mail = new PHPMailer(); $mail->IsSMTP(); $mail->SMTPDebug = 1; $mail->SMTPAuth =... Add solution -
Html 2022-02-02 08:16:06
forms in html
<form action="/action.php"> <label for="fname">First name:</label><br> <input type="text" id="fname" value="Mike"><br><br> <label for="lname">... Add solution -
Javascript 2022-02-01 02:45:41
jquery ajax get with authentication
var username="username_here"; var password="password_here"; $.ajax({ type: "GET", url: "myapi.php", dataType: 'json', headers: { "Authorization": "Basic " + btoa(username + &qu... Add solution -
PHP 2022-01-31 08:51:19
public folder get url from laravel iis web config
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Rule 1" stopProcessing="true"> ... Add solution -
PHP 2022-01-31 00:11:10
php dynamic select/option from mysql table
First, add an id to age group <select name="age_group" id="age_group"> Then $( document ).ready(function() { $('#age_group').change(function(){ $.ajax({ type: "POST", url: "aja... Add solution -
Html 2022-01-30 20:46:41
html post link
<form name="myform" action="handle-data.php" method="post"> <label for="query">Search:</label> <input type="text" name="query" id="query"/> <button>S... Add solution -
Javascript 2022-01-30 20:45:41
classic asp get json from file
Dim objSrvHTTP Set objSrvHTTP = Server.CreateObject ("Msxml2.ServerXMLHTTP.6.0") objSrvHTTP.open "GET", "https://example.com/outputJson.php", false objSrvHTTP.send Response.ContentType = "text/html" Respon... Add solution -
Javascript 2022-01-30 18:55:35
tablesorter widgets changed rows by html dom element
$(function() { $("#table") .tablesorter({ theme : 'blue', widgets: ['editable'], widgetOptions: { editable_columns : [0,1,2], // or "0-2" (v2.14.2); point to the columns to make editable (zero-base... Add solution