cURL
Moderator: General Moderators
Re: cURL
I use it for sending stuff via FTP via a cron job to other servers. I also use it for fetching remote data off other servers and parsing it for aggregation and feeds. It's a very powerful tool that can handle encryption and a variety of protocols for moving data around the network.
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: cURL
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]