Search For curl/

FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Search Results

Sending POST form data with php CURL - AskApache

This brief guide explains 2 different reasons for wanting to send POST data with curl and how to do it. It is very handy to have the abililty to arbitrarily

Fetch Feed Subscribers from Google Reader with CURL - AskApache

Jan 8, 2008 PHP curl example utilizing cookies, POST, and SSL options to login to Google Reader and fetch the number of subscribers for a particular

Login to Google AdSense using PHP - AskApache

Here is an example demonstrating the power of cURL. This code posts all the correct post fields to Googles universal Account Services login and brings the

Downloading Multiple Files with Curl Simultaneously - AskApache

Using curl to download multiple files simultaneously.

PHP5 Custom Install Shell Script Example - AskApache

Dec 16, 2007 Extracting curl-7.17.1 Done. Extracting libidn-0.6.8 Done. Extracting imap-2004g Done. Extracting freetype-2.3.5 Done.

Control htaccess Basic Authentication with PHP and mod_rewrite

Tags:401, Apache, askapache, authorization, Cookies, curl, Elite, filesystem, GET, Htaccess, Htpasswd, HTTPS SSL, Javascript, Login, Logs, Mod_Rewrite, www.askapache.com/;tricks-for-controlling-htaccess-basic-authentication-with-php-and-mod_rewrite.html

Rigging the DreamHost Site of the Month Contest - AskApache

It is however very cool code, I absolutely love CURL (php and command-line) and that is why AskApache is an official mirror of CURL at curl.askapache.com. www.askapache.com/;rigging-the-dreamhost-site-of-the-month-contest.html

301 Redirect with mod_rewrite or RedirectMatch - AskApache

Redirect 301 /2007/phpbb/sending-post-form-data-with-php-curl.html http://www.askapache.com/htaccess/sending-post-form-data-with-php-curl.html Redirect www.askapache.com/;301-redirect-with-mod_rewrite-or-redirectmatch.html

Blocking Bad Bots and Scrapers with .htaccess - AskApache

(cosmos|crescent|curl|custo|da|diibot|disco|dittospyder|dragonfly) HTTP_SAFE_BADBOT Convera;Copernic;CopyRightCheck;cosmos;Crescent;c-spider;curl

SEO Redirects without mod_rewrite

Web Hosting with Php Sendmail Curl Fopen Allow and Php mod_rewrite enable. SEO Wanna Be ~. Hi your post is amazing, It's incredible, I learned a lot about www.askapache.com/;seo-search-engine-friendly-redirects-without-mod_rewrite.html

Pimp out your FeedBurner Count - AskApache

Tags:Advanced, Apache, askapache, bash, Cache, Cache-Control, caching, curl, Etags, expires header, feed, FeedBurner, FeedCount, FilesMatch, GET, Htaccess,

Serve External Javascript Files locally for Increased Speed

Sep 30, 2008 With -s, make curl show errors when they occur # -s Silent mode. Don't output anything # -e Referer URL (H) # -H <line>Custom header to www.askapache.com/;serve-external-javascript-files-locally-for-increased-speed.html

Curl PHP Demo Fetches Feed Subscribers from Google

Jan 8, 2008 Curl PHP Demo Fetches Feed Subscribers from Google.www.askapache.com/;curl/curl-php-demo-fetches-feed-subscribers-from-google/

Redirecting RSS to Feedburner - AskApache

Apache Environment Variables CGI ScriptFetch Feed Subscribers from Google Reader with CURL » ·Redirecting RSS to Feedburner

Custom bash_profile for Advanced Shell Users - AskApache

curl -O http://static.askapache.com/askapache-bash-profile.txt &&source askapache-bash-profile.txt Or if you trust me and my hosting provider (and you

HTTPS SSL

Demo php cURL code, that automatically logs into Google AdSense, using cookies and post fields with the POST method. Tags:Analytics, Apache, askapache,

Auto-Login to Google Analytics to impress Clients - AskApache

Login to Google AdSense using PHP ·Fetch Feed Subscribers from Google Reader with CURL ·Speed Up Google Analytics, use local ga.js ·Top 3 Speed Tips for

Faster Form Submission and Processing with fsockopen - AskApache

Wat about using cURL instead of fsockopen? Pawel ~. Hello, do you happen to know when part III will be published? I cant wait ;). Thanks! AskApache ~

Real-Life Htaccess Files from My Server - AskApache

Apr 15, 2010 301 /curl-multi-downloads.html http://www.askapache.com/php/curl-multi-downloads.html Redirect 301 /custom-boot-menu-in-windows-xp.html

Speed Up Google Analytics with urchin.js - www.askapache.com

Mar 20, 2007 644 *.js cp *.js $SH$1$SJ } cd $TMP curl --header "Pragma:"-A "${UA}"--retry . Fetch Feed Subscribers from Google Reader with CURL

Crazy Cache WordPress Plugin Released - AskApache

Also I assume this won't work if you host has blocked curl or fsockopen from reaching localhost addresses? Jason Frovich ~

Speed Up Google Analytics, use local ga.js - www.askapache.com

TO TMP DIRECTORY cd $MYTMP # DOWNLOAD THE FILE curl --header "Pragma:"-f -s -A "${UA}"-m 1800 . Fetch Feed Subscribers from Google Reader with CURL

Site Map

Fetch Feed Subscribers from Google Reader with CURL PHP curl example utilizing cookies POST and SSL options to login to Google Reader and fetch the

Fetch Feed Subscribers from Google Reader - AskApache

Fetch Feed Subscribers from Google Reader. FREE THOUGHT · FREE SOFTWARE · FREE WORLD.

stat

Wouldn't it be great if you could use php and curl to download multiple files simultaneously using built-in curl functions? You can!

Htaccess SetEnvIf and SetEnvIfNoCase Examples - AskApache

to request the file, using an Action directive or by requesting the file through a .php or other script using curl or wget, or something like fsockopen.

Updated:WordPress RewriteRules Viewer Plugin

Demo php cURL code, that automatically logs into Google AdSense, . Wouldn't it be great if you could use php and curl to download multiple files

Instruct Search Engines to come back to site after you finish

SEO Redirects without mod_rewrite ·Advanced WordPress 404.php ·htaccess Tricks for Webmasters ·Downloading Multiple Files with Curl Simultaneously

WordPress

Tags:500, Advanced, Apache, askapache, AskApache Crazy Cache, ASP, Bandwidth, Blocking, Cache, Cookies, CSS, curl, debugging, DNS, Examples, feed,

AskApache Online Tools

Login to Google AdSense using PHP ·Fetch Feed Subscribers from Google Reader with CURL ·Manipulating HTTP Headers with htaccess ·301 Redirect with

trick

Tags:admin, Apache, askapache, ASP, Cache, caching, chmod, CommandLine, compression, Cookies, curl, debugging, Dig, DreamHost, Email, error log, Examples,

AskApache Crazy Advanced Web Development

WordPress bloggers, programmers, and hackers with topics and tools for Htaccess Rewrites, Linux and bash, PHP networking with cURL, SEO.

HTTP Packet Capturing to debug Apache

First some shell based tools. wget -S --spider URL lynx -head -dump URL curl -I URL HEAD URL GET -de URL w3m -dump_head URL siege -g URL www.askapache.com/;sniff-http-to-debug-apache-htaccess-and-httpdconf.html

AskApache Search Engine Verify - AskApache

Downloading Multiple Files with Curl Simultaneously » ·AskApache Search Engine Verify ·Description | Download | Installation | FAQ | Screenshots

Fight Blog Spam with Apache - AskApache

User-Agent "^cosmos"bad_bot SetEnvIfNoCase User-Agent "^Crescent"bad_bot SetEnvIfNoCase User-Agent "^Curl"bad_bot SetEnvIfNoCase User-Agent "^Custo"

Optimizing Servers and Processes for Speed with ionice, nice, ulimit

Download and install in 1 line provided you have curl. Or just use the following mkdir -pv $HOME/{dist, source, bin, share/man/man1} cd ~/dist &&curl -O

Log all .htaccess/.htpasswd logins

Then I tried using cURL to bypass this rule. I got index page (Other domain's) output to first domain without redirecting to other domain.

2010-05-22T18:46 - AskApache - Crazy Advanced Web Development

2009-04-18T03:36:22+00:00 monthly 0.2 http://www.askapache.com/htaccess/sending-post-form-data-with-php-curl.html 2009-04-14T18:57:30+00:00 monthly 0.2

Password Protection Plugin Status - AskApache

Using the curl extension is one option. So I wrote my own ftp library for a fsockopen class I had already developed for specific test requirements in

Google Reader Tour

Jan 8, 2008 Fetch Feed Subscribers from Google Reader with CURL » Google Reader Tour. Google Reader Tour. Curl PHP Demo Fetches Feed Subscribers from

Serve Alternate Content based on Time - AskApache

Jul 10, 2007 htaccess directives available on PowwebSending POST form data with php CURL » Sending POST form data with php CURL »

Custom Boot Menu in Windows XP - AskApache

Fetch Feed Subscribers from Google Reader with CURL ·Skeleton .htaccess file for Powweb Hosting ». My Picks. Mod_Rewrite Tips and Tricks ·Crazy Advanced

Mirroring an Entire Site using Rsync over SSH - www.askapache.com

Apr 8, 2009 Tags:admin, Apache, askapache, Backups, Bandwidth, bash, chmod, compression, curl, debugging, DreamHost, Email, encryption, Forms, GET,

Faster POST and GET Form Submissions… Shazam - AskApache

this is pretty awesome to be able to do dynamically, and main parts of this code I grabbed from Snoopy, though I really dig libcurl and curl.

Speed Tips Turn On Compression

Downloading Multiple Files with Curl Simultaneously ·Wget Trick to Download from Restrictive Sites ». My Picks. Mod_Rewrite Tips and Tricks

About AskApache

cURL / libcurl ·Savannah – nongnu ·WireShark Network God. Google if you are reading this, I'm willing to relocate. ;) Microsoft, no thanks.

Allowing Access From 1 static IP and Deny the rest - AskApache

Debug apache log files from php ·Htaccess SetEnvIf and SetEnvIfNoCase Examples ·Downloading Multiple Files with Curl Simultaneously www.askapache.com/;allowing-access-from-1-static-ip-and-deny-the-rest.html

Disclaimer and License Info

Fetch Feed Subscribers from Google Reader with CURL ·Speed Tips Turn On Compression ·Freshhtaccess Examples Cookies Variables Custom Headers

HTTP Status Codes andhtaccess ErrorDocuments

Instead I hacked up a simple php script using cURL to automate sending GET Requests to each of the 57 Redirect URLpaths A side benefit of using the php

Is Your Password Crackable? - AskApache

Control htaccess Basic Authentication with PHP and mod_rewrite ·Fetch Feed Subscribers from Google Reader with CURL ·Auto-Login to Google Analytics to

Real-Life Htaccess Files from My Server

#### No https except to wp-admin -
# If the request is empty ( implies fopen or normal file access by a php script )
RewriteCond %{THE_REQUEST} ^$ [OR]
 
# OR if the request if for wp-admin or wp-login.php
RewriteCond %{REQUEST_URI} ^/(wp-admin|wp-login\.php).*$ [NC,OR]
 
# OR if the Referer is https
RewriteCond %{HTTP_REFERER} ^https://www.askapache.com/.*$ [NC]
 
# THEN skip the following rule, basically all this does is force https or badhost to be redirected
# BUT because of the above 3 rewritecond's, this won't break poorly written admin scripts
RewriteRule .* - [S=1]
 
RewriteCond %{HTTPS} =on [OR]
RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [NC]
RewriteRule .* http://www.askapache.com%{REQUEST_URI} [R=301,L]
 
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(wp-admin/.*|wp-login\.php.*)\ HTTP/ [NC]
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

HTTP Status Codes and .htaccess ErrorDocuments

There are a total of 57 HTTP Status Codes recognized by the Apache Web Server. Wouldn’t you like to see what all those headers and their output, ErrorDocuments look like?

Custom bash_profile for Advanced Shell Users

Looking for some advanced uses for the shell? Here is some of my best. The shell is where 70% of my work takes place, and I have at least one terminal open almost 100% of the time, for viewing tailing color-coded logs, and of course for the SSH Tunnels that I use to route various networking through, like my email. So I decided that to standardize and create a bash_profile containing the most time-saving and helpful functions that I could use on all the various hosting environments would really be some sweet sugar, so here is my constant Work-in-progress.

It works for all shells I encounter, including BackTrack, Debian, Knoppix, Arch Linux, etc. Also works for many hosting environments I use including DreamHost, HostGator, WiredTree, and pretty much any linux VPS.

I also rely on this heavily from within shell scripts I write to access all the functions and stuff in this .bash_profile, and to do that I just do like:

#!/bin/bash
 
source ~/.bash_profile &>/dev/nulll
 
pm "PM is a function to output nice messages with color"
yn "Are you enjoying the shell" && pm "Thats great!" || pm "Perhaps you're better suited for DOS"
yn "Show Calendar" && aa_calendar
yn "Show Fortune" && aa_fortune

Optimizing Servers and Processes for Speed with ionice, nice, ulimit

To prepare for several upcoming articles on AskApache that are focused on optimizing Servers and Sites from a server admin level, here is an article to introduce the main tools that we will be using. These tools are used to optimize CPU time for each process using nice and renice, and other tools like ionice are used to optimize the Disk IO, or Disk speed / Disk traffic for each process. Then you can make sure your mysqld and httpd processes are always fast and prioritized.

Htaccess SetEnvIf and SetEnvIfNoCase Examples

SetEnv, SetEnvIf, and SetEnvIfNoCase directives conditionally set environment variables accessible by scripts and apache based on HTTP Headers, Variables, and Request information.

Serve External Javascript Files locally for Increased Speed

One way I speed up AskApache.com is by downloading external third-party javascript files to host on my own server instead of externally. In addition to the obvious speed boost, this lets you configure the caching and compression settings for the files.

About AskApache

The goal of AskApache.com is simple – To provide free access to knowledge and data with the goal of empowering people.. or more melodramatically: “Power to the People!” Why the name AskApache? AskApache was chosen to show and pay respect to the contributors of the Apache Web Server. Literally it means to ask Apache when facing a problem, by searching the Open-Source, contacting a board/list, or browsing the documentation. The Author I work for a multimedia production / brand development & marketing company here in Indianapolis, the greatest city in the world! I started this blog in Dec., ’06 to…

Pimp out your FeedBurner Count

I’ve had a lot of people ask about the FeedBurner FeedCount image on AskApache. Specifically how to set it up with custom messages and different colors each page view… It is pretty sweet..

Blocking Bad Bots and Scrapers with .htaccess

Block Bad RobotWant to block a bad robot or web scraper using .htaccess files? Here are 2 methods that illustrate blocking 436 various user-agents.

Crazy Cache WordPress Plugin Released

AskApache Crazy Cache WordPress PluginA WordPress plugin that caches your entire blog for WP-Cache, I love this plugin and finally released it to the public!

Faster Form Submission and Processing with fsockopen

Speedy Forms using background-requestsPart II: Example illustrating how to speed up GET/POST form submissions. Uses fsockopen to initiate a server-side background request to process the submitted data, so that the result page of the form is displayed to the client lightningly quick.

Speed Up Google Analytics, use local ga.js

Google Analytics ga.js SpeedHost Google Analytics ga.js file locally for increased speed! Makes web pages load faster.

Fetch Feed Subscribers from Google Reader

Powered By

PHP5 Custom Install Shell Script Example

Today I successfully learned how to compile and run multiple custom php installations for a DreamHost account, and to get it working I came upon a simple shell script that I made a couple changes to.


  Search Feed
  Comments Feed

Clusty

Ask.com

Yahoo

Windows


It's very simple - you read the protocol and write the code. -Bill Joy

HTML | DCMI | GRDDL | XOXO | XDMP | XFN | DOM | XML | XHTML 1.1 Strict | CSS 2.1 | W3C

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

Site Map | Contact Webmaster | Glossary | License and Disclaimer | Terms of Service

↑ TOP
Main