--------------------------------------------------------------------------------
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...
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...
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...
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...
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
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...
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...
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...
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
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')
{...
--------------------------------------------------------------------------------
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...
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...
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...
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"...
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%%'...
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...
: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">...
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.