chukwuemmanuel09's Profile User Rating: -----

Reputation: -10 Disgraced
Group:
Active Members
Active Posts:
52 (0.08 per day)
Joined:
18-August 11
Profile Views:
491
Last Active:
User is offline 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
Icon   chukwuemmanuel09 has not set their status

Posts I've Made

  1. 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
  2. In Topic: mod_rewrite htaccess issue

    Posted 15 Aug 2012

    Nope..No error...Not just working...
  3. 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..
  4. 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];
    }
    
  5. 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.

Comments

Page 1 of 1
  1. Photo

    chukwuemmanuel09 Icon

    19 Aug 2011 - 09:33
    Yes Pal..i have to bc i need to submit my project soon.
  2. Photo

    paradoxia Icon

    19 Aug 2011 - 07:38
    you got so many posts on your first day
Page 1 of 1