chukwuemmanuel09's Profile
Reputation: -10
Disgraced
- Group:
- Active Members
- Active Posts:
- 52 (0.08 per day)
- Joined:
- 18-August 11
- Profile Views:
- 491
- Last Active:
Aug 15 2012 11:39 PM- Currently:
- Offline
Previous Fields
- Country:
- Who Cares
- OS Preference:
- Who Cares
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: mod_rewrite htaccess issue
Posted 15 Aug 2012
When i navigate to that page what i see is
www.mysite.co.uk/productDetails.php?id=13
instead of
www.mysite.co.uk/productDetails/13 -
In Topic: mod_rewrite htaccess issue
Posted 15 Aug 2012
Nope..No error...Not just working... -
In Topic: mod_rewrite htaccess issue
Posted 15 Aug 2012
Hi, Thanks for your reply...
Yes i have the mod_rewrite on because the second rule works fine...
This is all i have in my .htaccess
Options +FollowSymLinks RewriteEngine On RewriteRule ^productDetails/([0-9]+)/?$ productDetails.php?id=$1 [NC,L] # Return www.mysite.co.uk RewriteCond %{HTTP_HOST} ^mysite.co.uk RewriteRule (.*) http://www.mysite.co.uk/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ http://www.mysite.co.uk [R=301,L] <FilesMatch "\.(html|css|js|gif|jpg|jpeg|png|ico|swf)$"> Header set Cache-Control "max-age=600000, proxy-revalidate" </FilesMatch> <filesMatch ".(php|cgi)$"> Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate" </filesMatch> <IfModule mod_headers.c> <FilesMatch "\.(js|css|xml|gz)$"> Header append Vary: Accept-Encoding Header append Vary Accept-Encoding </FilesMatch> </IfModule> # compress the files AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript # removes some bugs BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent <FilesMatch "\.(htm|html|css|js)$"> AddDefaultCharset UTF-8 </FilesMatch> <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)(\.gz)?$"> Header unset ETag FileETag None </FilesMatch> # 480 weeks <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$"> Header set Cache-Control "max-age=290304000, public" </FilesMatch> <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule> ExpiresActive on ExpiresDefault A31536000 RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://mysite.co.uk RewriteCond %{HTTP_REFERER} !^http://www.mysite.co.uk RewriteRule .*[Jj][Pp][Gg]$|.*[Gg][Ii][Ff]$ http://www.mysite.co.uk/empty.html [L] #mysite.co.uk/empty.html - your custom hotlinker page
Thanks your viewing.. -
In Topic: Trying to Extract a column from a mulit dimension array.
Posted 23 Mar 2012
I tired with this code but its not doing what i want...
$col1 = array(); for($i=0;$i<count($mdArray);$i++) { $col1[] = $mdArray[0][i]; } -
In Topic: Trying to Extract a column from a mulit dimension array.
Posted 23 Mar 2012
As in Words...Not in code....
My Information
- Member Title:
- D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Location:
- Aberdeen
- Years Programming:
- 1
Contact Information
- E-mail:
- Private
Friends
chukwuemmanuel09 hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
chukwuemmanuel09
19 Aug 2011 - 09:33paradoxia
19 Aug 2011 - 07:38