Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About nitiphone2021

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dear friends. Now I am doing Mobile APP by Flutter and Backend I use PHP, for normally using like get information and save information it's work by API concept. so now I would like to push notification to the mobile APP. is it can work by PHP or I need to use feature of firebase?
  2. Dear Friends. Just now I tried to create PHP to make Rest API for my mobile application and I would like to know that it's good coding and need any improve? it is my first time for Rest API. normally I just connect to PHP file directly on .htaccess RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([0-9A-Za-z_]+)$ function.php?func=$1 [L,QSA] RewriteRule ^([0-9A-Za-z_]+)/$ function.php?func=$1 [L,QSA] on function.php $func = $_GET['func']; switch( $func) { case 'lab_info': //ໜ້າຫຼັກ define( '_FUNC', 'lab_info.php');
  3. Yes, You are right. Could it be on linux?
  4. But on windows OS, I don't need to set up DNS la. Just install Xampp and access from other computer to the web computer by computer name
  5. Dear All, Now I am setthing Ubuntu server for my intranet network and now I can access the web intranet when we stay on the same wifi network but I can access only the website by IP address. like so I want to set website name like http://website...... Do you have any idea about it? This one can work on windows by setting computer name
  6. This is the result: Httpful\Response::__set_state(array( 'body' => 'Not Found', 'raw_body' => 'Not Found', 'headers' => Httpful\Response\Headers::__set_state(array( 'headers' => array ( 'cache-control' => 'no-cache, no-store, max-age=0, must-revalidate', 'pragma' => 'no-cache', 'expires' => 'Mon, 01 Jan 1990 00:00:00 GMT', 'date' => 'Wed, 17 Mar 2021 07:58:44 GMT', 'vary' => 'Origin,Accept-Encoding', 'content-type' => 'text/html; charset=UTF-8', 'x-content-type-options' => 'nosniff', 'x-f
  7. Dear Friend, I am learning to use PHP code for using API and I found that Httpful is good. so I tried to use it but it is error. I ever use this \ but not understand what's meaning of it
  8. How can I use loop to get all information? it is information from database query and it has 2 rows
  9. Sorry, my question is not clear. I want to loop to get all information from the array. it's information from database 2 rows
  10. Dear All, How can I get information that return from this array Array ( [0] => Array ( [id] => 5 [t_test_date] => 2021-02-11 [t_test_number] => 1 [t_uid] => 202102110001 [t_test_type] => 1 [t_status_id] => 4 [t_test_result_pcr] => 1 [t_test_result_rdt] => 0 [t_test_time] => 2021-02-11 11:39:00 [t_report_date] => [p_first_name] => tesdt [p_last_name] => tesdt [p_gender] => 0 [p_nationality] => [p_date_birth] => [p_passport_no] => [p_personal_id] => [p_issue_country] => [p_date_expiry] => [phone] => [email] => [t_price] =
  11. I am comming back to build website from my 10 years past. Now I am trying to learn new technology about bbuild website and i don't sure that my knowledge is correct? so I need your suugestion how can make website better. Now My knowledge : HTML, CSS, JS, PHP. JS I only use jquery library and PHP only real code, never use any framework I am thinking about use Axios replace jquery also but not sure it's better. my target is timming of build website faster. example normally I use 1 month for 1 website. How can I use only 2 weeks for 1 website. like this. also security issue. on JS part
  12. It's for ad sub table of datatable as this picture
  13. As I am writting a project manager website and I found that I can use datatable to add button infront of row to add more sub program It's work but I want to add the class details-control by a condition So Any way I can do that? var table = $("#requests_lab").DataTable({ data: JSON.parse(data), "aoColumns": [ { "orderable": false, "mData": function (data){ if (data.Project_status >= 4) { return "className
  14. Yes, you are right, it is jshjohnson, now i am looking for the way to create javascript to select it. if on javascript, i have var name = AFG and AFG is a value of select option. How can I create javascript to select it? From example is mean create new choice? how about existing choice? const example = new Choices(element, { choices: [ { value: 'One', label: 'Label One' }, { value: 'Two', label: 'Label Two', disabled: true }, { value: 'Three', label: 'Label Three' }, ], }); example.setChoiceByValue('Two'); // Choice with value of 'Two' has now been selected.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.