← prev | next →
zack6849 2019-07-30 07:28:29
But at the end of the day that’s how rest works, if a user knows enough to change the parameters there’s not much you can do
zack6849 2019-07-30 07:28:45
You can always check and ensure the user has PERMISSION to delete product 18 instead of 17
zack6849 2019-07-30 07:29:06
But you cant save a user from themselves, if they say they want to delete product id 18 who are you to say no?
ransikoo 2019-07-30 07:32:55
zack6849 2019-07-30 07:28:08
You could do some kind of one time key for the deletions
You have a link to know more
zack6849 2019-07-30 07:40:09
No, but you’d do something similar to csrf, almost
zack6849 2019-07-30 07:40:18
Generate a temporary key only good for that specific Id
zack6849 2019-07-30 07:40:23
And supply that in the url
zack6849 2019-07-30 07:40:52
If it changes, the signature won’t match either, so now you know the url has been tampered with
zack6849 2019-07-30 07:43:22
Oh, looks like this already exists!
zack6849 2019-07-30 07:43:25
https://laravel.com/docs/5.8/urls#signed-urls
zack6849 2019-07-30 07:43:37
Hah, guess everything is somewhere if you check the docs
Erfan1999_sh 2019-07-30 09:43:00
hello guys how we can register in other websites from our site for example how we can register in Instagram by submitting a form in our website?
R_IT_Geek 2019-07-30 09:44:58
Erfan1999_sh 2019-07-30 09:43:00
hello guys how we can register in other websites from our site for example how we can register in Instagram by submitting a form in our website?
with rest full api
Erfan1999_sh 2019-07-30 09:47:37
R_IT_Geek 2019-07-30 09:44:58
with rest full api
he daghigheh agar misheh bia pv
zack6849 2019-07-30 14:37:43
Erfan1999_sh 2019-07-30 09:43:00
hello guys how we can register in other websites from our site for example how we can register in Instagram by submitting a form in our website?
You would need an integration via the websites api and they’d need to allow that, most sites won’t let you do this, though.
deepu606 2019-07-30 16:18:50
GauravGohil 2019-07-29 19:02:34
$(“.eb_template_wrapper”).on(“click”, “a”, function(event) {
event.preventDefault();
});
You can set prevent default for child elements by using the comma separator to the class.Like $(“.eb_template_wrapper,.secondclass”).on(“click”, “a”, function(event) {
event.preventDefault();
});. Make a try
deepu606 2019-07-30 16:28:33
ransikoo 2019-07-30 06:35:34
i wnat pervent change url with id in address bar ?user can change id and recive other data without pass date in pervious page ? please help about this?
You can do it by using Ajax scripting. And you can perform the hashing on the ID variable.Or if you want to do it the same way it may worth try using permalink,instead of ID
Ahmed Magdi 2019-07-30 19:22:33
Hello guys
Im using pusher in my project
I wanna send notification to specific user !! ??? How can i do that
goodluckalltheway 2019-07-30 20:10:58
Ahmed Magdi 2019-07-30 19:22:33
Hello guys
Im using pusher in my project
I wanna send notification to specific user !! ??? How can i do that
Private channels is the way to go
ldefra 2019-07-30 20:15:37
Hi could someome help me on a problem of UI?
Ahmed Magdi 2019-07-30 20:21:19
goodluckalltheway 2019-07-30 20:10:58
Private channels is the way to go
I try to , but no results
2019-07-30 20:27:56
Want to learn laravel. Please help me in detail, step by step, what I shall do. Please.
DesolatorMagno 2019-07-30 21:12:33
Do you already know
-PHP
-OOP
-MVC
-Composer
?
MatPk 2019-07-30 21:15:04
2019-07-30 20:27:56
Want to learn laravel. Please help me in detail, step by step, what I shall do. Please.
go to laracast
and start laravel step by step
PHP Begginer 2019-07-30 21:51:58
Hi All . I have registered the components but when i run the application after compile i get the following error
PHP Begginer 2019-07-30 21:52:00
Unknown custom element: <attribute-values> – did you register the component correctly? For recursive components, make sure to provide the “name” option.
(found in <Root>)
PHP Begginer 2019-07-30 21:52:29
Any help please
l_alexis 2019-07-30 23:06:51
PHP Begginer 2019-07-30 21:52:00
Unknown custom element: <attribute-values> – did you register the component correctly? For recursive components, make sure to provide the “name” option.
(found in <Root>)
Did you import the component?
PHP Begginer 2019-07-30 23:35:38
l_alexis 2019-07-30 23:06:51
Did you import the component?
Yes i did
l_alexis 2019-07-30 23:37:50
PHP Begginer 2019-07-30 23:35:38
Yes i did
Add name: ‘AttributeValues’; to the AttributeValues component
knotKrackers 2019-07-31 01:50:53
There’s the laracasts
knotKrackers 2019-07-31 01:50:53
Thank you, but I don’t have a premium account
knotKrackers 2019-07-31 01:51:59
DesolatorMagno 2019-07-30 21:12:33
Do you already know
-PHP
-OOP
-MVC
-Composer
?
I guess that’s where all starts. OOP and MVC
alexanderdavii 2019-07-31 02:24:39
when i try to open a laravel project , on mac or windows , it should work whatever the localhost , like mamp or xampp , right ?
2019-07-31 05:31:52
MatPk 2019-07-30 21:15:04
go to laracast
and start laravel step by step
Thanks, i must be follow it.
zack6849 2019-07-31 07:17:03
alexanderdavii 2019-07-31 02:24:39
when i try to open a laravel project , on mac or windows , it should work whatever the localhost , like mamp or xampp , right ?
Probably? Just make sure you have the proper rewrite rules and set the htdocs root to public
kashinkojie 2019-07-31 13:38:50
Hello everyone. I have a question on retrieve data from API to my laravel. Anyone have a simple sample code?
2019-07-31 13:40:46
Please refer create Rest api in laravel
2019-07-31 13:41:00
Google it
kashinkojie 2019-07-31 13:42:29
Sorry. Im not creating Rest Api but just to extract data from ubidots API to my laravel
shubhamdhyani 2019-07-31 13:43:12
“data from ubidots API to my laravel”
this doesnt make sense.
you want to call the api from your laravel project?
kashinkojie 2019-07-31 13:44:51
Yes. I want to use data from ubidots API for my web app
kashinkojie 2019-07-31 13:45:39
Is it possible?
shubhamdhyani 2019-07-31 13:50:54
Yes it is.Check if the api is open , you can hit api and get data without any auth
shubhamdhyani 2019-07-31 13:51:16
manipulate the response and use for your app
2019-07-31 14:59:34
Hi
I want to get data from child table in eloquent
But I can’t
Return null
acrossoffwest 2019-07-31 15:02:23
2019-07-31 14:59:34
Hi
I want to get data from child table in eloquent
But I can’t
Return null
Hi, can you show this part of your code?
2019-07-31 15:06:49
User is child
And usertypes is parent
← prev | next →