serverside

Which asp.net validation control should I use?

Hello all, I have two textboxes, each contain a time (textboxA / textboxB). I need to be able to validate that textboxA is before textboxB. For exmaple: textboxA = 10:30 / textboxB = 12:30 VALIDATION = true textboxA = 10:30 / textboxB = 10:00 VALIDATION = false I would prefer to do the checks using server-side controls. Thanks...

Save the document generated by javascript.

Javascript can manipulate the document the browser is displaying, so the following: <script> document.write("<table><tr><td>Hola</td><td>Adios</td></tr></table>"); </script> Will make the browser display a table just like if it was the original HTML document: <table> <tr> <td>Hola</td> <td>Adios</td> </tr...

Anything wrong with using PHP as a server side language?

Is it wrong to use PHP as a server side language? For functions such as mail notifications / fraud checks (look for data, flag, then email type approach) / db cleanup / upload folder cleanup / cronjob type functions etc; I've ran into some projects lately where I've been successful with this approach, but I'm not sure if its the wrong w...

Why not run a server side app with daylight saving time enabled?

I've implemented a server side application that records timestamps when records are created and updated. The app assumes that the server clock does not have daylight saving time enabled, (a) because I've read this is best practise and (b) because I imagine it would be tricky (if not impossible) to handle the ambiguities that occur, e.g. ...

include/echo output of PHP

I got two projects running, both written in PHP. Now I want to merge these two projects. The first project is a CMS and on a specific page i will display the contents of the other project / application. I don't want the first project to know about, or get access to, the variables and functions in the other and vice versa. So i just want ...

A design suggestion for changing php or general server side code through a web console

Ok so this is my situation...a web application in PHP uses a "config" file for various parameters. This config file is nothing but a php file, say config.php with a global array of the form $config['param_name'] = 'param_value'; $config['param_name2'] = 'param_value2'; Now I am currently writing an admin app that I want to use to cont...

How to manage multiple client sessions within server application?

Hello folks, I'm writing web chat application, similar to GTalk. It based on Orbited + Sinatra for client side, and Ruby for server side. I've already implemented all the protocol, everything working good. But. I got a problem - dont know how to deal if there are multiple connections from one user. Let`s say for example, i logged to cha...

How can a Perl CGI script communicate with a daemon on the webserver?

I am building a Web interface to monitor an embedded system. I have built a Perl script which runs remote commands and gathers output from that system. Now what I need is a Web interface which makes calls to this script (executes remotes command) and displays data on the web page. First of all, I need to make my script as a daemon proc...

Calculate driving directions using PHP?

For my application I need a server to calculate driving directions. The Google Maps API was designed for clientside use only, with a Javascript and Flash API. Is there any way I can run their API's server-side? ...

How to use HTTPS with HttpReceiveHttpRequest()?

I'm using the Windows HTTP API to process web service requests in C++ (not .NET) and everything works just fine for HTTP requests. When I change the URLs I'm expecting with HttpAddUrl to https://example.com:443/foo/bar my tests from Internet Explorer no longer connect. My code does not get called at all and the calls to HttpReceiveHttpRe...

Client Side javascript call from ASP control throws "Too many characters in character literal" error!

I have a javascript to enable text boxes when called, I want to trigger this code when a user picks value "Custom" from a dropdownlist, so that I can display/Hide these new textboxes. <asp:DropDownList ID="DateRangeDropDownList" runat="server" Enabled="False" **OnSelectedIndexChanged="EnableTextBoxes('SomeValue');"**> ...

download a folder from server to local host...

I have a code to downolad a particular file that is stored at a particular location on the server... for example i have a file untitled.bmp in the C: drive of my server and i download this to my localhost using the particular code... protected void Button1_Click(object sender, EventArgs e) { string filepath = (@"C:\untit...

jquery run serverside script when mouseover

Hi I have a site where I need to check all href-links if they are in a custom dictionary on the site. If they exist then the title attribute in the a-tag should be set to the text that is fetched from the server. I put this together based on other wuestions from this site (example, not tested): // How to only activate "a href" links? ...

Server side control hidden - possible to read values client side?

Hi, A quick question. I've got two textboxes running server side and have their visibility turned off. I'm using a couple of ASP.NET controls which require the textboxes to exist. However, I am filling them from the code behind and would not like the user to see this. Can the user turn the visibility on and see the values entered in t...

Asp.Net Add UserControl to a Page

I have an ASP.Net web site and on one of the pages I'm using a repeater to render several iterations of a UserControl, that UserControl contains a second UserContol that has two text boxes that my User must enter information into. I want to be able to have my user push a button and add another instance of the second UserControl (with th...

ASP.NET HttpModules & Server.Transfer / Server.TransferRequest / RewritePath problems...

Hey guys / gals, I will try to be as specific as I can be. I inherited a very antiquated C++ ISAPI filter that secures a classic ASP website and was tasked with the job of creating an HTTPModule to directly replace it. First I hooked into the OnPreRequestHandlerExecute event. I then successfully recreated the calls to the stored proc...

Program to create YouTube video's from photos, serverside

I have SlidehowPro Flash slideshows and want to create YouTube video's (iPhone compatible) from the xml data (photo path's and text nodes) Ideal would be with Ken Burns effects and the abillity to throw an MP3 in the mix. Does something like that exists? ...

Server or CLIENT side Custom ASP.Net Controls???

Hello ! I am an undergraduate student , and working on my Final Year project these days. I have some queries related to Custom Controls as follows: I am designing a text box field which will have three or more functions as follows : Either it will allow numeric characters only Or it will allow an email address to be taken as input Or i...

Getting the directory of an uploaded file with perl

Hello, I have a Perl script which will allow for a file to be uploaded to my server. I'm not completely done with it yet, but I would like to know, if there is any way for me to get the full path of a file i uploaded. Shouldn't this be possible by checking the PATH_INFO environment variable, but when i try to check the path info, nothing...

javascript problems server side

Hi, I have a php script that uses some css/javascript tabs, they work on my local server but not when i upload to my online server. Just wondering if anyone knows why this might be the case? All the paths are correct, its basically an identical setup. I would be grateful to find out some reasons why the error appears on the server side...