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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by techexpressinc

  1. techexpressinc

    Automating the download of rpts

    -------------------------------------------------------------------------------- I have a report that has 9 sections. I export to PDF and save it to My Documents and then email. A new requirement, is that each of the sections is a separate document to be email. I could break it apart to 9...
  2. techexpressinc

    combining edits syntax help needed

    Fixed below is the working code! .style14 { text-align: center; } </style> <script type="text/javascript"> function formValidator(){ var zip = document.getElementById('ZipCode').value; if (/^\d{5,9}$/.test(zip)) { return true; } else alert("Please enter a valid zipcode between 5 and 9...
  3. techexpressinc

    combining edits syntax help needed

    Dian - that 4th parameter is ignored thx for pointing it out I should clean-up the code. The problem is I what both edits. Length and Numeric checks. This code snapshot does the length but not the numeric. I can not seem to get the edits coded to both happen. I have tried for a couple hrs...
  4. techexpressinc

    combining edits syntax help needed

    I have Two edits I want to do on the zip code field. I can get them to work independently. But, I can not get the syntax right to have both edits working. Below is the code with the length one working. I want to add the numeric edit too. Can someone help me get the syntax right, I have spend...
  5. techexpressinc

    Open a new window based on IP

    Good point. See I got confused, I did install some Pearl code before. I did a rename back to filename.php. I thought that cgi-bin would be a good place to "hide" the code. I moved to htdoc folder and it works better there. Russ
  6. techexpressinc

    Open a new window based on IP

    Growl - I am not there yet! I put the code with the directory: cgi-bin and then put this in the URL: http://www.techexpressinc.com/ipfliper.pl I get "Page Not Found?? why.." if I put in the complete URL http://www.techexpressinc.com/cgi-bin/ipfliper.pl I get HTTP Error 500 - Internal...
  7. techexpressinc

    Open a new window based on IP

    I do not regularly deal with this stuff and need pointers. I now vaguely remember some the processes. The PHP goes to hosting site in the cgi-bin directory with the suffix phpcode.pl. The the HTML page hyper links to it www.website.com/phpcode.pl to be redirected. Does this sound like the...
  8. techexpressinc

    Open a new window based on IP

    I am trying to open a new window based on whether the person is in the office or not. I put this in the body of html and nothing happen? Any ideas from anyone on making it work? Thanks Russ <?php if ($_SERVER['REMOTE_ADDR']=='63.131.12.170') { header('Location...
  9. techexpressinc

    visitor ip address to determine what web page displays

    Feherke - Thanks I will gave it a try. Russ @ TechExpressInc.com
  10. techexpressinc

    visitor ip address to determine what web page displays

    Feherke - So you are suggesting that I use some PHP code on the server to confirm access? /php $ip=@$REMOTE_ADDR; echo "<b>IP Address= $ip</b>"; / then get it to open a new page? Russ
  11. techexpressinc

    visitor ip address to determine what web page displays

    I think i want some like this that works, please advise: <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin // This JavaScript uses server side includes ("SSI") so this document's name must end in .shtml function ban(){ var ip = '<!--#echo var="REMOTE_ADDR"-->'; if (ip == '63.131.12.170') {...
  12. techexpressinc

    MS-Access 2007 - Switchboard edit failing??

    -------------------------------------------------------------------------------- I found the problem. I had some bad VB code. That caused the edit of the switchboard to fail. I had some extra comments in front of the VB code. I removed them and all is running smooth. The Switchboard had not...
  13. techexpressinc

    MS-Access 2007 - Switchboard edit failing??

    MS-Access 07 - It displays ugly. I try to edit the swithbox and the pop-up message happens: "Compile error, in query expressing 'IIf(IsNull [Arguement]),"',([Arguement])" And that is it. No editting allowed?? How can I patch up the current switchboard or must I trash it and start all...
  14. techexpressinc

    pass varibles with javascript maybe php??

    I think I should just copy the script over. Now that script is PHP correct? "src="http://scripts.hashemian.com/js/visitorIPHOST.js.php"></script>" Then the varible might be more easily accessed right? Let me know your thoughts. Thank you I would just do this in my html code: <?php //your...
  15. techexpressinc

    pass varibles with javascript maybe php??

    I fixed the syntax error and it is still not working. The problem appears to be getting the ip address varible to the if statement. This is what i am testing with and failing now. <script language="JavaScript"> VIH_BackColor = "palegreen"; VIH_ForeColor = "navy"; VIH_FontPix = "16"...

Part and Inventory Search

Back
Top