Likes Received By nico_swd
-
joel1st liked nico_swd's post in the thread How to learn PHP.
http://forums.digitalpoint.com/showthread.php?t=970188 http://forums.digitalpoint.com/showthread.php?t=957293...
Aug 19, 2008 -
nicangeli liked nico_swd's post in the thread How to learn PHP.
http://forums.digitalpoint.com/showthread.php?t=970188 http://forums.digitalpoint.com/showthread.php?t=957293...
Aug 19, 2008 -
nastynappy liked nico_swd's post in the thread PHP curl to login to vbulletin not working....
curl_setopt($ch, CURLOPT_REFERER, 'http://www.example.com');
Aug 16, 2008 -
MrLeN liked nico_swd's post in the thread How to explode in 2 places..
Why PM? Are you gonna charge him for one line of code? :rolleyes: Anyway, forget these ugly explodes. This will do all in one... if...
Aug 14, 2008 -
Rory M liked nico_swd's post in the thread Am I doing everything I can to prevent SQL Exploits with this code?.
That's explained at the sprintf() manual page. However, I wasn't referring to this part anyway. I meant this part:...
Aug 11, 2008 -
dilluzionz liked nico_swd's post in the thread I need a go.php code/file.
<?php $url = preg_replace('~[\r\n]+~', null, $_GET['url']); header("Location: {$url}"); ?>
Aug 9, 2008 -
nabil_kadimi liked nico_swd's post in the thread Date+Time.
Give it a try yourself at least: www.php.net/date www.php.net/gmdate
Aug 8, 2008 -
daryo liked nico_swd's post in the thread A script that downloads files from another server to my server ?.
The easiest way would be: $source = 'http://example.com/file.zip'; $target = 'files/file.zip'; if (@copy($source, $target)) { echo...
Aug 4, 2008 -
lordadel liked nico_swd's post in the thread php Preg Match Expression.
preg_match_all('~<q>(\d+)</q>~i', $comment, $matches); $ids = array_unique($matches[1]); $query = mysql_query("SELECT `message`,...
Aug 1, 2008 -
Silver89 liked nico_swd's post in the thread php Preg Match Expression.
[php] preg_match_all('~\
Aug 1, 2008 -
jayshah liked nico_swd's post in the thread Asap.
Awesome. So I can "hide" my valuable HTML code and make my content unavailable to search engines, AT THE SAME TIME? If you plan to...
Jul 31, 2008 -
rohan_shenoy liked nico_swd's post in the thread Let's create framework !!!.
Okay, I don't know how to put it so you actually understand... I wasn't trying to help improving it, but pointing out how crappy and...
Jul 30, 2008 -
BuxP liked nico_swd's post in the thread Cookie Error - Please help!.
It's working fine for me.
Jul 30, 2008 -
qprojects liked nico_swd's post in the thread How did you learn PHP?.
^ BING! Learn the basics (syntax) of PHP on a website, such as php.net or Tizag.com. Then do what the guy above said. Also,...
Jul 29, 2008 -
slaydragon liked nico_swd's post in the thread Is this normal? am i right?.
How could we possibly know without seeing your code? Generally, it's always the best to limit your amount of queries as much as...
Jul 25, 2008 -
Scorpiono liked nico_swd's post in the thread Stripping HTML by PHP.
Yeah, check; www.phpvideotutorials.com/regex/
Jul 23, 2008 -
blueparukia liked nico_swd's post in the thread Stupid Regex. Need help again..
'~\[spoiler(?:[ ]?=[ ]?(["\'])?([^"\'\]]+)\1?)?\](.*?)\[/spoiler\]~si' Regex isn't that hard once you know the basics. Check:...
Jul 19, 2008 -
goscript liked nico_swd's post in the thread Preg match + function.
www.php.net/preg_replace_callback Or using the e (eval) modifier: preg_replace('~>(.*?)<~se', 'edit("$1")', $text);
Jul 18, 2008 -
abixalmon liked nico_swd's post in the thread PHP Code to determine Bot.
Here's a function I use. function is_bot() { $spiders = array( // Most common 'googlebot' => 'Google Bot',...
Jun 23, 2008 -
sarahk liked nico_swd's post in the thread need a VERY SIMPLE Code.
^ Liar liar, pants on fire. And lol at the tutorial: fputs ($out,implode,("\n")); ... almost.
Mar 19, 2008