Recent content by appman360

  1. A

    Permanently Closed Marketplace Sales Thread

    Ordered a keyword. He gave me one with 2900 searches a month and 1.39 CPC. And to rank on google - it's dead easy. The pages in the top 10 don't have any SEO. Having just a title + h1 should be enough to reach the first page. really pleased with this :)
  2. A

    Remove line from the beginning of a string?

    sometimes the textarea contains \r\n - maybe that's the problem. If so, you can use replace them before exploding. Haven't tested but maybe something like this : $x = preg_replace('/\r\n|\r/', "\n", $x); foreach(explode("\n", $x) as $y) {
  3. A

    Adding overlay to WordPress images

    What they seem to do is add a span containg the zoom image on top of the image. It's probably part of the theme. Assuming you have the lightbox, if you add this inside the <a> tag <span class="zoom"></span>then in your css add /* lightbox zoom image */ .post-image .lightbox { position...
  4. A

    I want to make a Job Site - What do you think ?

    I agree with BreakAllTheClocks - use a ready made open source one. It's easier than making modifications to drupal. Once you're making money you can improve it. jobberBase has quite a few plugins you can find in their forum. It's quite easy to add features. As for hosting, Alertpay doesn't...
  5. A

    .htaccess not redirecting properly

    I think you'd have to change all the links on your site. If you've already done that, you probably just need to wait for google to replace the old links. The htaccess only rewrites the pages so that category/something.html can be used instead of category.php?string=something.
  6. A

    Script to Redirect USA users

    It's easier and faster to do this in a server side language (php, asp) using GeoIP. I can't post a link, but, if you google 'YQL Geo Library' you'll find a javascript one that detects the location.
  7. A

    Help writting onClickRedirect and making it open on a new window

    You'd need to use the built up url in window.open instead of window.location Replace window.location = url1+"://"+url2+"?"+url3+"="+url4; with var url = url1+"://"+url2+"?"+url3+"="+url4; window.open(url...
  8. A

    Question - HTML Sidebar

    You could use php in the html files and use an include for the sidebar Add this in .htaccess RemoveHandler .html AddType application/x-httpd-php .php .html then <?php include "sidebar.php" ?> in the html files hope that's what you mean
  9. A

    need help to parse simple XML to PHP

    no prob bizbez yep, it contains a nested array - RESPONSE being the first tag with CONVERSION inside it
  10. A

    need help to parse simple XML to PHP

    This should print everything <?php $string = " <RESPONSE> <EXPR>CAD</EXPR> <EXCH>USD</EXCH> <AMOUNT>1</AMOUNT> <NPRICES>1</NPRICES> <CONVERSION> <DATE>Thu, 10 May 2001 21:00:00 GMT</DATE> <ASK>1.5432</ASK> <BID>1.542</BID> </CONVERSION> <EXPR>CAD</EXPR>...
  11. A

    need help to parse simple XML to PHP

    Something like this maybe ? <?php $string = " <RESPONSE> <EXPR>CAD</EXPR> <EXCH>USD</EXCH> <AMOUNT>1</AMOUNT> <NPRICES>1</NPRICES> <CONVERSION> <DATE>Thu, 10 May 2001 21:00:00 GMT</DATE> <ASK>1.5432</ASK> <BID>1.542</BID> </CONVERSION> <EXPR>CAD</EXPR>...
  12. A

    Need help with 301 redirect

    Tera-WURFL ? require_once './TeraWurfl.php'; $wurflObj = new TeraWurfl(); $wurflObj->getDeviceCapabilitiesFromAgent(); // see if this client is on a wireless device if($wurflObj->getDeviceCapability("is_wireless_device")){ header("Location: website.name/"); }
  13. A

    Site Ripping Tools

    The problem with wget is that it doesn't download all images in the CSS you could try this modified version http://www.mail-archive.com/[email protected]/msg09502.html http://ted.mielczarek.org/code/wget-modified/trunk/ then use wget --page-requisites -r http://www.example.com/
Back
Top