[SOLVED] including dynamic pages

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

User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'd suggest using the full form, instead of relying on short tags...
User avatar
dethron
Forum Contributor
Posts: 370
Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul

Post by dethron »

Hmmm, ok, explain why? is there any disadvantages of doing so?
advantage is obvious, it is fast and easy ;)
what do you think?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

because you won't know for sure if the server has short tags on...
User avatar
dethron
Forum Contributor
Posts: 370
Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul

Post by dethron »

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 »

Feyd,

Should I edit my posts in future to [SOLVED] if someone solves my problem?

Brad
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

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 »

Thanks.

I will try to remember to do that from now on.

Brad
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

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? 8O
User avatar
dethron
Forum Contributor
Posts: 370
Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul

Post by dethron »

Yes yes, we should also have this button :roll:
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? 8O
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

only mods have the button.
Post Reply