server

Server opens /search.php instead of /search/

Ok, i have a simple .htaccess for my engine. It simply rewrites all requests to index.php (much like Wordpress does). RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] Now, i've run into an issue. I have search.php, which should be included with index.php. But, when i try to open exam...

Jar file not loading

I have jar file which is signed on my local machine. Its working fine in local machine. When I upload it to the server it shows some error like load: class com.trusm.tru.ReadNFCSerialNumber not found. java.lang.ClassNotFoundException: com.trusm.tru.ReadNFCSerialNumber at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) a...

Retrieving server address from email

How can I retrieve mail's SMTP server from email (for example [email protected]) ? ...

Downloading file from server for user logged in as guest

I have a code which allows you to download any file from server to your local host. This code works fine when i log in as administrator but when i log in as guest user it does not let me download.. and i get an error message saying.. External component has thrown an exception. Description: An unhandled exception occurred during t...

Google indexing to a staging server.

A site that I was working is resolving to a staging server through google. I've removed all the information. How long does it take for google to update the information so that it does not show up. is there anyone that I can contact to move this along? ...

Designing a client/server app to update client software automatically

I am designing an app using .NET 2.0 remoting. It has a single server and multiple clients which are workstations or laptops which may be on or off-line at any time. Part of the design is that the server holds a copy of the client installer MSI. The plan is that for the first installation, the clients will be rolled-out using group poli...

Browser closing and server question

How does the server knows that i've closed the browser in a code like this? <?php $i = 0; while (1) { echo "a"; flush(); $fp = fopen("$i.txt", "w"); fclose($fp); sleep(1); $i++; } ?> If i close the browser, the script stops and no more files are created. ...

C# web socket server

I'm trying to implement a C# web socket server, but its giving me a few troubles. I'm running a webserver(ASP.NET) to host the page with the javascript and the web socket server is implemented as a C# console application. I'm able to detect the connection attempt from the client (chrome running the javascript) and also to retrieve the h...

Importance of public_html folder in the server.

I am not able to access public_html folder of a server, but I am able to create a folder on the server. Lets say the folder is happy and the file is today.txt Will www.something.com/happy/today.txt work? ...

Minimal AJAX server in C++

I would like to create a very bare-bones web server in C++ which only needs to respond to XMLHttpRequests. The idea to have an Apache server serving webpages which directs the XMLHttpRequests to an existing application so that the app can provide monitoring data to users. I have a hacky implementation working now where the existing app w...

best approach for multithreaded server on .net?

Hi , I want to develop a server which will listen on some specific ports to receive requests from device.While processing a request following steps are followed. Read data from socket stream(sent from device) Parse byte data in to business objects Use business objects process request using database through ado.net layer Send response i...

concurrent mySql database queries

Hi I'm running mySql server that being updated every 4 hours. In the mean while data can be retrieved. Does mySql handle this scenario where the DB is being updated and a query from the user is received? or I should handle this scenario? Is it possible to create a snapshot of the DB just before the update takes place and query this D...

Java socket server, C# socket client, communication problems?

Erm, I'm new to sockets and even newer to Java, so the Java side is basically copied and pasted. The C# side is a little more self-made. I've come to think that it may be some difference in the way Java and C# interpret strings; I've gotten it to partially work using the now deprecated "readLine" method in Java. On the C# side: pr...

Normal image storing or mySQL blob?

Hi, i'm programming a php/mysql web app which is kinda like a blogging platform where people can upload pictures and post them. What is the best way to store these images , Storing them in a folder or in mySQL table through BLOB ? i ask this because i want the most simple way which let me easily move to another host/server without spe...

C++ Serve PHP documents?

I am writing a small web server, nothing fancy, I basically just want to be able to show some files. I would like to use PHP though, and im wondering if just putting the php code inside of the html will be fine, or if I need to actually use some type of PHP library? http://www.adp-gmbh.ch/win/misc/webserver.html I just downloaded that ...

Can we Change the Values of ServerVariables?

hi all, I want to change tha value of Request.ServerVariables["Remote_Addr"],is it Possible? if yes please let me know how can we change? if No Please let me know why we can not change? thanks in advance. ...

upload rails app to live server

hi...how do i go about uploading a rails app that works locally (on MAMP) to a live server? thanks ...

How to add a editable PDF form to a web site then save and email it.

I want to add a PDF form to my website that I can edit (online), then save a copy to the server, then email a copy to my self and the client I am working with. Any ideas or direction would be awesome. ...

Does a cookie have to be set in the http header?

Would like to set cookies from the server (CGI - C) Can it be set after the header has been printed? Thanks. ...

How is a cookie dynamically set based on user input?

How is, for example, a shopping cart cookie set? Once something is added to the cart it "creates" the cookie but how does the next page know to send a new http header with this new cookie to the client? How is a cookie dynamically set based on user input? Is this functionality dependent on anything else? I did see this example, but ...