Hi,
I am having a weird browser issue - works fine with FF, chrome but not in IE
What I am trying to do is dynamically form the html for printing a coupon - and a part of it is a link redirecting to another page
onclick = String.Format("javascript:PostBackCoupon123('{0}','{1}');", zipCode, cityName);
couponContent.AppendFormat("<a bor...
I have a problem with redirection, in my work I have to make a connection to a URL that automatically go to another URL at this point it takes the credential (username and password) and redirect to a URL that contains a parameter which need me. How can I take this parameter?
To be precise, I have to do this:
Embed a Web browser wit...
Hello folks,
After adding Auth component while accessing the home page it redirects to login page
ie., let www.domain.com is my url.
After adding the auth component when i try to access www.domain.com it redirects to www.domain.com/logins/login.
how can i avoid this initial redirection??
i already given a route as below
Router::co...
I am trying to create an htaccess file to redirect my entire site except with some exceptions, but I can't get it working. I need to redirect the entire thing, provide a specific redirect, and exclude two pages. Below is my non-working sample. Thanks!
RewriteCond %{REQUEST_URI} !^/events/index.html
RewriteCond %{REQUEST_URI} !^/calendar...
Hi guys,
I've been tinkering with URL Rewriting on my site and fixing the canonicalization of my URLs (so I don't have duplicate data on search engines, etc.) and it was recommended everywhere to either always remove/force the trailing slash (I chose to remove it) and also to redirect /index to . So I put the following two rules in my ...
I've been trying various methods (popen, pipes + fork/exec, ...) to read a child process' output, all of which are working, but exhibit the same behavior: whenever I try to read the output using read/fread, it only returns when the buffer is completely full, or when the child exits. I'm looking for a behavior that's more like that of soc...
Hi,
I'm spawning a process from Win32 using CreateProcess, setting the hStdOutput and hStdError properties of STARTUPINFO to pipe handles created with CreatePipe. I've got two threads reading the pipes, waiting for data to become available (or the process to complete, at which point it checks that there is no data left before terminati...
Hope this doesn't get too complicated. :) thing is..
I'm trying to make my PHP code post notes to Google Buzz using OAuth as authentication mechanism. I'm doing the typical "OAuth dance" (get request token, authorise it, exchange for access token), but i've ran into some problems that seem to be on Google's side. Hope i'm wrong - it wou...
hello,
i'm triying to use javascript redirect to main window after log in succeed in an iframe.
this is my code :
if ($_GET['redirect']!='') {
$redirect=$_GET['redirect'];
$smart->assign('redirect',$redirect);
}
$redirect=$_GET['redirect'];
echo $redirect;
if(isset ($_SESSION['user'])&&$_SESSION['user']!='') {
$user->...
Currently I have a main process that creates an anonymous pipe and a child process and then uses the pipe to redirect console output to the child process.
The pipe is created with CreatePipe, the read handle is passed as the StdIn handle for the new process using CreateProcess, and stdout of the main program is redirected to the write h...
I want to do a print on a argument that is on the URL, like this(in this case it's Google):
http://bitoffapp.org/?http://google.com/
I want to get that and print it like this:
print("Go <a href='$url'>back</a> to the page you was before the login);
How can I do this?
...
I need to move all requests from one domain to another. I want to change part of URL, like subdomain.olddomain/url -> subdomain.newdomain/url.
I was sure that this is piece of cake and wrote Application_Begin request as:
void Application_BeginRequest(object sender, EventArgs e)
{
string url = Request.Url.ToString().ToLower(...
Hi everyone,
I'm trying to redirect visitors of my blog to either the french or the english version.
So I made this .htaccess :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
#---------------------
# Language Redirection
#---------------------
# Checking if the redirection didn't occur yet
# Checking that the url doesn't begin...
i have a specific single page which display a single post.
the thing is that i want to display below it all the other posts which have the same special meta data and i made that to work as well.
the problem starts when i try to make pagination to the list of the posts below.
the single post url is something like that:
blog.com/somepos...
I want to write a console application that have a different behavior depending if the input is coming from keyboard or from, say, a file.
Is it possible? What's the most elegant way to do it in C#?
...
Hi There,
I'm trying to make the following redirection (301) using .htaccess
*?page=1 redirects to *
(where * is a wildcard).
Basically, I just want to prevent anyone accessing a page with ?page=1 at the end of the URL, and instead direct them to the same url minus '?page=1'.
Is there a quick way of doing this?
Many thanks!
...
Hi all,
Any one here know how to set up redirection from https to https?
On Sun One, we can go to the virtual server's Content Management tab, click on URL Forwarding and set up http to https forwarding, but I can't find any way to specify https to https.
Please give this n00b a clue. Thank you.
...
The following htaccess based redirection rule works fine:
Redirect 301 /content/category/2/24/30/ /new/c/url/
The problem is it works too well. If a user goes to
/content/category/2/24/30/50/50/
it will redirect to:
/new/c/url/50/50/
How can I get it to do a strict match? Either redirecting both examples to simply:
/new/c/url/...
Various bash commands I use -- fancy diffs, build scripts, etc, produce lots of color output.
When I redirect this output to a file, and then cat or less the file later, the colorization is gone -- presumably b/c the act of redirecting the output stripped out the color codes that tell the terminal to change colors.
Is there a way to ca...
I have an html page. On that page I want to open popup window. I have a link on which I have to click & open new pop up. But, it is not a new browser window. It is AJAX based popup.
I do have used Queness popup & YUI dialog popup.
Now, in that window I want to show an iframe which will display page related to link I have clicked. But, ...