1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Likes Received By danx10

  1. sarahk liked danx10's post in the thread Need An Easy Code ....

    Check if a page is online: <?php $headers = @get_headers("http://website.com/page.htm"); if (preg_match('~HTTP/([1-1\.]*) (200|302)...

    Apr 23, 2010
  2. Bohra liked danx10's post in the thread Need An Easy Code ....

    In addition to sarahk's code: <?php function myCurlFunctionToGetThePage($url) { // create curl resource $ch =...

    Apr 23, 2010
  3. pictureboarduk liked danx10's post in the thread Syntax problem doing an INSERT.

    <?php /* Note: Ensure $_SESSION['order_productID1'] exists, and you have connected to the database... */ //escape slashes to avoid sql...

    Apr 20, 2010
  4. xDemevenx liked danx10's post in the thread Can't figure out what's wrong with my code?.

    <div class="headadvert_468x60"> <?php $bannerCounter = 2; $bannerCode[$bannerCounter] = '<a href="http://www.example.com/"...

    Apr 11, 2010
  5. emitind liked danx10's post in the thread Remove any price from a string - +Rep.

    preg_replace('~£([0-9]{1,4})\.([0-9]{2})~', '', $str);

    Apr 9, 2010
  6. johneva liked danx10's post in the thread Form Validation.

    @johneva <?php function died($error) { // your error code can go here echo "<br /><p>We are very sorry, but there were...

    Mar 26, 2010
  7. emozunny liked danx10's post in the thread Date and time - insert into website.

    Use the time() function.

    Mar 12, 2010
  8. Imozeb liked danx10's post in the thread How do I get the values between two brackets?.

    <?php $var = 'name(bob) | title(bar) | value(5)'; preg_match_all('~([^ ]*)\(.*\)~U', $var, $values); $name = $values[1][0]; $title =...

    Mar 11, 2010
  9. Narrator liked danx10's post in the thread How do I include html script in PHP?.

    @ Narrator & Imozeb Theirs no need to use parenthesis around the echo, as its optional and doesnt make any difference functionality...

    Mar 4, 2010
  10. movidalatina liked danx10's post in the thread Warning: Cannot modify header information.

    I agree, that its better to identify the actual problem, but following: I thought I'd suggest an easier solution... But if this hasnt...

    Feb 28, 2010
  11. sifsaf1 liked danx10's post in the thread Reputation points.

    Repping someone via the Reputation system - is optional and not a requirement, furthermore you should not look to recieve reputation...

    Feb 26, 2010
  12. Egnited liked danx10's post in the thread How to scrape this data?.

    <?php preg_match("/<followers_count>([0-9]*)<\/followers_count>/", file_get_contents("http://twitter.com/users/show/aplusk.xml"),...

    Feb 25, 2010
  13. monkeyclap liked danx10's post in the thread php if statement.

    Yes :) Didn't you try it?, you should follow your insticts first, then if you need help - post here.

    Feb 20, 2010
  14. dkin69 liked danx10's post in the thread Code to Automatically detect image link.

    Try this (untested): <?php $submission = <<<TEXT Hi my name is danny and I love to fish...

    Feb 17, 2010
  15. Fracisc liked danx10's post in the thread Extract day/month/year from this.

    <?php $extract = strtotime("March 1, 1981"); //output: 01/03/1981 echo date("d/m/Y", $extract); ?>

    Feb 16, 2010
  16. JSellnau_TSCC liked danx10's post in the thread Collecting values from a Drop-down box for a sendmail script..

    OK post both all your php code and complete html form which your using now. Snippets are no help.

    Feb 7, 2010
  17. Hecky liked danx10's post in the thread Domain Validation question.

    In that case, here's a better method: <?php $domains = array("http://google.com", "http://www.google.com", "http://google.com",...

    Jan 24, 2010
  18. arba liked danx10's post in the thread Need help with logo site's on images.

    Here you go: http://www.wp-watermark.com/installation

    Jan 22, 2010
  19. deemainer liked danx10's post in the thread "call home to check" script.

    The img tag embeds an img, however theirs no restrictions in what you insert within the img tag. By adding a php file to the img tag's...

    Jan 17, 2010