IE6 should not be supported anymore but, there are alot of users witch use it, becouse they dont know any better or dont know how to install another one.
So the hard part will come to the web developer witch need to make the web page ok for everyone including the IE6 users.
By default IE6 will not show tranparency on a png. But you can do like this:
Ask.com search engine have a page where you can submit your sitemap.xml for easy crawling .
See the link : http://submissions.ask.com/ping?sitemap=http://wiki.nisi.ro/sitemap.xml
Just copy and paste it in your browser and replace http://wiki.nisi.ro/sitemap.xml with your website sitemap link.
This is it.
Today I had encountered a nice math problem . To convert a decimal number into it corresponding fraction.
Thanks to this post I had fount an easy solution that you can check bellow. I had not used the gmp_gcd function from PHP (witch was used in the post code version) but made a Great Common Divisor function using recursivity.
When using ajax requests you have to request data from same domain as the domain as the one from where you requesti it.
www.mydomain.com is not the same with mydomain.com so when you request it you should be careful not to request from wrong domain becouse no data is sent (“for security reasons”).
Following you can find a script to get the right address:
hope it help and …. please support us visiting some sponsors
Oct 11
29
Today I had to put a simple script on one of my hosting server where a “Facebook Login” button was available for login. However when I had to run it I encountered the following error:
Warning: file_get_contents() [function.file-get-contents]: Unable to find the wrapper “https” – did you forget to enable it when you configured PHP?
This was becouse the url served to file_get_contents start with http:// ….
If you have the same problem there are 2 steps to rezolve it:
Server restart and you are good to go.
To test from PHP is extension php_openssl is active just paste this code:
Along with the “upload_max_filesize” when uploading files with PHP there is another parameter named “max_file_uploads” witch prevent uploading more files that the value of this parameter.
Default size of this parameter is 20 and is should be enough for more apps then I can count but today I had to repair a bug in a page where a form contain 30 file uploads and just 20 were availble in $_FILES from php script.
How can you change this?
There are 2 methods. One is to change it from php.ini but not always you can access php.ini file
The second method is not using ini_set :( . Tried that and not working.
I did find another method witch need some javascript. The method is when submiting the form a javascript will disable all unused upload elements like this:
and the form:
I had stumbled today on 7pic.com website witch is a new and free hosting service for photo sharing. I give it a try and I like it becouse i can use the 7pic uploader to upload picts without to start a browser.
Uploaded images are stored in albums and can be shares as an images witch can be embedded in a blog post or as a link to a page on 7pic.com where anybody can comment that images share on facebook, twitter and other social networks and of course anybody can rate the picture.
In this post you will see a example of using call_user_func_array (from PHP) to call a simple function, a public static method from a class and a public method.
First I define one function and one class:
Maybe you notice that in the class I did inserted a construct and destruct functions. You dont realy need them for this example to work but I always include them when I write a class.
Call a simple function with call_user_func_array:
Call a public static method:
Call a public class method
Nov 11
21
How to disable comments notification for WordPress
Do you receive alot of emails sent by your WordPress Blog becouse people comment your posts?
You can turn this off like this:
1. Login to your blog admin page
2. Click on Settings -> Discussion
3. Search in that list for “E-mail me whenever:”
Now by default you receive email when “Anyone posts a comment” and “A comment is held for moderation“. Uncheck any or both of this options as you like.
You should definitely uncheck “Anyone posts a comment”.
Posted in Wordpress by admin. Comments Off