Likes Received By nico_swd
-
falcondriver liked nico_swd's post in the thread pic most common colors from an image.
Here you go. Just note that this function is slow and memory consuming. <?php function imagemostcommoncolor($source, $num_colors =...
Nov 8, 2007 -
Funk-woo10 liked nico_swd's post in the thread Help ! How do I format output results to table ?.
And try this <? $sql="select * from members,photos where members.username=photos.username and active=1 and approved='Y' ORDER BY...
Nov 5, 2007 -
birdsq liked nico_swd's post in the thread PHP Upload Problems - please help !!.
The first would throw a syntax error. I'd do it like that $insert = mysql_query(" INSERT INTO table VALUES ('" ....
Nov 3, 2007 -
James12513 liked nico_swd's post in the thread How To Show How Many People Are Online? - Help Appreciated!.
You could insert a hidden iframe, and in this iframe is a page that refreshes every X amount of time. And this page updates the counter....
Oct 31, 2007 -
khan11 liked nico_swd's post in the thread php mail to the entered address.
Most basic example ever: mail($_POST['recipient'], 'Subject goes here', $_POTS['message'], 'From: You <you@example.com>');...
Oct 31, 2007 -
commandos liked nico_swd's post in the thread I'm sick of freelancing.
Thanks for the recommendations, I appreciate them a lot. :) However, I don't do freelance work at the moment. (Unless it's just a small...
Oct 30, 2007 -
micromark liked nico_swd's post in the thread php cookie or server problem ?.
No user will ever see the "Please enable cookies" text. The cookie header will be sent to the browser, regardless of the browser...
Oct 26, 2007 -
mahmood liked nico_swd's post in the thread fgets from middle of a file?.
www.php.net/fseek it doesn't work with line numbers though. But maybe you could do that with file() and array_slice().
Oct 24, 2007 -
AHA7 liked nico_swd's post in the thread Script still running after page is stopped.
Perhaps something along the lines of: while (!connection_aborted()) { // Whatever flush(); }
Oct 24, 2007 -
akoj liked nico_swd's post in the thread No Right Click Copying.
This is what he means: http://www.copyscape.com/ It's not necessarily effective though.
Oct 24, 2007 -
asgsoft liked nico_swd's post in the thread Clearing RSS.
$xml = simplexml_load_file('file.xml'); foreach ($xml->xpath('channel/item') AS $item) { echo $item->title, "<br />\n"; }
Oct 24, 2007 -
goscript liked nico_swd's post in the thread Little help needed: text to uppercase except html tags.
$text = preg_replace('/>[^<]+</e', 'strtoupper("$0")', $text);
Oct 23, 2007 -
kingjacob liked nico_swd's post in the thread Caustion Noob question: If and If statements?.
<?php if (function_exists('ns_show_top_commentators') and is_home()) { ?> Content here <?php } ?>
Oct 22, 2007 -
Alexander the Great liked nico_swd's post in the thread No Right Click Copying.
The only way to encrypt it is using javascript. But then the site wouldn't be visible for everybody. However, there's no secure way for...
Oct 20, 2007 -
tarponkeith liked nico_swd's post in the thread Help regarding preg_match.....
I tested it and it's working for me. Did you try the last line of code I gave you? I get this output. Array ( [0] => 2007-10-08...
Oct 15, 2007 -
Dakuipje liked nico_swd's post in the thread How to ??????? HELP.
$text = preg_replace('/[\r\n]{3,}/', "\n\n", $text); This will do it.
Oct 15, 2007 -
Crazy_Rob liked nico_swd's post in the thread Hey , CuTe GiRl Here ^_^.
Please go away.
Oct 12, 2007 -
axemedia liked nico_swd's post in the thread pulling Primary Key from mysql right after INSERT.
Use mysql_insert_id().
Oct 11, 2007 -
zenglider liked nico_swd's post in the thread Variables from strings.
Ahh, I understand your question now. What you're talking about is called Variable variables. $var = "name"; ${$var . "full"} = "Hello,...
Oct 11, 2007