Recent content by Submariner

  1. S

    php and sql help

    Read the SQL tutorial, not only will that help you display your results but it will cover sanitizing user input so you don't get accacked/hacked via SQL injection.
  2. S

    Not getting an xmlhttp response from my initial request.

    To me it looks like you never declared the variable 'xmlhttp'. Since you are using it in both functions, get2Server() and assigning the second function to the onreadystatechange event I would define it outside of the functions as a global variable. Have fun.
  3. S

    php/mysql: problem inserting rows already existing in spite of verification

    Try changing your table definition to use varchar vice char for both repertoire and compl_name. Since you have them as char it is padding the remaining characters with spaces (' '), your query isn't adding this padding onto the values from the file and a match isn't being located. With varchar...
  4. S

    Problem installing Google Data PHP Client Library

    Try removing the semi-colon in you path. Shouldn't it just be './home/sniftw/Zend/library'?
  5. S

    Database Architecture

    Have you tried googling 'Database Design best practices'? It returns over 9 million results and many on the first page are very helpful. James
  6. S

    VB Cycling through an array of checkboxes

    Did you ever initialize the individual checkboxes selectedTopping0 -> 5? If not then attempting to access any property of it will result in a Null Reference Excpetion since they are still null objects... Have fun, James
  7. S

    PHP magic methods

    If your value is not going to change, why not use a constant? Updating a static member from any of the instances results in having to implement locking to ensure only one instance is writing to it at a time.
  8. S

    ASP and MySQL - Connection refused

    When you searched the forums before posting this did you located the tutorial at ASP.Net for Beginners? If not give it a try... James
  9. S

    HTML/Javascript Form Help Please

    Any JavaScript file that gets run on the end users browser can be seened by the user if they really want to see it. The only way to not have it availble to the end user is if it is run on the server and forwarded back to the client box (i.e. script and validation routine not sent to client...
  10. S

    Asp.net problems?

    Check the HelloWorld.aspx page and look to see if there is any whitespace before the first '<'. There shouldn't even be any empty lines. Visual Studio and Microsoft tools may handle this by ignoring the white space but Mono might not. Good luck. James
  11. S

    Convert .ASP to .ASPX

    Well, ASP.NET is quite a bit different than the old ASP Microsoft had. You probably should looks at one of the Mono tutorial sites, like Monkey Guide. That will help you out. All we can see is the gallary.aspx but none of what you are trying to pull in with server side includes. James
  12. S

    fibonacci series and factorial

    Here is an example of the above code ported to C++ (with minor changes...) #include <iostream> using namespace std; void main() { unsigned int oldValue, newValue, fibNum, maxNum; // initialize value... oldValue = 0; newValue = fibNum = 1; cout << "Generate Fibonacci Numbers...
  13. S

    Programmer Wanted

    If programmed under Windows XP, it will run on Vista and probably will on a Mac if running it in Windows emulation. Otherwise you will have a ton of headaches. In my last job I programmed for multiple platforms (serveral flavors of UNIX and Windows). We minimized problems by using C, not...
  14. S

    ASP.NET help

    This site uses Mono to simulate the Windows stuff. You are actually running on a UNIX box, specificly Linux. It would be best to use C or C++ to write binaries for the OS it is being run on or use a scripting language like PHP that isn't specific to the OS being run on. If you really want...
  15. S

    Connect to MySql (asp.net)

    ASP.NET normally stores the connection string information in the web.config file. They are contained as a child element under the connectionStrings element. <connectionStrings> <add name="ConnectionStringName" providerName="System.Data.SqlClient"...
Top