Likes Received By Danltn
-
idothisforfun liked Danltn's post in the thread $10-15 Via Paypal to solve my php problem..
Sorted this for him.
Dec 30, 2008 -
richu liked Danltn's post in the thread How is Zend Studio ?.
Downloading from warez is illegal. It's not good and it's just cheapskatey. Now back to your original questions. I personally own a...
Dec 27, 2008 -
M.Zeb Khan liked Danltn's post in the thread Extracting contents from a text file..
Eww, Regex. <?php function parse( $data, $delimiter = ',', $enclosure = '"', $newline = "\n" ){ $pos = $last_pos = -1; $end = strlen(...
Dec 24, 2008 -
crazyryan liked Danltn's post in the thread My old snippets.
Here's my old snippets from an old SQL dump of my site. Knock yourself out. - Here's some of the more recent snippets/code I've...
Dec 20, 2008 -
SGBoise liked Danltn's post in the thread Reformatting php code.
Nah, use a program with a built-in beautifier... I use phpDesigner and Zend Studio personally, and of the two I would say Zend has the...
Dec 14, 2008 -
xchris liked Danltn's post in the thread Simple array to file problem.
Your regex and your code were both a bit messy, click the download link on the page below to see working (and readable) code....
Jul 11, 2008 -
Vooler liked Danltn's post in the thread How to echo from a post form?.
<?php echo $_REQUEST["custom_clickbank_id"]; ?>
Jul 10, 2008 -
bleucube liked Danltn's post in the thread PHP List Recent Files in Folder - I'm close.
Just try my script ;) It's sexy and unsuperfluous (unlike that word.) Here's a tidied version: http://danltn.com/bin/nwc.phps (edit,...
Jul 9, 2008 -
nicangeli liked Danltn's post in the thread Need help with 1 line.
Nicangeli: It's SQL code (you probably knew), but yes - this would be a lot simpler. Just multiply it via PHP and then simply add the...
Jul 7, 2008 -
Seqqa liked Danltn's post in the thread Need to pass URL into HTML from URL variable?.
Do you mean access variables (Use $_GET) or build a query from variables (http://php.net/manual/en/function.http-build-query.php) Dan
Jun 19, 2008 -
J.T.D. liked Danltn's post in the thread How to delcare a vraible in CSS?.
Too vague. Do you mean CSS variables. @variables { CorporateLogoBGColor: #fe8d12; } div.logoContainer { background-color:...
Jun 19, 2008 -
lightstarm2k liked Danltn's post in the thread how to include upper level??.
include '../index.php'; ?
Jun 18, 2008 -
commandos liked Danltn's post in the thread PHP Website Screenshot Script.
It's buggy, it's restrictive, and limited to certain systems. Oh, and some of the code is weird. But it works, for me....
Jun 8, 2008 -
emitind liked Danltn's post in the thread Order a list by string size.
function len($a, $b) { return strlen($a) - strlen($b); } usort($array, 'len'); Knock yourself out ;)
May 30, 2008 -
ChaosFoo liked Danltn's post in the thread String Manipulation Question.
ereg_replace is my personal favourite. $string = ereg_replace('<!--removestart-->.*<!--removeend-->', '', $string); Something along...
Apr 7, 2008 -
Melvinng liked Danltn's post in the thread Iframe Security Panel? Hiding a Page from a Browser? But not from an iframe view?.
A better method would be to use PHP to 'crawl' the Admin link, as PHP can easily login to an admin page, it can then match the parts of...
Feb 7, 2008