Search found 33 matches

by nitiphone2021
Sat Oct 30, 2021 7:12 am
Forum: JavaScript
Topic: send big blob file to PHP server
Replies: 0
Views: 2036

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 = new For...
by nitiphone2021
Tue Aug 17, 2021 7:16 am
Forum: Free time
Topic: buy POS web base include source code
Replies: 0
Views: 1373

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, HTML,C...
by nitiphone2021
Wed Jul 07, 2021 6:32 pm
Forum: PHP coding => General
Topic: JWT, composer internal error on Firebase\JWT\JWT
Replies: 1
Views: 988

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 firebase\JWT\JWT; echo &q...
by nitiphone2021
Wed Jul 07, 2021 2:50 am
Forum: PHP coding => General
Topic: want to send URL but get cut // from my string
Replies: 1
Views: 1014

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...
by nitiphone2021
Fri Jul 02, 2021 5:21 pm
Forum: JavaScript
Topic: chat room, send audio to store in server
Replies: 1
Views: 1315

Re: chat room, send audio to store in server

Now I can create the file but the the file is empty or no any soude data //this will print out the received name, temp name, type, size, etc. $input = $_FILES['audio_data']['tmp_name']; //get the temporary name that PHP gave to the uploaded file $output = "../management/design/voices/" . t...
by nitiphone2021
Fri Jul 02, 2021 12:13 am
Forum: JavaScript
Topic: chat room, send audio to store in server
Replies: 1
Views: 1315

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 and downlo...
by nitiphone2021
Thu Jul 01, 2021 8:54 pm
Forum: PHP General
Topic: websocket on private host
Replies: 0
Views: 1220

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 any lib...
by nitiphone2021
Mon Jun 28, 2021 5:51 pm
Forum: PHP coding => General
Topic: PHP 5 Internal error about chr(255).chr(254)[email protected]_convert_encoding
Replies: 3
Views: 1429

Re: PHP 5 Internal error about chr(255).chr(254)[email protected]_convert_encoding

This is the error on the log file. It that possible the error about mb string extension? [Tue Jun 29 08:35:40.357470 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysq...
by nitiphone2021
Mon Jun 28, 2021 2:01 am
Forum: PHP coding => General
Topic: PHP 5 Internal error about chr(255).chr(254)[email protected]_convert_encoding
Replies: 3
Views: 1429

PHP 5 Internal error about chr(255).chr(254)[email protected]_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 'Caught...
by nitiphone2021
Mon Jun 14, 2021 5:32 am
Forum: CSS
Topic: share website URL to facebook not show information
Replies: 0
Views: 2912

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/
by nitiphone2021
Sun Jun 13, 2021 11:58 pm
Forum: PHP General
Topic: Send soap API timeout
Replies: 0
Views: 1249

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.

Code: Select all

$requestmsg = array('msg'=>$msg);
/* SEND SOAP API */
$result = $client->SendSMS($requestmsg);

/* RESPONSE FROM SOAP API*/
by nitiphone2021
Sun Jun 06, 2021 4:46 pm
Forum: PHP coding => General
Topic: PHP Version 5.6.40, internal error for connect mysql
Replies: 5
Views: 1800

Re: PHP Version 5.6.40, internal error for connect mysql

I think you tell me run the command last time? <?php //phpinfo();die; try{ $servername = "localhost"; $username = "user"; $password = "password"; $db_database = 'db'; $db_port = '3306'; // Create connection $conn = mysqli_connect($servername, $username, $password,$db_da...
by nitiphone2021
Sun Jun 06, 2021 6:59 am
Forum: PHP coding => General
Topic: PHP Version 5.6.40, internal error for connect mysql
Replies: 5
Views: 1800

Re: PHP Version 5.6.40, internal error for connect mysql

This is the error I receive

Code: Select all

Fatal error: Call to undefined function mysqli_report() in /home/newlinkbdbcom/public_html/app/webroot/test.php on line 5
by nitiphone2021
Sat Jun 05, 2021 5:27 am
Forum: PHP coding => General
Topic: PHP Version 5.6.40, internal error for connect mysql
Replies: 5
Views: 1800

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_dat...
by nitiphone2021
Sun May 30, 2021 5:42 am
Forum: PHP General
Topic: reinstall old cakePHP v1.3.11 project
Replies: 5
Views: 1913

Re: reinstall old cakePHP v1.3.11 project

error about not found this file lang_en.php
but as I checked the file in their
/var/www/html/NlLaosF/app/webroot/lang/lang_en.php

Do you have any idea about cakePHP that they config the routing path?
by nitiphone2021
Sat May 29, 2021 7:23 pm
Forum: PHP General
Topic: reinstall old cakePHP v1.3.11 project
Replies: 5
Views: 1913

Re: reinstall old cakePHP v1.3.11 project

Warning: Illegal string offset 'file' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632 Warning: Illegal string offset 'line' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632 Strict Standards: Non-static method Configure::read() should not be called statically in /var/www/html/...
by nitiphone2021
Sat May 29, 2021 5:46 am
Forum: PHP General
Topic: reinstall old cakePHP v1.3.11 project
Replies: 5
Views: 1913

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 PHP 5.6.40...
by nitiphone2021
Wed May 26, 2021 1:42 am
Forum: PHP General
Topic: PHP exec not work on PHP 7.2.34
Replies: 3
Views: 1619

Re: PHP exec not work on PHP 7.2.34

Now I can exec the command. my point is 1. exec command not allow on php.ini 2. on PHP can't call java command by "java" need to put full location 3. path of jar file, my PHP file and java file in the path but I can't call it like javafile.jar need to put full path. `exec("/usr/bin/ja...
by nitiphone2021
Mon May 24, 2021 11:44 pm
Forum: PHP General
Topic: PHP exec not work on PHP 7.2.34
Replies: 3
Views: 1619

Re: PHP exec not work on PHP 7.2.34

Seem only java command can't run echo "linux = '" . exec("ls -l") . "'"; echo "<br>java = '" . exec("/usr/bin/java -version") . "'"; [[email protected] ~]# which java /usr/bin/java [[email protected] ~]# [[email protected] ~]# java -version openjdk version "1...
by nitiphone2021
Mon May 24, 2021 8:20 pm
Forum: PHP General
Topic: PHP exec not work on PHP 7.2.34
Replies: 3
Views: 1619

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 PH...
by nitiphone2021
Thu Mar 18, 2021 1:22 am
Forum: Server installation and configuration
Topic: set website name for intranet on linux apache
Replies: 1
Views: 2179

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 idea abou...
by nitiphone2021
Mon Mar 15, 2021 7:14 am
Forum: PHP General
Topic: How can i get information from this array
Replies: 1
Views: 1466

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 [t_status_...
by nitiphone2021
Thu Mar 11, 2021 8:31 am
Forum: JavaScript
Topic: create json for post ajax to PHP
Replies: 1
Views: 1870

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 subla...
by nitiphone2021
Wed Mar 10, 2021 6:32 pm
Forum: JavaScript
Topic: suggest way to developing build website
Replies: 5
Views: 2960

Re: suggest way to developing build website

This is how I have been doing website design and development lately. For design I have been using design mobile first strategy when it comes to CSS Responsive Design along with using Grids and Flex as this make the design very flexible. Website Development If you are a large corporation I would go ...