Tags » PHP 2

[trick] Setting Host Name Localhost di Linux Lite

Bismillah…

Kali ini sekedar catatan langkah melakukan hostname di localhost, kalo misalkan kita akses aplikasi via:

localhost/aplikasi atu 127.0.0.1/aplikasi

Kita mau ubah menjadi seperti ini:

109 more words
Hot

phpJobScheduler

phpJobScheduler
Download here
. Scheduling PHP scripts to run at set intervals your replacement for cron jobs/crontab. A simple PHP cron script.

Designed to automate tasks by scheduling PHP scripts to run at set intervals

Web Technology

Top Books about Zend Framework 3

In this post I want to provide a collection of books on Zend Framework 3 with their brief descriptions, advantages/disadvantages. This list is not yet complete, because ZF3 was released not so long ago, and more books will be released later. 172 more words

PHP

Handle write permissions in ubuntu for uploads or code generators

Usually we need to change directory/file permission to able to write files. This may be for uploads directory or code generation tool. But most of the time some developers do bad thing, that the give permission 777 to the directory/file and get work the done. 247 more words

Web Development

Laravel Tutorial 2

Database configuration:

  • Specify the database being used in config/database.php
  • If you’re using sqlite, create an “database.sqlite” file in either databses or storage. We do not need to edit the “.env” file …
  • 898 more words
Laravel

Passing arguments to cron and receive in php

Setting up cron

Crons can pass parameters or arguments to scripts as well for example you have example.php set as cron like below

/usr/bin/php -q /home/usrname/example.php
… 278 more words
Linux

How can I secure my APIs using O-Auth?

I wrote some APIs in PHP to expose my website to a greater no of audience.

Now, can anyone help to know how I can secure them using O-Auth. 13 more words

PHP