Internet Explorer: HTML entities in URL

I have got the following PHP code: echo "<input type='image' src='myImage.png' onClick='javascript:location.href = \"index.php?p=1&copy=true\"' />"; If I klick on the image, Chrome redirects to index.php?p=1&copy=true. But if I klick...
more »

2017-03-19 23:03 (2) Answers

How to setup a proper javascript path using path

I was wondering if anyone can help me correct this code. I am trying to setup 3 different button menus using var path = window.location.href; for main URL, Russian site and Spanish site. I seem to have 2 out of 3 working. I am also sorry if I'm no...
more »

2017-03-19 19:03 (1) Answers

URI vs URL vs URN with examples

Sorry for posting this being so long asked and answered theme before, but I've read tons of explanation and still have an ambiguity because of lack of examples.My question is based exactly on these two posts: First, Second I've placed all the exampl...
more »

2017-03-19 19:03 (0) Answers

No Reverse Match For Some URLs in Django 1.10

I am making an web app in Django 1.10 and am getting an annoying error which I cannot seem to resolve. In this project there are several Django app whose URLs function without problems and seem to have similar setup as the new Account app. However, t...
more »

2017-03-19 18:03 (1) Answers

How to remove many websites from Google?

I updated all my websites and all URLs. Unfortunately (almost) no single URL is still working, all have changed. But they are still in Google search results since weeks. I checked the with this: https://httpstatus.io. All are responding with a 404 ...
more »

2017-03-19 13:03 (0) Answers

Javascript - View all pages in one

So I have this: www.example.com/test.html?id=0&page=1 and I want with javascript to get the contents of all pages.. I tried this: www.example.com/test.html?id=0&page=1&page=2 but it just displays the first page How can I make it d...
more »

2017-03-19 01:03 (1) Answers

ngRoute dynamic url as first part of path

I want to create dynamic URLs in my website. I'm using Angular in front-end with ngRoute. I want basicaly this URLs: mysite.com/home mysite.com/about mysite.com/(station's name)/ - this is a page to each station I've created but when I acces a st...
more »

2017-03-18 21:03 (1) Answers

Php Routing Url with parameters

I try to parse my Url to my Router Class. For the begin all is clear i get my Url splitting it into a Array but my Problem at the moment is that i need to add my Routes first like $router->add("user/show/123"); or $router->add("article/2584/edi...
more »

2017-03-18 15:03 (0) Answers

Check if an URL is from a specific website

I want to check if the inputted URL is a link to a specific website. For example i would want to check if the inputted url is a link to a stackoverflow question https://stackoverflow.com/questions/1234567/random-question Here is an example link. A...
more »

2017-03-18 15:03 (0) Answers

how to replace space with _ in php

i have add some values to mysql with a space "bothof klimaattechniek" "barth installatietechniek" when i request it for a url then i only get the text in front of de space not the last part how can i fix this ? THIS IS THE URL I USE echo '<t...
more »

2017-03-18 14:03 (2) Answers

Change the url based on current_user - ROR

Say for instance I have a posts controller that currently has a method user_posts which shows all of the posts that are associated with the user with the associated id as so: def user_posts @user = User.find(params[:id]) @posts = @user.posts...
more »

2017-03-18 05:03 (1) Answers

Rewrite URL to exclude Django application name

on my live server, I am trying to remove/rewrite the need to include the application name in the URL, as without it I get a 404. For example: http://www.example.com/myapp/page.html to http://www.example.com/page.html This is especially tricky since...
more »

2017-03-17 17:03 (1) Answers

Setting URL params in Angular 2

I'm using following code: this.router.navigate(['/app/chart', {chartColor: this.color, chartWidth: this.width}]); And it sets my URL on: http://localhost/app/chart;chartColor=blue;chartWidth=600 And it's fine. But when I call that function (whi...
more »

2017-03-17 17:03 (1) Answers

Django is not displaying the image via /media/

Im stuck quite a while now I just can't display a picture a user has unloaded before. I have the option on my site to upload files and this part is working fine. I can see on the Admin Page via Posts that the image is there (name, title and tags)but ...
more »

2017-03-17 12:03 (1) Answers

Why my url modifier doesn't work?

I want to modify the url when I click on a button to remove the www.something/thispart so I made this code: //JS from alerte.html import { Template } from 'meteor/templating'; import { Session } from 'meteor/session'; import './404.html'; Templa...
more »

2017-03-17 07:03 (2) Answers

How to use cloud link in my android application

I want to know whenever user open my app some link will load automatically without webview. This mean whenever user open my app and that link will count the number. Its php stuff. link is fine. But I want to load my link in background whenever user o...
more »

2017-03-17 06:03 (0) Answers

I keep getting keyError: "data" Python

Ok.. I've actually tried so hard to figure this out by myself, but I just can't seem to figure it out. I'm trying to access a json file, and printing out some stuff that I wanted. The url I'm trying to access is this: https://www.reddit.com/user/...
more »

2017-03-17 02:03 (1) Answers