Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for xagutxu

Hello, everyone! I have a problem with the code of Javascript, and I cannot find out the solution. I write a form in a div in this way: [CODE]var divTag = document.createElement("div"); divTag.id = "ch00"; divTag.className = "chzerr"; divTag.innerHTML = '<form action="foo.php" method="post" name="leh00" onsubmit="change_alert()">'; divTag.innerHTML += '<input type="hidden" name="usr00" …

Member Avatar for Airshow
0
1K
Member Avatar for xagutxu

When I execute my php script with this sql code: [CODE]$key = "aaaabbbbccccddddeeeeffffgggghhhh"; $con = mysql_connect($sql_host, $sql_user, $sql_pass) or die ('Error connecting to mysql'.mysql_error());; mysql_select_db($sql_db, $con) or die("Could not select $sql_db"); // To work in "utf-8": $query = "set names 'utf8'"; $result = mysql_query($query); // Query: $query = "UPDATE personaldata …

Member Avatar for Shanti C
0
87
Member Avatar for xagutxu

Hi! I want to position a layer in a HTML page, but I can't achieve it. I have the following code: <form action="..."> <label for="first"><input type="text" name="first" value="" /> <div class="layer">...</div> <laber for="second"><input type="text" name="second" value="" /> ... </form> The CSS for the class "layer" is: div.layer{ width: 50px; height: …

Member Avatar for scottloway
0
106
Member Avatar for xagutxu

Hi, everybody: I have written an include file in my php file "main.php", with and include "ip.php", which is: <?php function getRealIpAddr() { if (!empty($_SERVER['HTTP_CLIENT_IP'])){ //check ip from share internet $ip=$_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){ //to check ip is pass from proxy $ip=$_SERVER['HTTP_X_FORWARDED_FOR']; } else{ $ip=$_SERVER['REMOTE_ADDR']; } return $ip; } ?> …

Member Avatar for xagutxu
0
83
Member Avatar for xagutxu

Hello: I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the …

Member Avatar for Narue
0
244
Member Avatar for xagutxu

Hi! I am trying to implement a server-cgi with C++, but I don't know which is the best way for the cgi to communicate with the mysql server. In the mysql web, I have seen that there are "connectors", but I don't really know which is their functionallity. Should I …

0
66
Member Avatar for xagutxu

Hi! I am trying to implement a server-cgi with C++, but I don't know which is the best way for the cgi to communicate with the mysql server. In the mysql web, I have seen that there are "connectors", but I don't really know which is their functionallity. Should I …

0
74
Member Avatar for xagutxu

Hi! I'm using the structure WAVEHDR and the functions waveInStart, waveInClose etc. to capture the audio from the sound card. I use several buffers, and I have a problem with them. I use the variable dwFlags to know when a buffer is complete, but in this way: "[B]while ((wavehdr1.dwFlags & …

0
63
Member Avatar for xagutxu

Hi! I am using the Microsoft Visual Studio to build a program that has several threads. The threads communicate among them reading a shared variable; thus, a thread is waiting: "while (variable == 0);", until other thread puts the variable into 1. That occurs more than one time in the …

Member Avatar for xagutxu
0
122