The file adds an additional HTTP header to each request to inform clie translation - The file adds an additional HTTP header to each request to inform clie Thai how to say

The file adds an additional HTTP he

The file adds an additional HTTP header to each request to inform clients that this is an OAuth server. Notice that it references "services.xrds.php;" this file is provided with the example that comes with the oauth-php library. You should copy it from" example/server/www/services.xrds.php" to the root public directory of the web server.

The next few lines of code establish a connection to the database (the connection information should be updated accordingly to your own set up) and creates new instances of" OAuthStore" and "OAuthServer" objects provided by the library.

The set up for the OAuth server is now complete and the server is ready to be fully implemented. In the remaining examples, the "includes/common.php" file must be included each time to instantiate the server.
0/5000
From: -
To: -
Results (Thai) 1: [Copy]
Copied!
ไฟล์เพิ่มส่วนหัว HTTP ที่เพิ่มเติมแต่ละคำขอแจ้งลูกค้าว่า นี้เป็นเซิร์ฟเวอร์ OAuth สังเกตว่า มันอ้างอิง "services.xrds.php แฟ้มนี้มีตัวอย่างที่มาพร้อมกับรี oauth php คุณควรคัดลอกจาก"ตัว อย่าง/เซิร์ฟเวอร์/www/services.xrds.php" การไดเรกทอรีสาธารณะรากของเว็บเซิร์ฟเวอร์ถัดไปสองสามบรรทัดของรหัสที่สร้างการเชื่อมต่อกับฐานข้อมูล (ควรจะปรับปรุงข้อมูลการเชื่อมต่อตามการตั้งค่าของคุณเอง) และสร้างอินสแตนซ์ใหม่ของ " OAuthStore " และ "OAuthServer" วัตถุโดยไลบรารีตอนนี้เสร็จการตั้งค่าสำหรับเซิร์ฟเวอร์ OAuth และเซิร์ฟเวอร์ไม่พร้อมที่จะปฏิบัติทั้งหมด ในตัวอย่างที่เหลือ ไฟล์ "includes/common.php" ต้องรวมกันเพื่อสร้างอินสแตนซ์ของเซิร์ฟเวอร์
Being translated, please wait..
Results (Thai) 2:[Copy]
Copied!
ไฟล์เพิ่มส่วนหัว HTTP เพิ่มเติมเพื่อร้องขอแต่ละที่จะแจ้งลูกค้าว่านี้เป็นเซิร์ฟเวอร์ OAuth ขอให้สังเกตว่ามีการอ้างอิง "services.xrds.php;" ไฟล์นี้มีให้กับตัวอย่างที่มาพร้อมกับห้องสมุด OAuth-PHP คุณควรคัดลอกจาก "ตัวอย่าง / เซิร์ฟเวอร์ / www / services.xrds.php" เพื่อรากไดเรกทอรีสาธารณะของเว็บเซิร์ฟเวอร์. ไม่กี่บรรทัดถัดไปของรหัสสร้างการเชื่อมต่อกับฐานข้อมูล (ข้อมูลการเชื่อมต่อควรได้รับการปรับปรุงตามคุณ เองตั้งค่า) และสร้างอินสแตนซ์ใหม่ของ "OAuthStore" และ "OAuthServer" วัตถุที่ให้บริการโดยห้องสมุด. การตั้งค่าสำหรับเซิร์ฟเวอร์ OAuth ขณะนี้เสร็จสมบูรณ์และเซิร์ฟเวอร์พร้อมที่จะดำเนินการอย่างเต็มที่ ในตัวอย่างที่เหลืออยู่ "รวมถึง / common.php" ไฟล์จะต้องรวมในแต่ละครั้งที่จะยกตัวอย่างเซิร์ฟเวอร์



Being translated, please wait..
Results (Thai) 3:[Copy]
Copied!
ไฟล์เพิ่มส่วนหัว HTTP เพิ่มเติมเพื่อขอแต่ละเพื่อแจ้งลูกค้าว่าเป็น OAuth เซิร์ฟเวอร์ สังเกตเห็นว่ามันอ้างอิง " บริการ xrds PHP ; " ไฟล์นี้มีตัวอย่างที่มากับ OAuth PHP ห้องสมุด คุณควรคัดลอกจาก " บริการเช่นเซิร์ฟเวอร์ / / www / xrds . php " รากไดเรกทอรีสาธารณะของเว็บเซิร์ฟเวอร์ .

ไม่กี่บรรทัดต่อไปของรหัสที่สร้างการเชื่อมต่อกับฐานข้อมูล ( ข้อมูลการเชื่อมต่อควรจะปรับปรุงตามการตั้งค่าของคุณเองและสร้างอินสแตนซ์ใหม่ของ " oauthstore " และ " oauthserver " วัตถุโดยห้องสมุด

การตั้งค่าสำหรับ OAuth เซิร์ฟเวอร์เสร็จสมบูรณ์แล้วและเซิร์ฟเวอร์ที่พร้อมจะครบ ใช้ ในตัวอย่างที่เหลืออยู่ " รวมถึง / ทั่วไปPHP ไฟล์จะต้องรวมแต่ละครั้งจะยกตัวอย่างเซิร์ฟเวอร์
Being translated, please wait..
 
Other languages
The translation tool support: Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Bulgarian, Catalan, Cebuano, Chichewa, Chinese, Chinese Traditional, Corsican, Croatian, Czech, Danish, Detect language, Dutch, English, Esperanto, Estonian, Filipino, Finnish, French, Frisian, Galician, Georgian, German, Greek, Gujarati, Haitian Creole, Hausa, Hawaiian, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Igbo, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Korean, Kurdish (Kurmanji), Kyrgyz, Lao, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Myanmar (Burmese), Nepali, Norwegian, Odia (Oriya), Pashto, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Samoan, Scots Gaelic, Serbian, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Turkish, Turkmen, Ukrainian, Urdu, Uyghur, Uzbek, Vietnamese, Welsh, Xhosa, Yiddish, Yoruba, Zulu, Language translation.

Copyright ©2025 I Love Translation. All reserved.

E-mail: