Jumat, 23 Agustus 2013

PHP Indonesia - Facebook: Siang mastah mau tanya saya mau jalankan exekusi f...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Start taking a college level music theory class today.

This beginner class is now accessible to aspiring musicians of all ages. Learn all of the basic concepts in an easy to follow manner.
From our sponsors
Siang mastah mau tanya saya mau jalankan exekusi f...
Aug 23rd 2013, 06:10, by Danura Aditya

Danura Aditya 6:10am Aug 23
Siang mastah mau tanya saya mau jalankan exekusi file php dengan cronjob , tapi bisa di akses dari luar Misal saya ketik www.domaisaya.com/file/isi.php itu bisa tereksekusi bagaimana yah caranya agar tidak bisa di eksekusi jika saya Ketik di address bar
Terima Kasih Sir

Dwi Rano Agustianto 6:13am Aug 23
set htaccess aja buat file itu supaya yg bisa access cuma servernya. misal

<Files "isi.php">
Order deny,allow
Allow from name.of.this.machine
Allow from 127.0.0.1
Deny from all
</Files>

Danura Aditya 6:14am Aug 23
owhhh gitu yah Bisa ga mas saya gunakan dua httacess tapi beda folder masalahnya di saya sudah ada httacces nya untuk file utamanya

Dwi Rano Agustianto 6:19am Aug 23
bisa kok. tiap folder bs pake .htaccess sendiri2

Danura Aditya 6:21am Aug 23
oh iya Mas saya Cobain dule tapi ini bener ga yah perintah saya saya coba harus 1 jam sekali dari hosting minimalnya
php –q /home/usernamesaya/public_html/matahari.com/filesaya/coba.php

Rijal Asep Nugroho 6:39am Aug 23
file isi.php jangan ditaruh di root atau public_html agar tidak bisa diakses langsung via url.

Danura Aditya 6:40am Aug 23
disimpannya dimana Mas Rijal Asep Nugroho

Rijal Asep Nugroho 6:42am Aug 23
bisa ditaruh dimana saja asal bukan di public_html. misal ditaruh di /home/user/isi.php nanti pas setting cronjob, tylis fullpath /home/user/isi.php

Danura Aditya 6:43am Aug 23
php –q /home/usernamesaya/home/user/isi.php
begini Pak

Rijal Asep Nugroho 6:45am Aug 23
misal jika file2 console mau disimpan di folder console, maka file isi.php disimpan di /home/usernamesaya/console/isi.php
manggilnya php -q /home/usernamesaya/console/isi.php

Danura Aditya 6:48am Aug 23
Ohhh Begitu Yah pak ,oke deh Saya ke TKP dulu Makasih semua

Danura Aditya 7:09am Aug 23
aman Pake httacces apa Foldernya Di Pisah Mas

Rijal Asep Nugroho 7:13am Aug 23
sama2 aman. kalo file tidak ditaruh di public_html, file tersebut sama sekali tidak bisa diakses langsung dari browser, dari localhost pun tidak bisa.
kalo file ditaruh di public_html bisa diakses langsung dari browser. perintah .htaccess di atas hanya membatasi kalau yang boleh mengakses hanya dari localhost.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar