Rails friendly_id with arabic slug

My question is closely related to this one Rails friendly id with non-Latin characters. Following the suggested answer there, I implemented a little bit different solution (I know, it's primitive, but I just want to make sure it works before adding c...
more »

2017-04-18 23:04 (1) Answers

Site URL alias using mod_rewrite

I am developing a website, however I am trying not to have the unattractive url being displaced example instead of : /my_project/master_page.php?page=home and would like to display /my_project/project/welcome and so on, I am trying to achieve this by...
more »

2017-04-18 23:04 (0) Answers

Get Query String URL Path in PHP with $_SERVER

I have a form that has a "textarea" where I'm looking to capture the full URL of the page the user is on. Once this form is submitted I'm looking to include the full URL into an email that goes out. However, the problem I keep running into is that ...
more »

2017-04-18 20:04 (1) Answers

PHP form submit url redirect

I am trying to add a URL redirection code on form submit but I need to know where to place URL redirection code? My form works fine, but I need to redirect on submit to another URL. <?php session_start(); if ( isset($_POST['guvenlikKodu']) &&...
more »

2017-04-18 16:04 (0) Answers

@PathVariable in SpringBoot with slashes in URL

I have to get params from URL using @PathValiable in SpringBoot application. These params often have slashes. I don't have a control about what a user would enter in URL so I would like to get what he has entered and then I can handle with it. I hav...
more »

2017-04-18 13:04 (3) Answers

PHP mail function not works

Why is my PHP mail script not working? I already tried with the URL http://example.org/mail.php?email=myemail@email.com&subject=hello&message=hello&from=email@email.com but nothing happens. Here is the code for my script: mail ($ema...
more »

2017-04-18 11:04 (0) Answers

Dynamic list of urls in Twirl/Play

I'm trying to create a dynamic list of URLs in Twirl template with Play with no luck. I can't seem to map over a collection to create list of URLs for some reason. This is what I have: @casesCollection.map(e => { <td><a href="/cases/...
more »

2017-04-18 10:04 (0) Answers

Delete route not being hit in my code

images.html <body> {% if msg %} <h1>{{ msg }}!</h1> {% endif %} <div class="container"> <h1>Here you can upload a file</h1> <form id="upload_form" action="/upload" method="POST" enctype="multipart/fo...
more »

2017-04-18 09:04 (0) Answers

Seamless url change

How do sites like this change urls seamlessly? If you scroll on this link it animates a transition and the url changes from: http://www.e-types.com/ to http://www.e-types.com/work And if you click the logo it transitions back without any flick...
more »

2017-04-18 06:04 (1) Answers

argument/value in php link

I got 2 .php pages: index.php : the main page with 4 pictures (1 by sensor) function.php : display temperature from a sensor and send it with the sensor id to a database I want to click on the sensor's pic and be redirected to a display page (fun...
more »

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

how to map properly url param in spring?

I'm new to web development and I don't know how to map this url in spring. this url that I get, is the url that github sends me after the user authorizes my app to make requests on his behalf. http://localhost:5000/DashboardApp/app/index.html?code=A...
more »

2017-04-18 02:04 (1) Answers

Wordpress custom URLs for pagination pages

I’m trying to find a way to make custom URLs for each pagination page separated by "nextpage" tag. For example if first page is: http://myblog.com/my-topic/ the second one will be: http://myblog.com/my-topic/2/ Is it possible to customize this ...
more »

2017-04-18 01:04 (0) Answers

SAML SSO - deep link - Assertion URL

We have a SAML integration with a vendor. Idp on our side is ADFS 2.0. Whenever user clicks on a link to vendor from our site, user will be redirected back to adfs login page. After successful authentication they will be redirected to vendor's saml a...
more »

2017-04-17 22:04 (0) Answers

How to keep safe my apps and its webadmin?

I got developed an android apps by a developer with corresponding its web-admin in php. It is an ecommerce site. As my one of my staff has little knowledge about apk & php and has access to my apk file & admin code both. So i am fearing that ...
more »

2017-04-17 20:04 (0) Answers

Google Maps URL Scheme for iOS - Terms of usage

I'm thinking about using the Google Maps URL Scheme to provide the user with directions to certain places in my iOS app that will be available on App Store.In the tutorial , it is stated that an Google API key is not needed for this. My question is,...
more »

2017-04-17 11:04 (0) Answers

How to load another url in webview?

Here is the code, I want to open pdf file by google ,but it didn't work when I click a link. Where is wrong with code? using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using An...
more »

2017-04-17 07:04 (0) Answers

fileExistsAtPath doesn't work with a localhost URL

I have an URL file located in the WebServer folder of my Mac. When I want to read the file like this with my localhost (http://192.168.1.95), it works: NSURL *numberOfAccounts = [NSURL URLWithString:@"http://192.168.1.95/NumberOfAccounts"]; NSStrin...
more »

2017-04-16 11:04 (1) Answers

Anti-Virus Telling me that Cache Files are Viruses

After I ran a project in Xcode on my Mac that allowed arbitrary loads and loaded data from a URL, I have constantly been getting messages from my anti-virus that nearly every cache file on my computer is a virus. I have run a full scan with AVG and A...
more »

2017-04-16 09:04 (0) Answers

Yahoo! Finance API in App

I'm developing an finance app and want to use Yahoo! Finance API in my app as real-time updates 1) is it free and legal? 2) any other alternative like google finance ? 3) useful links/url ...
more »

2017-04-16 09:04 (0) Answers

IIS Truncate a part of URL

I have an url like that http://swpafrct801/cerebro/#/connect. I wanted hide everything after /cerebro/ with a IIS rule. For moment, in IIS, I have this rule : <rewrite> <rules> <clear /> <rule name="ReversePr...
more »

2017-04-15 15:04 (0) Answers