• Welcome to Auciou's Blog! Subscibe
  • HomeAbout AuciouArchivesContactSite MapLinks

  • Compare ASP and PHP (1): Speed

    Augest 29, 2005 at 11:38

    These days we are going to write a program to search from a large database, before this project I did one of the tests in order to wonder the speed of this big project.

    The PHP program:

    <?
    for ($i=1; $i<=1000000; $i++){
    echo "$i, ";}
    ?>

    The ASP program:

    <%
    for i=1 to 1000000
    response.write i&", "
    next
    %>

    On this test, I wanted it to print the numbers until one million. The test result: PHP program couldn't finish that just could print until 328125 and tell me "Fatal error: Maximum execution time of 30 seconds exceeded in F:\cww\php\re.php on line 3", it spent me 31 seconds; but ASP program could be finished, it spent me 18 seconds.

    Permalink | Comments (2) | Trackback (0)

    View the Last updated date of the other site's page

    Augest 12, 2005 at 19:03

    Did you need to konw when did a web page of the other's site update? For example, when did www.italy.com update? Today, when I had browsed a great deal with Google, I found a site Watchfire WebXACT can help you to do it.

    Input the site that you'd like to scan, such as www.italy.com, the results:

    This page was updated on 7/12/2005 2:05:32 AM (27 days ago).

    Permalink | Comments (0) | Trackback (0)

    Another simpler way to close the same windows

    Augest 08, 2005 at 19:54

    If you have opened those 20 font files windows, there's another simpler way to close the same font files windows. Because there were more than 800 files, we need to find a simpler way to do.

    Press "Ctrl+Alt+Delete", the Window Task Manager will be opened. Then click one of the font names on the Window Task Manager, keep the "Shift" key, and press the "↓"(down) or up orientation key on the keyboard. Press "Delete" or click "End Task". Like this below:

    The same windows will be closed at once.

    Permalink | Comments (0) | Trackback (0)

    Send many photo files in your e-mail

    Augest 02, 2005 at 15:21

    If you have many photo files that need to send to others, you can found a folder, copy the files to this folder such as "photo1". Then install the Winzip. Click the right button of the mouse on the "photo1 folder", Chose "Add to photo1.zip...".

    Then send this "photo1.zip" to others.

    How does he open this file? He need to install the Winzip. Then Double-click this file, click "Extract".

    Permalink | Comments (0) | Trackback (0)

    How to clean the screen of display

    July 25, 2005 at 19:53

    One of my friends spent 14,000 yuan to buy a TOSHIBA notebook. Such a expensive computer, the owner especially taked much better care of it. He asked me, how to clean the screen of display?

    Not only the popular LCD(Liquid crystal display), CRT(Cathode-Ray Tube), or the old display, you can clean it in the way which like cleaning the CD. The surface stuff of the display is easy to be nicked by hard things, if you use the bumf or dry cloth to clean it, there will be many nicks on the screen, this is not a good habit.

    The right way to clean the display:

    1. If there are much dust on the screen, please use the duster to whisk it.
    2. If there are many fingerprints and the other oleaginous things, please clean with a wet cloth. Then use the glasses-cloth to clean the screen to be dry.
    3. If there are a few of fingerprints, you can ha to the screen for several times, use the clean glasses-cloth to clean it to be dry.
    Maintain:
    1. When you are talking the things in the computer with your friend, don't make the finger touch the screen, because the oiliness on the hand is very easy to paste on the screen.
    2. Don't use the dry cloth, newspaper, bumf to clean the display, it's very easy to be nicked.
    3. Don't use the alcohol and other chemic reagents, obviously they are corrosive for the screen surface.

    Permalink | Comments (0) | Trackback (0)

    Normal measure of photos that shot by camera

    July 18, 2005 at 13:49

    How big were your photos that shot by digital camera? My friends liked the biggest measure, such as 2056×1536, or 1536×1152, 1600×1200. I thought it was discommodious, because:

    1. What's your Screen Resolution of display? The most popular is 1024×768, 800×600, 1280×1024. But none is 2056×1536.

    2. The measure like "2056×1536" of the photo is extremely unnecessary. Probably a new photo in your camera will spend you more than 1 or 2 MB space of your memory card. 1024×768 will spend 25% space of "2056×1536" measure.

    3. Many people thought, if the primal measure of the photo was 2056×1536, then change to 1024×768, it should be clearer than what if the primal measure of the photo was 1024×768. It was wrong.
    In truth, the primal measure "1024×768" is clearer than "2056×1536" change to "1024×768". You can make a test personally.

    So I thought, the measure of Screen Resolution is the normal measure for your photos. Such as 1024×768, 1280×1024.

    Permalink | Comments (0) | Trackback (0)

    Post suggestions to the sites

    July 12, 2005 at 13:21

    I have long been a fan of one of the sites that younet.com, payed a lot of sensation to it. Druing those years, I posted many suggestions to the managers of this site and talked with them for many times, often they could consider or accept or agree with my suggestions.

    I thought the suggestions should be helpful for the managers, but sometimes the managers disagreed with me. One of the reasons was because they had tried in this way, they felt it was not so necessary. Our opinions are different Because our attentions are different.

    However, it was helpful for everyone all the same.

    Permalink | Comments (0) | Trackback (0)

    The relationships can't be improved when discuss

    July 03, 2005 at 16:45

    We often sat together and discussed things with kins or friends. We wanted them to know the facts of the things and to know our opinions. But frequently it was difficult to make them agree with us indeed. We had different opinions because our attentions are different...

    We also discussed on the internet, probably it was more professional.

    No matter in which way we discussed with others, I felt that frequently the relationships that we and others probably can't be improved at all, and we might waste a lot of time. Instead of this, you can help your kins or friends. Probably he will be grateful for your help, and your relationships will be improved.

    Permalink | Comments (0) | Trackback (0)

    An interesting flash game - strike penguins

    July 02, 2005 at 18:01

    I've just found an interesting flash game - strike penguins. I've played for about 30 times, my best score is 323.5, please tell me your best scores.

    Permalink | Comments (0) | Trackback (0)

    Include ASP files

    June 28, 2005 at 19:07

    Sometimes we needed to include another file when we were writing the ASP programs for the sites. That enabled your site's numerous files to include the same ASP file. The way is like this:

    <!--#include file=***.asp-->

    The file's path just need relative path. And you needn't transform it to physical path. But I found that I couldn't write like this:
    <!--#include file=<%=ame%>.asp-->

    So I need a brighter idea in order to include the files from Request.QueryString such as <!--#include file=<%=Request.QueryString("ame")%>.asp-->.

    Do you have a brighter idea? Now, I try to write like this, it can run successfully:
    <%if ame=1 then%><!--#include file=file/1.asp-->
    <%if ame=2 then%><!--#include file=file/2.asp-->

    Permalink | Comments (1) | Trackback (0)

    A new mellow Cantonese song - "Love is the biggest droit"

    June 15, 2005 at 10:05

    The primary singer of this wonderful song is Ping Pung (The girl who was on the middle, as the photo below you can see). This is a new singer, so you can't find many information about her. "Love is the biggest droit" is a very mellow song!

    It's very difficult to find a song that we love.
    I first heard this song was on the Guangdong FM993 radio, in fact I was not so interesting in this song. I heard this song for the second time was on the internet, an internet female friend who was 21, in Guangzhou, she is SiSi BB. You also can click here to listen to this song of SiSi BB's. I felt very pretty, it seemed to be in the music hall, so I liked this song more and more. (SiSi BB posted in June 2005)
    And another female member Baodou from Guangzhou also posted this music that sung by herself on July 8, 2005, You can click here to listen it, very moving and pretty!

    Now, let's download it to try to listen to the primary singer. The links:
    1. Love is the biggest droit MP3
    2. The lyric of this song

    If you can't download it, please search it:
    3. Search in Google
    4. Search in Baidu
    5. Search in Sogua

    Permalink | Comments (2) | Trackback (0)

    How to close the "Automatic Image Resizing" of IE

    June 07, 2005 at 17:21

    There was a new function in IE6.0, that enabled the image to be the proper size of the IE's measure. As a web design or a webmaster, I think it was discommodious for us. Because the visitors who were tyros often couldn't see the proper size and effect of the image that we wished.

    So as a visitor, I hope you can close the "Automatic Image Resizing" of IE. Then you can browse the right effect of the the photo that we showed.

    As the picture above, open the "Internet Option→Advanced", Find the "Multimedia→Enable Automatic Image Resizing", take out the "√".

    Permalink | Comments (0) | Trackback (0)

    Out of the back door of Imperial Palace in Beijing

    June 03, 2005 at 16:29

    My twinborn younger sister and her boy friend, my wife and me, travelled in Beijing during May 25th and May 27th.

    This photo was shot on May 26th, 2005.
    It's me.

    Permalink | Comments (0) | Trackback (0)

    Keep your site as amused as possible

    May 09, 2005 at 15:39

    When everyone had grown up, his elaborative faculty had improved very much. Because the his age, status, Knowledge, position, Weltanschauung, philosophy, and thoughtway were different from before. When you are doing something, have you considered how others feel?

    Someones were easily to say something disagreeable on the internet. Even wrote everything which disagreeable in his site. It's not necessary. Probably it will make your site disagreeable, and you will make your visitors tired.

    So don't talk about something disagreeable in your site as possible. Fox example, barely I heard a song from my neighbor. But he listened to it and repeated it for many times, he always listened to this song, in truth this song is awful, such song will make people to be tired of popular music indeed. We need to choose the really fair-sounding popular music. But many people didn't want to choose by themselves in China. So they don't know what is popular music.
    It's necessary to listen to a song for numerous times, such as 100 time, 300 times. But turn the volume down as possible, please.

    It's disagreeable. It's just a real example, I hope that you don't mind if I've just mention it. So, keep your site as amused as possible, just talk about the happy topics.

    I'm very glad that my visitors said to me "I'm very happy when visit your site". In our lives, we'd better to make others feel that "I'm happy when talk with you". It's very important, and you will have many good friends.

    Permalink | Comments (0) | Trackback (0)

    Notice for business to shoot your products

    May 08, 2005 at 16:25

    How to shoot the products to gain the best photograph quality? You can read the specification of the digital camera. There are 3 most important things:
    1. If the product is less than 60 cm far to the camera, please open the "Micro" function. The sign is like a flower.
    2. Make sure that close the Flash Light.
    3. Make sure that use the tripod.
    If you follow these 3 steps, you can gain the best photograph quality for your products.

    Permalink | Comments (0) | Trackback (0)

    Coconut milk

    May 08, 2005 at 14:43

    I'm still alone in this city. When I have a coconut, I can remember the alone life. I was outside this afternoon and I was so thirsty when I came back home, I bought a coconut again.

    I had drunk all the coconut milk quickly this time, and ate its fresh. In order to not to forget this feeling and the life when I drunk the coconut, I shot for it.

    I suggest you to share coconuts with your family and friends, it's the crude drink and not expensive, just 2 yuan in Shenzhen, you can drink the coconut milk through the tube. When you haven't had coconut for a long time and extremely need water and need vitamins, don't forget coconut! Probably you need it. It's just one of my suggestions for you to reference. I like coconut!

    Permalink | Comments (0) | Trackback (0)

    Excellent mail template function of Foxmail

    May 06, 2005 at 12:27

    Download the English version of Foxmail

    Foxmail is one of the best mail softwares. I like Foxmail prefer to Outlook, one of the reasons is because the mail template function is much better than outlook. You can make the HTML template for yourself, for example:

    The HTML files is in the folder "C:\Program Files\Foxmail\Template\New" and "Template\Reply", you can directly edit these files. Or you can edit templates in the Foxmail "Templates Manager". Such as:

    The way is not difficult. Open the "Templates Manager", click "New→New HTML Template", like the picture below:

    Click the right mouse button on the blank place, choose "Macro", you can choose the text template that you need.

    Permalink | Comments (0) | Trackback (0)

    Is this book yours?

    April 28, 2005 at 14:04

    Yesterday, my wife and I were cleaning the smaller room, I put my books in this room. I often read books. But when she took out a book and showed to me, I asked her, "Is this book yours?"

    That was laughable. In fact the book is mine. 4 monthes ago, I bought 10 books for one time. But there were some of them that I never read because I was busy, so when she showed it to me, I couldn't know this book at once and I reckoned it was hers.

    So I joked with her and said, "You have an unassiduous husband."

    Permalink | Comments (0) | Trackback (0)

    View hundreds of font files more quickly

    April 23, 2005 at 15:47

    If you need to find a kind of font that was not in your computer, you need to install a font. When you have hundreds of font files to choose, such as this picture:

    There are 883 font files. If click and open every file then close it, it will spend much time. Now, select 20 files, then press "Enter" which on the keyboard. It can open 20 files for one time.

    How to close these 20 files when you've viewed? Keep the "Ctrl", then click the window-bars on the taskbar. Click one of the window-bars with the right key of mouse, choose "Close Group".

    Permalink | Comments (1) | Trackback (1)

    Nice sizes of pictures on the web page

    April 21, 2005 at 18:04

    If the proportion that width and height of the picture is appropriate, the web page will be nice. The proportion that width and height of wide screen television is 16:9. The proportion that 16:9 is very nice. So you can calculate the size of the picture. Fox example, if the width is 300px, then the height should be 300px ×(9÷16)=168.75px, so this size is 300×169.

    My favorite picture sizes:

    160×90
    320×180
    480×270

    602×361
    480×200

    Permalink | Comments (0) | Trackback (0)

    AutoCopy of Firefox Extensions

    April 19, 2005 at 17:02

    There were many new extensions of Firefox, AutoCopy is "Select text and it's automaticaly copied to the clipboard".

    Where to Find Extensions for Firefox?
    Start the Firefox, click "Tools→Extensions→Get More Extensions". Then follow Wei-Meng Lee's article Using Extensions in Firefox. Here's Auto Copy - Firefox Extension.

    But there was a mistake when installed it.
    The newest version of Firefox is 1.0.1 or 1.0.2. Step 4 which in the article "Using Extensions in Firefox", at "Figure 4. Installing an extension", then click "Install Now". It can't be installed.

    Eventually I downloaded the ".xpl" file. Started the Firefox, click "File→Open File→****.xpi(which I just downloaded)" in the menubars. It would be installed successfully.

    Permalink | Comments (0) | Trackback (0)

    Do you remember the guestbook?

    April 18, 2005 at 15:26

    About 3 or 4 years ago, when I started to make webpages and to found my personal site, I especially liked the guestbook. My friends could leave words to me, and I also could hear their news. Guestbook was extremely important for me at the time, it made me not alone on the internet. I had saved all of their comments and showed them in my site.

    In 2002, I signed numbers for every comment. Fox example, No.1, No.2, No.3... No.1560, and so on. I also could derive pleasure from these numbers, it made my site's ambience well.

    Now, I also founded a guestbook catalog for my Weblog, it's "Nice comments" catalog. The guestbook programs were written by me in ASP language, I had improved the programs strongly for 5 times. Once upon a time, you could reply for every comment in my guestbook, like O'Reilly Network, but now, I think it's not so necessary to open the function that every one can reply for every comment in my sites. So the Nice comments as you can see is a simple guestbook. I'll save all of my friends' comments, and change the database to HTML pages and make a Guestbook History catalog.

    If you feel it necessary to improve this guestbook, I'll never stop improving it. Do you have a guestbook in your site? Or you had deleted, or you had other ways instead of the guestbook, or you needn't it?

    Permalink | Comments (0) | Trackback (0)

    I often couldn't visit Google's search results because...

    April 09, 2005 at 13:31

    Did you find that sometimes we couldn't visit Google's search results? That was because: The picture below as you can see, I searched the keyword "sweet 8", all of the result links were like this, "http://www.google.com/url?sa=U&start=1&q=http://***.com/****/***&e=9833".

    For example, on the picture above, the first result's real URL is "http://lostgarden.com/2005/03/download-complete-set-of-sweet-8-bit.html", but these 2 months, the links in google search results were like this, "http://www.google.com/url?sa=U&start=1&q=http://lostgarden.com/2005/03/download-complete-set-of-sweet-8-bit.html&e=9833". It was discommodious indeed! I often couldn't visit these search results, then I directly copied and pasted this real URL to the address-bar of the IE, it immediately could be visited. I hope that Google could restore as before about this that used the real URL links directly.

    Permalink | Comments (0) | Trackback (0)

    A simple way to open many local photos

    April 07, 2005 at 10:21

    As a web designer, we usually needed to open many local photos at the same time. When every day we opened them, it's very discommodious and sometimes probably we forgot which photo should be opend.

    Now, you can found a new web page at local harddisk by FrontPage or Dreamweaver, I was used to write HTML source. You can insert these photos into this new web page, then save this web page file. The HTML source method is:

    <img src="file:///D:/myphoto/****"><p>
    <img src="file:///D:/myphoto/****"><p>
    <img src="file:///D:/myphoto/****"><p>
    <img src="file:///D:/myphoto/****"><p>
    <img src="file:///D:/myphoto/****"><p>
    <img src="file:///D:/myphoto/****"><p>

    When you open this web page that you founded, all of the photos will be displayed on this page.

    Permalink | Comments (0) | Trackback (0)

    I don't really want to change my mobile number

    April 05, 2005 at 09:38

    In China, there'a a concept that "ramble" in mobile nouns. That means, when your mobile number card moves to another city, it is called "ramble". Chinamobile will cost you the ramble charge and long-distance charge. The ramble charge is 0.6 or 0.8 yuan per minute; the long-distance charge is 0.07 yuan per minute. So, when your mobile number card is in another city, you will spend 1.3 or 1.5 yuan per minute for your mobile charge. When you talked by the mobile for 100 minute, you should pay 150 yuan, it's about 17.5 dollars. How expensive it is!

    I have bought 3 mobile number cards ever. In 2001, I worked in Beijing, and in 2004, I went to Shantou, I reckoned I would work there, so I changed it as my second number and gave up the Beijing's number. 2 months later, I went to Shenzhen and would work in Shenzhen for a long time, then I changed it again. Now, my number is Shenzhen's.

    Friends always told me don't change the mobile number card, I also wished not to change. Why can't the mobile number card change the card's city that needn't to change the number? Technically it can realize, but Chinamobile said, "Every number card has the city locus, we won't change the number datas." For example, 1391072**55 and 1391072**53 are all in Beijing, they won't change like this: 1391072**55 is Shenzhen's number, 1391072**53 is Tianjian's number.

    In truth, to change the mobile number is very discommodious. But we have to do so.

    Permalink | Comments (0) | Trackback (0)

    Why did I enjoy seeing films and travelling

    April 01, 2005 at 12:45

    I loved the films that "The Incredibles", "Star Wars: Episode V - The Empire Strikes" ,"The Fifth Element", "Final Fantasy: The Spirits Within", "Ice Age", "The Mask". I was very interested to see the scene, environment and landscape in the movies. As a designer of website, those scene could give me more afflatus and new imagination. I also greatly loved the people and the story in the film.

    I enjoyed travelling, because I loved the new environment, It was pleasure to go to a strange place that would enable me to find the new feeling.

    Permalink | Comments (0) | Trackback (0)

    Take much better care of the clients

    March 24, 2005 at 14:32

    I couldn't find the business card which one of my important clients for 10 days. I reckoned it lost. Today, I found it in my box eventually. I was very glad.

    So take much better care of the clients' business cards, or shoot them with the digital camera into your computer in order to never lose them. Clients' business cards are very important!

    Permalink | Comments (0) | Trackback (0)

    Because our attentions are different

    March 22, 2005 at 08:05

    In our life, we usually found that our friend's opinions were different with us. Because you and your friend's positions were different, Weltanschauungs and philosophies and thoughtways were different, knowledge configurations were different, and attentions were different.

    In different times, the same one's positions may be different. Yes, our opinions were always variational and developmental.

    The second thing I'd like to talk, frequently someone talked to others, but you were not so interested in what he said. So you couldn't feel pleased.

    The third thing, if someone gives you a mission or do it to help him, perhaps he is always going to pay attention to you when you haven't completed. Probably you have other businesses to do, so you haven't finised the work for your friend all the same. Then he calls and asks you, have you finished? You can feel the pressure of work, but he can't really feel.

    The last example, if you feed the pretty fishes by yourself, perhaps you are going to look and enjoy them time and again. You love them indeed. But probably others don't look and enjoy them, Because your attentions are different.

    So we should usually consider others as them.

    Permalink | Comments (1) | Trackback (1)

    The music can't be listened if it's not boughten

    March 20, 2005 at 14:09

    In China, there are numerous people who don't often listen to the music and even don't like music. They haven't listened to the really moving songs, so they are not interested in music.

    There was a sentence in China thousands years ago: "The book can't be read if it's not borrowed from others". Now, we can say "The music can't be listened if it's not boughten". Why? If the book is borrowed from your friend, you need to give it to him back as soon as possible, so you will cherish the time to read the book. If the book is boughten, perhaps will not cherish the time to read it.
    If the music was borrowed from your friend, perhaps you never know the value of this CD. When you bought a CD, you could feel glad indeed, at the very least, you can know the value of the disk. When go back home, probably you will protect it seriously. Certainly, you will listen to it seriously.

    This is one of the genuine reasons that they don't listen to the music in their life.

    Permalink | Comments (0) | Trackback (0)

    Cherish the time on the bus

    March 15, 2005 at 17:37

    Do you usually go somewhere by bus? What were you doing on the bus? Most of them had nothing to do. Ones were reading newspapers, Ones were listening to the music, Ones were talking, and so on. If you have something to do on the bus, all of them are good, you can read, study, listen, chat, and so on.

    I like reciting English articles on the bus in order to cherish the time. I derived much pleasure from recitations. So I can study more things in the same year. Time is very valuable!

    Permalink | Comments (0) | Trackback (0)

    First | Previous | Next | Last  (4 pages)

  • Auciou: Programmer

    Peaceful Seabed | My column

    Category:
    Program | Internet | Computer
    Blog Research | PHP | Philosophy


    TDNote | Gratitude | Matnue | Aucist | Aroat | Aufirm | IXNes | Anydiary | Cersta | Coumit | Tovate | Aroat | Aucist | Matnue | Sinvide | Serble | Auciou's column | Peaceful Seabed | Webshu | Sail every day | Sail every day

    Archives:
    January 2011 | January 2010
    December 2009 | October 2009 | September 2009 | April 2009
    December 2008 | November 2008
    May 2007 | April 2007
    August 2005 | July 2005 | June 2005
    May 2005 | April 2005 | March 2005
    February 2005 | January 2005

    Recent articles:
    My Go Daddy hosting is fast
    Create a house with your spouse on the interest
    Pending time which add a domain of hosting, was more than 36 hours
    Diary: 2010-01-15
    Many Linux hostings do not support the mod_expires module
    Figured out, there is still a way
    About the delicated IP of IXWebHosting
    About the QUERY_STRING parameter of URL
    About the ping value and speed of site
    The relation between program and .htaccess file
    Saved a delicated IP
    Judge that does a long-range file exist in PHP
    How to call the Confederation of Planets and the high evolving beings of alien/pray/make a wish
    Use Apache as the local virtual hosting to preview the Blog
    Create the development environment of Apache
    Reinstall Apache and PHP for one step
    The elements of program of preventing the spam and closing IP
    How to close the visit log of ixwebhosting
    Happy Wedding to a friend
    Make an easy Audio/Video converter


  • Copyright © 2007-2025 auciou.com All rights reserved.
    Programmed by Auciou.