Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Dreamweaver 8 i Apache2

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 08.12.2005 02:48    Post subject: Dreamweaver 8 i Apache2 Add user to your forum ignore list Reply with quote

Instalirao sam Dreamweaver 8 i Apache 2. Apache radi, jer dobijam test stranicu na poziv http://loclahost. Medjutim, nemogu da testiram php stranice nastale ubacivanjem php koda u indexnu i druge stranice. Kako da dobijem pravi iygled stranica u internet exploreru?
Back to top
View user's profile Send private message Visit poster's website
boby-s



Joined: 10 Apr 2004
Posts: 222
Location: Samobor< >Zagreb

PostPosted: 08.12.2005 09:15    Post subject: Add user to your forum ignore list Reply with quote

a jesi instalirao php??

gle, najlakše rješenje ti je XAMPP
Back to top
View user's profile Send private message
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 08.12.2005 10:39    Post subject: Add user to your forum ignore list Reply with quote

Instalirao sam php 5.0.5 (sa BUG-ovog CD-a br. 156) medjutim to mi ne funkcionise bas najbolje, tj. iako sam pratio uputstva koja sam našao na ovom forumu nisam uspeo to kvalitetno da odradim... Sve je OK ali ne radi... Ako treba probacu i XAMPP samo mi recite gde ga mogu naci i koja je procedura.
Hvala.
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 08.12.2005 12:08    Post subject: Add user to your forum ignore list Reply with quote

Malo sam nervozan jutros (kad ti dan otvori iznenadni kvar racunara, kasnjenje na posao i jos par vezanih detalja) pa nisam primetio link ka XAMPP-u... Pokusacu da ga skinem... Imate li kakvo resenje za nefunkcionisanje PHP-a koje sam naveo?
Back to top
View user's profile Send private message Visit poster's website
boby-s



Joined: 10 Apr 2004
Posts: 222
Location: Samobor< >Zagreb

PostPosted: 08.12.2005 12:13    Post subject: Add user to your forum ignore list Reply with quote

nemas problema. Wink

sve ovo prije instalirano pobriši i instaliraj xampp, sve ce ti se samo konfigurirati.
jedino što možda trebaš promijeniti sam je root > tj otkud hoćeš da localhost povlači datoteke
hint : apache/httpd.conf
Back to top
View user's profile Send private message
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 08.12.2005 18:39    Post subject: Add user to your forum ignore list Reply with quote

Nadam se da cu uspeti.
Zahvaljujem na pomoci Smile
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 10.12.2005 04:21    Post subject: Add user to your forum ignore list Reply with quote

Radi!!!
Hvala jos jednom Very Happy
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 12.12.2005 17:18    Post subject: Add user to your forum ignore list Reply with quote

Kako da kreiram MySQL bazu?
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 12.12.2005 18:59    Post subject: Add user to your forum ignore list Reply with quote

XAMPP valjda dođe sa phpMyAdmin, pokreni njega i imaš grafičko easy-to-use sučelje sa bazom

Ako nema admina onda u command prompt i u mysql\bin direktorij, tamo su sve komande (*.exe fajlovi) za administraciju (trebat ćeš samo proučiti parametre)

Mislim da se komanda zove createdb, ali već dugo nisam koristio MySQL Confused
Back to top
View user's profile Send private message Send e-mail Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 12.12.2005 22:18    Post subject: Add user to your forum ignore list Reply with quote

Spoznati lepotu jeste sagledati jednostavnost detalja kojim vrhunski majstori resavaju enigme obicnog sveta.
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 13.12.2005 03:49    Post subject: Add user to your forum ignore list Reply with quote

Kako da definisem parametre za testiranje baze na racunaru kod kuce?
Pretpostavljam da parametar "HOST" ima vrednost "localhost", a "DATABASE" imace vrednost koju izaberem prilikom kreiranja iste.
Medjutim, gde i kako da definisem polja "USER" i "PASSWORD"?
Back to top
View user's profile Send private message Visit poster's website
gog



Joined: 18 Jun 2004
Posts: 679
Location: zagreb

PostPosted: 13.12.2005 14:35    Post subject: Add user to your forum ignore list Reply with quote

Prvo napišeš

mysqladmin -u root password neka_sifra

Ovom nerdbu dodijeluješ root korisniku lozinku "neka_sifra", root korisnik se kreira prilikom instalacije i to bez sifre. Kako on ima sve ovlasti bilo bi pametno odmah mu dodijeliti neku lozinku koju ćeš kasnije koristiti za spajanje na mysql...
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 15.12.2005 15:29    Post subject: Add user to your forum ignore list Reply with quote

Nemogu da se snadjem?!
Back to top
View user's profile Send private message Visit poster's website
Adrian



Joined: 02 Apr 2004
Posts: 692
Location: Around & about

PostPosted: 15.12.2005 18:06    Post subject: Add user to your forum ignore list Reply with quote

Moj prijedlog za rad sa bazom:

SQLYog

jednostavan i brz programčić, vizualno orjentiran sa većinom mogućnosti phpMyadnima,

njemu pri otvaranju upišeš kud se spajaš, koji je user i pass i poslije tu samo stisneš ok svaki put kad otvaraš.

_________________
The quest for certainty blocks the search for meaning. Uncertainty is the very condition to impel a man to unfold his powers.
http://origami.hr
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 16.12.2005 05:00    Post subject: Add user to your forum ignore list Reply with quote

Instalirao sam SQLyog.
Zatim sam pokusao da uspostavim konekciju sa ranije formiranom bazom koristeci sledece parametre:
Za Host Adress: localhost
Za User Name: root
Za Password: nesto
Za Port ostavio: 3306
Za Database(s): db_news

Prilikom pokusaja ostvarivanja konekcije sa bazom db_news - postupak ne uspeva i dobijam poruku o grešci pod šifrom 1045 * Access denied for 'user@localhost' (using password: YES)

Šta da radim?
Inace, sve ovo mi je potrebno zbog automatizacije postavljanja vesti na sajt koje sam do sada odradjivao "pešaka".
Back to top
View user's profile Send private message Visit poster's website
carr



Joined: 13 Nov 2003
Posts: 1397
Location: Karlovac

PostPosted: 16.12.2005 08:18    Post subject: Add user to your forum ignore list Reply with quote

doc wrote:
Instalirao sam SQLyog.
Zatim sam pokusao da uspostavim konekciju sa ranije formiranom bazom koristeci sledece parametre:
Za Host Adress: localhost
Za User Name: root
Za Password: nesto
Za Port ostavio: 3306
Za Database(s): db_news

Prilikom pokusaja ostvarivanja konekcije sa bazom db_news - postupak ne uspeva i dobijam poruku o grešci pod šifrom 1045 * Access denied for 'user@localhost' (using password: YES)

Šta da radim?
Inace, sve ovo mi je potrebno zbog automatizacije postavljanja vesti na sajt koje sam do sada odradjivao "pešaka".

ako se spajas na udaljeni server pod host address upisi recimo
"nesto.com"

takodjer, databases mozes ostavit prazno, ili nemoras

"localhost" te spaja na tvoj lokalni server, tj. 127.0.0.1

_________________
Bolje biti malo lud, nego malo pametan.
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 16.12.2005 10:30    Post subject: Add user to your forum ignore list Reply with quote

Trenutno pokusavam da testiram php fajlove i bazu na racunaru kod kuce...
Back to top
View user's profile Send private message Visit poster's website
gog



Joined: 18 Jun 2004
Posts: 679
Location: zagreb

PostPosted: 16.12.2005 12:10    Post subject: Add user to your forum ignore list Reply with quote

doc wrote:
1045 * Access denied for 'user@localhost' (using password: YES)


Hm, ako si ispravno unjeo username trebalo bi ti pisati 1045 * Access denied for 'root@localhost' (using password: YES)

Inače, meni je Navicat fora, samo kaj košta....
Back to top
View user's profile Send private message Visit poster's website
doc



Joined: 07 Dec 2005
Posts: 13
Location: Sivac, Srbija

PostPosted: 16.12.2005 13:22    Post subject: Add user to your forum ignore list Reply with quote

Tako je!
Ja sam pogresio... u pitanju je 'root@localhost'...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group