User Profile
Collapse
-
but how my browser connect to this server by SSL ? if i didn't use SSL in my cURL php function this give hackers the possibility to get my user/psw -
because in this function my server connect to another server by an account, so the remote server don't allow multiple connections of one account...
So when an user run my function then my server connect, but if another user run this function in the same time then my server can't connect because it's already connected!
And the real problem is i can't connect one time and do many things.. so i most connect and disconnect for...Leave a comment:
-
-
PHP Unique execution
Hello,
Its possible to execute a php function one time for unique user ? or by user order ?
I mean, if two different user connected in the same time, is possible to execute a php function only for user 1, when finish then execute for user 2...
Some one know how ? -
SSL PHP cURL between two Server. How?
Hello Every One,
I have a dedicated server, and i want get my private informations from my bank.
The server of my bank already have HTTPS, signed by VeriSign, Inc. RC4 128B.
So i want use PHP/cURL to connect safely and get my private informations from bank server.
I know that i should use CURLOPT_SSL_VER IFYPEER, CURLOPT_SSLVERS ION, VERIFYPEER, VERIFYHOST.. but how ? can some one please tell... -
i say pure and not cross-platform!
Windows
Mingw/Win32-API
Linux
G++/QT
or
G++/GTKMM
Mac OS X
i don't know.. i think Objective-C/Cocoa!Leave a comment:
-
Pure GUI apps for Win/Linux/Mac in C++ with G++
GUI apps for Win/Linux/Mac in C/C++
Please, i want know how to write a "pure" "native" "API-level" apps for Windows and Linux and Mac in C++.
I don't want one-code run-anywhere, but a native code for every OS
Solution For Windows
Just use Mingw/Win32 API, its very simple!, very clear, and that way i like programming under Windows!.
------------------------... -
I find a solution to my problem, i want share the solution to any one interested by reading UTF-8 file in C99. :)
Code:void ReadUTF8(FILE* fp) { unsigned char iobuf[255] = {0}; while( fgets((char*)iobuf, sizeof(iobuf), fp) ) { size_t len = strlen((char *)iobuf); if(len > 1 && iobuf[len-1] == '\n') iobuf[len-1] = 0; len
Leave a comment:
-
@RedSon
Yes, i m looking for a solution in C99 with GCC, i think i need read the UTF-8 file in binary mode and convert UTF-8 to UTF-16 or not! or other way.. i need help seriously =)Leave a comment:
-
@RedSon
First Thank you, i already read all MSDN pages that talking about UTF-8 ^_^, but i think i need use MultiByteToWide Char() after reading string from UTF-8 file, but i don't know how to use exactly!Leave a comment:
-
@RedSon
6 months of searching in Books, MSDN, Documentations, Internet, Forums.. i never found a solution to read UTF-8 file in C99!, can you help me please ? =)Leave a comment:
-
@JOHNY
Yes, you are right, i want edit title to remove "unicode" but no permission ^_^
if you have a UTF-8 project, and you want to read UTF-8 file line by line, what is the easy way you use ? =)Leave a comment:
-
How to read unicode (utf-8) / binary file line by line
Hi programmers,
I want read line by line a Unicode (UTF-8) text file created by Notepad, i don't want display the Unicode string in the screen, i want just read and compare the strings!.
This code read ANSI file line by line, and compare the strings
What i want
- Read test_ansi.txt line by line
- if the line = "b" print "YES!"
- else print "NO!"
rea...
No activity results to display
Show More
Leave a comment: