In my experience when I had to host on a windows box because of the database we were using, I found IIS6 a nightmare!! The connection would fail, Permissions would change on upload and the whole set up was a nightmare. It took over a day just to get the site live and although there were some good forums on how to get php going on IIS, the reliability left something to be desired.
IIS 7 may be better but IIS work well with php. I would definitely run on XAMPP for a simple setup or install apache by itself. It was simple to install and I never had a server outage or drama in over 18 months. For consistency between the platforms IIS is the way to go.
The other thing to note is that some php modules that are easy to get going on debian like and cent os systems can be more tricky to get going on windows. A commonly used php module is imagemagick. File paths with windows can sometimes be a pain too.
Alright, I've got a small project from a guy who wants me to pass a variable from a form on one page to a form in an iframe on another. The page in the iframe uses GET to pass variables through the url.
The form on the other page takes the zip code and insurance plan choice and so should skip the entry step on this page, giving that information to the form. I'm not sure if I can just skip the entry page altogether, cause there's a link that uses the same page with the iframe.
I could probably just pass the values from the form to hidden fields on the page with the iframe, and use those fields in the url of the iframe since it's a GET method, but the only way I can think of to do that would require me to make a separate page in wordpress for this.
I was trying to avoid that if anybody has any ideas, but if it's the only way, I suppose that's fine.
i have a mysql database which i use to update a soccer league table when i enter in results from a form, works fine, however i would like to be able to enter latest scores and update table based on latest scores entered but i cant work out how to do this as at the moment when i enter an update in the score for a match it will treat it as a new match and allocate points etc all over again
teama 1 teamb 0 would give the following teama goals for 1, teamb goals for 0, goaldifference = teama goals for - teamb goals for which in thiscase would be 1
if it changed to
teama 3 teamb 0 would give the following teama goals for 3, teamb goals for 0, goaldifference = teama goals for - teamb goals for which in thiscase would be 3 but it adds the 3 from this update to the 1 from previous update giving 4.
so i need a way to stop it treating each update as a new result and only update with new data - the previous data so in my example
3 goals - 1 goal from first update = 2 goals , i have other fields like points that need to be treated same way.
hope someone can helpout with this and point me in right direction
Is it possible to access local machine form webpage without IE/ActiveX? For example, can I execute an exe file on a local machine? Or, If viewer's machine hosts a webservice, can i invoke it through webpage?
I am off because my program is not working. I tried to combine the three arrays of gene expression to get single array. Then I tried to get a subset of array from the single combined array. So I wrote the following code:
But the problem is this:
Use of uninitialized value $val in scalar chomp at C:\manoj_bioinform\expression.pl line 33, <DIAMIDE> line 8808.
Please help me what's wrong with my program..........!!!
#Open the three .txt file to the FILEHANDLE
#and create the arrays for all the three file
open (HYPEROSMOTIC, "hyperosmotic.txt")|| die "can't open the hyperosmotic file: $!\n";
@hyperosmotic = <HYPEROSMOTIC>;
open (HEATSHOCK, "heatshock.txt")|| die "can't open the file heatshock: $!\n";
@heatshock = <HEATSHOCK>;
open (DIAMIDE, "diamide.txt")|| die "can't open the file diamide: $!\n";
@diamide = <DIAMIDE>;
#store all the expression data on the three array
#into single @excomb array
@excomb = (@hyperosmotic,@heatshock,@diamide);
#loop to split each line from the @expdata into a new tiny array
#the columns of data in the original file are
#separated by tabs as denoted by the /\t/
#then save only the info from column 0 and 2 as separate variable
#also "chomp" each variable to remove unseen characters
You can look at the page source of codeproject.com and search for favicon:
I recommend to use the whole path to the image like "http://www.codeproject.com/favicon.ico" if you want to work in subdirectories and you want to use .htaccess.