Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
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 Ivan_10

I have this: <div class="to_remove"> <div class="widget widget-list"> <div class="panel panel-default"> <div class="panel-heading bold">Menu</div> <div class="panel-body"> content </div> </div> </div> </div> I need preg_replace to edit like this: <div class="widget widget-list"> <div class="panel panel-default"> <div class="panel-heading bold">Menu</div> <div class="panel-body"> content </div> </div> </div> I need to remove <div class="to_remove"></div> but …

Member Avatar for Ivan_10
0
328
Member Avatar for Ivan_10

I want to redirect every user on my site to folder - if folder exists with htaccess. Regardless to which page he wants to access (index.php, team.php, custom.php), he must be redirected to the folder I want.

Member Avatar for rproffitt
0
403
Member Avatar for Ivan_10

Hello there, I need a simple function which do something like tihs: I have folders like this: ext/test1/test1/index.html ext/test2/ ext/test1/test2/index.html ext/test3/ I need a function which gives me only folders with subfolders and files in it. The condition is to give a "ext/" folder in the function :) function get_subdirs('ext/') …

Member Avatar for rproffitt
0
209
Member Avatar for Ivan_10

I need to prevent this urls: index.php/test/ must be redirect to index.php index.php/test/test/ must be redirect to index.php I need this to be automatically, because i have multiple pages (index.php, team.php and etc...) Without bring the names of the pages in htaccess Important: i have this urls: index.php?page=5 (this need's …

Member Avatar for hielo
0
141
Member Avatar for Ivan_10

I have this function which get me only unique values in array: function sort_unique(arr) { var obj = {}; for (var i = 0; i < arr.length; i++) { obj[arr[i]] = true; } arr = []; for (var key in obj) { arr.push(key); } return arr; } I need this …

Member Avatar for agajvery
0
226