QuickOldCar
Staff Alumni-
Posts
2,972 -
Joined
-
Last visited
-
Days Won
28
Everything posted by QuickOldCar
-
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
-
Favourite development center for windows
QuickOldCar replied to freelance84's topic in Miscellaneous
I use appserv, others would seem to crash eventually. http://www.appservnetwork.com/ -
Yes, public - everyone can see it, private - only you can see it while logged into google
-
Make sure the files are saved as .php, and not as .html or another.
-
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>
-
<input type="hidden" name="httpreferer" value="<?php echo $_SERVER['HTTP_REFERER']; ?>" /> Was missing a semicolon
-
Viewing your link, it appears you got this working.
-
PHP Pagination display images in a table help
QuickOldCar replied to conan318's topic in PHP Coding Help
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 -
PHP Pagination display images in a table help
QuickOldCar replied to conan318's topic in PHP Coding Help
use css styles to make the tables the way you want -
PHP Pagination display images in a table help
QuickOldCar replied to conan318's topic in PHP Coding Help
$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 -
A helpful article to display in various ways. http://www.ibm.com/developerworks/opensource/library/os-php-xpath/
-
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.
-
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.
-
preg_match("|<meta[^>]*description[^>]*content=\"([^>]+)\"[^>]*>|smUi",$html, $matches);
-
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>
-
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.
-
Simple Search to list youtube results Help!
QuickOldCar replied to Mancent's topic in PHP Coding Help
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 -
How do I add the width and height to an iframe in my code.
QuickOldCar replied to VinceGledhill's topic in PHP Coding Help
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> -
I want all inputs saved in the database as capital letters
QuickOldCar replied to Morris2's topic in PHP Coding Help
http://php.net/manual/en/function.strtoupper.php -
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.
-
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.
-
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
-
<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>
-
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.