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.

157 questions
1
vote
0 answers

How to create datatables with server side in codeigniter using sql server

I have a problem with datatables serve side processing using SQL Server/MSSQL, i've been following or use this tutorial link but its quite difficult to modify it using sql server In sql server doesn't allow using limit, i try to use this code below…
Bobby Z
  • 765
  • 1
  • 9
  • 21
1
vote
1 answer

Server equivalent to application web.xml

I'm running a .war file in 3 different Servers, but for each server I need a different description in the web.xml file, that will be accessed like: context.getInitParameter("CompanyKey") Is there a equivalent for a server file? It's being a pain to…
DMurta
  • 315
  • 1
  • 10
1
vote
1 answer

Return Dynamically Zipped File Based On HTML Form Data (Confirm Download Dialog?)

I have an HTML form whose action is set to my Python script in which I test which checkboxes were selected in the form. From this information, I use my script to create a zip file containing the files corresponding to the checked checkboxes. I need…
Meloviz
  • 571
  • 6
  • 16
1
vote
2 answers

Requesting a website by client side script = Cross Side Scripting Hack. But requesting a website by server side script is not a hack! Why?

Generally, when we want to show the contents of some web page in the same page, we go for ajax requests. If say, I request to a web page in different domain with AJAX, it is not allowed because of the Cross side scripting error. But why is it…
1
vote
1 answer

Metaprogramming on web server

From time to time, I find myself writing server code that produces JavaScript code as the output result. I can point out why it is really bad: Inextricable tie between server code and client code. Can render client code un-reusable. But sometimes,…
bobobobo
  • 64,917
  • 62
  • 258
  • 363
1
vote
1 answer

Storing formatted HTML text in database

I am interested in allowing users to "share" information on my website, say something similar to a bulletin board concept. This is something I've never done before because I know that it could introduce security issues. I'll likely be using…
1
vote
2 answers

How to count number of pages a URL contains via an ID?

I am building a script thats goal is to check up to 100 URLS for validity (No 404). The only variable in the URL is the page number, like so: http://example.com/category/id/products/page/1 http://example.com/category/id/products/page/2 and so on up…
zak
  • 151
  • 3
  • 14
1
vote
1 answer

How open password protected archived file (zip) with server side languages like PHP?

is there any server side language like PHP that could open password protected files like zipped files? newest PHP version is supporting set password when you want to create a password protected zip file, but I could not find any way to open password…
Reza Amya
  • 89
  • 1
  • 10
1
vote
0 answers

dojo not getting loaded in rhino environmnet

Im trying to load dojo charts in java program and have came across the example in this blog and tried it but with failure. the reason for dojo not getting loaded I found after a long toil is that the while loop given below (in the…
NEO
  • 149
  • 1
  • 14
1
vote
3 answers

JavaScript: Load an image from javascript then wait for the "load" event of that image

I have a page that displays a picture in high quality. The pictures typically take a while to load. I have a jQuery function that runs on load of the picture #image I want this function to pre-load other images 1 at a time in the order they will…
zggz12
  • 125
  • 3
  • 13
1
vote
2 answers

A python server that executes python scripts

I'm doing a python class this semester, and I'd like to add graphical user interfaces to my programs in the form of web pages. Partly I can't be bothered to learn Tkinter, partly I'm just challenging myself, and partly I just like coding interfaces…
Jack M
  • 4,769
  • 6
  • 43
  • 67
1
vote
4 answers

MySQL search case insensitive

i have a code and its responsible for the search field to search for data in mysql table. issue is its case sensitive, i have looked at the author site and somewhere they suggest to change from LIKE to ILIKE, however this causes search not to…
user1741397
  • 135
  • 2
  • 11
1
vote
3 answers

What happens to a page that receives an ajax post?

When a $.post is made to a php page, or any other type of script, how is the php file executed on the server side? For instance, if I have a php page that looks for a certain parameter to be passed in, and if that requirement is made, it calls echo…
user2592690
  • 265
  • 2
  • 11
1
vote
4 answers

Browser-based app needing IO control

This is a question about the best way to structure an app that has both server-side and client-side needs. Forgive the length -- I am trying to be as clear as possible with my vague question. For a standalone non-web-connected art project, I'm…
1
vote
1 answer

How to pass a Javascript variable into a .NET script?

This is a simple syntax question, but I haven't been able to find (or haven't known quite how to phrase the question in order to find) an answer. I'm trying to pass a Javascript variable into a .NET script like so: var name = '<%=GetName(' +…
Ryan
  • 127
  • 1
  • 10