← prev | next →
profsr123 2020-11-02 04:54:25
any body out there to help me?
Siberfx 2020-11-02 04:54:48
in here might be
Siberfx 2020-11-02 04:54:59
Out there i dunno
profsr123 2020-11-02 08:49:00
any body please help
o_sayfullayev 2020-11-02 08:51:07
Help me, pls,
Access to XMLHttpRequest at ‘http://city-s.lc/api/login’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
o_sayfullayev 2020-11-02 08:51:24
TheFeLuM 2020-11-02 11:01:56
hi all, can u help me with good course of RESTful Web Services ?
profsr123 2020-11-02 11:02:45
any body please help me
natghi2010 2020-11-02 11:09:06
DesolatorMagno 2020-11-01 17:29:32
Did you tried? Is to see the SQL instead of running the query.

natghi2010 2020-11-02 11:14:32
o_sayfullayev 2020-11-02 08:51:24
[*,*]
Billa_Bongg 2020-11-02 11:41:26
o_sayfullayev 2020-11-02 08:51:07
Help me, pls,
Access to XMLHttpRequest at ‘http://city-s.lc/api/login’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
The error message explains the issue you are facing.Have u set the headers as how it has been recommended?
iamaeshar 2020-11-02 12:45:49
I have users and notifications table. To link both the table i have notification_user(user_id, notification_id) table. My task is to send any notification to al users. But problem is that i have to insert lots of entries in notification_user for one notification, because i have thousand of users.
Is there any best solution to this problem?
Venusky 2020-11-02 12:51:14
Severusxyz 2020-11-01 20:14:25
Use dd to print your json.

when I have used dd to print json
Dkhicher 2020-11-02 12:51:42
iamaeshar 2020-11-02 12:45:49
I have users and notifications table. To link both the table i have notification_user(user_id, notification_id) table. My task is to send any notification to al users. But problem is that i have to insert lots of entries in notification_user for one notification, because i have thousand of users.
Is there any best solution to this problem?
so what the problem?
Dkhicher 2020-11-02 12:54:55
Venusky 2020-11-02 12:51:14
when I have used dd to print json
how you save your image file?
Dkhicher 2020-11-02 12:55:36
https://discord.gg/Qu6zf7m
Join the thetestcoder Discord Server! –
DiscordCheck out the thetestcoder community on Discord – hang out with 23 other members and enjoy free voice and text chat.
Venusky 2020-11-02 12:57:08
Dkhicher 2020-11-02 12:54:55
how you save your image file?
the web site is connected an existing database so the image was already inside
Dkhicher 2020-11-02 13:05:46
Venusky 2020-11-02 12:57:08
the web site is connected an existing database so the image was already inside
use $image_binary = pack(“H*”, $hex); and then file_put_contents(“filename.jpg”, $image_binary );
Dkhicher 2020-11-02 13:06:45
check more info about – https://www.php.net/manual/en/function.pack.php
Severusxyz 2020-11-02 14:30:45
Venusky 2020-11-02 12:57:08
the web site is connected an existing database so the image was already inside
You have to render that image. You only img-src when you called a public URL images
natghi2010 2020-11-02 14:45:49
Venusky 2020-11-02 12:51:14
when I have used dd to print json
What’s the purpose of saving your image in the db
Venusky 2020-11-02 14:54:52
natghi2010 2020-11-02 14:45:49
What’s the purpose of saving your image in the db
mediumText
Venusky 2020-11-02 15:04:29
now it coming like that, should I set image size?
natghi2010 2020-11-02 15:08:56
Venusky 2020-11-02 14:54:52
mediumText
I mean why are you storing the file in the db?
Venusky 2020-11-02 15:09:14
ok
Venusky 2020-11-02 15:11:13

I fetch it on my table Produits
Thamizh_Selvan 2020-11-02 15:11:50
Thamizh_Selvan 2020-11-02 15:12:00
how to solve this
mystic_riverr 2020-11-02 16:08:44
i have 3 tables one is used to store the questions and the other one is used to store the options with question id as foreign key and another one which is used to store the submitted value by the user with userid .
first of all i need to get the questiond and its all answers as a collection. and show it to the user. if the user is already answerd/submitted then no need to show that submitted question to the user.
how can i do that.
Vikram Patil 2020-11-02 16:21:09
Is anyone knows about mpdf?
shaddieh 2020-11-02 18:43:44
Hello guys.. i have started my journey on laravel v8xx and am having issues with the Target class [IndexController] does not exist.
shaddieh 2020-11-02 18:44:48
shaddieh 2020-11-02 18:44:48
shaddieh 2020-11-02 18:44:48

This is my code
Lynda Lyn 2020-11-02 18:48:19
Lynda Lyn 2020-11-02 18:48:29
Pls need help
DesolatorMagno 2020-11-02 18:48:36
shaddieh 2020-11-02 18:44:48
https://laravel.com/docs/8.x/routing#basic-routing
artur_timerkhanov 2020-11-02 18:50:52
Maybe you should add ‘use AppHttpContr…
shaddieh 2020-11-02 18:51:00
DesolatorMagno 2020-11-02 18:48:36
https://laravel.com/docs/8.x/routing#basic-routing
oops that was so easy
DesolatorMagno 2020-11-02 18:51:33
Yes, and ppl come here often asking that same question.
Lynda Lyn 2020-11-02 18:52:46
Lynda Lyn 2020-11-02 18:48:19
Plz i need a help
shaddieh 2020-11-02 18:53:06
DesolatorMagno 2020-11-02 18:51:33
Yes, and ppl come here often asking that same question.
cool… a quick one.. does it mean each time i create a controller i have to include the use AppHttpControllersxxController
DesolatorMagno 2020-11-02 18:53:20
Thats correct.
DesolatorMagno 2020-11-02 18:57:17
Lynda Lyn 2020-11-02 18:52:46
Plz i need a help
Don’t you think, that maybe showing a screen capture of the controller and the route in web, of that specific route would help? instead of taking a picture of a error and writing, help plz?
DesolatorMagno 2020-11-02 18:58:28
Sometimes is not ppl don’t wanting to help, is that the process would take to long to ask for more details and wait for it, the time is a resource.
DesolatorMagno 2020-11-02 18:59:46
shaddieh 2020-11-02 18:43:44
Hello guys.. i have started my journey on laravel v8xx and am having issues with the Target class [IndexController] does not exist.
For example here, that “problem” only happen in Laravel 8+, so knowing the error, the laravel version and the web file it was a easy answer.
a_anj 2020-11-02 19:23:04
Hi
How to hold the old value of textarea input
a_anj 2020-11-02 19:24:22
After validation fails
DesolatorMagno 2020-11-02 19:26:32
Try changing the html to see how to put a default value.
natghi2010 2020-11-02 19:31:54
a_anj 2020-11-02 19:23:04
Hi
How to hold the old value of textarea input
the best way is to send the data without leaving the page
← prev | next →