This is an example of how you can use CURL to “log in” and retrieve some protected info. I’ve showed the somewhat extreme case where you need to maintain cookies, …
May 2012
-
-
I’ve noticed that whenever I search for a “php upload script” or “how to upload files”, the first page of Gogle results is full of pages that tell you how …
-
Here’s a relatively simple PHP function that will check if an URL really leads to a valid page (as opposed to generating “404 Not Found” or some other kind of …
-
Sometimes it is necessary to verify that a given page really contains a specific link. This is usually done when checking for a reciprocal link in link exchange scripts and …
-
Recently I needed a crawler script that would create a list of all pages on a single domain. As a part of that I wrote some functions that could download …
-
Say you want a PHP script that will make the browser to download a file instead of opening it. This is useful for common filetypes that would normally be displayed …
-
Error : Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 410.891KB. Step 1: This will occurs when the variable is u …
-
First: only those variables which are used on visual force page should be public rest all variables should be private, if not used by any other class. Second: the most …
-
Salesforce.com implemented CKEditor as the WYSIWYG editor of choice for their Rich Text Area fields, but as you may have noticed, the native editor doesn’t support things like direct editing of html, font …
-
try{}catch(DMLException e){ for (Integer i = 0; i < e.getNumDml(); i++) { // Process exception here ...