Likes Received By nico_swd

  1. JacobNix liked nico_swd's post in the thread Looking for a simple PHP script ,could you help me ?.

    <?php if (isset($_POST['url'])) { header('Location: '. $_POST['url']); exit(); } $links = array( 'Page 1' =>...

    May 6, 2007
  2. commandos liked nico_swd's post in the thread Your Best Function.

    I usually use my own code for almost everything. I just downloaded this because it was a database backup script, and I wasn't too...

    May 3, 2007
  3. smallbizstartupkit liked nico_swd's post in the thread Time Difference Function.

    I wrote this a while ago. It does not EXACTLY do what you want, but it should get you started. function...

    May 3, 2007
  4. clvezlys liked nico_swd's post in the thread Get variables from URL.

    preg_match('/http:\/\/([^\.]+)/', $url, $subdomain); echo $subdomain[1]; Untested, but should work.

    Apr 30, 2007
  5. commandos liked nico_swd's post in the thread PLease DOn't Ignore This....

    None of your posts provides enough information to help you. Maybe you should give us ALL information that your teacher gave you. I'm...

    Apr 29, 2007
  6. poseidon liked nico_swd's post in the thread Free online PHP tester.

    I just deleted stester.html Good job on security. :) EDIT: After highlighting the code of your execute script, I figured it was...

    Apr 28, 2007
  7. ErectADirectory liked nico_swd's post in the thread Converting string.

    EDIT: A bit too late... Give this a try. (untested) // Format $string = preg_replace('/_([a-z])/e', "strtoupper('$1')", $string);...

    Apr 24, 2007
  8. ottodo liked nico_swd's post in the thread Smarty - How to?.

    What are you asking for? You posted the link to your question already. :D http://smarty.php.net/crashcourse.php

    Apr 23, 2007
  9. frankcow liked nico_swd's post in the thread regular expression help.

    If the word between <> tags is 5 chars or longer? if (preg_match('/<[\w]{5,}>/', $word)) Or this if you want to check from the end...

    Apr 23, 2007
  10. commandos liked nico_swd's post in the thread how to make a, contact us form, in wordpress blog,.

    http://green-beast.com/blog/?page_id=136 http://www.douglaskarr.com/2006/09/22/wordpress-contact-form-with-spam-protection/...

    Apr 22, 2007
  11. fsmedia liked nico_swd's post in the thread How To Limit Number of Characters In Title...?.

    $maxlen = 40; if (strlen($title) > $maxlen) { $title = substr($title, 0, $maxlen) . '...'; }

    Apr 21, 2007
  12. Aragorn liked nico_swd's post in the thread Best Javascript Library.

    Personally, I've never used it, but I hear that Prototype is very good.

    Apr 20, 2007
  13. Kalyse liked nico_swd's post in the thread EVAL Security Issue.

    You could disable dangerous functions in php.ini disable_functions = dl,system,exec,passthru,shell_exec,unlink EDIT: This would...

    Apr 19, 2007
  14. commandos liked nico_swd's post in the thread I have a problem in PHP String Function. PLZ try to reply !!.

    $title = substr($description, 0, 20);

    Apr 11, 2007
  15. Denvar liked nico_swd's post in the thread Creating + Sending .csv on the fly.

    Give this a try: <?php $cr = "\n"; $csvdata = "First Name" . ',' . "Last Name" . $cr; $csvdata .= $txtFName . ',' . $txtLName ....

    Apr 10, 2007
  16. Artisan liked nico_swd's post in the thread How To Download PHP files from Server.

    Imagine you could download PHP files like you want and see it's source code. I'd go to...

    Apr 6, 2007
  17. Clive liked nico_swd's post in the thread How To Download PHP files from Server.

    Imagine you could download PHP files like you want and see it's source code. I'd go to...

    Apr 6, 2007
  18. m0nkeymafia liked nico_swd's post in the thread Distance / Postcode search.

    This might help. http://www.bytemycode.com/snippets/snippet/489/

    Apr 2, 2007
  19. Geraldm liked nico_swd's post in the thread How to do this with Regular Expressions?.

    preg_match_all('/<a.+href="([^"]+)"[^>]*>.+<\/a>/si', $text, $urls); echo '<pre>' . print_r($urls[1], true) .'</pre>'; This works...

    Apr 2, 2007