I put the variables email and password from POST to GET such that
Part of my *handle_login_form.php*
header("Location: /codes/index.php?ask_question&" . "email=" . $_POST['email'] . "&" . "passhash_md5=" . md5($_POST['password']) );
The user then clicks the About link. He should have the login info in the url, but he does not. He ha...
So I'm trying to grab the current URL of the page using Java's request object. I've been using request.getRequestURI() to preform this, but I noticed that when a java class reroutes me to a different page off a servlet request getRequestURI gives that that address as opposed to the orginal URL that was typed in the browser and which stil...
I am currently working on a site which resembles a forum in its essential structure. I have decided not to opt for using one of the established PHP frameworks (I have played with Rails before), partially to learn, and also partially because I believe they hinder development in the long term.
I wanted to know how important URL rewriting ...
Should Request.UrlReferrer be null in Page_Load when the page came from another site?
How do I check where the page came from? From google, yahoo?
It's not coming from a bookmarked page or anything, it's just a link being redirected to this page from another site.
I know that it's not a reliable way to check where the page came from, b...
Hi!
I have a web site written in ASP.NET which uses url rewriter. in my older server, it worked good. but i changed my server, and in this server links which has no extension, like http://www.mydomain.com/public/test
do not work. which IIS extension is needed for this. I don't have the source code of my web site.
Please help me. It's ...
How can you get the variables in URL to the next page in PHP?
The user is at the URL
http://localhost/codes/index.php?ask_question&[email protected]&passhash_md5=202cb962ac59075b964b07152d234b70
He sends a question and he goes to the following url where variables lost their values for some unknown reason.
http://localhos...
I'm assuming:
String abc = "My Documents/FileName.txt".Split('/')[1]; // is not the quickest way
Is it?
...
What is the most efficient way to realize php-driven permalinks?
Basically I want to reduce the database accesses to a minimum.
What is the best way to redirect to an id stored in the database?
...
Hello.
What I am doing is validating URLs from my code. So I have a file with url's in it and I want to see if they exist or not. If they exist, the web page contains xml code in which there will be an email address I want to extract.
I go round a while loop and in each instance, if the url exists, The xml is added to a string. This one...
What I want to do is have a page at /Products/Details/{id} which routes to the action details on ProductsController, and then an edit version of the page at /Products/Details/Edit/{id}. I tried to do this using [ActionName("Details/Edit")] on the Action but that doesnt work.
...
I have a Coldfusion site that is pulling in a feed that contains urls. I have some control over the urls so I know they will always start with http://. I want to wrap those urls in a href tags so they are clickable but I'm having trouble figuring it out. Any info you guys could give me would be amazing.
Eric
...
Using only DNS, how can I have http://www.example.com/ either redirect or resolve to http://www.anotherdomain.com/example ?
UPDATE:
Since it's been mentioned below that DNS cannot be used, what's the next best alternative (minimize load on server and provides the fastest redirect experience for the user) ?
...
Standard SEO caveat: It's a black box, and the algorithms are proprietary, and trying to predict and game the search engines is a crappy way to make a living.
That said, what are the baseline steps you want to take to make sure your content is visible to the major search engines (Google, Bing, etc.)
I'm specifically curious as to what ...
How can you make the if -clause which do this and this if
there is no variable in the URL by PHP?
there is no variable which has value in the URL by PHP?
Examples of the URLs which should be true for the if -clause for #1:
www.example.com/index.php
example.com/index.php
example.com/index.php?
Examples of the URLs which should be t...
Hey Guys,
I'm guessing this is a simple problem, but I'm just learning...
I have this:
var location = (jQuery.url.attr("host"))+(jQuery.url.attr("path"));
locationClean = location.replace('/',' ');
locationArray = locationClean.split(" ");
console.log(location);
console.log(locationClean);
console.log(locationArray);
And here is w...
This should be very simple ( when you know the answer ). From this question
I want to give it a try to the posted solution. And my question is:
How to get the parameter value of a given url using javascript regexp?
I have:
http://www.youtube.com/watch?v=Ahg6qcgoay4
I need:
Ahg6qcgoay4
I tried:
http://www.youtube.com/watch\\?...
I have a url,
example.com/?/page1
and i want to find out what the GET part of the url is, for example:
?/page1
how do i do this? like, without having to split strings and stuff?
...
Hi!
I am having the URL http://somesubdomain.domain.com (subdomains may vary, domain is always the same). Need to take subdomain and reload the page with something like domain.com/some/path/here/somesubdomain using greasemonkey (or open a new window with URL domain.com/some/path/here/somesubdomain, whatever).
...
How can you use the part after the question mark in the url which comes as a output of the following variable?
$_SERVER['HTTP_REFERER'];
I run unsuccessfully
if (0 !== $_GET['question_id'] && isset( $_GET['question_id'] ) ) {
$result = pg_execute( $dbconn, "query_fetch", array( $_GET[...
I want to "fix" all these URLs so, that all of the following URLs are valid (All the URLS are from the Domain "example.com":
before:
httpprache.htm
tech-z.htm
bla/blubbb.html
/suchen/bildung/schulen/abend.htm
/suchen/bildung/schulen/beruf.htm
www.google.de
http://www.google.com/asdf.html
https://blabla.com/
after:
http://example.com...