Witaj Gościu ( Zaloguj | Rejestruj )

 
Reply to this topicStart new topic
> Panel Klienta w PHP
webmaniack
post 8-03-2009 - 20:44
Post #1


Nowy
*

Grupa: Użytkownik
Postów: 4
Dołączył: 8-03-2009 - 13:33
Użytkownik nr: 15



Witam.

Mam pytanie, jak miałby wyglądać skrypt prostego panelu klienta w php. Mianowicie miałby wyglądać tak, iż jest jedno logowanie, a każdy użytkownik ma swój własny katalog. Tak więc użytkownik o loginie: user miałby katalog o nazwie user i po wpisaniu swojego loginu i poprawnego hasła miałby dostęp do swojego katalogu, ale żeby był też użytkownik (admin), który miałby dostęp do wszystkich tych katalogów.

Czegoś takiego jeszcze w Internecie nie znalazłem i chyba nie ma czegoś takiego. Więc myślę, że byłoby to dosyć ciekawą alternatywą dla rozbudowanych panelów klienta opartych o bazy danych i z panelami administracyjnymi.
Go to the top of the page
 
+Quote Post
bimas
post 9-03-2009 - 12:27
Post #2


Nowy
*

Grupa: Bywalec
Postów: 41
Dołączył: 26-01-2009 - 15:08
Skąd: Poznań
Użytkownik nr: 5



Systemu logowania chyba nie trzeba tłumaczyć. Jeśli potrzebujesz gotowca to w sieci jest tego pełno.

W kwestii dostępu do katalogów. Wystarczy, że udzielisz dostępu tylko do folderu o tej samej nazwie co login. Innymi słowy z każdym przejściem do jakiegoś folderu sprawdzaj czy jego nazwa jest równa nazwie loginu. Jeśli jest równa - zezwalaj na otwarcie katalogu i pokazanie plików, jeśli nie - błąd.

Funkcje które Ci się przydadzą:
glob, mkdir, rmdir.


--------------------
█ BIMAS = BioInformatics and Molecular Analysis Section
Go to the top of the page
 
+Quote Post
aagreen
post 19-11-2009 - 06:19
Post #3


Nowy
*

Grupa: Użytkownik
Postów: 5
Dołączył: 19-11-2009 - 03:50
Użytkownik nr: 47



American-made chocolate and cocoa products number in the hundreds. There is a fascinating story behind these wonderful products.
Chocolate through the years  
wow power leveling
The story of chocolate, as far back as we know it, begins with the discovery of America. Until 1492, the Old World knew nothing at all about the delicious and stimulating flavor that was to become the favorite of millions. The Court of King Ferdinand and Queen Isabella got its first look at the principal ingredient(原料) of chocolate when Columbus returned in triumph (胜利) from America and laid before the Spanish throne a treasure of many strange and wonderful things. Among these were a few dark brown beans. They were cocoa beans, today’s source of all our chocolate and cocoa. replica rolex
The King and Queen never dreamed how important cocoa beans could be, the great Spanish explorer, to grasp the commercial possibilities of the New World offerings. 
Food of the gods(极受崇敬的人)
During his conquest of Mexico, Cortez found the Aztec Indians using cocoa beans in the preparation of the royal drink, “chocolate,” meaning warm liquid. In 1519, Emperor Montezuma served chocolate to his Spanish guests, treating it like a food for the gods. 
replica rolex
For all its royal importance, however, Montezuma’s chocolate was very bitter, and the Spaniards did not find it to their taste. To make it more agreeable to Europeans, Cortez and his countrymen conceived the idea of sweetening it with cane sugar(蔗糖). 
replica rolex
The new drink quickly won friends. Spain wisely proceeded to plant cacao in its overseas colonies. Remarkably enough, the Spanish succeeded in keeping the art of the cocoa industry a secret from the rest of Europe for nearly a hundred years. 
replica rolex
Chocolate spreads to Europe 
replica rolex
Spanish monks, who had been sent to process the cocoa beans, finally let the secret out. It did not take long before chocolate was popular throughout Europe as a delicious, health-giving food. Chocolate drinking spread across the Channel to Great Britain, and in 1657 the first of many famous English Chocolate Houses appeared. 
The 19th century marked two more revolutionary developments in the history of chocolate. In 1847, an English company introduced solid “eating chocolate” through the development of soft chocolate, which formerly controlled the world market. The second development occurred in 1876 in Switzerland, when Daniel Peter thought out a way of adding milk to the chocolate, creating the product we enjoy today known as milk chocolate. 
Chocolate comes to America
In the United States of America, the production of chocolate proceeded at a faster pace than anywhere else in the world. It was in 1765, to be exact, that the first chocolate factory was established in this country. 
Go to the top of the page
 
+Quote Post
strong
post 9-12-2009 - 04:03
Post #4


Nowy
*

Grupa: Użytkownik
Postów: 5
Dołączył: 9-12-2009 - 04:00
Użytkownik nr: 51




Ivanoushka the Simpleton

In a kingdom far away from our country, there was a town over which ruled the Tsar Pea with his Tsaritza Carrot. He had many wise statesmen, wealthy princes, strong, powerful warriors, and also simple soldiers, a hundred thousand, less one man. In that town lived all kinds of people: honest, bearded merchants, keen and open-handed rascals, German tradesmen, lovely maidens, Russian drunkards; and in the suburbs all around, the peasants tilled the soil, sowed the wheat, ground the flour, traded in the markets, and spent the money in drink.

In one of the suburbs there was a poor hut where an old man lived with his three sons, Thomas, Pakhom, and Ivan. The old man was not only clever, he was wise. He had happened once to have a chat with the devil. They talked together while the old man treated him to a tumbler of wine and got out of the devil many great secrets. Soon after this the peasant began to perform such marvelous acts that the neighbors called him a sorcerer, a magician, and even supposed that the devil was his kin.
world of warcraft power leveling,
Yes, it is true that the old man performed great marvels. Were you longing for love, go to him, bow to the old man, and he would give you some strange root, and the sweetheart would be yours. If there is a theft, again to him with the tale. The old man conjures over some water, takes an officer along straight to the thief, and your lost is found; only take care that the officer steals it not.

Indeed the old man was very wise; but his children were not his equals. Two of them were almost as clever. They were married and had children, but Ivan, the youngest, was single. No one cared much for him because he was rather a fool, could not count one, two, three, and only drank, or ate, or slept, or lay around. Why care for such a person? Every one knows life for some is brighter than for others. But Ivan was good-hearted and quiet. Ask of him a belt, he will give a kaftan also; take his mittens, he certainly would want to have you take his cap with them. And that is why all liked Ivan, and usually called him Ivanoushka the Simpleton; though the name means fool, at the same time it carries the idea of a kind heart.

Our old man lived on with his sons until finally his hour came to die. He called his three sons and said to them:world of warcraft gold,

"Dear children of mine, my dying hour is at hand and ye must fulfill my will. Every one of you come to my grave and spend one night with me; thou, Tom, the first night; thou, Pakhom, the second night; and thou, Ivanoushka the Simpleton, the third."

Two of the brothers, as clever people, promised their father to do according to his bidding, but the Simpleton did not even promise; he only scratched his head.

The old man died and was buried. During the celebration the family and guests had plenty of pancakes to eat and plenty of whisky to wash them down. Break went on to say that.

Now you remember that on the first night Thomas was to go to the grave; but he was too lazy, or possibly afraid, so he said to the Simpleton:
replica rolex,
"I must be up very early to-morrow morning; I have to thresh; go thou for me to our father's grave."

"All right," answered Ivanoushka the Simpleton. He took a slice of black rye bread, went to the grave, stretched himself out, and soon began to snore.

The church clock struck midnight; the wind roared, the owl cried in the trees, the grave opened and the old man came out and asked:

"Who is there?"

"I,"wedding dress, answered Ivanoushka.

"Well, my dear son, I will reward thee for thine obedience," said the father.

Lo! the cocks crowed and the old man dropped into the grave. The Simpleton arrived home and went to the warm stove.

"What happened?" asked the brothers.

"Nothing," he answered. "I slept the whole night and am hungry now."

The second night it was Pakhom's turn to go to his father's grave. He thought it over and said to the Simpleton:

"To-morrow is a busy day with me. Go in my place to our father's grave."

"All right," answered Ivanoushka. He took along with him a piece of fish pie, went to the grave and slept. Midnight approached, the wind roared, crows came flying, the grave opened and the old man came out.replica watches,

"Who is there?" he asked.

"I," answered his son the Simpleton.

"Well, my beloved son, I will not forget thine obedience," said the old man.

The cocks crowed and the old man dropped into his grave. Ivanoushka the Simpleton came home, went to sleep on the warm stove, and in the morning his brothers asked:

"What happened?"

"Nothing," answered Ivanoushka.

On the third night the brothers said to Ivan the Simpleton:

"It is thy turn to go to the grave of our father. The father's will should be done."

"All right," answered Ivanoushka. He took some cookies, put on his sheepskin, and arrived at the grave.
World of Warcraft power leveling,
At midnight his father came out.


Ivanoushka the Simpleton
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 użytkownik(ów) przegląda ten temat (1 gości i 0 anonimowych użytkowników)
0 Użytkownicy:

 

RSS Wersja Lo-Fi Aktualny czas: 8-09-2010 - 04:45 || Skin by Metalaxe