Jump to content

QuickOldCar

Staff Alumni
  • Posts

    2,972
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by QuickOldCar

  1. Install bind to set up a dns server. This will "bind" the port to the main domain. http://www.isc.org/software/bind Then configure your settings through somewhere like godaddy that has all the options. There are tutorials and plenty of documentation out there better than I can explain it. For apache: http://httpd.apache.org/docs/2.0/bind.html
  2. I use appserv, others would seem to crash eventually. http://www.appservnetwork.com/
  3. Yes, public - everyone can see it, private - only you can see it while logged into google
  4. Make sure the files are saved as .php, and not as .html or another.
  5. Try this, it works for me. <html> <body> <form action="" method="post"> <input type="hidden" name="httpreferer" value="<?php echo $_SERVER['HTTP_REFERER']; ?>" /> <input type="submit" /> </form> </body> <?php $httpreferer=$_POST['httpreferer']; echo $httpreferer; ?> </html>
  6. <input type="hidden" name="httpreferer" value="<?php echo $_SERVER['HTTP_REFERER']; ?>" /> Was missing a semicolon
  7. Viewing your link, it appears you got this working.
  8. http://dustinbrewer.com/creating-a-photo-gallery-in-css-without-tables/ http://www.web3mantra.com/2011/03/28/25-css-image-galleries/ http://coding.smashingmagazine.com/2007/05/18/30-best-solutions-for-image-galleries-slideshows-lightboxes/ http://www.cssplay.co.uk/menu/content100.html http://www.cssplay.co.uk/menu/slide_show.html Just to show a few
  9. use css styles to make the tables the way you want
  10. $sql = "SELECT * FROM mongrels_db.gallery ORDER BY id DESC LIMIT $offset, $rowsperpage "; $result = mysql_query($sql, $conn) or trigger_error("SQL", E_USER_ERROR); echo "<table><tr>"; // while there are rows to be fetched... while ($list = mysql_fetch_array($result)) { $img=$list['img']; // echo data echo "<td>"."<img src='../gallery/".$img."' width='100' height='100''> "."</td>"; } // end while echo "</tr><table>"; otherwise to display the data later would have to make them an array masterace beat me, we were close
  11. A helpful article to display in various ways. http://www.ibm.com/developerworks/opensource/library/os-php-xpath/
  12. The reason for having this website is to gain more business. If the person doesn't care about their site, maybe they don't care about the services they provide, is in which the way I and others may think. You need to insert meta data like title,description,keywords. Have a few different pages going to about,location,services,etc to gain more positions in search engines. For sure this needs a better look, maybe some pictures of watches have worked on, or able to work on. Look at some of the other competitions sites. http://www.totalwatchrepair.com/ http://www.jjwatchrepair.com/ http://www.fastfix.com/watchrepairs.php http://www.watchrepairny.com/ http://www.pocketwatchrepair.com/ Some simple text on a page and a small header image is not good enough.
  13. That won't work if it's a subdomain, you would need to preg_match the urls, or parse the main domain from the url.
  14. preg_match("|<meta[^>]*description[^>]*content=\"([^>]+)\"[^>]*>|smUi",$html, $matches);
  15. Use the include() function. As for style use css around the included area. as an example: <p class="yourstylename"> <?php include 'display_location.php'; ?> </p>
  16. An easy way is to make a new page in wordpress named car, it doesn't matter what the content is for that page. Now make a new folder in your wordpress file directory named car, place all your car site files into there, now when you access mysite.com/car it will use the car folders contents. If the above does not help you and actually need to use php code and other code within wordpress, you have to get around the wordpress filters, which the easiest way is to use the php/html plugins.
  17. It looks and functions well. Links look good. For me I would like a site that has more a detailed description on an item when I clicked it. Having the catalogue paginated into pages and being able to see them all would be nice. I saw you just have 16 items there.
  18. Take a look here at some youtube embed scripts I made and will see how can obtain the video id value. http://www.phpfreaks.com/forums/index.php?topic=342974.msg1619535#msg1619535
  19. You can do this. To Embed this Card into your website, cut and paste the following code: <textarea rows="5" cols="40" id="embed_code"><iframe width="700" height="1500" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.airfieldcards.com/php/courtesy_card.php?id=<?php echo $id;?>"</iframe></textarea>
  20. If you can make it work locally then you must have at least did something correctly. Did you try to clear the browser cache or any server cache? You may be seeing old content and not the new.
  21. The index file is located within the selected themes folder. wp-content/themes/your_theme_name Whatever change made to your index file....changes can also be made to single.php,search.php,archive.php and page.php.
  22. check to make sure the mod_rewrite module is enabled have the rewrite rules in .htaccess Take a look here for more about this. http://codex.wordpress.org/Using_Permalinks
  23. <table border="1"> <tr> <th>ID</th> <th>Image</th> </tr> <?php for($i=0; $i<=100; $i++) { $url = 'http://localhost/images/icon_'.$i.'_64x64.jpg'; if (file_exists($url)) { echo "<tr><td>".$i."</td><td><img src='".$url."' /></td></tr>"; } } ?> </table>
  24. I like the way the photos cycle when clicking them. I don't particularly like the puppy breed site having the main domain name associated with halo gaming.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.