PHP Classes

File: app/api/addLink.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP IP Logger   app/api/addLink.php   Download  
File: app/api/addLink.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP IP Logger
Track user IP addresses that access certain pages
Author: By
Last change:
Date: 1 year ago
Size: 168 bytes
 

Contents

Class file image Download
<?php

include_once '../session.php';

$link = new Framework\Shortener($database);

$link->createShortCode($_POST["longUrl"]);

echo
json_encode(['response' => true]);