I need to write a java script. This is supposed to validate if the checkbox is selected in the page or not. The problem here is that the check box is inside a grid and is generated dynamically. The reason being the number of check box that need to be rendered is not know at design time. So the id is know only at the server side.
...
I have a PHP file at my server root.. index.php .. which include's .. DIR/main.php
Now .. DIR/main.php .. include's many nearby PHP files using relative URLs using .. include("./common1.php");
Any way I can change the relative-URL base path so when including "DIR/main.php" It can relatively access its nearby PHP files like "DIR/common...
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 website with PHP and GD?
How might I obtain a Snapshot or Thumbnail of a web page usi...
I need a simple server-side scripting solution for the following problem:
My client has me making a site in ASP.NET MVC. I'm coding the whole site but there's a section they want to be able to expand later via simple scripting. For example:
When is your birthday?
__/__/____ [x] Don't display the year
This needs to take a title (...
hey guys,
Lately, I'v been struggling with an annoying situation on ASP.NET MVC. Here's the story in short,
I'm supposed to have a view that lists all of the products; now because those products are too many, I'm paging them (very innovative heh!). The page contains two paging arrows -"Next 10 products", "and previous 10 products". The...
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 javax.scripting, however, doesn't mention security, permissions or restricting classes availa...
Hello friends. At present i am doing a project regarding SQL injection. I am doing it in such a way that it will find the SQL injection independent of the server side scripting.. whether it may be jsp or asp or php. Now the major problem is I have to extract the SQL query from the web page. That is when i press submit button for instance...
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, it just seems to make sense.
And isn't it kinda sorta interesting?
I guess the quest...
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 allowed to access via a server side page. For e.g. we can use CURL in php to access any site.? W...
Hi all,
Does anyone know of any market share information for server-side scripting languages (# of web servers, % of web servers, etc.)?
I'm learning how to do server-side scripting with Python (via the examples in Programming Python). I just can't ever remember having seen a web address with ".py?" in it ... they're almost all ".php?"...