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 SkipVought 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: *

  1. LaundroMat

    Pasting data in a filtered list

    Hi, I'm looking for a way to paste data into a sheet where data has been filtered. Eg: Sheet1: 1| A 2| B 3| C 4| D Sheet2 (filtered data): 1| 10 3| 30 7| 70 8| 80 I want to paste the column from Sheet1 onto Sheet2, so that it will read: 1| 10 A 3| 30 B 7| 70 C 8| 80 D Sorting is not...
  2. LaundroMat

    Installed VPN client and now no more access to LAN?

    Hi, My company installed a VPN client on my Windows XP laptop recently, and now I can no longer see the other PC's within my home LAN. Here's the setup: Internet -> Router (DHCP) -> LAN The VPN client installed is Check Point VPN-1 SecureClient ipconfig /all returns: Windows IP...
  3. LaundroMat

    Single statements better for performance?

    Thanks for that. I think I'll stick to more complex queries then.
  4. LaundroMat

    Single statements better for performance?

    Hi, I'm using MySQL with PHP, and I was wondering what would be the better way of doing things performance-wise. Sometimes I need data (some of it grouped, such as SUMs) from 5 columns in one time. Would it be better to execute one complex SQL query (with a lot of JOINs, SUMs and what not) or...
  5. LaundroMat

    php extension location question

    Just to be sure: make that a "/usr/share/pear" (ie with a slash added in front).
  6. LaundroMat

    No GD support in Windows PHP 5.1.4

    Aargh! Ofcourse. The extension directory was wrongly labeled in php.ini! (PHP was looking in the current dir instead of ./ext/). /slaps forehead and wanders off, mumbling to himself.
  7. LaundroMat

    No GD support in Windows PHP 5.1.4

    Update: I've just checked the logs of my webserver, and apparently php is looking for the library. PHP Warning: PHP Startup: Unable to load dynamic library './php_gd2.dll' - The specified module could not be found. in Unknown on line 0 Now.. I thought that lib was bundled (ie no .dll was...
  8. LaundroMat

    No GD support in Windows PHP 5.1.4

    Hi, thanks for replying. I did uncomment that line already (see my 1st post). I've even rebooted in order to make it all work, but to no avail... I'm using Abyss Web Server by the way (which never posed any problems).
  9. LaundroMat

    No GD support in Windows PHP 5.1.4

    I have cleaned up my old PHP installations on my Windows XP machine, and installed the latest PHP version (PHP 5.1.4) on it. I first used the automatic installer, but it seemed impossible to enable the bundled GD support (although the only thing that had to be done was to uncomment the relevant...
  10. LaundroMat

    2 instances of one class share their variables?

    Sorry for the late reply, but thanks! It works. Maybe the Python docs should be a bit more explicit about this.
  11. LaundroMat

    2 instances of one class share their variables?

    I don't understand why this code class player: name = '' hand = [] def __init__(self, name=""): self.name = name class test: def addItem(self, recipient, item): recipient.hand.append(item) def main(): me = player("LaundroMat") him = player("Someone...
  12. LaundroMat

    Best way of executing multiple MySQL queries in one go?

    Great! This is exactly what I was looking for. Thanks!
  13. LaundroMat

    Best way of executing multiple MySQL queries in one go?

    Heh, no problem. The amount of rows depends really... I'd like to be able to have about 1.000x1.000 fields, or even more. It all depends on how the project turns out (ie many participants, or not).
  14. LaundroMat

    Best way of executing multiple MySQL queries in one go?

    I'm afraid I don't understand the question. I'm just running things on my home PC here, but eventually all should be run on a webserver somewhere that has PHP and mySQL. Seeing that the project is a)hobbyist and b)shouldn't cost me too much money, I'm afraid the database system will the most...
  15. LaundroMat

    Best way of executing multiple MySQL queries in one go?

    Hi, I'm initializing a database with random numbers, and I noticed INSERTing the data into my mySQL database does take quite some time (especially considering the amount of data I want to enter). Here's the script: for ($x = 1; $x <= SIZE_X ; $x++) { for ($y = 1; $y <= SIZE_Y ; $y++) { $amt...
  16. LaundroMat

    session var contains object = __PHP_Incomplete_Class Object?

    Oops. I should have looked at the serialize() function. [morning]
  17. LaundroMat

    session var contains object = __PHP_Incomplete_Class Object?

    Hi, Is it first of all possible to store an object in a session variable? Eg: $user = new user(); // $user->login returns MSG_LOGGEDIN if ok. if ($user->login($login, $pw) { $_SESSION["user"] = $user; } On the page where I execute the above code, a print_r($_SESSION["user"]) gives me a...
  18. LaundroMat

    Some .cpl's not working and welcome screen gone

    Hi - I've been looking all night for an answer to these tow (related?) problems. Add/Remove software has disappeared from my Control Panel. Before that, it just didn't work (I clicked & nothing happened). Also, most of the .cpl's in Administrative Tools don't work (eg Event Viewer). I have...
  19. LaundroMat

    &quot;Jumping&quot; to an anchor

    Well, that's how the link is constructed. I also wanted to dynamically switch between anchors and includes. I've found a way, through javascripting window.location(). It's true that the thread isn't the best placed in this forum though.
  20. LaundroMat

    &quot;Jumping&quot; to an anchor

    Suppose I have an HTML file with a few anchors in it. Now also suppose that I get the url "main.php?anchor=part_two" instead of "main.php#part_two". What would be the best way to translate the GET data into an anchor, and make the browser "jump" to the part of the page intended?

Part and Inventory Search

Back
Top