Search results

  1. N

    send big blob file to PHP server

    Dear friends. As I create a website and javascript to record voice and send it to server side(PHP). it's work on small file size but if it's large the sending will be fail. Could you please kindly help me check my code? why I can't see the file on the server? Existing code Javscript var fd =...
  2. N

    buy POS web base include source code

    Dear friend, now I want to starting new business for IT company and i want to buy some software include source code then I can start to sell it not from 0 The first one is POS webbase, Do you have any suggestions the way to get it for good price and good quality? I know about PHP, JAVASCRIPT...
  3. N

    JWT, composer internal error on Firebase\JWT\JWT

    According to I would like to try to use JWT for my PHP and these are my step on domain/app/ composer require firebase/php-jwt so I have domain/app/login.php domain/app/vendor/firebase/... and on the login.php try{ echo "1"; require_once('vendor/autoload.php'); use...
  4. N

    want to send URL but get cut // from my string

    According to I have a SOAP API send to a operator for SMS server and the operator they create API by PHP so I want to send a URL to them "https://covaf.gov.la/covaf-web/" But the operator always cut to be "https:covaf.gov.la/covaf-web/" I try /// but get only one / So Do you have any idea to...
  5. N

    chat room, send audio to store in server

    According to I make a website for chat and I want to send voice to communicate. so I use this script from https://blog.addpipe.com/using-recorder-js-to-capture-wav-audio-in-your-html5-web-site/ This is javascript function createDownloadLink(blob) { //name of .wav file to use during upload...
  6. N

    websocket on private host

    According to I want ot run a websocket for PHP and javasscript. and I have a private host on internet example 202.112.113.114 How can I basic use websocket on it? on client slide it's easy for copy some javascript's example but on Server side. what should I do? need to install by composer or...
  7. N

    PHP 5 Internal error about chr(255).chr(254).@mb_convert_encoding

    Dear all, According to I install old project about cakePHP and I make some report but get a error about Server Internal error As I checked It's error about this code try{ $excelContent = chr(255).chr(254).@mb_convert_encoding($excelContent, 'UTF-16LE', 'UTF-8'); } catch (Exception $e) { echo...
  8. N

    share website URL to facebook not show information

    Dear all, According to I create a website and I try to copy the URL to facebook for sharing but when post it. the post not show information about the website. I add meta but still not work. https://lao-covaf.gov.la/index/
  9. N

    Send soap API timeout

    Dear all, Accoring to I created a soap API for sending SMS but timeout I found the server not reply. so I would like to protect the timeout case like retry or something. $requestmsg = array('msg'=>$msg); /* SEND SOAP API */ $result = $client->SendSMS($requestmsg); /* RESPONSE FROM SOAP API*/
  10. N

    PHP Version 5.6.40, internal error for connect mysql

    According to I have a project need to use PHP 5.6.40 connect to mysql version 5.7.34 This URL for phpinfo() http://newlink.bdb.com.la/app/webroot/test.php when I try to connect it by below coding $servername = "localhost"; $username = "user"; $password = "pass"; $db_database = 'db_unelr'...
  11. N

    reinstall old cakePHP v1.3.11 project

    Hi all friends, As I want to install old cakePHP project from v1.3.11 in my virtualBox but when I run it fail Do you have any idea how this error message? I am not the writer of the project but I need to reinstall it this is the requirement for the project Ubuntu 16.04.7 LTS Apache/2.4.18...
  12. N

    PHP exec not work on PHP 7.2.34

    Hi all. I tried to execute command below ` echo '<br/>'.$data. " >=> " . exec("java -jar encrypt.jar ".$data." ".$privateKey, $key);` it's look like we run `java -jar encrypt.jar 192.168.101.1BBB10052 ssdsds` I can run this command on the server by ssh but when I use PHP code, it's nothing. so...
  13. N

    set website name for intranet on linux apache

    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 http://192.168.101.250 so I want to set website name like http://website...... Do you have any...
  14. N

    How can i get information from this array

    Dear All, How can I get information that return from this array by loop to get all information. the information is from database query and it has 2 rows information Array ( [0] => Array ( [id] => 5 [t_test_date] => 2021-02-11 [t_test_number] => 1 [t_uid] => 202102110001 [t_test_type] => 1...
  15. N

    create json for post ajax to PHP

    I have a dynamic form want to send the information to PHP side by AJAX, so I think it will be good if sending by JSON format This is my code/* This is get row count from table*/ var rowlength = document.getElementById("sublab").rows.length; /* I create array to get information*/ var...
  16. N

    suggest way to developing build website

    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...
  17. N

    javascript select option by data-value

    <div class="choices__list" role="listbox"><div id="choices--p_nationality-do-item-choice-1" class="choices__item choices__item--choice choices__placeholder choices__item--selectable" role="option" data-choice="" data-id="1" data-value="" data-select-text="ກົດເລືອກ"...
  18. N

    add button click when enter key on input text

    Dear All, from begin I have a Button, when user click this button, on javascript will create a input text name and button submit show on dialog of jquery like this var modal_content = '<div id="user_dialog_' + to_user_id + '" class="user_dialog" title="' + office + '">'; modal_content...
  19. N

    mpdf cann't load on real host at $mpdf = new \Mpdf\Mpdf();

    According to i upload my mpdf to my real host on internet and try to print pdf out but i got fail at code below: I dont't know why this code $mpdf = new \Mpdf\Mpdf(); cann't work it's print out only "01" echo "0"; require_once __DIR__ . '/vendor/autoload.php'; echo "1"; $mpdf = new...
  20. N

    Mysql query, combine command about age and separate by gender

    Dear friends, I have a problem about my website and my website they have a lot of query information. so it make my website very slow. I would like to make query command is shorter and faster as these 3 commands. COMMAND1: show all people COMMAND2: show only male COMMAND3: show only female...
Back
Top