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
4
votes
0 answers

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
  • 69
  • 1
  • 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
  • 20,132
  • 13
  • 91
  • 118
3
votes
4 answers

Datatables on server side processing with jQuery

I am new to datatables. I am trying to find solution for server side processing since last two days but didnt find the solution. My JS code is this.$("#example").DataTable({ "processing": true, "serverSide": true, …
Kiran Shinde
  • 5,732
  • 4
  • 24
  • 41
2
votes
3 answers

Can one PHP-document receive input from 2 clients?

Trying to write a chat, like on facebook, I wondered if two clients can connect to the same PHP-document, or, if 1 PHP-document could communicate with 2 clients at the same time? (I just took PHP as an example, I don't mind using another server-side…
11684
  • 7,356
  • 12
  • 48
  • 71
2
votes
1 answer

Server-side COLLADA converter

I'm building a web form to accommodate users uploading .obj and .fbx 3D models to a site. We need a server-side solution to convert these files to Collada (dae). It would be massively helpful if someone could point me in the right direction as I…
EricZun
  • 23
  • 2
2
votes
1 answer

How to run server-side scripts in NextJs?

i am new to NextJs and I'm tryin to make an app that every few hours make some requests to a database to update the data, but i can't figure out how to do it. The only place where i can do it is inside the pages components, but that means that there…
2
votes
0 answers

Displaying large amount data from Database using DataTables server side processing and AJAX

I recently started coding in Codeigniter MVC Framework and now i'm stuck with a problem and it's related to Datatables server side processing using AJAX. I have more than 7k rows in my Database Table and if I try to display that data using…
2
votes
0 answers

Check size of uploaded data every second in a specific time from client-by PHP or Other server-side lang or scripting

I have a 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
  • 277
  • 3
  • 15
2
votes
0 answers

Error after removing php file extension

So I have an .htaccess in the root of my website folder RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php that will hide the .php in the url. This works perfectly fine with…
2
votes
1 answer

Building Web App Using OrientDB JavaScript API

I'm having a bit of difficulty in figuring out how to get the OrientDB JavaScript API to work in a web app. I tried searching into the source code of the OrientDB Studio web app and was able to notice that they use the orientdb JavaScript API along…
jeremie_se
  • 380
  • 1
  • 2
  • 14
2
votes
1 answer

Can't connect to localhost using Chrome with Uniform Server

I'm trying to run a .php web application on Google Chrome, using Uniform Server. I thought that just having that installed would make PHP run, but clearly there's a lot I don't know. First off, when I opened the file from file:///C:/Users/... etc…
Lou
  • 2,200
  • 2
  • 33
  • 66
2
votes
1 answer

Is it possible to preserve the uploaded file in input type="file" tag

I am using inside a form on submitting I am using a post action , where it processes all the form fields , suppose when it encounts an error and returns to the original form itself . Is it possible to preserve…
user2728203
2
votes
1 answer

Presentation layer in 3-tier architecture

My question is about various ways of implementing presentation layer in 3-tier architectures When we talk about a 3-tier web application, it is assumed that the presentation layer is browser-oriented, and hence communicates with logic tier through…
mangusta
  • 3,470
  • 5
  • 24
  • 47
2
votes
2 answers

Source control for server side scripts in Azure Mobile Service

I am using Azure Mobile Services as the backend for my mobile app. Despite my best efforts, my server side scripts are getting complex now. Is there a way I can keep the insert, update, read, delete scripts for the tables in my service, in source…
2
votes
2 answers

How can I get a PHP variable to AJAX?

I don't think I am passing the variable the right way between my separate PHP and AJAX files. I am debugging this by triggering the second condition $status = 'info'; in my PHP file. Currently, status is coming up as "undefined" for…
frankie
  • 661
  • 2
  • 10
  • 25
1
2
3
10 11