Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une
condition if (voir ci-dessous en bas du script) mais la redirection ne
fonctionne pas. Par contre la condition est bien validée car le cookie (crée
précédemment) est bien effacé par SetCookie.
Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance
Steph
<SCRIPT language="javas cript" type="text/javascript">
var pathname=locati on.pathname;
var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/';
var date_exp = new Date();
var date_del = new Date();
date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1
heure
date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) {
var argv=SetCookie. arguments;
var argc=SetCookie. arguments.lengt h;
var expires=(argc > 2) ? argv[2] : null;
var path=(argc > 3) ? argv[3] : null;
var domain=(argc > 4) ? argv[4] : null;
var secure=(argc > 5) ? argv[5] : false;
document.cookie =name+"="+escap e(value)+
((expires==null ) ? "" : (";
expires="+expir es.toGMTString( )))+
((path==null) ? "" : ("; path="+path))+
((domain==null) ? "" : ("; domain="+domain ))+
((secure==true) ? "; secure" : "");
}
function getCookieVal(of fset) {
var endstr=document .cookie.indexOf (";", offset);
if (endstr==-1)
endstr=document .cookie.length;
return unescape(docume nt.cookie.subst ring(offset, endstr));
}
function GetCookie (name) {
var arg=name+"=";
var alen=arg.length ;
var clen=document.c ookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if (document.cooki e.substring(i, j)==arg)
return getCookieVal (j);
i=document.cook ie.indexOf(" ",i)+1;
if (i==0) break;}
return null;
}
// CHECK IF INDEX VALUE SET
var index=GetCookie ("Index");
if (index!="") {
src=http://www.siteweb.com/fichier.php?par tnerID=partner;
//DELETE COOKIE
SetCookie("Inde x","",date_del, myDomain);
}
</SCRIPT> 7 2119
"Steph" <mc****@hotmail .com> a écrit dans le message de news:
43************* **********@news .free.fr... Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner; //DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); }
</SCRIPT>
A la fin du script, il y a une petite erreur, partner = index.
Steph wrote: Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner;
I believe the problem is here. You should change it to:
window.location .href =
"http://www.siteweb.com/fichier.php?par tnerID=partner" ;
//DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); } </SCRIPT>
"web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@f14g2 00...legr oups.com...
Steph wrote: Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner;
I believe the problem is here. You should change it to:
window.location .href =
"http://www.siteweb.com/fichier.php?par tnerID=partner" ;
//DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); }
</SCRIPT>
Yes that's work fine !
Can you just tell me how i can pass the variable index to the php file.
Indeed with the 'http://www.siteweb.com/fichier.php?par tnerID=index"; the
partnerID equal index but not equal to variable contained into index.
Many thanks
Steph
Steph wrote: "web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@f14g2 00...legr oups.com...
Steph wrote: Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner;
I believe the problem is here. You should change it to:
window.location .href = "http://www.siteweb.com/fichier.php?par tnerID=partner" ;
//DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); }
</SCRIPT> Yes that's work fine ! Can you just tell me how i can pass the variable index to the php file. Indeed with the 'http://www.siteweb.com/fichier.php?par tnerID=index"; the partnerID equal index but not equal to variable contained into index.
Many thanks Steph
If I understood correctly, then this is what you want:
window.location .href = "http://url" + index;
Hope this helps :)
"web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@g47g2 00...legr oups.com...
Steph wrote: "web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@f14g2 00...legr oups.com...
Steph wrote: Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner;
I believe the problem is here. You should change it to:
window.location .href = "http://www.siteweb.com/fichier.php?par tnerID=partner" ;
//DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); }
</SCRIPT> Yes that's work fine ! Can you just tell me how i can pass the variable index to the php file. Indeed with the 'http://www.siteweb.com/fichier.php?par tnerID=index"; the partnerID equal index but not equal to variable contained into index.
Many thanks Steph
If I understood correctly, then this is what you want:
window.location .href = "http://url" + index;
Hope this helps :)
Yes it works, thanks !
Last question (if you don't mind) : if i have more than one javascript
variable to pass with the URL to the php file like
http://url.php?partner 1=$index1&partn er2=$index2&par tner3=$index3 what is
the exact synthax to use with window.location .href ?
Steph wrote: "web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@g47g2 00...legr oups.com...
Steph wrote: "web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@f14g2 00...legr oups.com...
Steph wrote: Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner;
I believe the problem is here. You should change it to:
window.location .href = "http://www.siteweb.com/fichier.php?par tnerID=partner" ;
//DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); }
</SCRIPT> Yes that's work fine ! Can you just tell me how i can pass the variable index to the php file. Indeed with the 'http://www.siteweb.com/fichier.php?par tnerID=index";t he partnerID equal index but not equal to variable contained into index.
Many thanks Steph
If I understood correctly, then this is what you want:
window.location .href = "http://url" + index;
Hope this helps :)
Yes it works, thanks ! Last question (if you don't mind) : if i have more than one javascript variable to pass with the URL to the php file like http://url.php?partner 1=$index1&partn er2=$index2&par tner3=$index3 what is the exact synthax to use with window.location .href ?
In that case you would do something like this:
window.location .href = "http://url.php?partner 1=" + index1 +
"&partner2= " + index2 + "&partner3= " + index3;
"web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@g49g2 00...legr oups.com...
Steph wrote: "web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@g47g2 00...legr oups.com...
Steph wrote: "web.dev" <we********@gma il.com> a écrit dans le message de news: 11************* *********@f14g2 00...legr oups.com...
Steph wrote: Bonjour,
Je souhaite lancer une redirection vers un fichier php via SRC= dans une condition if (voir ci-dessous en bas du script) mais la redirection ne fonctionne pas. Par contre la condition est bien validée car le cookie (crée précédemment) est bien effacé par SetCookie. Pourriez-vous me dire ce qui ne va pas ?
Merci d'avance Steph
<SCRIPT language="javas cript" type="text/javascript"> var pathname=locati on.pathname; var myDomain=pathna me.substring(0, pathname.lastIn dexOf('/')) +'/'; var date_exp = new Date(); var date_del = new Date(); date_exp.setTim e(date_exp.getT ime()+(3600*100 0)); // cookie de 1 heure date_del.setTim e(date_del.getT ime()-(365*24*3600*10 00)); // Tuer le cookie
function SetCookie (name, value) { var argv=SetCookie. arguments; var argc=SetCookie. arguments.lengt h; var expires=(argc > 2) ? argv[2] : null; var path=(argc > 3) ? argv[3] : null; var domain=(argc > 4) ? argv[4] : null; var secure=(argc > 5) ? argv[5] : false; document.cookie =name+"="+escap e(value)+ ((expires==null ) ? "" : ("; expires="+expir es.toGMTString( )))+ ((path==null) ? "" : ("; path="+path))+ ((domain==null) ? "" : ("; domain="+domain ))+ ((secure==true) ? "; secure" : ""); }
function getCookieVal(of fset) { var endstr=document .cookie.indexOf (";", offset); if (endstr==-1) endstr=document .cookie.length; return unescape(docume nt.cookie.subst ring(offset, endstr)); } function GetCookie (name) { var arg=name+"="; var alen=arg.length ; var clen=document.c ookie.length; var i=0; while (i<clen) { var j=i+alen; if (document.cooki e.substring(i, j)==arg) return getCookieVal (j); i=document.cook ie.indexOf(" ",i)+1; if (i==0) break;} return null; }
// CHECK IF INDEX VALUE SET var index=GetCookie ("Index"); if (index!="") { src=http://www.siteweb.com/fichier.php?par tnerID=partner;
I believe the problem is here. You should change it to:
window.location .href = "http://www.siteweb.com/fichier.php?par tnerID=partner" ;
//DELETE COOKIE SetCookie("Inde x","",date_del, myDomain); }
</SCRIPT> Yes that's work fine ! Can you just tell me how i can pass the variable index to the php file. Indeed with the 'http://www.siteweb.com/fichier.php?par tnerID=index"; the partnerID equal index but not equal to variable contained into index.
Many thanks Steph
If I understood correctly, then this is what you want:
window.location .href = "http://url" + index;
Hope this helps :)
Yes it works, thanks ! Last question (if you don't mind) : if i have more than one javascript variable to pass with the URL to the php file like http://url.php?partner 1=$index1&partn er2=$index2&par tner3=$index3 what is the exact synthax to use with window.location .href ?
In that case you would do something like this:
window.location .href = "http://url.php?partner 1=" + index1 +
"&partner2= " + index2 + "&partner3= " + index3;
Great !
Many thanks for your quick support This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Topspin |
last post by:
I'm running PHP on Windows, but that's just the local test... in production
it will be on Apache.
I am not using PHP as a CGI. I want to perform redirection of the user's
browser if the user isn't a valid user. I don't want to use the refresh
meta tag or javascript to do this. I want to do this with some sort of
server command.
Does anyone know how to make this work? Here's my code...
<?php
|
by: shane turner |
last post by:
Is there any way to do a progress bar redirection using Javascript? If
so, where can I find an example?
|
by: Wazz Up |
last post by:
Hi,
I'm trying run an image slide show where the images rotate once each,
then after the last image in the array has been displayed for the
specified amount of time, a redirection to another page occurs. The
problem I'm having is that the redirection happens as soon as the last
image is displayed.
Here's an example of a normal version where the images rotate
continuously and the redirect version that isn't working properly:
|
by: pdc |
last post by:
I have two web servers that I use, one is the primary and the other is a
backup for when the server is down.
I use a third, central server which redirects a browser's initial link to
one of my web servers.
Rather than getting involved with CGI to determine the status of the web
servers, I found and implemented the following javascript.
<!- this is a very simple page that uses javascript to detect
whether or not a gif file can be...
|
by: pdc |
last post by:
have two web servers that I use, one is the primary and the other is a
backup for when the server is down.
I use a third, central server which redirects a browser's initial link to
one of my web servers.
Rather than getting involved with CGI to determine the status of the web
servers, I found and implemented the following javascript.
<!- this is a very simple page that uses javascript to detect
whether or not a gif file can be obtained...
| |
by: Luciano A. Ferrer |
last post by:
Hi!
I was following the http://www.seomoz.org/articles/301-redirects.php
article, trying to do that with one of my test sites
I added this to the .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^domain\.com.ar
RewriteRule ^/(.*) http://domain.com.ar/$1
|
by: comp.lang.php |
last post by:
require_once("/users/ppowell/web/php_global_vars.php");
if ($_GET) {
// INITIALIZE VARS
$fileID = @fopen("$userPath/xml/redirect.xml", 'r');
$stuff = @fread($fileID, @filesize("$userPath/xml/redirect.xml"));
@fclose($fileID);
// XML PARSE
|
by: Massimo Fabbri |
last post by:
Maybe it's a little OT, but I'll give it try anyway....
I was asked to maintain and further develop an already existing small
company's web site.
I know the golden rule of "eternal" URIs, but in this case changing them
cannot be avoided as they were badly chosen when thwe site was first
delevoped: URLs with spaces, typos, etc. So I have to use new URLs and
put the content in them.
|
by: Oliver Wong |
last post by:
I'm trying to have the "submit" button of a form open a new window
which loads a PDF, and also to redirect the window containing the submit
button to a new location. Here's a small HTML file demonstrating my code:
<html>
<body>
<input type="button"
onclick="window.open('http://www.cs.ubc.ca/~lowe/papers/ijcv04.pdf');
window.location = 'http://www.google.ca/';"/>
</body>
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |