FAQ Database Discussion Community


Free PHP and MySQL Web hosting

php,mysql,web,odbc,web-hosting
I am currently looking for a FREE PHP and MySQL web hosting site. I used to use 000webhost but I ran into a problem with that, I made a small program in c# and wanted it to access the database but whenever it tried to connect to it, I recieved...

Protect video from video from capturing

java,security,web,filesystems,system
I have a webpage with a video. I have to protect this video from capturing it from browser with video capturing programms. I think that for this task i need to check process list or something like this, but to do this i have to use Java. Could anyone give...

Why the names of some css, js files have random numbers in them?

html,web,filenames
Some websites seem to have file names such as 'assets/app-02b4523sev8fsd56e.js'. I have noticed that these numbers do not change though, so I thought it has something to do with security but I am not sure. Is there any reason behind this?

Is there any way to find out when an album got added to spotify with the web api?

javascript,api,web,timestamp,spotify
My usecase is to present the latest added album of an artist (regardless of releasedate). I use the https://api.spotify.com/v1/artists/[artistId]/albums to get the albums but I can't find any information about how the response is ordered. Is it random or actually sorted by the date the album got added to spotify?...

how to differentiate between normal url and image url programmactically

python,http,url,web
how to differentiate between normal url and image url(url which have just image). normal url: http://www.wikipedia.org/ image url: https://encrypted-tbn1.gstatic.com/images?q=tbn%3AANd9GcTwC6cNpAen5dgGgTmmH2SG75xhvTN-oRliaOgG-3meNQVm-GdpUu7SQX5wpA...

How to get a list of all installed applications in client's computer?

javascript,html,windows,ubuntu,web
I want to know the html code which can list all applications installed in client's PC ?? Does any one know the way ?? Thanks for response in advance.

How to make function work when the mouse not moving?

javascript,jquery,html,html5,web
$(document).ready(function() { var score = 0; $("body").mousemove(function() { score++; $("#result").val(score); console.log(score); }); }); The score will increase every time when I move the mouse, but how should I add a function to decrease the score until 0 when the mouse is not moving?...

Revoke User Creation, write to DB

php,mysql,sql,web
This is a very small school project. I am very new to PHP & SQL. I have a form, in which the user enters their desired username & password. Thereafter, I am trying to check my database so as to see whether an account with the same username already exists....

Web API returning null JSON objects C#

json,api,web,large-data-volumes
I have a web API returning 117k JSON objects. Edit: The API is calling MySQL to fetch 117k rows of data, putting them into a IEnumerable and sending them through JSON All I see is [{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},... the entire page... I wanted to ask how someone what is happening and how...

Safe general config file for webapp

php,web,configuration-files
I would like to keep all config options for a webapp in one file. (pathes, passwords, options which are read by php, sass (during compilation), maybe grunt,..) I like the JSON format since its very clear and almost anything can parse json. But by default .json files can be downloaded....

Ways to prevent user from reloading/refreshing page in quiz taking application

javascript,jquery,html,web
I am currently trying to figure out a strategy for not allowing a user to refresh/reload a page during the quiz. I know it's not a good idea, or even possible, to completely disable the reload feature in the browser, but are there any other ways to keep the user...

curved style for image

html,css3,web,styles
How to design the curved style for the image in 3d! The original image has to be show like below image. Because In 3d rotation I need to show it in dynamically like the below image. For editing in Photoshop for each image has take much time so it need...

How HTML FORM take only letters not numbers?

php,html,web
In may Addvalue.php file 3 fields id, name, color… in id only numbers allow, in name and color only letter is allowed. Values successfully inserted into my database, but the problem is when user write NAME and COLOR in the HTML FORM field only LETTERS allow to write, if write...

Parse.com To Do web app deployment issue

javascript,backbone.js,web,parse.com,cloud
Apologies for basic question. I am very new in web development . I have download parse.com javascript web To Do App from https://parse.com/tutorials/todo-app-with-javascript . Now I want to deploy with parse.com. So that I can browse this app using http://mytestapp.parseapp.com. But when try to deploy using "parse deploy" command getting...

How to get key (index) value of a textbox in array textboxes

javascript,jquery,html,web
I want a jQuery function or javascript that alert the index and the value of array textboxes : e.g. <input type="text" name="textbox[]" value="1" onblur="javascriptfunction(this.value,this.index)" /> <input type="text" name="textbox[]" value="foo" onblur="javascriptfunction(this.value,this.index)" /> <input type="text" name="textbox[]" value="banana" onblur="javascriptfunction(this.value,this.index)" /> Whenever mouse moves for example from the first input I have this alerted...

Spring service and Spring web app in one

spring,web-services,rest,spring-mvc,web
I'm making a Spring RESTFUL service and i wonder. Can I make a Spring RESTFUL service combine with a web app in a project. If it is possible, how to configure it? ....

Viruses for android on web pages help please

web,virus
I entered a web site from my LG G2 and i took a warning on screen in web browser. (not chrome, other official web browser called "internet") It says: "Warning. G2 has infected. Install an antivirus from Google Play" and there was OK button on warning and when i clicked...

Is it good idea to make separate CSS file for each HTML page?

html,css,html5,css3,web
I am building a personal homepage. I have 4 HTML pages and only one CSS sheet linked for all of the pages. That is, inside a single CSS file I have set up layout for all different pages. [In fact, each page has pretty much the same layout, only the...

Difference between web service and website

web
What is the difference between web service and website ? I know the difference between Webapplication and website . If possible please explain with example. Thank you,Any help is greatly appreciated.

Beautifulsoup: Getting a new line when I tried to access the soup.head.next_sibling value with Beautifulsoup4

python,python-2.7,web,web-scraping,beautifulsoup
I am trying an example from the BeautifulSoupDocs and found it acting weird. When I try to access the next_sibling value, instead of the "body" a '\n' is coming in to picture. html_doc = """ <html><head><title>The Dormouse's story</title></head> <body> <p class="title"><b>The Dormouse's story</b></p> <p class="story">Once upon a time there were...

Simple Java Web validation Neither BindingResult nor plain target object for bean name 'number' available as request attribute

java,spring,http,web
I have a problem on validating a simple "NumberValidate" Object Here you see the JSP file: <[email protected] contentType="text/html" pageEncoding="UTF-8"%> <[email protected] uri="http://www.springframework.org/tags" prefix="spring"%> <[email protected] uri="http://www.springframework.org/tags/form" prefix="form"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <h1>Vul een nummer in:</h1>...

Google Maps not showing on webpage but shows on localhost

javascript,html,css,web-services,web
So I'm trying to implement Google maps on a website, and on my localhost it works fine, and I see it perfectly. However when I upload this to my hosting company, the map doesn't show at all. When I inspect the element and check the console, I don't see any...

using css pixel calculating screen size, where is wrong?

css,web,retina-display,w3c
In css w3(here), 1px = 0.75pt, 1pt = 2.54/72 cm,so 1 css pixel:1px = 0.26mm for example, the CSS pixel of iPhone4 is 320px * 480px(not device pixel), so in width ,the length should be: 320 *0.26 = 83.2mm but the iPhone4 is 3.5",so the length in width is about...

How to Edit files using web application

design,web,jython
All, I have a requirement where user would like to edit the files using web application. I know there would be a concurrency issues. But i want to know if there is a way to do it efficiently in the web application, may be using Jython or any other framework....

Unity WebPlayer “Failed to initialize player's 3D settings”?

web,unity3d,3d,augmented-reality,unity-web-player
I am trying to execute one of Daqri's AR demos, but I keep getting "Failed to initialize player's 3D settings" ...error every time I try to run the demo (Which is essentially a webpage). I am using unity 5.0.0f4 and even 4.5.3f3 (As a tried to implement a fix that...

disabling specific dates from html datepicker jquery

javascript,jquery,web,datepicker
hey guys i am trying to set a datepicker in my webpage and disable some dates from it so it can't be showing this is the code: <!doctype html> <html> <head> <meta charset="UTF-8"> <title>Untitled Document</title> <link href="jquery-ui/jquery-ui.css" rel="stylesheet"> <script src="jquery-ui/external/jquery/jquery.js" ></script> <script src="jquery-ui/jquery-ui.js"></script> <script> /** Days to be disabled as...

What property does soapui property window refer to? Is it the http request properties?

xml,web-services,soap,web,soapui
I'm trying to do a web service testing using SOAPUI. When I try to add the username and properties in the SOAPUI property window, I am getting the response. However, when i try to add the same username and password in the SOAP header in my request xml using tag,...

What does mean the @ (at) on unix access right?

php,unix,web,ls,access-rights
I have looked but it seems I did not found any question like mine. I would like to know what does mean the @ (at sign) on UNIX repository like as follow: MacBook-de-Blouz:twentyfifteen ratinahirana$ ll total 1136 -rwxrwxrwx@ 1 ratinahirana staff 376628 28 oct 2014 screenshot.png -rwxrwxrwx@ 1 ratinahirana staff...

Restriction on number of opened tabs

javascript,jsp,web,struts2,browser-tab
There are some links on web-page. On right click there is option of 'open link in new tab'(browser option). I want to restrict user for not opening more that two tabs? How can i do this? <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">...

Google Chrome Add Bookmark Image

html,html5,google-chrome,browser,web
Recently Google have added a new interface when users click the star icon in the address bar to add a site to their bookmarks. The UI displays the page title as well as anything from the meta description element if present, but I was wondering if there's a way to...

What is the best way to make two web pages communicate between each other back and forth? [closed]

javascript,asynchronous,web
What is the best way to make two web pages communicate between each other back and forth? I will be using HTML and Javascript. Basically I want to login on a web page and I should be able to see who has logged in from the second page. It's just...

What is the advantage of using Maven for creating RESTful Web Services

java,web-services,rest,maven,web
I am just a beginner in creating RESTful Web Services. I saw many places they are creating Maven project in Netbeans IDE for creating RESTful Web Services in JAVA EE. Can someone help me with this that what are advantages of using MAVEN? How it is helpful, I have little...

“DOMAttrModified” event not supported by modern browser?

javascript,jquery,html,events,web
Here are the codes (Jsfiddle demo) : <a href="#">Click me!</a> <script> var a = document.body.children[0] a.onclick = function() { alert('in onlick') this.setAttribute('href', 'lala') alert('out onclick') return false } function onpropchange() { alert('onpropchange') } if (a.addEventListener) { // FF, Opera a.addEventListener('DOMAttrModified', onpropchange, false) } if (a.attachEvent) { // IE a.attachEvent('onpropertychange', onpropchange)...

emailjs not working [node js]

javascript,node.js,email,web,smtp
i'm trying to use the emailjs (https://github.com/eleith/emailjs) for send emails with nodejs, but, it gives me an error: { [Error: timedout while connecting to smtp server] code: 4, smtp: undefined } I'm trying to use hotmail, but I can use other, I only want this working. Any idea please? var...

How I redirected according to PHP?

php,web
I am trying to redirect according to a state in my BD (which is 0 ), but when it changes to " 1" it continues routing the welcome page. The code I'm trying to use is below. $hash = $loggedInUser->user_id; //This is the variable that I use to declare my...

Routing in Sinatra

ruby,web,routing,sinatra
I have an application where the user fills out a form at /search and I want that to output to /search/results. In my app.rb, I've attempted to call post '/search' do ... erb :search/results end However that fails. My directory structure is: views -search --results But it fails. Where am...

how to compare only date from a model's datetimefield with current date?

python,linux,django,web,frameworks
I want to use Model.objects.filter(datetime_lte=datetime.datetime.now.date()) How exactly can I achieve this? I am using django 1.6.5. I want only records of current date. This will give all previous day's records also

setInterval not repeating

javascript,web,intervals
I'm trying to change the background each 4 seconds but it jumps directly to the second condition and doesn't change anymore. Why is this happening? var time = 1; var func = function () { 'use strict'; if (time === 1) { document.getElementById("top-background").style.backgroundColor = "#000"; time += 1; } if...

Change menu's height on scrolling

jquery,html,css,web,bootstrap
I want for my website, when I scroll down to minimize the menu's height. For example, my header is fixed top with height:150px . And when I scroll down, I want to resize with a height: 50px. I'm using bootstrap 3. So the class of my header is .navbar .navbar-fixed-top...

Different webfont for Japanese special characters

html,css,web,fonts,webfonts
I'm working on a Japanese website and I'm using the Meiryo webfont. I really like this font but the special characters have too much margin. The exact issue is that there's too much space in front of special characters like 【, which makes the design look off if such a...

Yii2 : Getting unknown property when using findBySql

mysql,sql,web,frameworks,yii2
i'm using findBySql() to get data from database, i want to show the data in view with table. This is code on my controller : $sql = "SELECT presensi.presensi_tanggal 'tanggal', sum(if( hadir.keteranganhadir_id='1',1,0)) 'hadir', sum(if( hadir.keteranganhadir_id='2',1,0)) 'tidak_hadir', count(*) 'total' FROM hadir, keteranganhadir, presensi where hadir.keteranganhadir_id = keteranganhadir.keteranganhadir_id and hadir.presensi_id = presensi.presensi_id...

Unexplainable gap on bottom of web page [closed]

html,css,web,webpage,inspector
I'm having an issue with a site we launched recently. There's a 25 pixel gap at the bottom of the site that I cannot explain, and I've exhausted all troubleshooting techniques I could think of trying to figure this out. http://bit.ly/1I2m3ZD Here's what I can tell you is NOT causing...

Fiddler 2.5.1.0 is not exporting captured traffic to visual studio file

asp.net,api,web,fiddler
I'm using Fiddler 2.5.1.0 version to capture traffic to our asp.net web api restful services. when I just select part of the entire traffic (like a selected session) and go to File-> Export Sessions -> Selected Session, a little dialog box pops up with a drop down menu on it...

How to identify the class of an Object which is in a cell of webtable

object,table,web,qtp
I have a webtable which MIGHT have a weblink object in it's Row 2, Column 1 cell (also Index of this object is 0). If it indeed is a link I would like to click it else ignore it. Is there a way to identify the class of this object...

How can i make these tabs Responsive

javascript,html,css,web
When I open the site on a mobile then last tab merge with others tabs, and last tab will have a linebreak. But I am not expert in media Query in CSS3. How do I apply this code, if there is some other way then mine give your best solution...

Am i right in suspecting that this generated PHP code is vulnerable?

php,security,web
I'm not very educated on PHP or Web-security in general, but i strongly suspect that the code generated by some software the company I'm working for is using, is unsafe. Here are some snippets of what i am concerned about: First concern: $sql = "SELECT password, fullname FROM ".$mysql_table." WHERE...

Three js, block textures are blured

javascript,web,three.js
I'm trying to make a 3D block with the three.js library. I've done it. Now i wan't to put a texture on it. I did that and it's working : var textureHerbe = [ new THREE.MeshBasicMaterial({map:THREE.ImageUtils.loadTexture('img/texture/herbe/border.gif')}), new THREE.MeshBasicMaterial({map:THREE.ImageUtils.loadTexture('img/texture/herbe/border.gif')}), new THREE.MeshBasicMaterial({map:THREE.ImageUtils.loadTexture('img/texture/herbe/top.gif')}), new...

Woocommerce product dimensions not showing on first product

php,html,wordpress,web,woocommerce
I am using Wordpress with Woocommerce and would like the shop and archive pages to show the product dimensions along with the price and title of the product. I added this code to my content-product.php woocommerce file: http://docs.woothemes.com/document/display-product-dimensions-on-archive-pages/ Which worked great! Except for the first product in the shop loop....

How to avoid using 'this' pointer in javascript (ES5/ES6)?

javascript,ember.js,web
According to Crockford, the best practice is NOT using this pointer due to security issues. I found this in the Ember guide, Person = Ember.Object.extend({ say: function(thing) { var name = this.get('name'); alert(name + " says: " + thing); } }); Soldier = Person.extend({ say: function(thing) { this._super(thing + ",...

Extract data from a webpage

web,data,extraction
I have about 10000 html downloaded files. They have a section of html code like this: <tr> <td width="10%" valign="top"><p>City:</p></td> <td colspan="2"><p> London </p></td> </tr> What I need is a way of getting the cities from all the files. I'm using linux so I was thinking in using some batch...

Scraping Javascript webpage (script error occurred)

javascript,html,vb.net,web,scrape
I am scraping a dynamic webpage which is a javascript based webpage. I have done codes which is used to load the webpage first in the program: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("http://www.changiairport.com/flight-info/flight-status/passenger-departures") End Sub However, each time I run the program, script...

How to create global session/application session to store application options using spring?

java,session,spring-mvc,web
How to create global session/application session to store application options using spring? I working on web application and i want to retrieve global variables like logo, site name, site url, .... from database just when server run up. what is the best practice for than and how i can call...

Using front end frameworks with a Wordpress site?

wordpress,user-interface,web,wordpress-theming
I've been tasked with modifying the frond end of a Wordpress site, which is something I have not done before. I was first thinking of using Handlebars an Bootstrap, but I'm not even sure that will even work with the Wordpress framework. If those don't work, what would be a...

Pagerank: node pointing to itself

web,pagerank,web-search
Can someone sanity check if my computation/result is correct on this please: If I want to compute the pagerank value for a node that is pointing to itself and a dangling node, I drop the dangling node and the initial (and final) pagerank would be [1] ???...

Puzzling differences in behavior between console and web apps

c#,.net,web
I have a piece of code in a Web API app: private Stream ConvertWorkBookToStream(WorkBook workBook) { var tempFileName = Path.GetTempFileName(); // The following line throws a NullReferenceException workBook.write(tempFileName); // Remainder elided for brevity } Neither workBook nor tempFileName are null. On a whim, I changed the app pool to run...

Why scripts at the end of body tag

javascript,html,css,web,pageload
I know this question was asked many times, but I haven't found answer. So why its recommended to include scripts at the end of body tag for better rendering? From Udacity course https://www.udacity.com/course/ud884 - rendering starts after DOM and CSSOM are ready. JS is HTML parse blocking and any script...

How Do I store and display (automatically) stories that users can submit on my website [closed]

javascript,jquery,html,web
I'm Making a website for a friend where people will submit stories. These will be short stories, presented on the website with a Title, a "by" section, ideally a picture of the author, and finally the story. Now I've already got the design of the site up, but this is...

AngulasJS {{ }} codes show for a split second [duplicate]

angularjs,web,frontend
This question already has an answer here: Prevent double curly brace notation from displaying momentarily before angular.js compiles/interpolates document 6 answers How to avoid {{ }} codes from showing when the page is just starting up or loading AngularJS resources? In my case, the {{ c }} is showing...

Bad performance in chrome running this site

javascript,image,performance,google-chrome,web
This is my first website , it running good in IE but bad at Google Chrome especially when zoom in and out http://robovics.com/e-dec_Admin/project.html?id=0&name=Project1 how i can know why? If there any performance analyzer tool to check the problem ...

Why do developers want to 'hide the fact they are using PHP'? [closed]

php,html,web
According to Learning PHP, MySQL, JavaScript, CSS and HTML (O'Reilly 2013), the author suggests: ...web servers are highly configurable, and some web developers choose to force files ending with .htm or .html to also get parsed by the PHP processor, usually because they want to hide the fact that they...

Facebook open graph- share a poem instead of an article

facebook,web,share,facebook-opengraph,opengraph
My website shares poems, stories and articles. This is an example of an open graph of a poem. { "id": "905716739487689", "application": { "id": "728278247279506", "name": "mypen", "url": "https://he.mypen.net/" }, "created_time": "2015-04-08T10:48:04+0000", "description": "My complexity, my life is yours. You have me in the morning as i get out of...

uploading and processing file progress

web,progress
I am working with Yii framework. My goal is to upload an xls file, parse it and load information into data base. The problem is that the file is too big and it is required to have a progress bar corresponding to the process. I am not a very experienced...

How can I send an input type email between 2 files php?

php,mysql,email,web
I have used this method in one php: $user = mysql_fetch_assoc($result); $user1 = $user['Email']; header (Location: modify_email.php?user1=$user1); And in the other .php: Email: <input name="email" value="<?php echo $_GET['user1'];?>" required="" autofocus="" type="email"> But I only obtain the first part, to @, no more. Example: If I have [email protected] I received user1...

How would I use an only for IE8 and not for any other browser

jquery,web
I'm currently using jquery 3.0 on a site. I understand that support for IE8 was dropped in Jquery 2, but is there a way to use jquery 1.9 for IE8 and use Jquery 3.0 on any other browser?

AngularJS UI Router reload not working

javascript,angularjs,web,angular-ui-router
I have two states in my current apps, which is login and register. If I just open my website towards localhost:8001, it is automatically redirect to /login because I've set $urlRouterProvider.otherwise('/login') But if I open my website towards localhost:8001/asdf, it does not redirect to /login. It just print not found....

How to send MD5 hash of empty byte array?

c#,php,asp.net,web
I need to send a request from PHP to a C# WEB API. As part of the authentication it requires an MD5 hash of an empty byte array. How can I generate an MD5 hash of an empty byte array on PHP? I would do it like this in C#....

Android application using html

android,windows,web
When you say android application I understand its a .apk executable. But When you say developing android application using html, does it mean we still get a .apk file or when we develop using html, is it then called as android web development, which means you won't get a .apk...

Converting a ruby structure to a hash

ruby-on-rails,ruby,soap,web,savon
I've got a bit of a headache here - I'm pretty new to Ruby... I've got a structure like so returned from Savon... { :item => [{ :key => "result", :value=> "success" }, { :key => "data", :value=> { :item => [{ :key => "displayName", :value => "Matt" }, {...

How to assign default user role in entrust?

php,authentication,web,laravel-5
I just want to assign a role to newly registered user. How I can achieve this in Laravel 5 with Entrust? I am using Entrust for roles and permissions. Last time I tried to fire event after user registration in a file in vendor folder. Is there any way to...

How I can find my root directory at the server?

php,web
How I can find the root directory of my website at the server, and how do I refer a file that is not in the same directory in which the file goes in PHP?

Multiple values in a single mysql field [closed]

php,mysql,sql,database,web
I'm building a mysql database to store companies information. In one of the fields i need to store multiple values like the name of the founders. I'm aware that won't be a good choice but it would avoid to create another table just to store a few names. I'm concerning...

QBWC1012: Authentication failed due to following error message. Client found response content type of 'text/xml', but expected 'text/xml'

php,soap,web,quickbooks,connector
20150604.02:34:43 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'APPNAME' has STARTED 20150604.02:34:43 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE 20150604.02:34:43 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True 20150604.02:34:43 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session...

AngularJS - Loading my directives suddenly not working?

javascript,angularjs,web
http://danieboy.github.io/ I've worked on this webpage on and off for a while now and after a 2 month break from it I went on and wanted to optimize it with the help of Dareboost. I made some minor changes like optimizing my pictures and changed the raw.github.com to rawgit.com in...

Center input field in bootstrap

html,html5,twitter-bootstrap,css3,web
This code show the input to the left of div <div class="col-sm-8 col-md-7" style="min-width: 270px;"> <input type="text" name="address" class="form-control" value="<?php echo$data["address"]; ?>"> </div> I intent with center and align div and show same. Sorry for the english. Thanks very much. Regards...

Django authenticate method return None

python,django,authentication,web
I've read a lot topics about this problem but still can't fix problem. I am going by Tango With Django tutorial (part 9) and get strange problem. When I create user, I can't then get user object using authenticate method. GitHub project: (link) This is my register function from views:...

Compare strings without being case-sensitive

javascript,web,compare,case-sensitive
I have problem with a variable I made (it's a string) in JavaScript. It will be prompt from the user and then with the switch I will check if it is true or not. Then when I input it upper case it will say it is identified as a another...

JQuery Animate() showing sticky behaviour with other elements in the same class

jquery,css,web
for some reason all the .inner-card elements show some kind of animation, it is as if they are all erratically calculating their positions, instead of just the one element with the mouse hovering over it being animated cleanly. any idea how can i fix this ? Link to Code HTML:...

Needs advice for buying Web Server [on hold]

web,server
Are there any guides for buying web servers and setting them up? I am going to just be making basic websites.

.JS refuses to enable menu

jquery,css,html5,web
I'm referring to this website to learn how to implement a side menu in CSS: http://purecss.io/layouts/side-menu/ I am not succeeding. I have a > on the upper part of my webpage, which only appeared after implementing the two source codes provided by the link. It isn't becoming interactive though. To...

Doc.Checkbox 'change' event does not occur in Websharper.UI.Next

web,f#,websharper
I have reactive Var variable varDone and Doc.Checkbox for its representation named cbDoc. After changing the value of varDone I need to call my function. For this, I wrote the code illustrated in the following pseudo-code: open WebSharper open WebSharper.UI.Next open WebSharper.UI.Next.Html open WebSharper.UI.Next.Notation // declaring reactive bool variable let...

Laravel 4.2 link to action links & as %27

php,laravel,web
hello I have the following line: {{ link_to_action([email protected]', 'Friend ' .explode(" ", $user->name)[0],[Auth::user()->id,$user->id]) }} and a route defined as Route::post('friend/add{id}&{fid}', ['as' => 'friend.add', 'uses' => [email protected]']); however the url isn't parsing the 2 arguments correctly as it comes up as /add1%262 instead of /add?1&2 I cant figure out why, it...

How do i link domain from one.com to digitalOcean.com?

web,error-handling,dns,digital-ocean,domain-name
I have a domain name bought at one.com but cant seem to get the dns settup correctly. I followed this turorial from digital ocean (https://www.digitalocean.com/community/tutorials/how-to-set-up-a-host-name-with-digitalocean) where I am instructed to use dns from one.com to my site. In this tutorial (http://www.one.com/en/support/guide/manage-your-dns-settings) they explain how to set up the dns, but...

Add Facebook Share Button with Video to Website

facebook,web,facebook-social-plugins,facebook-share
I am adding a Facebook Share button to my website. I am able to set it up to include a picture in the post, but I'd like it to include a video. How would I do this using the FB.ui feed parameters? Here is my working code for adding a...

Some sites do not allow requesting the same file twice (IDM)

c#,asp.net,pdf,web,httpresponse
Some sites do not allow requesting the same file twice : I face the previous error when i try to download my pdf in button click event: private void AddReportToResponse(LocalReport report ) { string mimeType; string encoding; string extension; string[] streams = new string[100]; Warning[] warnings = new Warning[100]; Response.Clear();...

What damage can a website do?

security,web
Now and then I (accidentally) come across websites that my anti-virus warns me about. Out of curiosity, what kind of damage can a website do? I've been working in web development for around 4 years now and can't think of any 'genuine' damage worth warning the user about. Maybe I'm...

How to have two css animations in one tag

html,css,animation,web
I am working with css animations and I have a series of animations with different css tags. I start at #water then go to other animations then I want to go back to #water with a different animation. This is my code: #water { position: relative; left: 48px; z-index: 1;...

How can I implement something like Play Store Description

javascript,jquery,html,web
Play Store (among so many other websites) shows the description of the item not completely, instead they show part of it, and it hides the rest. You can click on "Read More" in order to get to read the rest of the description, which (the button) will expand the description...

rewrite get variables in url

.htaccess,web
I'm working on a website and now i want to edit the htaccess file to change a url with get variable. But i look on the internet for information without any success. http://xxxxx.domain/massage.php?massage={massageName} this is the link and i want it to look like this http://xxxxx.domain/massage/{massageName} Can someone help me...

Java - Standalone SSL Web Service - JAX-WS, JRE, no web server

java,ssl,web,jks,wsgen
I've developed a simple Web Service using wsgen and it works fine under http (non-SSL). I now need to get it working under https (SSL). I followed the code located here. So the SSL process runs right now...I'm running as a Java Application from within Eclipse. However, when I try...

Simulate the use of a website with a client [closed]

javascript,c#,web,simulation,imacros
I would like to achieve the following scenario: Create a client that opens a web site, for example www.stackoverflow.com, click a button with an id (for example the button "Ask Question"), fill the forms (knowing the ids of the fields) and press another button. No, I do not want to...

React keyboard events not firing

javascript,web,reactjs,frontend
I have a simple React component that should play audio via the Web Audio API on keyDown, and stop the audio on keyUp. I have a JSFiddle that shows the same behavior I'm seeing on localhost. Here's the code inline: var Keyboard = React.createClass({ componentDidMount: function () { var context...

Technical debt on custom web rule in sonarqube 5.1

web,annotations,sonarqube,sonar-runner,sonarqube-5.0
I am facing issue in technical debt with custom web rules. I have web plugin but no technical debt is assigned to rules. I want code or annotation through which i can assign some constat/issue value to each rule and can calculate debt from that. I used following anotations while...

Angular2 - Bootstrap v3 datetimepicker issue in FF and IE

web,bootstrap,bootstrap-datetimepicker,angular2
I am rather new to clientside web development and am currently learning how to work with Typescript, Angular2(0.27) and bootstrap. I know that Angular2 is still in heavy development, but I ran into an issue, of which I am not sure what (technology) exactly is causing it. The problem has...

How to write denormalized data in Firebase

javascript,database,web,firebase
I've read the Firebase docs on Stucturing Data. Data storage is cheap, but the user's time is not. We should optimize for get operations, and write in multiple places. So then I might store a list node and a list-index node, with some duplicated data between the two, at very...

What are the values that appear at the address bar?

php,web,hex,type-conversion,translate
I am working on a webiste that translates an input string from Japanese to English. This webiste has two text fields and one button to submit the string for translation. But when I hit the button, I can see some kind of hexadecimal values separated by % in the address...

Webpage content doesn't match the page's source code

html,web,web-scraping,beautifulsoup
I've been playing around with scraping webpages using BeautifulSoup for a few weeks now. An issue I recently ran into, and hadn't seen before is where the content of the webpage is different from what's show as the page's source code and what's given in the url request response. For...

show Asp.net website to client without having domain or web hosting

asp.net,web,web-deployment
I have developed website on Asp.net for my client . I want to show him progress of work . I have no domain or web hosting to show him . Is there any possibility to show my website built on Asp.net to my client ??Also I have used ngrok but...

Using same menu on multiple pages ASP.NET [closed]

c#,asp.net,web
I'm trying to make one menu and using it on every web page I have instead of copying the same code in every file. This way I can change the menu in one file instead of 5. I'm using ASP.NET Web Forms application (aspx-files). I've tried googling it but the...

Pass an id with mysql_insert_id() of a .php to another .php

php,html,mysql,web
I am trying to create a variable with one id of the last insert that I do and I am trying to past it to another page. In the first page this is code: $insert= "INSERT INTO resources (name,description,place,time) VALUES ('$name','$description','$place',CURDATE())"; mysql_query($insert); $last_id= mysql_insert_id(); header("Location:new_page.php?last_id=$last_id"); And in the second page...

Password encryption algorithm

security,web,passwords
I want to develop a web application where users can login inserting their email and password (chosen when register). I want to know which would be the best password hashing algorithm. I have read that bcrypt is a good option, but what algorithm do sites like facebook use?