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

    My script does nothing

    I'm not strong with javascript. Most of the code I'm using is cut and paste from another form on the website that I didn't write. I can't figure out why nothing is happening. It's probably something obvious. I'm simply trying to put a quick check on the email field to make sure it's not blank...
  2. RexJacobus

    Update query not working

    I have a table full of item numbers. I try to condense the table using the following query SQL UPDATE tbl2009Sales SET tbl2009Sales.Item = "PN" WHERE (((tbl2009Sales.Item) Like "PN*")); This is the SQL generated by the design wizard but it looks like good code to me. It should, in theory take...
  3. RexJacobus

    Multiple popups focus issue

    Hello, I have a page with several puzzles. I want the user to be able to click on a puzzle and the solution will come up in a popup. That part works fine. My problem is that if the user clicks on a second solution the first popup goes behind the main screen. I want the popups to remain on...
  4. RexJacobus

    Problems with watermark

    Here is the code (which was primarily generated from someone else's website). In Mozilla this creates a watermark in the location I want but at 100% opacity so you can't see through it. In IE, the opacity is how I want it but the watermark is aligned left. Any ideas, I'm not Mr. Javascript...
  5. RexJacobus

    Gettin no Unix error msg

    Hello, I need to write a simple cron that deletes things older than thirty days. I have created a file del_list.csh and placed it in the cron folder. The entire file is this: _______ #!/bin/csh # #set echo find <path>/toplist –name “*.html” –mtime +30 –exec rm –rf {} \; ------- If I type...
  6. RexJacobus

    Point me to a site please

    Hi, I am looking for a site where I might find overlap between strategy gamers and java programmers. I am trying to drum up some interest for a new bot at the Tantrix website and am looking for a good place to brown-nose potential volunteers. http://www.tantrix.com/english/TantrixBattle.html...
  7. RexJacobus

    Calling perl from javascript

    Please help. I'm trying to write a form that can overwrite some files on the server. In the head of my HTML form: function SendNews(f,n) { var decision =confirm("Are you sure you want to overwrite.")) if decision == true { {document.location =...
  8. RexJacobus

    Stop enter from submitting form

    I am creating a lost password form. The user puts in what he thinks his player name might be and the page goes and retrieves anything similar and asks the player if any of them looks right and if so choose the radio button that is your player name and click the submit button. The form then...
  9. RexJacobus

    Problem restoring MySQL db

    I am trying to restore the nightly backup to a test db. I log into the Unix shell and navigate to the backup directory. I type in mysql -u root -p <PWD> testDB < bkup.txt.gz. I get no error msgs just the "mySQL Ver 14.7 ... (and then all the mysql command-line options)" When I look in testDB...
  10. RexJacobus

    www missing

    If someone types www.myURL.com/Match/index.html the correct page loads and the url says http://www.myURL.com/Match/index.html FINE. If someone types www.myURL.com/Match/ the correct page loads and the url says http://www.myURL.com/Match/ FINE. But if someone leaves off the last slash and...
  11. RexJacobus

    update syntax error

    update tblmasteroverrun set tblmasteroverrun.games_total = tg.total_games from tbltotalgames tg where tlbmasteroverrun.uid = tg.uid I must be thick because I just can't see why this is giving me a syntax error. What am I missing? I've been staring at it for too long. thx, jim
  12. RexJacobus

    Global symbol requires package

    The beginning of all our scripts look like this use Mysql; use Debug; use Socket; use strict; require "include.pl"; require "tlib/subs.pl"; require "tlib/gs_db.pl"; require "tlib/common.pl"; inside gs_db.pl i have the code sub connect() { my ($script)=@_; my $db_type = $'db_type; my...
  13. RexJacobus

    Perl5lib variable

    Brand new PC, installed apache and perl. Ran a script and got the error: Can't locate Debug.pm in @INC (@INC contains: C:/usr/site/lib C:/usr/lib .) Debug.pm is a cgi-bin\tlib in a development section folder so that makes some sense. I checked this site and others and all things pointed to...
  14. RexJacobus

    problem installing Perl - getting code instead of 'hello world'

    I am trying to install Perl on my PC but am falling at the first hurdle. I hope this is something obvious that anyone with experience can tell me what I'm doing wrong. I have already installed appache and that seems to work. I have downloaded and kicked off...
  15. RexJacobus

    Joining a table to two fields

    I'm sure this is obvious but I just can't get my head around it. I have two tables, (PLAYERS contains ID, player_name etc, GAMES has player1_ID, p1_score, player2_ID, p2_score, date, etc). I can't get the join written so that my output looks like Federer 6 Roddick 4 01/01/2006. I can only...
  16. RexJacobus

    DBI Connect failed

    Apache is running. (I can run HelloWorld.cgi) MySQL is running and password is correct. (I can query from the cmd line) Can someone give me a clue why the following code doesn't work? ________________________________ #!/perl/bin/perl <i>(correct path in dev)</i> print "Content-type...
  17. RexJacobus

    DBD::initialisation failed:

    I am trying to set up a dev environment. Scripts which run fine on the live server give me the following error msg. DBD::initialisation failed: Can't locate object method "driver" via package "mysql" at c:\usr\lib\DBI.pm line 770 Perl works because I can view static webpages fine. Mysql works...
  18. RexJacobus

    Copying an open file

    At the moment my users copy a bunch of files down onto their hard drives and then zip them up. They want me to automate this. The problem is that FileCopy won't copy an open file and they want to be able to do this during working hours. Any suggestions on how to get around this? jim
  19. RexJacobus

    SendKeys

    Can you send the windows key using SendKeys? It isn't listed in the VB Help for SendKeys. jim
  20. RexJacobus

    Running VB as an NTService

    Hi, I have to set up an NT Service which a VB app which calls several SQL Server 7 stored procedures. I have set up other services which don't connect to SQL server and they run fine. Here is my code: Public mCon As New ADODB.Connection Public msConnectionstring As String msConnectionstring...

Part and Inventory Search

Back
Top