Search found 5 matches
- Wed Jun 22, 2005 1:08 pm
- Forum: PHP - Code
- Topic: Why doesn't CURL always work?
- Replies: 0
- Views: 476
Why doesn't CURL always work?
I'm using CURL functions in some of my scripts. For the most part, they work great - but once in a while, it will return an error for a perfectly good url. My (relevant) code is: curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_USERAGENT,"Mozilla/4.0 (compatible; MSIE 6.0; Win...
- Wed Nov 03, 2004 6:57 am
- Forum: PHP - Code
- Topic: Whence the page size variation?
- Replies: 8
- Views: 817
- Tue Nov 02, 2004 12:41 pm
- Forum: PHP - Code
- Topic: Whence the page size variation?
- Replies: 8
- Views: 817
Rehfeld, I implemented the output buffering (by the way, the echo statement at the end is not necessary - php will clear its buffer when it runs its course). With very curious results: with the output buffering in place, I no longer get varying load sizes - they are all exactly the same, at the low ...
- Tue Nov 02, 2004 12:21 pm
- Forum: PHP - Code
- Topic: Whence the page size variation?
- Replies: 8
- Views: 817
partial answers...
To partly answer your followup questions... No - the html content of the page is not changing (no username, date, or other variations). When I load the page twice into IE, "view source", and save as text file, the two text files have identical size. The two log entries show a different num...
- Tue Nov 02, 2004 6:39 am
- Forum: PHP - Code
- Topic: Whence the page size variation?
- Replies: 8
- Views: 817
Whence the page size variation?
I've noticed that page sizes for .php pages, as reported by the number of bytes in my server logs, always move up and down a little bit. But the issue got a little more of my attention when I noticed this morning that one of my main database-generated pages varies by as much as 6000 bytes (between 3...