NameSilo

Best posts by Daniel

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
  1. Daniel

    Logging class

    <?php /** * Danltn | http://danltn.com/ * No warranty is given to code used * Under Attribution-Noncommercial-No Derivative Works 3.0 Unported License * http://creativecommons.org/licenses/by-nc-nd/3.0/ * Version 0.1 */ /** SQL Dump: CREATE TABLE `logs` ( `id` int(11)...
  2. Daniel

    Redirect tracking script, does this exist?

    An easier way to get the Hostname for PHP 5.1.2+ is: $host = parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST); If you don't have 5.1.2+, you could use the list function to get it. But you really should have it by now. :tu: Dan
  3. Daniel

    Whois server info for .la ?

    whois.nic.la I believe. 1000th post! :tu:
  4. Daniel

    Wordpress theme not showing the pages I add

    An easier way is just to use the built-in wp_list_pages function. Extremely easy to use, don't think it needs to be in The Loop. http://codex.wordpress.org/wp_list_pages
  5. Daniel

    [Resolved] How did you learn PHP & MySQL?

    W3Schools and then straight to www.PHP.net Although there's various places to start, you really need to use PHP.net when you get more advanced, best resource there is. Dan
  6. Daniel

    Got a question : Php + Mysql = Love

    Wow, no offence but that is the dumbest thing I've ever heard. http://www.google.co.uk/search?q=WordPress http://search.yahoo.com/search?p=WordPress http://www.ask.com/web?q=WordPress http://search.live.com/results.aspx?q=WordPress All of which it ranks #1 for... Along with...
  7. Daniel

    Are Stock Symbols Protected?

    Not true, a company could easily have an unregistered trademark that they acquired through use of the domain over time. :tu: Dan
  8. Daniel

    Ridiculously easy problems, but they have me stumped (Cookies)

    I tried some quick code and it worked fine for me. <?php error_reporting(E_ALL); $cookie = "Wee"; // Well it needs a value... if(isset($_GET['del'])) { setcookie('siteLogin', "", time() - 31104000); setcookie("test", "", time() - 36000); echo "Deleted cookies...
  9. Daniel

    Redirect on all Links [Hidden Referrer]

    I'd like to know why you're doing this. But I think the method you're looking for is. <meta http-equiv="refresh" content="1; URL=http://danltn.com"> It obviously depends on the browser used.
  10. Daniel

    CSS Attribute?

    Can't you just put margin-left:10px; margin-right:10px; on the JUST the center one?
  11. Daniel

    [Resolved] Choose my new username - AND WIN 100NP - Only 24 Hours

    Danltn Is God ^^ It has a nice ring to it, don't you think?
  12. Daniel

    Regular Expressions

    Call your variable $var. preg_match("/serif>(.*)<input/",$var,$matches); print_r($matches); It could obviously be made more precise by expanding it, it could also use [A-Z0-9_-] instead of .* But... Enjoy :p
  13. Daniel

    Blog Revenue.

    Self Hosted WordPress without a doubt. http://wordpress.org
  14. Daniel

    [Resolved] Regular Expression Help

    <?php require_once("/home/danltn/www/functions.php"); // Custom functions $page = @get_page("http://sandiego.craigslist.org/off/438472718.html"); // Custom function for cURL preg_match_all('/<img src="http:\/\/images.craigslist.org\/(.*)"><\/td>/',$page,$con); foreach($con[1] as $c =>...
  15. Daniel

    status-resolved [resolved] Reported post: (2236364)

    Reported post: (2236364) Original post: in Thread Greetings everyone Reason: Referral link in sig. Assigned Moderators: -db-, -RJ-, Bill, Bones, Chris, Etab, Gene, IAmAllanShore, ManicGirl, Mark, Morphmaster, robertjr, True_Snake, ~ Cyberian ~
  16. Daniel

    Need some help please

    Open_basedir is on... I'll quote SecondVersion's excellent reply to another thread: ------------------------------------ You have open_basedir on... There are 4 ways you could fix it, any one of these should work for you. Disable open_basedir in php.ini If there is some sort of...
  17. Daniel

    [Resolved] Wordpress Blog Post URLS

    Admin Panel => Options => Permalinks. Custom structure: /%postname% Or... to have the Post ID after it. Custom Structure: /%postname%-%post_id%/ .htaccess to CHMOD 777 is easiest, otherwise you'll have to copy the code it gives you. ^^^^ Off the top of my head. Dan
  18. Daniel

    status-closed Advanced* BULK LOOKUP SCRIPT

    Bumpo.
  19. Daniel

    250NP$ to the most outrageous unregistered domain! No .coms or .nets allowed!

    GET-MAX-PROFITS.org The extension is key. ;)
  20. Daniel

    [Resolved] Help customizing Input text, and submit button

    Uhh.... Here's some examples, (inline CSS):<input type="text" style="font-size:24px;color:red;border:0;" value="Default textbox" /><input type="submit" style="font-size:3em;color:yellow;background-color:orange;border:1;" value="Default submit" />Just remember, borders and styles are on inputs...
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back