Search found 49 matches

by ricbarraes
Mon Feb 22, 2021 9:09 pm
Forum: mod_harbour
Topic: From mysql_* to mysqli_*
Replies: 0
Views: 58096

From mysql_* to mysqli_*

Hey everybody! As some of you guys know, I developed a MySQL and MariaDB connection class ( https://github.com/ricbarraes/TMySQL ) applying some good practices about security... But after a great point suggested by Charly, I realized that I'm using mysql_* functions to manipulate the database... but...
by ricbarraes
Tue Feb 09, 2021 8:24 pm
Forum: mod_harbour
Topic: Libcurl - Access_violation
Replies: 4
Views: 5429

Re: Libcurl - Access_violation

Hey everybody... I found out that the solution is WAAAAAY simpler than we were discussing... ridiculously simple... First of all, let's go back to the libcurl documentation... we can see right in the introduction that libcurl is THREAD-FREE. *which means that libcurl has no problem with parallel req...
by ricbarraes
Tue Feb 09, 2021 7:40 pm
Forum: mod_harbour
Topic: Libcurl - Access_violation
Replies: 4
Views: 5429

Re: Libcurl - Access_violation

Hey Antonio!

Can iI use threads in mod_harbour the same way I do it in my desktop applications??

Is there any sample?

Thank you!!
by ricbarraes
Tue Feb 09, 2021 1:42 pm
Forum: mod_harbour
Topic: Libcurl - Access_violation
Replies: 4
Views: 5429

Libcurl - Access_violation

Hey everybody, I'm having a problem with libcurl and apache, I don't really know what's going on... but let me explain you guys what's happening: The user is multiclicking a button in my web application, so it is calling multiple times a my function sendhttp: "multiclicking"=impacient user...
by ricbarraes
Thu Jan 07, 2021 1:44 pm
Forum: mod_harbour
Topic: Handling images and other files
Replies: 2
Views: 2972

Handling images and other files

Hey everybory, happy new year! I'm having some trouble when trying to manipulate image files, if anybody could tell what I'm possibly doing wrong, I'll be extremely grateful! Situation 1: I got a desktop application that is storing image files inside a MySQL database as a BLOB field. So I need to ge...
by ricbarraes
Tue Nov 10, 2020 8:56 pm
Forum: mod_harbour
Topic: Curso ModHarbour e Mercury Português
Replies: 0
Views: 6918

Curso ModHarbour e Mercury Português

Olá amigos! é com muito prazer que venho anunciar o lançamento do meu Curso Online de ModHarbour e Mercury em Português Primeiramente, gostaria de me apresentar aos que ainda não me conhecem... Sou Ricardo Arraes, desenvolvedor Harbour há alguns anos e - gosto de me considerar - um entusiasta do Mod...
by ricbarraes
Wed Oct 21, 2020 6:20 pm
Forum: mod_harbour
Topic: Mod_harbour and Mercury over Ubuntu/Linux VM
Replies: 0
Views: 7279

Mod_harbour and Mercury over Ubuntu/Linux VM

Hey everybody! for the last couple of days I've been struggling to configure and get mod_harbour and mercury running over a Ubuntu/Linux Virtual Machine using Oracle VirtualBox, but fortunately I made it! I followed all the steps described in the github repo (https://github.com/FiveTechSoft/mod_harb...
by ricbarraes
Wed Oct 21, 2020 5:56 pm
Forum: mod_harbour
Topic: LoadHRB (Ubuntu Linux)
Replies: 2
Views: 2869

Re: LoadHRB (Ubuntu Linux)

Thank you Charly!
yes, you and Pere were right, this issue was related to some read/write permissions.

Imma create another topic here and in our google groups so I can explain in more details how did I solve this problem and got everything running in Ubuntu/Linux
by ricbarraes
Tue Oct 20, 2020 2:32 pm
Forum: mod_harbour
Topic: LoadHRB (Ubuntu Linux)
Replies: 2
Views: 2869

LoadHRB (Ubuntu Linux)

hola amigos, estoy implementando algunos proyectos mod_harbour en el servidor linux, pero ¿alguien sabría lo que estoy haciendo mal? Estoy intentando cargar un HRB pero siempre devuelve que no fue posible cargarlo. ejemplo 1: function Main()    ?? LoadHRB( 'lib/mercury/testhrb.hrb' )    ?? hb_GetEnv...
by ricbarraes
Sun Sep 13, 2020 2:03 am
Forum: mod_harbour
Topic: Mysql_real_escape_string() problem
Replies: 4
Views: 1340

Re: Mysql_real_escape_string() problem

Never mind Antonio! Everything is working properly right now! Thank you so much, my friend METHOD Escape(cParam)        LOCAL nTeste    if ! Empty( ::pLib )       ::hMySQL = mysql_init(::pLib)                       if ::hMySQL != 0          ::hConnection = mysql_real_connect( ::pLib,::cHost, ::cUser...
by ricbarraes
Sun Sep 13, 2020 1:25 am
Forum: mod_harbour
Topic: Mysql_real_escape_string() problem
Replies: 4
Views: 1340

Re: Mysql_real_escape_string() problem

Hey Antonio! thanks for your answer... Yes I checked the documentation but I didn't pay mucha attention to the return of the function... I was assuming that they were returning the escaped string, but, in fact,- correct me if I'm wrong - the return is the length of the result string. So I made a cou...
by ricbarraes
Fri Sep 11, 2020 1:01 pm
Forum: mod_harbour
Topic: Mysql_real_escape_string() problem
Replies: 4
Views: 1340

Mysql_real_escape_string() problem

Hello everyone, I'm trying to call the mysql_real_escape_string() from both libmysql.dll and libmariadb.dll inside a webservice, but it's not working... does anybody know what could be the problem?? cSQL:=mysql_real_escape_string(::pLib,::hConnection,cSQL) function mysql_real_escape_string(pLib, hCo...
by ricbarraes
Mon Aug 17, 2020 12:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: My two cents
Replies: 2
Views: 946

Re: My two cents

Totally agree with you, dear Otto!

With just a single year of age, mod harbour already shows its high potential.

"Now" is always the best time to start anything, specially for us developers...
by ricbarraes
Sat Aug 15, 2020 10:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: Mod harbour and Mercury course (English)
Replies: 0
Views: 5754

Mod harbour and Mercury course (English)

Hello everyone, took some time but finally it's done!! first of all, let me introduce myself... I'm Ricardo Arraes, a harbour developer since 2014, a full stack and mobile developer for some years and now, I'm proud to say that I'm a mod harbour enthusiast. I ve been excited with mod harbour since I...
by ricbarraes
Fri Aug 14, 2020 11:09 pm
Forum: mod_harbour
Topic: Mod harbour and mercury course (English)
Replies: 4
Views: 1153

Re: Mod harbour and mercury course (English)

Otto wrote:Hello Richardo,
Respect, and congratulations. This course is great.
You are a good teacher.
Very professional.
A must-have for all of us.

Best regards,
Otto
Thank you Otto, I'm really glad to hear it from you!
Hope you enjoy to the fullest and I'm always open for suggestions :D