← prev | next →
kuzmich321 2020-08-27 18:58:10
GistOf 2020-08-27 18:57:47
Exactly
😉 thx
themanojyadav 2020-08-27 19:04:55
kuzmich321 2020-08-27 18:48:33
Anyway
name=”name[]” should work 🙂
This is not the right way. Actually, my application have vulnerability of http parameter pollution. I want to solve this. Because what attacker does, he add parameter with same name as in form which override the user form data. I want to prevent that
GistOf 2020-08-27 19:06:32
I see!
kuzmich321 2020-08-27 19:08:07
themanojyadav 2020-08-27 19:04:55
This is not the right way. Actually, my application have vulnerability of http parameter pollution. I want to solve this. Because what attacker does, he add parameter with same name as in form which override the user form data. I want to prevent that
https://laravel.com/docs/7.x/validation
GistOf 2020-08-27 19:08:09
What makes you think name[] won’t work though? If the attacker duplicates it they’ll just be adding to an array
kuzmich321 2020-08-27 19:08:55
GistOf 2020-08-27 19:08:09
What makes you think name[] won’t work though? If the attacker duplicates it they’ll just be adding to an array
agreed.
kuzmich321 2020-08-27 19:09:40
you just push them into an array and then u can do whatever you want
themanojyadav 2020-08-27 19:16:16
kuzmich321 2020-08-27 19:08:07
https://laravel.com/docs/7.x/validation
Attack is not based on validation
kuzmich321 2020-08-27 19:16:55
are you on spa or ssr?
kuzmich321 2020-08-27 19:17:50
if you’re on ssr you can use built-in csrf
themanojyadav 2020-08-27 20:39:26
I am using codeigniter
themanojyadav 2020-08-27 20:39:40
But i think it will be done by using core php
themanojyadav 2020-08-27 20:39:51
kuzmich321 2020-08-27 19:17:50
if you’re on ssr you can use built-in csrf
Csrf is already implemented
shaildark 2020-08-27 21:03:23
GistOf 2020-08-27 18:02:40
Did you fix the problem?
Yes I uploaded my laravel project but still have one issue, website loads completely and there is no issues regarding database because I already setup the database but I can’t load css and JavaScript and other data stored in public folder of laravel
mrbiryani 2020-08-27 21:08:55
sriniprabu 2020-08-27 11:43:00
they certainly will give you also a manual of how to use it
Use an array method
GistOf 2020-08-27 21:11:57
shaildark 2020-08-27 21:03:23
Yes I uploaded my laravel project but still have one issue, website loads completely and there is no issues regarding database because I already setup the database but I can’t load css and JavaScript and other data stored in public folder of laravel
Is your app being served from the public folder, or you renamed server.php to index.php?
shaildark 2020-08-27 21:29:29
GistOf 2020-08-27 21:11:57
Is your app being served from the public folder, or you renamed server.php to index.php?
Server.php to index.php and htaccess file from public folder moved to root directory
itechsoft 2020-08-27 22:45:33
https://www.vultr.com/?ref=8661308-6G
SSD VPS Servers, Cloud Servers and Cloud Hosting –
VultrVultr Global Cloud Hosting – Brilliantly Fast SSD VPS Cloud Servers. 100% KVM Virtualization
GistOf 2020-08-27 23:04:54
shaildark 2020-08-27 21:29:29
Server.php to index.php and htaccess file from public folder moved to root directory
Not an easy way to do things. When I started with Laravel, that’s how I was told to go around the public folder headache. If you are building the site as a demo, I guess you can get away with putting it on a subdomain or even better, an add-on domain. When setting up the subdomain or the add-on domain, make its root folder your app’s public folder. For example if you are adding purplehens.io as an add-on domain, for the root folder, you’d use something like /home/public_html/purplehens.io/public
Then you can put your whole Laravel app in /home/public_html/purplehens.io/
Eliberio 2020-08-28 06:43:37
Eliberio 2020-08-28 06:44:09
error in @this.call(‘facturarReserva’);
Eliberio 2020-08-28 06:45:17
livewire error when invoking a method from javascript
Eliberio 2020-08-28 06:45:35
use Docker
bee_amour 2020-08-28 07:39:23
shaildark 2020-08-27 21:03:23
Yes I uploaded my laravel project but still have one issue, website loads completely and there is no issues regarding database because I already setup the database but I can’t load css and JavaScript and other data stored in public folder of laravel
If public files push in the public_html folder and css and js and images store the public html and change the index.php change the directory then test the ur app
shaildark 2020-08-28 08:35:27
bee_amour 2020-08-28 07:39:23
If public files push in the public_html folder and css and js and images store the public html and change the index.php change the directory then test the ur app
There is no public_html folder, the only folder where i need to put my files is htdocs
bee_amour 2020-08-28 08:36:43
shaildark 2020-08-28 08:35:27
There is no public_html folder, the only folder where i need to put my files is htdocs
Where u want … And it’s have the server at public HTML
bee_amour 2020-08-28 08:37:01
Are u asking php ar laravel peoject
shaildark 2020-08-28 08:37:54
In the online file manager it only shows htdocs folder where i have to put my files
shaildark 2020-08-28 08:38:15
I have byethost account for free hosting
bee_amour 2020-08-28 08:38:19
Ok then push that files use c pannel
bee_amour 2020-08-28 08:39:06
C pannel is easy to use and file zilla is use to easy
GistOf 2020-08-28 09:00:19
shaildark 2020-08-28 08:37:54
In the online file manager it only shows htdocs folder where i have to put my files
Maybe you can share your screen with me on Jitsi and I’ll help you
GistOf 2020-08-28 09:03:55
Or I can host your project and give you a lot of flexibility. That would be a temporary thing though. I won’t host it forever. Just trying to help you get the job
naveen5566 2020-08-28 10:04:41
How to write file upload with particular sizes in s3 bucket using laravel Rest API?
Please give any examples or suggestions
Thanks
Disha 2020-08-28 10:05:24
Hello
My laravel project in image not display
Path is : www/laravel_project/admin/storage/image
Disha 2020-08-28 10:05:49
Please help me
YashGhantala 2020-08-28 10:22:32
Disha 2020-08-28 10:05:24
Hello
My laravel project in image not display
Path is : www/laravel_project/admin/storage/image
use url(); helper
Disha 2020-08-28 10:36:12
YashGhantala 2020-08-28 10:22:32
use url(); helper
How to use
Disha 2020-08-28 10:36:25
I don’t know
Disha 2020-08-28 10:37:46
YashGhantala 2020-08-28 10:22:32
use url(); helper
But it’s dynamic image
mrbiryani 2020-08-28 10:38:39
Disha 2020-08-28 10:05:24
Hello
My laravel project in image not display
Path is : www/laravel_project/admin/storage/image
Connect me on anydesk
YashGhantala 2020-08-28 10:38:42
can you share SS of code
Disha 2020-08-28 10:39:07
mrbiryani 2020-08-28 10:38:39
Connect me on anydesk
Sorry but it’s office pc
mrbiryani 2020-08-28 10:40:44
Disha 2020-08-28 10:39:07
Sorry but it’s office pc
So how can I see whats wrong on your code
YashGhantala 2020-08-28 10:42:39
mrbiryani 2020-08-28 10:40:44
So how can I see whats wrong on your code
if you want help from others, alteast you need to share screenshot of code
Disha 2020-08-28 10:43:29
YashGhantala 2020-08-28 10:42:39
if you want help from others, alteast you need to share screenshot of code
Yes
Disha 2020-08-28 10:44:15

Image folder
Disha 2020-08-28 10:44:53
Disha 2020-08-28 10:45:34
Display page
mrbiryani 2020-08-28 10:47:14
Disha 2020-08-28 10:44:53
The code must be {{asset(‘public/img/schedule/img.jpg’)}}
Put image folder into public directory
← prev | next →