File: FAQ

package info (click to toggle)
libphp-snoopy 1.2.4-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 140 kB
  • ctags: 174
  • sloc: php: 848; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Q:	Why can't I fetch https pages?
A:	Using Snoopy to fetch an https page requires curl. Check if curl is installed on your host. If curl is installed, it may be located in a different place than the default. By default Snoopy looks for curl in /usr/local/bin/curl. Run 'which curl' and find out your location. If it differs from the default, then you'll need to set the $snoopy->curl_path variable to the location of your curl installation. Here's an example of the code :
		include "Snoopy.class.php";
		$snoopy = new Snoopy;
		$snoopy->curl_path="/usr/bin/curl";

Q:	where does the function preg_match_all come from?
A:	PCRE functions in PHP 3.0.9 and later

Q:	I get the error: Warning: Wrong parameter count for fsockopen()
A:	Upgrade your verion of PHP to 3.0.9 or later

Q:	Snoopy cuts of my results every time. What's wrong?
A:	Upgrade your verion of PHP to 3.0.9 or later