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 TouchToneTommy 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: Itshim
  • Content: Threads
  • Order by date
  1. Itshim

    Save As...Slow Response

    It all started when I noticed my computer getting a little sluggish. I ran Anti-virus, Anti-Spam, disk cleanup, and defrag. This seemed to fix my sluggish issue, but now my 'Save As...' dialog box, takes about 20-30 seconds to open. It only happens the first time I attempt to 'Save As'. I...
  2. Itshim

    MySQL / PHP INT values

    When querying data out of MySQL into PHP, all values from MySQL arrive in PHP as strings, even if the MySQL column type is INT. This is documented behavior, but I was wondering if someone could explain why this is the case. The data type returned by MySQL corresponds to the column type, so why...
  3. Itshim

    include() failed...Or did it?

    Doing some testing, I have found that when and include statement fails to open a stream it returns boolean FALSE (along with generating warnings), but an included file could also return FALSE. I would like to know if there is a way to determine (programmatically) if the include failed or it was...
  4. Itshim

    Loading Extensions PHP5

    I have Apache 2.2/PHP 5.2 running on WinXP, and I'm having a strange problem with loading some extensions. I noticed the problem when I tried to use the pspell extension. When restarting apache I receive 'C:\\Program Files\\PHP\\ext\\php_pspell.dll' - The specified module could not be found...
  5. Itshim

    Subdomains on LAN

    Greetings, I have a small, 3 machine, LAN setup. One computer is running Apache2, with several subdomains. All computers on the network can see the main domain, but cannot access any subdomains. The computer which is running Apache can access the subdomains fine using both...
  6. Itshim

    A disk read error occurred.

    I have a CPU running Windows XP Pro, the computer is a few years old and have had no problems with it (other than the usual). I was using the computer last night, without any issues, and I shutdown the system normally. This morning I started the computer and after the hardware was detected, I...
  7. Itshim

    Finding The Server's Document Root

    I have a directory where I store files of sensitive data (db credentials, and such) along with other files where I have altered the permissions, so that PHP can write to the files. Because of the nature of these files I place this directory outside the server's DOCUMENT ROOT I am trying to...
  8. Itshim

    scrollTo not working in IE6 or Opera

    OK, I'm stumped. I am trying to use window.scrollTo(x, y) when after a page has finished loading. The code works fine in Netscape/Mozilla, but fails in Opera/IE6 (possibly other versions of IE, but I only have 6 to test on ATM). I was obtaining the x/y coordinates dynamically, but since it...
  9. Itshim

    Mapper Pattern

    For an application I'm working on, I have two classes which represent a 'user' one controls all the db functionality, and the other provides access to the 'current user' attributes, or is a blank slate to create a new user. Simply the classic mapper pattern. Now...I have an interface which...
  10. Itshim

    Does eval() == evil

    This is more of an opinion question that an actual coding problem... When I was first learning PHP I came across some material which said to always avoid using eval() whenever possible; because of the obvious security risks if you are not extremely careful. There were times in the past when...
  11. Itshim

    Tips on a good design

    Here's the rundown: I am currently working on a project where 'members' have the ability to create a profile of themselves (but are not forced to). The profiles need to be approved before they are 'active'. So I came up with three table: member (parent_key: member_id) profile...
  12. Itshim

    Combine two queries

    I have these two queries that I would like to combine, but I am to the point, where I'm not sure its possible. The two queries are: //delete from correlation table DELETE FROM site_keyword WHERE keyword_id = 50 //clean up keyword table DELETE FROM keyword k LEFT JOIN site_keyword sk ON...
  13. Itshim

    View Source FireFox/Mozilla

    I maybe a little slow on the uptake, but I just happened to notice that when viewing source code within FireFox you can press Ctrl-R (on Windows) or Click View->Reload from the menu bar and it FireFox will reload the source code without refreshing the original window (tab). Since I discovered...
  14. Itshim

    Freelance Ethics

    Not so long ago I worked as a freelance developer. Several of my projects were through a freelance website like Rent-a-Coder, which is the case with the one I'm referring to in this post. Anyway, I received an invitation to place a bid on a project. The company which invited me to bid...
  15. Itshim

    Advice on developing a MultiLingual Site

    I am currently developing my first multilingual site (what a pain in the A$$). I have done research on the gettext extension and I've read that every time a new translation is made the server will need to be rebooted so the config file can be loaded again. (If this is not true, please let me...
  16. Itshim

    PHP4 Objects in $_SESSION

    I am creating an application which requires three standard objects on every page load, once the user is logged in. Since I know these three objects are required for every page, I have decided to store them in the $_SESSION array, in hopes of cutting down the overhead of creating new objects...
  17. Itshim

    Minic try catch{} in PHP4

    Greetings, Has anyone ever tried to setup a 'try catch' scenario in PHP4? My reason for asking is: I have a piece of code (we'll call it: base code) which all other code must go through to access the db. The base code performs some validation and escapes values...because the base code can...
  18. Itshim

    auto-increment starting value

    If I have a column in a table like this: member_id int unsigned NOT NULL auto_increment Will MySQL ever assign zero as the auto-increment value? If so, in the create table statement, is there a way to set the starting value of an auto-increment column? Reading the MySQL manual I see that...
  19. Itshim

    Two PHP versions on one Windose/Apache machine

    I needed to install an old version of PHP on my development machine, without disrupting my current version. To do this, I moved all the PHP drivers and ini files out of my Windows and SYSTEM32 directories and placed them in my c:/php/ directory. I then created a new directory 'c:/php4/' and...
  20. Itshim

    How PHP compares complex variables

    By complex variables, I mean comparing a user variable with a PHP variable like $_FILES. I need to determine if a variable sent to an object method is the entire $_FILES var or if the user has sent some portion of the $_FILES var. I was thinking of using something simple like: if...

Part and Inventory Search

Back
Top