Skip to main content
Code Review

Return to Question

Post Reopened by Mast , Stephen Rauch, greybeard, Sᴀᴍ Onᴇᴌᴀ , Vogel612
Minor formatting / grammar
Source Link
Stephen Rauch
  • 4.3k
  • 12
  • 24
  • 36

I'm doing REST API PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST. Code

Code returns data to cooperate with a www site.

I'm doing REST API PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST. Code returns data to cooperate with www site.

I'm doing REST API PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST.

Code returns data to cooperate with a www site.

deleted 1 character in body; edited title
Source Link
Mast
  • 13.8k
  • 12
  • 57
  • 127

Rest Api REST API PHP find by id

Description: The web server retrieves data from file database (pdf, doc, 3d file, zip and rar) and finansialfinancial program such as inventory, price, indexes, order status and so on. enter image description hereCommunication diagram

I'm doing Rest ApiREST API PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST. Code returns data to cooperate with www site.

  1. Is thisAre there any code correctsmells (it cancan it be done better)?
  2. Better to use prepared statement or not?
  3. Use htmlspecialchars and urlencode for output?
  4. What is good practice for Rest ApiREST API (PhpPHP)?

Rest Api PHP find by id

Description: The web server retrieves data from file database (pdf, doc, 3d file, zip and rar) and finansial program such as inventory, price, indexes, order status and so on. enter image description here

I'm doing Rest Api PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST. Code returns data to cooperate with www site.

  1. Is this code correct (it can be done better)?
  2. Better to use prepared statement or not?
  3. Use htmlspecialchars and urlencode for output?
  4. What is good practice for Rest Api(Php)?

REST API PHP find by id

Description: The web server retrieves data from file database (pdf, doc, 3d file, zip and rar) and financial program such as inventory, price, indexes, order status and so on. Communication diagram

I'm doing REST API PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST. Code returns data to cooperate with www site.

  1. Are there any code smells (can it be done better)?
  2. Better to use prepared statement or not?
  3. Use htmlspecialchars and urlencode for output?
  4. What is good practice for REST API (PHP)?
added 309 characters in body
Source Link

Description: The web server retrieves data from file database (pdf, doc, 3d file, zip and rar) and finansial program such as inventory, price, indexes, order status and so on. enter image description here

I'm doing Rest Api PHP for the first time, I I've never used this API with PHP, I am an absolute beginner to REST. Code returns data to cooperate with one or several different applications using REST. I need your opinions. Is this code correct? Better to use prepared statement or not? Use htmlspecialchars and urlencode for output? What is good practice for Rest Api(Php)?

Thank you in advance for your opinionwww site.

I need your opinions.

  1. Is this code correct (it can be done better)?
  2. Better to use prepared statement or not?
  3. Use htmlspecialchars and urlencode for output?
  4. What is good practice for Rest Api(Php)?

Thank you in advance for your opinion.

I'm doing Rest Api PHP for the first time, I am an absolute beginner to REST. Code returns data to cooperate with one or several different applications using REST. I need your opinions. Is this code correct? Better to use prepared statement or not? Use htmlspecialchars and urlencode for output? What is good practice for Rest Api(Php)?

Thank you in advance for your opinion.

Description: The web server retrieves data from file database (pdf, doc, 3d file, zip and rar) and finansial program such as inventory, price, indexes, order status and so on. enter image description here

I'm doing Rest Api PHP for the first time, I've never used this API with PHP, I am an absolute beginner to REST. Code returns data to cooperate with www site.

I need your opinions.

  1. Is this code correct (it can be done better)?
  2. Better to use prepared statement or not?
  3. Use htmlspecialchars and urlencode for output?
  4. What is good practice for Rest Api(Php)?

Thank you in advance for your opinion.

Post Closed as "Needs details or clarity" by πάντα ῥεῖ, pacmaninbw , Mast , Zeta, Ben A
added 129 characters in body
Source Link
Loading
added 20 characters in body
Source Link
Loading
added 2 characters in body
Source Link
Loading
Source Link
Loading
lang-php

AltStyle によって変換されたページ (->オリジナル) /