How can we authenticate rest api in php?

|
OmShete 2019-05-31 11:49:18
2019-05-31 09:41:39
Hii i m new in this fild n i have littel knowledge of php
N i want learn php so i need help

Ping me personally

saiks24 2019-05-31 11:52:54
hotboy_178 2019-05-31 08:06:55

try copying this text and pasting it here.
https://jsonlint.com/

The JSON ValidatorJsonlint
JSONLint is the free online validator and reformatter tool for JSON, a lightweight data-interchange format.
hotboy_178 2019-05-31 12:03:49
saiks24 2019-05-31 11:52:54
try copying this text and pasting it here.
https://jsonlint.com/

ok

LS_titan 2019-05-31 12:45:42
Hi I’m working on a invoice software right now

I need to make a reminder after 90 days from date of purchase

How could I achieve that

LS_titan 2019-05-31 12:45:53
I’m using MySQL and php
Mayank_theDevloper 2019-05-31 12:47:55
LS_titan 2019-05-31 12:45:53
I’m using MySQL and php

Add one column in database which save after 90 day date of purchase and create one crone job which run every day and check if today date available in database then show reminder

LS_titan 2019-05-31 12:49:07
Mayank_theDevloper 2019-05-31 12:47:55
Add one column in database which save after 90 day date of purchase and create one crone job which run every day and check if today date available in database then show reminder

Let me try that

Kriti Agarwal 2019-05-31 15:30:20
How can we authenticate rest api in php?
rohit267 2019-05-31 15:46:42
Kriti Agarwal 2019-05-31 15:30:20
How can we authenticate rest api in php?

Send/ or generate and store a key every time a request is sent, in the api page check if the key is same

Kriti Agarwal 2019-05-31 15:57:32
Core
rohit267 2019-05-31 16:01:55
Speed test timr
rohit267 2019-05-31 16:02:00
luv_php-3510.jpg

rohit267 2019-05-31 16:02:01
Beat me
Jesukrusty 2019-05-31 17:38:28
luv_php-3516.jpg
Quick cheatsheet for future reference 👍
MiguelAngelBC 2019-05-31 17:54:16
Jesukrusty 2019-05-31 17:38:28
Quick cheatsheet for future reference 👍

Omg

hotboy_178 2019-05-31 21:24:29
is this code correct
hotboy_178 2019-05-31 21:24:32
luv_php-3521.jpg

hotboy_178 2019-05-31 21:30:41
is this code correct
manish singh 2019-05-31 21:31:05
hotboy_178 2019-05-31 21:30:41
is this code correct

Is it worked

hotboy_178 2019-05-31 21:31:24
im about to test lol
manish singh 2019-05-31 21:31:44
Brother instead sharing pls debug
manish singh 2019-05-31 21:31:51
Step by step
Mohit_0207 2019-05-31 21:32:19
Yup
hotboy_178 2019-05-31 21:32:35
im about to bro
hotboy_178 2019-05-31 21:32:53
i have created a sample database to do this test
hotboy_178 2019-05-31 21:33:05
after i will depolyed it into the real projects
Mohit_0207 2019-05-31 21:33:06
Great
hotboy_178 2019-05-31 21:33:20
i have faced too many errors since morning lol
manish singh 2019-05-31 21:34:11
And one more thing for all if in case u get any issue try to debug it ,it is best practice by which u learn instead hitting the panic button
manish singh 2019-05-31 21:34:56
I m harsh i know but its bitter truth
EzioAudithore 2019-06-01 01:22:52
Hi Rose where’s jack…?
rohit267 2019-06-01 08:16:39
EzioAudithore 2019-06-01 01:22:52
Hi Rose where’s jack…?

Shes a bot mc

EzioAudithore 2019-06-01 10:21:18
Ya i knw…
raj_eswar 2019-06-01 10:25:33
Hi

I am trying to accept only numerics using js

I wrote a function for on key down and comparing key code with ascii value

But problem is its working in laptop and desktop

But in mobile it is accepting alphabets

How to solve it

raj_eswar 2019-06-01 10:28:17
Sorry
?
EzioAudithore 2019-06-01 10:31:30
raj_eswar 2019-06-01 10:25:33
Hi

I am trying to accept only numerics using js

I wrote a function for on key down and comparing key code with ascii value

But problem is its working in laptop and desktop

But in mobile it is accepting alphabets

How to solve it

Wut about using regex…?

Mayank_theDevloper 2019-06-01 10:31:31
raj_eswar 2019-06-01 10:25:33
Hi

I am trying to accept only numerics using js

I wrote a function for on key down and comparing key code with ascii value

But problem is its working in laptop and desktop

But in mobile it is accepting alphabets

How to solve it

Why not you are using input type number ?

raj_eswar 2019-06-01 10:32:18
Mayank_theDevloper 2019-06-01 10:31:31
Why not you are using input type number ?

When I give this I am getting increment decrement option.

Mayank_theDevloper 2019-06-01 10:34:14
raj_eswar 2019-06-01 10:32:18
When I give this I am getting increment decrement option.

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; -moz-appearance: none; appearance: none; margin: 0; }

<input type=”number” step=”0.01″/>

raj_eswar 2019-06-01 10:34:28
Ya thanks
singhmohan 2019-06-01 10:35:28
raj_eswar 2019-06-01 10:32:18
When I give this I am getting increment decrement option.

Use min max to avoid increment and decrement

EzioAudithore 2019-06-01 13:19:16
Ny one here there who’s using retrofit in Android studio to communicate with server…?
hotboy_178 2019-06-01 13:59:12
wow its working now
hotboy_178 2019-06-01 13:59:14
luv_php-3559.jpg

2019-06-01 14:41:20
What should be the starting salary ?
EzioAudithore 2019-06-01 15:43:34
Any android developer here using retrofit to interact with php…?
EzioAudithore 2019-06-01 15:56:02
When u interact with php through retrofit we use security code in header so people without that security wont be able to access the server bt when someone one decombile the apk he gets the code ny way to hide the code…?
EzioAudithore 2019-06-01 17:04:25
Hoe…?
EzioAudithore 2019-06-01 17:04:30
*how…?
hotboy_178 2019-06-01 17:47:23
but error messages dont show in the browser
|