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!

Search results for query: *

  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"...
  16. techexpressinc

    pass varibles with javascript maybe php??

    I still do not have it working correctly yet. <script language="JavaScript"> VIH_BackColor = "palegreen"; VIH_ForeColor = "navy"; VIH_FontPix = "16"; VIH_DisplayFormat = "You are visiting from:<br>IP Address: %%IP%%<br>Host: %%HOST%%"; VIH_DisplayOnPage = "yes"; var ipaddr = '%%IP%%'...
  17. techexpressinc

    pass varibles with javascript maybe php??

    Here is more code, it is always going to the good ip url. I never get the ip to display it part two of code. <script language="JavaScript"> VIH_BackColor = "palegreen"; VIH_ForeColor = "navy"; VIH_FontPix = "16"; VIH_DisplayFormat = "You are visiting from:<br>IP Address...
  18. techexpressinc

    pass varibles with javascript maybe php??

    :chomp: I want to capture the user's ip address and do a different web page based on the ip address. The code below gets the ip address but i am having difficultly in using it an "if else " statement later. I am not sure how to proceed?? <script language="JavaScript">...
  19. techexpressinc

    How do I get a data stamp on the output csv file.

    I have a form that is creating rows on a *.CSV file. And would like to get a data stamp too on the file. For I know when the entries come in. How can I do this?? Thank you for any help or direction. Russ at ScanInc.org
  20. techexpressinc

    MS-Access 2007 - Compact &amp; Repair how?

    MS-Access 2007 - Compact & Repair how? -------------------------------------------------------------------------------- Is that option that was in 2003 still available ? I have some corruption on a DB. A big table I cannot get to export. I have used the compact and repair in the past with...

Part and Inventory Search

Back
Top