Programmer bugs' blog

This content is password protected. To view it please enter your password below:

Advertisements

1- Download the latest version of PHP windows here http://windows.php.net/download/ select a Thread Safe
2- Copy the files in the folder c :/ appserv / then Extract in folder
3- Save the old version of php – php folder rename long way from being php5 php5-bak
4- Rename the new php folder into the folder with the name php5
5- Go to Start -> Control Panel -> System and Security -> Administrative Tools -> Click on Services
6- Find a service with the name apache2.2 then stop the service and start again
completed
7- Please check with phpinfo, appserv Windows congratulations you are now using the latest version of PHP. good luck

 

Translated from Link

Tags:
<FilesMatch "\.(?i:doc|odf|pdf|rtf|txt)$">
  Header set Content-Disposition attachment
</FilesMatch>
Tags:

When JQuery conflicts with other libraries follow this steps in the following code:

1- Attach jquery library:

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>

2- Attatch the other library (such as “Prototype”):

<script src="lib-path/prototype.js" type="text/javascript"></script>

3- Replace JQuery start symbol “$” with other by using “noConflict” JQuery function:

<script type="text/javascript">
    var $j = jQuery.noConflict();
    // Use jQuery via $j(...)
	$j(document).ready(function(){
		$j("#divstart").click(function() {
			$j(".content").fadeOut(100);
			return false;
		});
	});
</script>

Thanks,,

Tags: