Questions tagged [server-side-scripting]

Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the web server to generate dynamic web pages. It is usually used to provide interactive web sites that interface to databases or other data stores. Popular Server Side Scripting languages are PHP, ASP, Java (JSP), Perl and Server-side JavaScript.

Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the web server to generate dynamic web pages. It is usually used to provide interactive web sites that interface to databases or other data stores. This is different from client-side scripting where scripts are run by the viewing web browser, usually in JavaScript. The primary advantage to server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries into data stores.

From a security point of view, server-side scripts are never visible to the browser as these scripts are executed on the server and emit HTML corresponding to user's input to the page.

Popular Server Side Scripting languages are PHP, ASP, Java (JSP), Perl and Server-side JavaScript.

152 questions
19
votes
4 answers

How can I generate a screenshot of a webpage using a server-side script?

I need a server-side script (PHP, Python) to capture a webpage to a PNG, JPG, Tiff, GIF image and resize them to a thumbnail. What is the best way to accomplish this? See also: Web Page Screenshots with PHP? How can I take a screenshot of a…
Colargol
  • 729
  • 4
  • 13
  • 26
16
votes
3 answers

How do I secure scripts run using javax.scripting?

I am using javax.scripting to add support for running arbitrary user-uploaded JavaScripts on the server-side. Obviously I want to secure those scripts! Rhino, on it's own, has a framework for securing scripts at runtime. The documentation for…
7
votes
6 answers

C++ Server-Side-Scripting

For once, I have come across a lot of stuff about the use of C++ being not advisable for SSS and recommending the use of so called interpreted languages like PERL and PHP for the same. But I need the advanced OO features and flexibility of C++ to…
check123
  • 1,937
  • 1
  • 21
  • 27
6
votes
8 answers

How to develop 100% server-side applications?

TL;DR What framework can I use to keep 100% application logic on the server while providing the interactivity of RIA? Explanation Back in the 90's, one could build 100% server-side application with ordinary PHP. But then demands for in-page…
Robert Važan
  • 2,962
  • 1
  • 23
  • 30
6
votes
7 answers

Client side scripting and Server side scripting languages

What scripting languages comes under client side and what and all comes under server side? If JavaScript is scripting language, then what about jquery. jquery is nothing but javascript library rite? so jquery is client side scripting? I goggled…
Rachel
  • 1,101
  • 10
  • 25
  • 43
5
votes
1 answer

Why is \n not working on one line of my PHP script, but is fine on all the others?

I'm writing an e-mail message to be sent on submission of a form. For some reason, the \n character displays correctly on all lines but one. I can't see any difference between this line and the others, so can't work out why it isn't working. The…
Chris
  • 1,763
  • 5
  • 27
  • 41
5
votes
3 answers

Server side processing with datatables and flask

I'm trying to implement server side processing with data from sqlite on my Flask app. I am a newbie, so I can't figure out what's wrong. So far I have come to this: HTML: …
tzoukritzou
  • 277
  • 1
  • 2
  • 13
5
votes
2 answers

how to escape characters when using server side delimiters

So, currently, within an asp gridview, I have the following ', '<%#Eval("strDescription")%>')" class="linkText">Edit What I'm essentially looking…
Scott Fortier
  • 63
  • 1
  • 3
5
votes
5 answers

Server-Side javascript framework

I'm looking to replace PHP with something better (everybody seems to say that PHP is evil, right ?), and considering server-side JavaScript. node.js seems very popular, but I'm afraid I'll go crazy with asynhronous stuff. Is it possible to write…
5
votes
1 answer

Form is resubmitted when the back button is pressed

I have a problem with my contact form that I have made using HTML and PHP. When the user clicks submit it redirects to another page where the user gets the message, "Your message has been sent". It then automatically redirects to the home page. But…
Devansh Kumar
  • 87
  • 1
  • 1
  • 8
4
votes
1 answer

PHP - prevent uploading file more than 100 KB in during uploadin file not after upload entire file

I have an page with php code to upload user's picture for every account.Size of their image file must less than 100 kb size. I want prevent uploading file more than 100 KB on server from users(in registering new user in image profile field) and…
harix
  • 247
  • 2
  • 13
4
votes
1 answer

Server Side Javascript On Apache Server

We intend to use Apache server for web development. For serverside scripting we wish to use server side javascript. What is needed to make serverside javascript work on Apache server? Is SSJS recommended to use for serverside scripting? Where can…
4
votes
1 answer

How to call c functions from PHP?

I am new to PHP Script. I was trying to call C functions from PHP. I was wondering how to call c functions from PHP. So please anyone can tell me, How to call c functions from PHP? Any other server side script's are there for call native…
Muthu
  • 61
  • 1
  • 5
4
votes
4 answers

Is there a way to give HTML inputs some sort of namespace to avoid collisions?

Let's say I have a server-side script that generates an…
prograhammer
  • 17,458
  • 12
  • 81
  • 108
1
2 3
10 11