English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - April 2007

[Selected]: All categories Computers & Internet Programming & Design

I have a folder in my host where I want to have people to access it by password, I have made a tow file by name of .htaccess and .htpasswd the htaccess is looking like this:
-------------------------------------
AuthUserFile /home/omerniah/public_html/ktc/.htpasswd

AuthName "Members Only Area"

AuthType Basic

Require valid-user

-------------------------------------

and htpasswd is like this:
---------------------------------
demo:bY9GmIlmPNj5M
-----------------------------

Note: username is demo and password is also demo.
The password is encrypted with a software, and when I try to connect to it with the password I provide it, it says that the password and user name are not correct, can anyone tell me how to use unencrypted password? and also how to solve this problem? I really need help.

2007-04-28 22:07:50 · 1 answers · asked by Omer 1

i need something free and downloadable and easy to use. i have a windows 2000 and microsoft works, so i dont have publisher


thanks.

2007-04-28 21:42:50 · 3 answers · asked by thevendingmcahine 2

hi all,
I need a photoshop image to be printed on a Letter Size paper.
To to this, I did.
1. clicked on File->new.
2. In a 'new' dialog box, under Image size box , i entered values as
Preset Sizes: Letter
Resolution :300
Mode: CMYK
3. I designed the matter and printed with "Print with preview option".
4. Clicked on Print.
5. The paper was printed but some part of the image was missing at the end of the paper.
6. I tried "Scale to fit media.", but there was a larger space at the end of the page.
What I want is I want to print without any margins at the end of the page.
Thank you

2007-04-28 21:00:10 · 3 answers · asked by bishnu paudel 1

/*
4. Write a program that simulates coin tossing. For each toss of the coin, the program should print Heads or Tails.
Let the program toss the coin 100 times and count the number of times each side of the coin appears. Print the results.
The program should call a separate function flip that takes no arguments and return 0 for tails and 1 for heads.
*/

#include
#include
#include



using namespace std;


int main()

{
int heads=0;
int tails=0;
int toss;

srand(time(0));

for (int counter = 1; counter <= 100; counter++)
{
toss = 1 + rand() % 2;


if (toss == 1)
heads = heads + 1;

else
tails = tails + 1;

}


cout <<"number of heads: " < cout <<"number of tails: " <
return 0;
}

2007-04-28 20:56:16 · 2 answers · asked by Anonymous

on the left are memory locations on the right the contents of each location
601 30
602 3
603 9

740 LDA601
741 ADD602
742 ADD603
743 STO603
744 HALT000

WHAT IS THE VALUE HELD IN THE ACCUMULATOR ARFTER THE INSTRUCTION AT LOCATION 740 HAS BEEN EXECUTED AND THE SAME APPLIES TO NUMBER 741 AND 742 AND WHAT IS THE VALUE STORED IN LOCATION 603 ARFTER THE PROGRAM HAS HALTED

2007-04-28 20:31:01 · 2 answers · asked by bud1658 2

I'm trying to resize an image for my Multiply site, but I'm wondering what the optimal size is? My image is 1700x300, but I resized it to 1024x551 so it'll fit in my 17" monitor.

Question is, will it look good (ie, automatically resize) in 19" or 21" monitors? Or will it look too small for the screen?

(If you guys wanna check, it's www.loopdaloop.multiply.com. I'm using the 1024x551 here, and it looks fine to me, but how about you guys? Thank you!

PS. Or if there's a CSS code for automatically resizing the image, I'll be happy to try it out. Thanks!

2007-04-28 16:00:47 · 2 answers · asked by Aubrey T 2

I am just learning programming, plz tolerate me a bit. Thanks.

2007-04-28 15:57:30 · 4 answers · asked by jabba 1

2007-04-28 15:29:14 · 13 answers · asked by northdakotagirl2003 1

web site or multimedia application relate to one another?

A. HTML
B. Graphics software
C. Flowchart
D. PNG

2007-04-28 15:22:14 · 1 answers · asked by futurebride 1

With this gamer's voice talking software, Ventrilo, you have to manually advertise your IP address. To host a server you have to run a .exe file application. Where is a FREE web hosting server where I can upload this application to a homemade website and have it EXECUTED 24 hours a day, 7 days a week, 4.5 weeks a month, you get the point. A homemade website which at the same time is a server. Any Ideas?

2007-04-28 15:04:12 · 1 answers · asked by Daniel_the-beagle-boy 1

I am making a login script, but I do not understand sessions or cookies... I read about them but do not understand them at all... I have searched on the net, but It only confused me more.

2007-04-28 14:59:16 · 2 answers · asked by no1nosemax 2

In java, if we don't want to catch the exception inside a method, we can throw the exception so that it would be handled outside the method like this:

public void doSomething() throws Exception{...}

I would like to know if I can write something like this in .NET:

Public Sub DoSomething() Throws Exception
...
End Sub

I just need a simple answer. Thank you very much.

2007-04-28 14:42:10 · 2 answers · asked by Hello World 1

To publish my site, I have to fill out this form:

http://i110.photobucket.com/albums/n82/sat0693/Picture1-1.png

Where can I get both of those things for free (that I have to fill out). I dont have a credit card, so no, I cant buy domains.

2007-04-28 12:52:09 · 3 answers · asked by Anonymous

2007-04-28 12:06:33 · 4 answers · asked by James B 1

0

I am trying to find a free and safe FTP server but I dont know one that I can trust does anyone no of one?

2007-04-28 11:58:40 · 5 answers · asked by Anonymous

that can remember like 50 clicks and make those exact same clicks every 20 min

2007-04-28 11:47:51 · 1 answers · asked by austinblnd 4

Hi. I am making a web page and I need to have a data base in order to use it into a form, you know, those that ask ID and Password, but my code doesn't work properly.
Where can I get the code, or some info about it.
THANKS

2007-04-28 11:26:56 · 2 answers · asked by Tomomi 3

2007-04-28 10:46:10 · 5 answers · asked by Tracy B 1

Is there a way to make a block element not act like a block and go down a line? LIke a CSS property?

2007-04-28 10:33:13 · 3 answers · asked by jack 6

algorithm,algorism,...

2007-04-28 10:11:13 · 4 answers · asked by memol_652006 1

What is an internal organizational Internet that is guarded against outside access by a special security feature called a firewall (which can be software, hardware, or a combination of the two)?
a) Client/server network
b) Intranet
c) Extranet
d) Thin client

2007-04-28 06:40:28 · 5 answers · asked by tyrellw19 2

how can i create like a background of designs just from my "paint" software and make it avalible to put on my desktop background, and my myspace, like how can i get the html code to do it?????........please help

2007-04-28 05:15:35 · 4 answers · asked by Anonymous

2007-04-28 04:25:14 · 5 answers · asked by Anonymous

For example, I have menu options like Home, Services, Products. I want to have additional options under Services like Marketing, Design, etc. I want to be able to put my mouse over Services and those options dropdown.

Any suggestions?

2007-04-28 03:01:06 · 4 answers · asked by KeishaInc 1

I have always wanted to create my own website. I have owned Microsoft Office for years, and if I wanted to create a website with it, is it for free?

2007-04-28 02:59:17 · 1 answers · asked by JAnimaniac 1

Css codes look like:

.itembox {
font-family: verdana;
}

while html codes look like:
and then

why is that? What difference does it make? and would it be possible to edit one using the other's code? why or why not?

I'm trying to fix my multiply website so i was wondering how i should go about it. am not very familiar with these stuff.

(If you want to check out my Multiply website, just copy and paste www.owstalaga.multiply.co m to your internet browser.)

2007-04-28 02:10:57 · 4 answers · asked by Iya 3

2007-04-28 01:57:49 · 4 answers · asked by fox 2

fedest.com, questions and answers