Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home4/megri/public_html/seoforum.biz/includes/bbcode.php on line 483
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3824: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3826: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3827: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3828: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
SEO Forum • View topic - Php includes in folder indexes.

Php includes in folder indexes.

Discuss PHP as it applies to web design, custom web apps, databases, search engine optimization or Mod Rewrite to make search engine friendly pages or anything else PHP you desire to know.

Moderator: John55

Php includes in folder indexes.

Postby susapra » Sun Nov 09, 2008 10:41 am

Well In my public_html folder I have a header php file and a footer php file.

In my index page I use php inlcudes to include my files.

My question is when i make a new folder how can i put includes into the index of the folder. Becaue I want to have sitename.com/contact instead of sitename.com/contact.php

The only way that worked for me was in the include for the url i put

/home/mysite/mypath/*.php and in the stylsheet in header php i had to
put the stylesheet url as

So i was just wondering if there were any better ways to work around it.

O and dont want to put the php files in each folder because that would defeat the purpose of includes.



_____________________
susapra
 
Posts: 7
Joined: Thu Sep 18, 2008 3:14 pm

Return to PHP Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron