How to change www in url with a specified name


Posted on 16th Feb 2014 07:03 pm by admin

Hi
I'm trying to change the url http://www.sitename.com/apparels to something like below
http://apparels.sitename.com/apparels in PHP.
If anybody can help me with the code for the same or provide links of tutorial which may be of help to me I would be very thankful.
Thanks in advance.

293 Like 17 Dislike
Previous php-forum Next php-forum
Other php-forum

Multi image upload
I have a gallery to build and want to build a dynamic upload form to allow for $var number of fields

Inserting a check in checkbox from array value
Hello all,
I have a bit of code that works for a select option box, but does not work for my chec

Help with search.php
Hello All

I need the search engine on a site I am building at the moment to display the searc

utf8_general_ci error ??
I have all kinds of data to be inserted in database table

//I am getting this error

Yo

How to validate from 2 possible answers
Hi

I hope somebody can help me with what will probably be really simple, I'm pulling my hair

mysql VARCHAR acting like INT
Hi, All.

I have a table that contains a varchar(10) column named weird_field. In this column

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

COde for a Cc
I'm not receiving $ft as a Cc. Why is that??

$to = "$email";
$headers = "Fr

generating all possible random letters
hi'

how can i randomize the letters a,b,c,d,e all possible ways, and i want to print the res

passthru() help
Hi everyone,
I'm new to the forum and to PHP. I have some pretty good experience writing shell sc

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash