PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
John Cartwright
Site Admin
Posts: 11470 Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:
Post
by John Cartwright » Thu Sep 16, 2004 7:43 pm
Wow, I never thought of that, that will save me the trouble of configuring my connection to my database each time I switch from dev server to live server, etc
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Sep 16, 2004 7:46 pm
I'd suggest using the full form, instead of relying on short tags...
dethron
Forum Contributor
Posts: 370 Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul
Post
by dethron » Thu Sep 16, 2004 7:48 pm
Hmmm, ok, explain why? is there any disadvantages of doing so?
advantage is obvious, it is fast and easy
what do you think?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Sep 16, 2004 7:49 pm
because you won't know for sure if the server has short tags on...
dethron
Forum Contributor
Posts: 370 Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul
Post
by dethron » Thu Sep 16, 2004 7:52 pm
ok, nice points
since i'm working on my dedicated, i lack for such knowledge.
bradles
Forum Commoner
Posts: 89 Joined: Wed Jun 30, 2004 10:40 pm
Post
by bradles » Thu Sep 16, 2004 7:59 pm
Feyd,
Should I edit my posts in future to [SOLVED] if someone solves my problem?
Brad
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Sep 16, 2004 8:02 pm
you can either edit your starting post, or say definitively in a post that it's solved, so the mods can know to mark the thread solved.
bradles
Forum Commoner
Posts: 89 Joined: Wed Jun 30, 2004 10:40 pm
Post
by bradles » Thu Sep 16, 2004 8:13 pm
Thanks.
I will try to remember to do that from now on.
Brad
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Thu Sep 16, 2004 8:27 pm
feyd wrote: you can either edit your starting post, or say definitively in a post that it's solved, so the mods can know to mark the thread solved.
Don't regular members have that nice button?
dethron
Forum Contributor
Posts: 370 Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul
Post
by dethron » Thu Sep 16, 2004 8:29 pm
Yes yes, we should also have this button
Weirdan wrote: feyd wrote: you can either edit your starting post, or say definitively in a post that it's solved, so the mods can know to mark the thread solved.
Don't regular members have that nice button?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu Sep 16, 2004 8:39 pm
only mods have the button.