Likes Received By nico_swd
-
flash902007 liked nico_swd's post in the thread How do i make a drop down list link somewhere?.
<form id="form1" name="form1" method="post" action=""> <label> <select onchange="window.location=this.value;">...
Sep 19, 2007 -
mann3r liked nico_swd's post in the thread easy way to convert.
The script designed for PHP 4 will most likely work on PHP 5. If you get a specific error, post it including the code to get more...
Sep 19, 2007 -
ThePirate liked nico_swd's post in the thread preg_match help.
preg_match('/[&\?]q=([^&]+)/', $url, $keywords); echo $keywords[1];
Sep 18, 2007 -
prometheus liked nico_swd's post in the thread Help: Tagging from keyword list?.
No, the e modifier. $string = preg_replace('/[^\,\s]+/e', '"<a href=\"$0\">" . trim("$0") ."</a>"', $string);
Sep 18, 2007 -
Im The ONE liked nico_swd's post in the thread Find user ID by username.
function fetch_userid($username) { preg_match( '/&u=(\d+)"/',...
Sep 16, 2007 -
phantomddl liked nico_swd's post in the thread Help with PHP Replace command.
Okay, I see. $badwords = array('sex', 'fuck', 'smurf'); ob_start(); include("recent.php"); $content = preg_replace(...
Sep 16, 2007 -
1-3-3-7 liked nico_swd's post in the thread Weird Chars in RSS.
It's most likely the encoding. A link to the actual page would help.
Sep 14, 2007 -
stats liked nico_swd's post in the thread PHP FTP connection problem.
Post the code you're using.
Sep 14, 2007 -
sitefever liked nico_swd's post in the thread Help me fight SPAM!!.
$blacklist = 'file.txt'; if (preg_match('/(' . implode('|', array_map('trim', file($blacklist))) . ')/i', $tf_message)) { echo...
Sep 13, 2007 -
I. Brian liked nico_swd's post in the thread How to geotarget content by IP?.
Download an IP to Country script. Based on that it's easy to display different content.
Sep 13, 2007 -
jrbiz liked nico_swd's post in the thread Javascript as a Product?.
Not possible. The only thing I can think of is dummy images, but that would only allow you to see which domains use it, and it wouldn't...
Sep 12, 2007 -
Arson liked nico_swd's post in the thread Subdomains, without actually creating a subdomain.
Just type the wanted subdomain infront of your actual domain, and it'll point to your root directory if no other was registered in your...
Sep 5, 2007 -
caroline liked nico_swd's post in the thread Get the url of page via PHP.
$uri = 'http' . (!empty($_SERVER['HTTPS']) ? 's' : null) . '://' . $_SERVER['HTTP_HOST'] . ($_SERVER['SERVER_PORT'] != 80 ?...
Sep 4, 2007 -
jg_abad liked nico_swd's post in the thread How to develop site in multi languages.
It's pretty simple. Make sure this code is available on all pages where the multi language function is needed. (Save it as an external...
Aug 31, 2007 -
sarahk liked nico_swd's post in the thread The Official "I Got a DigitalPoint Tattoo Thread"!.
I figured I'll shut up, since I don't have anything nice to say about this. :D
Aug 26, 2007 -
checksum liked nico_swd's post in the thread A redirect that works on percentages?.
Maybe something like this is enough: <?php if (mt_rand(1, 95) >= 95) { header('Location: http://5percent.com/'); } else {...
Aug 26, 2007 -
ErectADirectory liked nico_swd's post in the thread Logging all changes in a directory.
To achieve this, you would either have to edit the files via a script that logs every change made, or you need a database with all file...
Aug 26, 2007 -
Vanitas liked nico_swd's post in the thread Reformat pubDate from MagpieRSS.
$item['pubdate'] = date('l, F dS, Y', strtotime($item['pubdate']));
Aug 26, 2007