Jump to content

blackcell

Members
  • Posts

    439
  • Joined

  • Last visited

Everything posted by blackcell

  1. Hey guys, Really new to Linux stuff. I have a buddy that has recently used Ubuntu to set up a squid proxy server that we finally got up and running. We also have nTop on this system and it works. The problem is, nTop is suppose to support the ability to dump captured data to a mysql database and has a preference to specify. The problem is, it doesn't seem to be working lol. I don't know if I need to create the basic table structure or what and if so I have no idea where to find the structure setup. Any push in the right direction would help. I have searched keyword combos through google and it doesn't seem to shed any light on it.
  2. Cool, thanks man. I can't believe I couldn't find them.
  3. I have tried to view the php bible and don't know if they even exist. Are there a set of php functions that allow the programmer to read disk capacity, used and free space? Any push in the right direction is greatly appreciated.
  4. Can you explain the like '%a' and use it in an example? I think I know where your going but I am still fuzzy on it.
  5. I am trying to perform a mysql search based upon the first letter of the users choice. I need to tell mysql to to look only at the first letter of the value in table_field. I have 2 years of experience with mysql but I haven't really cracked into using mysql's advanced usage and want to start. I thought maybe substring(string,len) from mysql's website was what I wanted but either that isn't it or I am not using it right. Thanks guys.
  6. Hello, I have tried to find what I need on the mysql site but im not for sure. I know the basics of mysql until it starts with the joins. Basically, I have a ticket system I developed. I want to be able to synchronize two systems by "importing" the table 'tickets_data' hosted on system 2 to the table 'tickets_data_hostname' to system 1. I need to modify my sql query that shows all this data so that it pulls the data from both tables at once (seemingly). The table structure is identical but the data contents are different. # Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8 # MySQL client version: 5.1.30 Edit1: mysql & apache version
  7. I am running a script that called cmd to do some things and I want it to not show the command window, even for the brief 3 seconds it does. I am trying to build my own module for portable apps and I need the window to not appear to be seamless. Anybody know of any cmd switched to do this?
  8. I can't find the problem with this Ajax tutorial example. Can someone tell me what stupid little thing I am doing wrong? root/index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> <script language="javascript" type="text/javascript"> var request = false; try { request = new XMLHttpRequest(); } catch (trymicrosoft) { try { request = new ActiveXObject("Msxml2.XMLHTTP"); } catch (othermicrosoft) { try { request = new ActiveXObject("Microsoft.XMLHTTP"); } catch (failed) { request = false; } } } if (!request) alert("Error initializing XMLHttpRequest!"); function getCustomerInfo() { var phone = document.getElementById("phone").value; var url = "/scripts/index.php?phone=" + escape(phone); request.open("GET", url, true); request.onreadystatechange = updatePage; request.send(null); } function updatePage() { if (request.readyState == 4) { if (request.status == 200) { var response = request.responseText; document.getElementById("order").value = response; } else alert("status is " + request.status); var response = request.responseText; document.getElementById("order").value = response; } } </script> </head> <body> <p><img src="breakneck-logo_4c.gif" alt="Break Neck Pizza" /></p> <form action="POST"> <p>Enter your phone number: <input type="text" size="14" name="phone" id="phone" onChange="getCustomerInfo();" /> </p> <p>Your order will be delivered to:</p> <div id="address"></div> <p>Type your order in here:</p> <p><textarea name="order" rows="6" cols="50" id="order"></textarea></p> <p><input type="submit" value="Order Pizza" id="submit" /></p> </form> </body> </html> root/scripts/index.php <?php echo "Hello"; ?> Shouldn't this return "Hello" in the order box?
  9. What does the client side script expect back from the server response? Like you send the HTTP request and wait for it by looking at the Ready State, but if I call a script at /scripts/findEmail.ascript.php, how do I send what I want the response to be in the scripts/findEmail.ascript.php file using php programming? Sorry if you don't understand this is hard to explain but very basic. Edit: Do you just echo the result that needs to be sent back to the client?
  10. Anybody have recommendations for Bandwidth monitoring software? Preferably free but if not that's fine.
  11. Anybody every tried (and succeeded) in installing an Access run time on a Windows Server 2008 with Terminal Services role? Microsoft's website if absolutely worthless and provides no hints in the right direction with even the simplest and straightforward search criteria.
  12. That great man. Now what about an input box?
  13. I am trying to document.write("Text") to a div. Is there a different function to do this or parameters? I can't seem to find anything that I can modify (and work) to accomplish this.
  14. I have been trying for some time to figure out how populate text into a div by onclick. I can change an image onclick but not text filling. Any help would be greatly appreciated.
  15. Sorry this was supposed to be in Misc forums. If a mod comes across it could you move it please? Thanks.
  16. Hello ladies and gents... I am curious if any of you guys use mediawiki. I have started propping one up for my company and I have an issue that is preventing a department from converting their documents. I have found that when you use headlines to create table of contents, it works great in the sense that it numbers the headlines in the table of contents for you. e.g 1.1, 1.2, 1.3, 2.1, 2.2, 3.1, 3.2, etc... The problem is I need those numbers to display before the headline title in the body. Any mediawiki gurus around here willing to give some guidance. Oh and I am not trying to be rude but don't send me a link with the mediawiki's address and tell me to search it because I have been searching for three weeks for system and user built hooks/widgets with no luck. Thanks!
  17. Thank you neylitalo. That was the main reason I wanted some clarification is because I had heard it is a really touchy thing and all consideration should be given as to which license. Raverez, thanks for wasting board space.
  18. Jesus christ forums are turning into communist chop-your-hands-off-and-scold-you-for-not-finding-a-hit-on-google community aren't they? Why don't you read this article and nix the fact that I am talking to a moderator because your not one: http://www.phpfreaks.com/forums/index.php/topic,211557.msg963540.html#msg963540
  19. If you wanted to license something you made before releasing it to the web, how would you do that? Like with a GPL license?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.