server-side

Can the server use a file from a client without uploading it to the server? ASP.NET

只愿长相守 提交于 2019-12-07 14:24:36
问题 I was wondering, at the moment, the client uploads a file to a directory on the server where the server can then use the file (csv file) to update a SQL database. Is that the only way the server can use that file? For it to first be uploaded to the server? Or can you use that file without uploading it to a directory of the server? (using visual studio 2012, C# and asp.net) Code update--- asp Uploading the file. (I know the code can be cleaner an written better, but my testing code is never

working with excel files in php [closed]

北慕城南 提交于 2019-12-07 12:39:21
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . What is the best php library to use to with php to read/write and display components of excel files on web based pages? 回答1: I would use PHPExcel for writing the files (in fact, I do use it) http://phpexcel.codeplex.com/ And you could try http://sourceforge.net/projects/phpexcelreader/ for reading but I have no

Is there a javascript server-side interpreter, like php?

拟墨画扇 提交于 2019-12-07 03:34:05
问题 For example, writting server-side things using javascript, instend of php. 回答1: Aptana Jaxer is very neat. You can even manipulate the DOM, and call server-side JS functions from the client. 回答2: Check out node.js (http://nodejs.org/). Server-side javascript with asynchronous stuff. Very neat. 回答3: There is Server-side JavaScript 回答4: Yup, there are several interpreters: Server-Side Javascript uses on Wikipedia Don't know which one/s are the most popular, available, and stable, though. 回答5:

What do I need to run a node.js script on my server?

依然范特西╮ 提交于 2019-12-07 00:50:00
问题 I have a standard Apache server. Do I need anything special to run a node.js script (http://socket.io/) on the serverside? 回答1: Node.js provides its own HTTP server, thus making Apache unnecessary. If you wish to run Apache and Node.js on the same server, either set node to listen to port 80 and forward unhandled requests to Apache, or vice versa In both instances, Node/Apache will listen to the publicly open port 80, and forward to Apache/Node listening on some non-public port. 回答2: You will

Automatically add svn keyword properties for new files (server-side)

十年热恋 提交于 2019-12-06 18:29:31
问题 I want to add svn properties (like svn:keyword=Id Date Rev Author) to files upon commits of new files. For this to work there may be two main options: Client-side: altering the autoprops in the svn client configuration Server-side: do some magic with commit-hooks The client side is not always desirable, as control over the client set up is needed. I want to solve this on the server. How can this be done. 回答1: The Subversion docs say it's a bad idea to modify a commit on the server side.

Server-side getting dom properties (height of element)

一世执手 提交于 2019-12-06 16:25:23
I want to scale all the HTML element's height in an HTML page. I am doing this with jQuery height() function, but it takes some time and causes problems in the browser. I decided I want to do this at the server. I tried to do this with ajax. But I couldn't. When I write height() function it doesn't return to me value of height() . It returns me just height() code. For example: I will send my html code to server with this function sendHtml('<table><tr><td>'.$variable.'</td></td></table>'); Then i get this table's height from server. Is there another way to do this? You might want to look into

Create server-side DVR application to be able to record DVR in FMS

佐手、 提交于 2019-12-06 16:00:32
问题 I want to be able to use the DVR compability in FMS3. But to do that I need to implement a server-side DVR application it says in the documentation. The problem is I cannot find any example on this. "You need to add server-side ActionScript to handle the recording and the correct client-side ActionScript to your media player." http://help.adobe.com/en_US/FlashMediaLiveEncoder/3.0/Using/WS0C4F8D5E-0388-4d1e-AE60-D5B3FB1BC682.html Any help about this server-side script would be greatly

jQuery $.post() JSON Object

风格不统一 提交于 2019-12-06 15:26:20
I have a JSON Object { "widgetSettings":[{"maxDisplay": 6, "maxPerRow": 2}], "widgets": [ {"wigetID": 1, "show": false, "weight": 0, "widgetTitle": "Widget 1", "widgetColor": "defualt"}, {"wigetID": 2, "show": false, "weight": 0, "widgetTitle": "Widget 2", "widgetColor": "defualt"}, {"wigetID": 3, "show": false, "weight": 0, "widgetTitle": "Widget 3", "widgetColor": "defualt"}, {"wigetID": 4, "show": false, "weight": 0, "widgetTitle": "Widget 4", "widgetColor": "defualt"}, {"wigetID": 5, "show": false, "weight": 0, "widgetTitle": "Widget 5", "widgetColor": "defualt"}, {"wigetID": 6, "show":

Asp.Net Validation - Clientside And/Or Serverside?

爷,独闯天下 提交于 2019-12-06 14:04:19
The validator controls that can be used for asp.net input validation... requiredfieldvalidator regularexpressionvalidator etc Do they perfrom validation on the client side AND server side or do I need to have seperate validation in my codebehind to validate on postback (ie to prevent POST injection)? They perform both. The validation framework that has been implemented in asp.net was designed to work both client and server side. If you have used these validators, you do not need to write additional server side code that repeats this validation. IIRC, they are validate on both the client and

Server-side performing multiple requests against cloud services

本小妞迷上赌 提交于 2019-12-06 10:36:10
I am in the process of writing a web-app that uses multiple web APIs. For a single request of a single user, my app may need to perform up to 30 HTTP requests to other sites. The site housing the web-app can have hundreds of concurrent users. I've been looking around trying to figure out which library should I use. I'm looking for a mature project that has detailed documentation and tested code, one that will still be around in years to come. Not sure if something like that exists (!) Couple of questions : In a case such as described above, should I be using an asynchronous HTTP client