Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sirugo
  • Content: Threads
  • Order by date
  1. sirugo

    Find the id of the max-value

    I can't be the first one with this problem: I simply want to find the row-ids that hold the MAX-values grouped by specific column names. Instinctively I would use: SELECT ix, column1, MAX(column1) FROM table GROUP BY column2, column3 but this does not even give the same values of column1 and...
  2. sirugo

    Problem after upgrade

    I have been running MySQL 3.23 for some years. Now we upgraded to 5.0 and I'm experiencing som problems. Earlier the following query was executed flawlessly: SELECT col1, col2, table2.col3 FROM table1, table2 LEFT JOIN table3 ON table1.someid = table3.someotherid but now this query triggers...
  3. sirugo

    Error reporting after upgrade

    After upgrading PHP I'm not feeling comfortable about how the error reporting works. With the previous version I got reports caused by errors like: if($a > 1) { } (empty curly braces) or forgotten curly braces at the ebd of the script These don't show up anymore which leads to a never...
  4. sirugo

    write permissions

    I have a php script that produces text files. A directory in the web folder is assigned for this reason. Someone said that the directory must must be given write permission for "all" for it to work. Is it true? Is there no way to turn php into a "owner" who has those permissions which limits...
  5. sirugo

    Error reporting mystery

    I'm overriding the current settings of php.ini using ini_set like this in the developing phase: ini_set('display_errors', 1); ini_set('error_reporting', 2047); ini_set('mysql.trace_mode', 1); printf("<P>%s%s", $ffr); $msc = mysql_connect("localhost", "webuid", "webpwd")...
  6. sirugo

    Launching apps silently?

    How do I lanuch another app from my java-app? I want to launch both Explorer and Firefox silently in the background and give them both the same URL, let's say http://www.google.com After that I want the both browsers to terminate their activity. Can it be done? How?
  7. sirugo

    SW_HIDE doesn't work with ShellExecute on Firefox

    I have an app that opens Explorer at a given URL, but in the background with no windows open: ShellExecute (NULL, "open", "iexplore.exe", loginURL, NULL, SW_HIDE); Works great. I now want the same app to open Firefox in the same way: ShellExecute (NULL, "open", "firefox.exe", loginURL, NULL...
  8. sirugo

    Getting the environmental LOCATION

    I know how to get the username of a user logged into a Novell system, using GetUserName with C++. But how do I get my hands on which location/user group the user is in? Can't find this in the MSDN documentation.
  9. sirugo

    Getting the environmental LOCATION

    I know how to get the username of a user logged into a Novell system, using GetUserName. But how do I get my hands on which location/user group the user is in? Can't find this in the MSDN documentation.
  10. sirugo

    172 addresses

    I have a php-script that checks whether a user is coming from inside our firewall (using a 172-address) or if he's coming from the outside (any other address). Certain restrictions appear for outside users. But is it possible for an outside user to change his IP-address to appear as a...
  11. sirugo

    Simple textformat won't work

    The following setting of textformat does not change any of the text's properties: this.createEmptyMovieClip("mcX", 0); mcX.createTextField("tfX", 0, 200, 0, 200, 20); var tf:TextFormat = new TextFormat(); tf.font = "Verdana"; tf.size = 30; tf.color = 0xff0000; tf.align = "right"...
  12. sirugo

    How to keep sessions alive

    I have a script that reads a cookie from which it creates remote sessions. The problem is that the session does not survive long enough. Is there a safe way to handle the time for how long a session should last? A good way would be to extend its lifetime for an hour each time a page is read.
  13. sirugo

    Looping clip (textfield) should get new content each lap

    I have a text field as a movieclip. The field is moving across the screen. Then it starts over. I want to change the content of the text field for each lap it completes. I'm a newbie but I know some ActionScript, I know how to create clips and how to assign values to text fields. Still I don't...
  14. sirugo

    Killing a shellexecuted process

    I'm initiating a process using Shellexecute (C++). The I want to kill the process. How do I do that?
  15. sirugo

    multiple LEFT JOINs

    I have four tables which I want to join to a table with "complete" information. There are about 2000 rows in each table. When I try a multiple LEFT JOIN it works as it should but I takes about 20 seconds or more. How do I optimize a query to handle many rows? What other JOIN-methods can I use...
  16. sirugo

    Referer from forwarded domain?

    It's probably impossible but I'll ask it anyway. I have a domain on which I'm NOT hosting my pages. Instead this "easy-to-remember" domain name is forwarding to another site (where hosting is free) and where the name is "not-that-easy-to-remember". Now I realize that I would have loved to...
  17. sirugo

    intranet from the outside

    We have an intranet inside our firewall. Now, there are quite many functions that should be accessible from the outside (administrators want them to be). How can we have the "intranet" accessible from the outside and still having reasonable security? My idea is to have every php-page sniffing...
  18. sirugo

    getting the user group?

    Off to the next level. GetUserName retrieves the Netware username (or local username) after logging in. Is there any way to grab the user group too? Can't find any function in MSDN, though.
  19. sirugo

    Calling a url silently?

    I want to create an exe-file with C++ that opens a url silently or "in the background". Basically the idea is to send specific data (the current USERNAME from Netware, for example) to a php script on a webserver so that the script knows what type of user is reading the I know how to retrieve...
  20. sirugo

    LOAD DATA LOCAL INFILE

    I have a text file placed in the Users directory on a Mac, called 'data.txt' I want to use a php-script to push data from that file into a MySQL table located on a remote server. I first try the phpmyadmin tool to do this and it gives me the proper query lines that it used to succeed. But the...

Part and Inventory Search

Back
Top