But I feel comfortable with keeping ownership to root or what do you think?

|
StanleyMasinde 2019-02-06 08:34:24
You might need to use sudo because the owner of var/www is root
StanleyMasinde 2019-02-06 08:35:11
And it’s not a good practice to change ownership and permissions… 755 for directories and 644 for files
hamidshariati_ir 2019-02-06 08:37:20
StanleyMasinde 2019-02-06 08:35:11
And it’s not a good practice to change ownership and permissions… 755 for directories and 644 for files

this is custom way. you can use a CI to automatically do things after each commit. go to groups of https://thedevs.network for more info

The Devs Networkthedevs.network
Developers Community on Telegram
StanleyMasinde 2019-02-06 08:39:42
hamidshariati_ir 2019-02-06 08:37:20
this is custom way. you can use a CI to automatically do things after each commit. go to groups of https://thedevs.network for more info

Thanks bro I’ll check that out. But I feel comfortable with keeping ownership to root or what do you think?

hamidshariati_ir 2019-02-06 08:48:22
it’s good to get webserver (www-data,apache,nginx etc.) owner. and change critical scripts’ mode to 644. maybe it’s need to change files with webserver so root access don’t allow that. if you use suphp (like cpanel,cwp,DA etc.) you should assign user’s privileges as owner. in case of attacks you should scan files continuously.
StanleyMasinde 2019-02-06 08:49:39
hamidshariati_ir 2019-02-06 08:48:22
it’s good to get webserver (www-data,apache,nginx etc.) owner. and change critical scripts’ mode to 644. maybe it’s need to change files with webserver so root access don’t allow that. if you use suphp (like cpanel,cwp,DA etc.) you should assign user’s privileges as owner. in case of attacks you should scan files continuously.

Yeah bro www-data is is part of the root group

hamidshariati_ir 2019-02-06 09:15:45
StanleyMasinde 2019-02-06 08:49:39
Yeah bro www-data is is part of the root group

it’s dangerous if www-data is part of the root. if anyone inject shell runner in your website you lose all things …

rijisoft 2019-02-06 09:28:39
Hi guys
We want to find a package to get information of our users that visit our site

When users something in Google and our site show in first page then users click on Google result then we want to find which users which words search in Google and then visit our site

l_alexis 2019-02-06 10:47:24
rijisoft 2019-02-06 09:28:39
Hi guys
We want to find a package to get information of our users that visit our site

When users something in Google and our site show in first page then users click on Google result then we want to find which users which words search in Google and then visit our site

You could check the HTTP_REFERRER to get an url user came from

hamidshariati_ir 2019-02-06 11:12:04
rijisoft 2019-02-06 09:28:39
Hi guys
We want to find a package to get information of our users that visit our site

When users something in Google and our site show in first page then users click on Google result then we want to find which users which words search in Google and then visit our site

dump $_SERVER

rijisoft 2019-02-06 11:21:08
،thanks
StanleyMasinde 2019-02-06 12:01:51
hamidshariati_ir 2019-02-06 09:15:45
it’s dangerous if www-data is part of the root. if anyone inject shell runner in your website you lose all things …

Explain that exploit so that I know of I’m safe

StanleyMasinde 2019-02-06 12:02:37
By default in linux www-data is a user in the root group. But you cannot loging as www-data
hamidshariati_ir 2019-02-06 12:17:42
StanleyMasinde 2019-02-06 12:02:37
By default in linux www-data is a user in the root group. But you cannot loging as www-data

what!!!?

hamidshariati_ir 2019-02-06 12:18:06
type this: id www-data what is result?
2019-02-06 12:19:33
rafael_santos90 2019-01-23 17:34:46
{{ url(‘/img/test.jpg’) }}

I use this way

use it like this
{{asset(‘img/test.jpg’)}}

l_alexis 2019-02-06 12:46:33
StanleyMasinde 2019-02-06 12:02:37
By default in linux www-data is a user in the root group. But you cannot loging as www-data

by default in linux www-data has only group www-data

StanleyMasinde 2019-02-06 12:47:10
l_alexis 2019-02-06 12:46:33
by default in linux www-data has only group www-data

Thanks for the info

l_alexis 2019-02-06 12:47:38
but several panels like CPanel could add the user to additional groups or use another users for web-server (like admin:admin or admin:www-data)
StanleyMasinde 2019-02-06 12:48:50
l_alexis 2019-02-06 12:47:38
but several panels like CPanel could add the user to additional groups or use another users for web-server (like admin:admin or admin:www-data)

I hate C-panel I prefer managing my own server

hamidshariati_ir 2019-02-06 12:58:33
StanleyMasinde 2019-02-06 12:48:50
I hate C-panel I prefer managing my own server

me too. what do you do for mail server. it’s difficult for me

rafael_santos90 2019-02-06 13:00:43
2019-02-06 12:19:33
use it like this
{{asset(‘img/test.jpg’)}}

Thanks! πŸ˜€

StanleyMasinde 2019-02-06 13:07:08
hamidshariati_ir 2019-02-06 12:58:33
me too. what do you do for mail server. it’s difficult for me

Now that’s where the problem is… I’m currently using SMTP till I figure out what to do with sendmail

2019-02-06 16:12:44
Anyone knows sugarCRM ?
Kevi 2019-02-06 19:21:31
I use http://devilbox.org for webserver management
2019-02-07 02:51:06
Hey anyone can help me to find messenger system using Ajax
Source code
Sadegh19B 2019-02-07 11:30:56
What wysiwyg text editor good for laravel with package?
KashanSmartCity 2019-02-07 13:09:38
Sadegh19B 2019-02-07 11:30:56
What wysiwyg text editor good for laravel with package?

https://www.tinymce.com/
https://quilljs.com/
https://cheeaun.github.io/mooeditable/
https://www.froala.com/wysiwyg-editor
https://www.sceditor.com/
http://getcontenttools.com/
@SadeghProg

The Most Advanced WYSIWYG HTML Editor | Trusted Rich Text Editor | TinyMCETinyMCE
TinyMCE is the most advanced WYSIWYG HTML editor designed to simplify website content creation. The rich text editing platform that helped launched Atlassian, Medium, Evernote and more.
l_alexis 2019-02-07 13:15:58
I’ve used ckeditor in laravel, but in free version its functionality is limited. TinyMce is good too
l_alexis 2019-02-07 13:15:58
KashanSmartCity 2019-02-07 13:09:38
https://www.tinymce.com/
https://quilljs.com/
https://cheeaun.github.io/mooeditable/
https://www.froala.com/wysiwyg-editor
https://www.sceditor.com/
http://getcontenttools.com/
@SadeghProg

+ ckeditor

KashanSmartCity 2019-02-07 13:17:14
It is so
KashanSmartCity 2019-02-07 13:17:40
I just started
KashanSmartCity 2019-02-07 13:21:53
Liked everyone
Good luck
StanleyMasinde 2019-02-07 13:22:55
l_alexis 2019-02-07 13:15:58
I’ve used ckeditor in laravel, but in free version its functionality is limited. TinyMce is good too

It’s not limited. Have all features in my demo

l_alexis 2019-02-07 13:24:46
StanleyMasinde 2019-02-07 13:22:55
It’s not limited. Have all features in my demo

I integrated it with npm and a lot of features was not available. Can you use CKFinder in your demo for images?

StanleyMasinde 2019-02-07 13:27:35
l_alexis 2019-02-07 13:24:46
I integrated it with npm and a lot of features was not available. Can you use CKFinder in your demo for images?

Yes all you need is the licence which is avalable

StanleyMasinde 2019-02-07 13:27:56
laravel_discuss-1857.jpg
That is ckfinder handling uploads
StanleyMasinde 2019-02-07 13:29:01
laravel_discuss-1858.jpg
Ckfinder
prabhjd 2019-02-07 13:29:22
Anyone having paid WordPress theme and plugins?
dongmosteven 2019-02-07 15:28:12
I
dongmosteven 2019-02-07 15:31:54
laravel_discuss-1862.jpg

dongmosteven 2019-02-07 15:33:05
dongmosteven 2019-02-07 15:31:54

Hello here

Please I have a problem when creating my controller and I don’t know how to solve this.

Here is the problem
Attribute [resource] does not exist.

S 2019-02-07 15:57:37
dongmosteven 2019-02-07 15:33:05
Hello here

Please I have a problem when creating my controller and I don’t know how to solve this.

Here is the problem
Attribute [resource] does not exist.

Compser install, if you didn’t

dongmosteven 2019-02-07 15:58:45
Already done
LookBig 2019-02-07 16:05:46
dongmosteven 2019-02-07 15:31:54

php artisan help make:controller

You will see the available arguments

LookBig 2019-02-07 16:06:47
dongmosteven 2019-02-07 15:31:54

Your –resource is not stated

dongmosteven 2019-02-07 16:43:15
Ok
c0urage 2019-02-07 18:46:28
Any iOS developers in here?
StanleyMasinde 2019-02-07 19:01:20
dongmosteven 2019-02-07 15:31:54

You can use

./artisan make:model Company -a

This will create the model, it’s controller and a factory

rafael_santos90 2019-02-07 19:07:00
off topic: so nice to see this group working πŸ™‚
|