Robert Redl's Library tagged → View Popular, Search in Google
in list: dev
-
Password protect your content with Web Page Password Protect by just adding one line of PHP code to your page source. Script will present user with password entry form, and will not let visitor see your private content without providing a password. Multiple user accounts support, improved security, automatic logout, and manual logout feature.
-
Create HTML Form in Seconds
-
MachForm is an intuitive, browser based, self-hosted HTML form builder program. Designed as a modern HTML form builder, it makes use of the latest web technologies like AJAX, CSS, and Javascript to provide a fluid browser based experience.
in list: dev
-
extract($_POST);
$page= get_url_contents($site2Read);
echo $page;
function get_url_contents($url){
$crl = curl_init();
$timeout = 5;
curl_setopt ($crl, CURLOPT_URL,$url);
curl_setopt ($crl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($crl, CURLOPT_CONNECTTIMEOUT, $timeout);
$ret = curl_exec($crl);
curl_close($crl);
return $ret;
}
in list: dev
-
Ext Direct Remoting
-
remote server-side methods to the client-side
- 1 more annotation(s)...
schreibt am server z.B. ein textfile mit was passiert.
Wird z.B. beim berühmten ITIL dashboard verwendet.
in list: dev
in list: dev
-
HipHop for PHP. With HipHop we've reduced the CPU usage on our Web servers on average by about fifty percent, depending on the page. Less CPU means fewer servers
-
HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it.
- 1 more annotation(s)...
in list: dev
-
Parsing variables within strings uses more memory than string concatenation. When writing a PHP script in which memory usage is a concern, consider using the concatenation operator (.) rather than variable parsing.
-
since echo can take multiple arguments, it is actually quicker to perform operations that way instead of using concatination: echo “Yahoo”, $str
- 3 more annotation(s)...
in list: dev
-
Hibernate is a powerful, high performance object/relational persistence and query service. Hibernate lets you develop persistent classes following object-oriented idiom - including association, inheritance, polymorphism, composition, and collections. Hibernate allows you to express queries in its own portable SQL extension (HQL), as well as in native SQL, or with an object-oriented Criteria and Example API.
Unlike many other persistence solutions, Hibernate does not hide the power of SQL from you and guarantees that your investment in relational technology and knowledge is as valid as always. The LGPL open source license allows the use of Hibernate and NHibernate in open source and commercial projects.
replace last character from string substr_replace($incoming,"",-1);
in list: dev
-
/* Delete 'MNRPQR' from $var. */
echo substr_replace($var, '', 10, -1) . "<br />\n";
?>
in list: dev
-
Iterates over each value in the input array passing them to the callback function. If the callback function returns true, the current value from input is returned into the result array. Array keys are preserved.
-
Example #2 array_filter() without callback
<?php
$entry = array(
0 => 'foo',
1 => false,
2 => -1,
3 => null,
4 => ''
);
print_r(array_filter($entry));
?>The above example will output:
Array ( [0] => foo [2] => -1 )
in list: dev
-
PHP make this very easy by including functions like file_get_contents() that has URL support. This code will get you the contents of an URL.
$contents = file_get_contents('http://example.com/rss.xml');Unfortunately, this is a huge security threat - and many servers have disabled this feature in PHP. Also this is not the most optimized method to fetch an URL. Also, it is impossible to submit data using the POST method using this function.
Other Options - curl and fsockopen
PHP provide other two method to fetch an URL - Curl and Fsockopen. But to use this I have to write a lot more code.
Selected Tags
Related Tags
Top Contributors
Groups interested in php
-
PHP
PHP Resources
Items: 26 | Visits: 104
Created by: Dan Perry
-
PHP+Apache+MySQL+PHPCMS学习计划
PHP+Apache+MySQL+PHPCMS学习计划
Items: 37 | Visits: 149
Created by: 刘 正刚
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
