cURL
Posted: Sat Feb 25, 2012 3:42 am
I dont have idea of cURL... What is the functionality.... where v use in real time..... Thank you
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
You wouldn't use PHP to make that change. The better solution is to use a .htaccess file and mod_rewrite (or similar).mnissar wrote:how can i change
http://www.dehkadeyedownload.ir/
to
http://dehkadeyedownload.ir/
in php
Code: Select all
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]