cURL

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Arunn
Forum Newbie
Posts: 4
Joined: Sat Feb 25, 2012 3:34 am

cURL

Post by Arunn »

I dont have idea of cURL... What is the functionality.... where v use in real time..... Thank you
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: cURL

Post by Eric! »

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.
mnissar
Forum Newbie
Posts: 2
Joined: Sun Feb 26, 2012 1:27 am

Re: cURL

Post by mnissar »

User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: cURL

Post by flying_circus »

mnissar wrote:how can i change
http://www.dehkadeyedownload.ir/
to
http://dehkadeyedownload.ir/
in php
You wouldn't use PHP to make that change. The better solution is to use a .htaccess file and mod_rewrite (or similar).

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
Post Reply