htmlentities(urlencode($text))

exports.addUser = functions.https.onRequest(async (req, res) => {
  // Grab the text parameter.
  const user = req.query.user;
  
  // Push the new message into the Realtime Database using the Firebase Admin SDK.
  const snapshot = await admin.database().ref('/users/' + user).push({user: user});
  // Redirect with 303 SEE OTHER to the URL of the pushed object in the Firebase console.
  res.redirect(303, snapshot.ref.toString());
});

 

'Else' 카테고리의 다른 글

(php) get 공백 포함 넘기기  (0) 2019.10.21
url .php 확장자명 숨기기  (0) 2019.08.14
[mysql] mysql, maria db 외부 접속 가능하게 하기  (0) 2019.08.05
[git]Remote: Repository not found.  (0) 2019.07.02

http.conf

 

<homepath>

Options FollowSymLinks MultiViews
AddType application/x-httpd-php .php

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride FileInfo

linux ubuntu에서의 명령어 입니다.

 

sudo vi /etc/mysql/my.cnf

 

bind 127.0.0.1 부분 주석처리 -> #bind 127.0.0.1

 

 

 

'Else' 카테고리의 다른 글

(php) get 공백 포함 넘기기  (0) 2019.10.21
firebase cloud funtion db에 데이터 추가  (0) 2019.10.21
url .php 확장자명 숨기기  (0) 2019.08.14
[git]Remote: Repository not found.  (0) 2019.07.02

I was also facing the same issueremote: Repository not found fatal: repository 'https://github.com/MyRepo/project.git/' not found

I uninstalled the git credentials manager and reinstalled it and then I could easily pull and push to the repository. Here are the commands

 

$ git credential-manager uninstall

$ git credential-manager install

+ Recent posts