8 Topics

Member Avatar for
Member Avatar for AssertNull

I've always been bad with regular expressions syntax. I am converting text into Bezier curves, polygons, etc. Part of that is identifying points in the form `(x,y)` where x and y are coordinates in a graph. I am extracting x and y as doubles and creating Point objects with those …

Member Avatar for AssertNull
0
359
Member Avatar for Ivan_10

Hello there, i have problems with { "error": "invalid_grant", "error_description": "Bad Request" } " curl post request to https://www.googleapis.com/oauth2/v4/token I can't obtain new access_token... Here is my code: // These come from your client_secret.json file $clientID = "6590728998701b5184dev3d16dhgphu7b12me015bo9v.apps.googleusercontent.com"; $clientSecret = "pKAISh1d10k4vP7r1fDX20pJ"; $token_uri = 'https://www.googleapis.com/oauth2/v4/token'; // Build the URLEncoded post data …

0
225
Member Avatar for Adami

Hi, I wrote the following program: #include <stdio.h> #include <stdlib.h> #define TRUE = 1; #define FALSE = 0; static int *arr; static int size=0; void createSet() { arr= (int *)malloc(sizeof(int)); size=0; }/*createSet function*/ void putInSet(int num) { int *temp; size++; temp=(int *)realloc(arr,size*sizeof(int)); if(temp!=NULL) { arr=temp; } else { printf("Insufficient amount …

Member Avatar for Maritimo
0
1K
Member Avatar for azapovjednik

Hello, I got an assignement: to validate a google oauth2 access token using email address.... What is the simplest way of doing it? Can anyone give me some hint? I am desperate here... trying to figure it out.. but I cannot find anything understandable... So far, I discovered how to …

0
147
Member Avatar for Alhussaini.Eng

**Hello Every body.** My toturial today how to make token input in the send data by form to the database by using php mysql it's so easily and useful . most people why use it or what's token take me to more secure. i answer : Did you ever think …

1
214
Member Avatar for AARTI SHRIVAS

when i log in my web site and after login if i refresh the page it gievs me message invalid token can any one know why this problem occure in joomla website

Member Avatar for AARTI SHRIVAS
0
292
Member Avatar for Dani

Maybe I'm just being dense, but I'm using [this documentation](https://developers.google.com/accounts/docs/OAuth2Login#sendauthrequest) to use Google OAuth 2 login. I'm able to successfully retrieve a JSON array that consists of the access_token, id_token, etc. The id_token is encrypted in what google calls a JWT (JSON Web Token). From what I understand, they're base …

Member Avatar for Dani
0
1K
Member Avatar for 68thorby68

I have an issue with `$_SESSION` global across a single domian, on my local machine, running PHP 5.1 build 2600 I'm creating a session in the domain root. $first_name='martin'; $second_name='thorburn'; $login_array=array("first_namet"=>$first, "second_name"=>$second); $_SESSION['login']=$login_array; When I run `print_r($_SESSION['login']);` in the root, I get the expected response "Array ( [first_name] => martin …

Member Avatar for 68thorby68
0
384

The End.