- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
20 Posted Topics
Hello everyone, I am using the following code to do a post to localhost: [CODE] $ch=curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://localhost/response.php'); //response.php just spits out json_encode($_POST) curl_setopt($ch, CURLOPT_HTTPHEADER, Array("Content-Type: text/html")); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, Array('data' => $xml)); $curl_result = curl_exec($ch); if(curl_errno($ch)) { echo 'Curl error: '.curl_error($ch); } curl_close($ch); … | |
Hello everyone, I have a new, self made computer, with an AMD Athlon x2 240 2.8 ghz processor, and a gigabyte motherboard. Everything worked fine until a few days ago. I was watching some super-HD video on youtube, when my internal speaker started beeping in a semi-continuous manner. The beeping … | |
Hello everyone, I am doing a graphics app in C# for a school asignment. I have to make some geometric 3D figures spin around, translate and scale, not too much of a deal, i guess. But there is an issue i do not know to solve: When switching from 'wireframe' … | |
Hello everyone, i'm porting an application from C# to C++, and i find the syntax and all that of C++ rather cumbersome (though C/C++ was my first language). I have a very specific question, and another few more-or-less general ones. The specific question: In C#: [CODE] Bitmap image; BitmapData ImageData; … | |
Ok, here's the catch: i am using ExtJS + PHP + MySQL to make a real-time chat site, based solely on AJAX requests. Yea, reverse AJAX would be cooler, but i haven't met anything easy to use enough to incorporate. (maybe you could suggest something !) The site would be … | |
Hello everyone, I am doing a login form in ExtJS + PHP, but it does not work. (authentication failed each time) . Here's the code: ExtJS part: [CODE] <script type=text/javascript> Ext.onReady(function() { Ext.QuickTips.init(); var loginForm = new Ext.FormPanel({ url: 'login.php', title: 'Login to goodTalk', frame:true, bodyStyle:'padding:5px 5px 0', width: 252, … | |
Hello everyone. This post will contain an amount of personal feelings within it. I'm not a very experienced/skilled programmer, and my main 'background', if i can call it so is in windows forms applications (Visual C++, C#), where conceptually speaking, everything is driven by events, the only possible difficulties arriving … | |
Merry Christmas everyone! I'm using Lisp in a Box (emacs + GC Lisp) And i tried making a function which takes a number as argument, adds 1 to it if it's negative, and substracts 1 from it if it's positive. (look) [CODE=LISP] (defun enlarge(x) (if (< x 0) (- x … | |
Hello everyone, I need some advice. I have been given an assignment to construct some kind of chat application which uses push technology (In C#, so i have socket objects and all that) Reading on the internet, i came to know that push technology means in essence, that not the … | |
Hello everyone, i 'built' a simple windows forms application, with 2 buttons and 1 picturebox. One button is used for invoking an open file dialog, which prompts for a BMP from the harddisk, which is inserted on the picturebox. The other button should do 'stuff' to the image, in a … | |
I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren't stored. How should i do this? There's also a … | |
Hello, i really don't know where to post this. I will be making an application which hides text within the pixels of an image. The language really doesn't matter . //though it will be done in C# Problem is, each image format (jpg,bmp,gif) has a certain structure, and a way … | |
Re: Structurally speaking, it should look like this: 1. Read the degree of the polinomial. ( n ) 2. For i = 0 ; i <= n; i++ ( A grade N polynomial has N+1 coefficients, that's the reason for using <= instead of < ) Read the contents of an … | |
Re: Why not use strtok function to split each row, using ' : ' as separator? [URL="http://www.cplusplus.com/reference/clibrary/cstring/strtok/"]http://www.cplusplus.com/reference/clibrary/cstring/strtok/[/URL] | |
Hi, i've looked in several places for a how-to on C# DLL's. I made a windows forms application, which beside regular files, has a pure .cs Class File. I would like to extract a DLL from that file alone, how do i do that? | |
Re: Any code? First, should be extremely keen at multiplying matrices. [URL="http://www.intmath.com/Matrices-determinants/4_Multiplying-matrices.php#matops"]http://www.intmath.com/Matrices-determinants/4_Multiplying-matrices.php#matops[/URL] Just as a hint: All you need is 3 FOR loops for the main calculations. | |
Re: There are a few problems in your code : [QUOTE][CODE] for (j=0;j<strlen(sw);i++) //should be for (j=0;j<strlen(sw);j++) [/CODE][/QUOTE] And the ctr variable isn't used at all - it's just being incremented and set back to 0. Other than that, you should revise anagram logic - each word but be a permutation … | |
Re: I'm not sure if this is the place for associativy discussion - this is more a math thing :D So, here it goes: Let's analyze the addition (+) operation. 2+3=5. We all know that. 2+3+5 = 10. Again, we all know that. I'll put some redundant parentheses: (2+3)+5=10 but also … | |
Hello everyone, i'm fresh new here, and i already have a question regarding...well, C#. I've made a Forms Application in which the user submits an image (bmp,png,jpg or gif), and the image suffers some byte-level modifications (obviously, i'm using the LockBits() method). Now, after the modifications are done, the user … | |
I'm....pretty much new here, posted my first thread yesterday (it's 00:04 here at the moment, so , technically it's yesterday ^^). I've wandered before around, looking for answers, until today, when i really had the need to post, and signed up. I'm a first-year student at the University of Oradea, … |
The End.