Jump to content

mag00

Members
  • Posts

    19
  • Joined

  • Last visited

Contact Methods

  • Website URL
    http://davesbmw.com

Profile Information

  • Gender
    Not Telling
  • Location
    AZ

mag00's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Originally that was the case, but I did alter the include to point to the root of the site on a couple of my sites. So no, I am not trying to use another site for the code any longer. I used to have close to twenty of these "information" sites back in the day, but now just really only want to keep about 3, and add content regular to them, and make a little money for my efforts. My best site, onlinecorvette.com, died a horrible death, and I am not sure I can get that back ever. I cannot find the backup files for it. I added articles and blogs and all sorts of cool stuff, and had a following. I have to dig up an older computer and hope it still resides on it. It was 7 years ago when it was set up, and alot has changed in that time.
  2. Hi and thanks for coming back to help. The top1.html is purely google adsense code. Nothing else. I had a couple other sites that were very similar, with different content, and the syndication folder held the advertising codes formatted for this platform. I did try removing the include command and just insert the adsense, but that did not work. Seems with the templates and other pages that refer to this need to talk to each other. The general idea was if I needed to change the advertiser over all sites, I could just change one file and all would change. When it was working, I did set the syndication folder in the root of the site that I wanted it on a couple sites, to change ads for that specific site, yet stay the same for that site and all pages within. I was able to alter the code on those specific sites to work without going to the other url(domain) to get the ads working. (until the php5 upgrade). One of the html in that syndication does have a php file, I think it is the frame.html. I would love to just change the include command to something that would work through all pages and I have no idea why this command was used by the developer at that time back in about 2005. I may not have the exact code in my first readfile try. Also, I must mention that I only edited on page with the readfile change, would I need to change em all to make it work? I I am open to suggestions, I am not versed in php scripting, but do pick it up fairly fast. I'm a free range geek LOL. Thanks again Dave
  3. allow_url_include is off in the php info file. How would I format this proper for the php5.ini?
  4. Hi Ken, thanks for offering the help. I was just poking around looking how to create a php.ini file. I came to get the code to get the phpinfo to paste in hopes we could figure out how the php ini should read. then I'll go do those steps Jazzman has outlined. I do not know how to do such things. What is interesting is I found my site working perfectly at wayback machine. http://web.archive.org/web/20110210010428/http://thefastesthorse.com/ Also I liked what requinix offered up, just that the code might need tweaking to work, or maybe I didn't do it right.
  5. <td colspan="3"><img name="title_r3_c1" src="images/title_r3_c1.gif" alt="" border="0" height="10" width="523"></td> <td><img src="images/spacer.gif" alt="" border="0" height="10" width="1"></td> </tr> </tbody> </table> <p><?php readfile($_SERVER["DOCUMENT_ROOT"] . "/syndication/folder1/top1.html");"); ?></p> <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="523"> <!-- fwtable fwsrc="Untitled" fwbase="title.gif" fwstyle="Dreamweaver" fwdocid = "694633094" fwnested="0" --> <tbody> <tr> *********************************** The the section with the readfile is the code I have been trying to manipulate to get the adsense code working. That is were the include function was previously. I may not have that proper.
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <!-- InstanceBegin template="/Templates/default.dwt" codeOutsideHTMLIsLocked="false" --><!-- InstanceBeginEditable name="doctitle" --> <title>The Fastest Horse Index - The Fastest Horse home</title> <!-- InstanceEndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> <link href="style.css" rel="stylesheet" type="text/css"> </head><body style="background-color: rgb(255, 255, 255);"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="779"> <!--DWLayoutTable--><!-- fwtable fwsrc="members_template.png" fwbase="img.gif" fwstyle="Dreamweaver" fwdocid = "224947957" fwnested="0" --> <tbody> <tr> <td width="11"><img src="images/spacer.gif" alt="" border="0" height="1" width="11"></td> <td width="12"><img src="images/spacer.gif" alt="" border="0" height="1" width="12"></td> <td width="84"><img src="images/spacer.gif" alt="" border="0" height="1" width="84"></td> <td width="275"><img src="images/spacer.gif" alt="" border="0" height="1" width="275"></td> <td width="86"><img src="images/spacer.gif" alt="" border="0" height="1" width="86"></td> <td width="69"><img src="images/spacer.gif" alt="" border="0" height="1" width="69"></td> <td width="11"><img src="images/spacer.gif" alt="" border="0" height="1" width="11"></td> <td width="10"><img src="images/spacer.gif" alt="" border="0" height="1" width="10"></td> <td width="85"><img src="images/spacer.gif" alt="" border="0" height="1" width="85"></td> <td width="109"><img src="images/spacer.gif" alt="" border="0" height="1" width="109"></td> <td width="27"><img src="images/spacer.gif" alt="" border="0" height="1" width="27"></td> <td width="4"><img src="images/spacer.gif" alt="" border="0" height="1" width="1"></td> </tr> <tr> <td colspan="11"><img name="img_r1_c1" src="images/img_r1_c1.gif" alt="" border="0" height="14" width="779"></td> <td><img src="images/spacer.gif" alt="" border="0" height="14" width="1"></td> </tr> <tr> <td><img name="img_r2_c1" src="images/img_r2_c1.gif" alt="" border="0" height="27" width="11"></td> <td colspan="3"><!-- InstanceBeginEditable name="top" -->welcome to thefastesthorse.com<!-- InstanceEndEditable --></td> <td><a href="index.php"><img name="img_r2_c5" src="images/img_r2_c5.gif" alt="" border="0" height="27" width="86"></a></td> <td colspan="3"><a href="blog/index.php"><img name="img_r2_c6" src="images/img_r2_c6.gif" alt="" border="0" height="27" width="90"></a></td> <td><a href="articles/index.php"><img name="img_r2_c9" src="images/img_r2_c9.gif" alt="" border="0" height="27" width="85"></a></td> <td><a href="fasthorse/index.php"><img name="img_r2_c10" src="images/img_r2_c10.gif" alt="" border="0" height="27" width="109"></a></td> <td><img name="img_r2_c11" src="images/img_r2_c11.gif" alt="" border="0" height="27" width="27"></td> <td><img src="images/spacer.gif" alt="" border="0" height="27" width="1"></td> </tr> <tr> <td rowspan="3"><img name="img_r3_c1" src="images/img_r3_c1.gif" alt="" border="0" height="85" width="11"></td> <td rowspan="3" colspan="2"><img name="img_r3_c2" src="images/image.jpg" alt="The Fastest Horse Photo" border="0" height="85" width="96"></td> <td colspan="7"><img name="img_r3_c4" src="images/img_r3_c4.gif" alt="" border="0" height="2" width="645"></td> <td rowspan="2"><img name="img_r3_c11" src="images/img_r3_c11.gif" alt="" border="0" height="77" width="27"></td> <td><img src="images/spacer.gif" alt="" border="0" height="2" width="1"></td> </tr> <tr> <td colspan="7" bgcolor="#8da3b7"><!-- InstanceBeginEditable name="heading" --> <h3>The Fastest Horse Home </h3> <p>The Fastest Horse Information </p> <!-- InstanceEndEditable --></td> <td><img src="images/spacer.gif" alt="" border="0" height="75" width="1"></td> </tr> <tr> <td colspan="8"><img name="img_r5_c4" src="images/img_r5_c4.gif" alt="" border="0" height="8" width="672"></td> <td><img src="images/spacer.gif" alt="" border="0" height="8" width="1"></td> </tr> <tr> <td background="images/img_r6_c1.gif" height="343"><img name="img_r6_c1" src="images/img_r6_c1.gif" alt="" border="0" height="343" width="11"></td> <td colspan="5" align="left" bgcolor="#ffffff" valign="top"><br> <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="523"> <!-- fwtable fwsrc="Untitled" fwbase="title.gif" fwstyle="Dreamweaver" fwdocid = "694633094" fwnested="0" --> <tbody> <tr> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="12"></td> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="492"></td> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="19"></td> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="1"></td> </tr> <tr> <td colspan="3"><img name="title_r1_c1" src="images/title_r1_c1.gif" alt="" border="0" height="4" width="523"></td> <td><img src="images/spacer.gif" alt="" border="0" height="4" width="1"></td> </tr> <tr> <td><img name="title_r2_c1" src="images/title_r2_c1.gif" alt="" border="0" height="19" width="12"></td> <td bgcolor="#ffff99">Top<!-- InstanceBeginEditable name="title1" --> <strong>The Fastest Horse</strong><!-- InstanceEndEditable --> Sites</td> <td><img name="title_r2_c3" src="images/title_r2_c3.gif" alt="" border="0" height="19" width="19"></td> <td><img src="images/spacer.gif" alt="" border="0" height="19" width="1"></td> </tr> <tr> <td colspan="3"><img name="title_r3_c1" src="images/title_r3_c1.gif" alt="" border="0" height="10" width="523"></td> <td><img src="images/spacer.gif" alt="" border="0" height="10" width="1"></td> </tr> </tbody> </table> <p><script type="text/javascript"><!-- google_ad_client = "pub-7192235415383725"; google_alternate_color = "FFFFFF"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "0000FF"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="523"> <!-- fwtable fwsrc="Untitled" fwbase="title.gif" fwstyle="Dreamweaver" fwdocid = "694633094" fwnested="0" --> <tbody> <tr> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="12"></td> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="492"></td> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="19"></td> <td><img src="images/spacer.gif" alt="" border="0" height="1" width="1"></td> </tr> <tr> <td colspan="3"><img name="title_r1_c1" src="images/title_r1_c1.gif" alt="" border="0" height="4" width="523"></td> <td><img src="images/spacer.gif" alt="" border="0" height="4" width="1"></td> </tr> <tr> <td><img name="title_r2_c1" src="images/title_r2_c1.gif" alt="" border="0" height="19" width="12"></td> <td bgcolor="#ffff99"><!-- InstanceBeginEditable name="title" --><strong>The Fastest Horse</strong> Index<!-- InstanceEndEditable --> </td> <td><img name="title_r2_c3" src="images/title_r2_c3.gif" alt="" border="0" height="19" width="19"></td> <td><img src="images/spacer.gif" alt="" border="0" height="19" width="1"></td> </tr> <tr> <td colspan="3"><img name="title_r3_c1" src="images/title_r3_c1.gif" alt="" border="0" height="10" width="523"></td> <td><img src="images/spacer.gif" alt="" border="0" height="10" width="1"></td> </tr> </tbody> </table> <!-- InstanceBeginEditable name="body" --> <p>Welcome to my <strong>The Fastest Horse</strong> site. You will find many The Fastest Horse resources, The Fastest Horse articles, and The Fastest Horse blog posts.</p> <p>Please browse around this The Fastest Horse web site and let me know if want any The Fastest Horse information added.</p> <p><strong><a href="articles/index.php">The Fastest Horse articles:</a></strong> Add your The Fastest Horse related articles to this site.</p> <p><strong><a href="blog/">The Fastest Horse blog:</a></strong> Send your The Fastest Horse blog posts to me.</p> <p><strong><a href="fasthorse/index.php">The Fastest Horse resources:</a></strong> Find all the The Fastest Horse resources you will need. </p> <hr> <p>More <strong>The Fastest Horse</strong> resources: </p> <table id="table17" border="0" bordercolor="#000000" cellpadding="4" cellspacing="4" width="100%"> <tbody> <tr align="left" valign="top"> <td><a href="http://www.thefastesthorse.com/fastesthorse/alamedafairhorseracing.php">Alameda Fair Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/belmonthorseracing.php">Belmont Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/bettinghorseracing.php">Betting Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/bettingonlinehorseracing.php">Betting Online Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/casinogamblinginternetonline.php">Casino Gambling Internet</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/casinogamblingonline.php">Casino Gambling Online</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/dailyhorseracingform.php">Daily Horse Racing Form</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/floridahorseracing.php">Florida Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/handicappinghorseracing.php">Handicapping Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/horseracing.php">Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/horseracingbetting.php">Horse Racing Betting</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/horseracingbettingtip.php">Horse Racing Betting Tip</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/horseracinggamedownloadhorseracingvideogame.php">Horse Racing Game</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/horseracingtoday.php">Horse Racing Today</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/horseracingtrackresult.php">Horse Racing Track Result</a><br> </td> <td><a href="http://www.thefastesthorse.com/fastesthorse/horsetrackracing.php">Horse Track Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/internetonlinegambling.php">Internet Online Gambling</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/kentuckyhorseracing.php">Kentucky Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/onlinecasinoandonlinegambling.php">Online Casino And Online</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/onlinecasinogamblingsite.php">Online Casino Gambling Site</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/onlinegamblingcraps.php">Online Gambling Craps</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/onlinegamblingdirectory.php">Online Gambling Directory</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/onlinehorseracing.php">Online Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/onlineroulettegambling.php">Online Roulette Gambling</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/quarterhorseracing.php">Quarter Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/racinghorse.php">Racing Horse</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/royalascothorseracing.php">Royal Ascot Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/sporthorseracing.php">Sport Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/thoroughbredhorseracing.php">Thoroughbred Horse Racing</a><br> <a href="http://www.thefastesthorse.com/fastesthorse/woodbinehorseracing.php">Woodbine Horse Racing</a><br> </td> </tr> </tbody> </table> <!-- InstanceEndEditable --></td> <td colspan="4" background="images/img_r9_c7.gif" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td colspan="2" height="9"><img name="box_r1_c1" src="images/box_r1_c1.gif" alt="" border="0" height="9" width="215"></td> </tr> <tr> <td height="182" width="5%"><img name="box_r2_c1" src="images/box_r2_c1.gif" alt="" border="0" height="182" width="11"></td> <td align="left" bgcolor="#ffff99" valign="top" width="95%"><iframe src="http://www.thefastesthorse.com/frame.php" frameborder="0" height="182" scrolling="no" width="204"></iframe><br> </td> </tr> <tr> <td colspan="2"><img name="box_r3_c1" src="images/box_r3_c1.gif" alt="" border="0" height="10" width="215"></td> </tr> </tbody> </table> <table border="0" cellpadding="0" cellspacing="0" width="208"> <tbody> <tr> <td width="8%"> </td> <td align="center" valign="top" width="92%"> <script type="text/javascript"><!-- google_ad_client = "pub-7192235415383725"; google_alternate_color = "c1ced9"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "C1CED9"; google_color_bg = "C1CED9"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "0000FF"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br> <br> <!-- InstanceBeginEditable name="nav" --><!-- InstanceEndEditable --></td> </tr> </tbody> </table> </td> <td background="images/img_r9_c11.gif" valign="top"><img name="box_r1_c3" src="images/box_r1_c3.gif" alt="" border="0" height="201" width="27"></td> <td valign="top"><img src="images/spacer.gif" alt="" border="0" height="142" width="1"></td> </tr> <tr> <td><img name="img_r10_c1" src="images/img_r10_c1.gif" alt="" border="0" height="25" width="11"></td> <td colspan="5"><img name="img_r10_c2" src="images/img_r10_c2.gif" alt="" border="0" height="25" width="526"></td> <td colspan="5"><img name="img_r10_c7" src="images/img_r10_c7.gif" alt="" border="0" height="25" width="242"></td> <td><img src="images/spacer.gif" alt="" border="0" height="25" width="1"></td> </tr> <tr> <td colspan="2" background="images/bg-bot1.gif" valign="bottom"><img name="img_r11_c1" src="images/img_r11_c1.gif" alt="" border="0" height="24" width="23"></td> <td colspan="8" bgcolor="#ffff99"> <div align="center"><a href="index.php">The Fastest Horse</a> : <a href="blog">The Fastest Horse Blog</a> : <a href="articles">The Fastest Horse Articles</a> : <a href="fasthorse">The Fastest Horse Resources</a> : <a href="partners">Links</a> : <a href="contact">Contact</a><br> copyright 2006 </div> </td> <td background="images/bg-bot2.gif" valign="bottom"><img name="img_r11_c11" src="images/img_r11_c11.gif" alt="" border="0" height="24" width="27"></td> <td><img src="images/spacer.gif" alt="" border="0" height="24" width="1"></td> </tr> <tr> <td colspan="11"><img name="img_r12_c1" src="images/img_r12_c1.gif" alt="" border="0" height="5" width="779"></td> <td><img src="images/spacer.gif" alt="" border="0" height="5" width="1"></td> </tr> </tbody> </table> <!-- InstanceEnd --> </body></html>
  7. @Jazzman, When this happened I asked godaddy for the work around and because of security, my understanding is the ini file will not work. I do not know much if any about coding. @ requinix, Attached is the page. There are three spots that use the include for the advertising. This is really just the google adsense code. I tried just eliminating the include command and running the code in that spot and that did not work either. I was going to set it up on 1and1, and may try at a later date. I may have broke it real bad changing things up, I need to find the original files, which I may or may not still have.\ These files seem to be messing with dreamweaver and simple text. I now have to open and edit using xcode. I really dislike OZX10.6 for some of these, "we think we know what you want features". AARGH
  8. Nope, didn't work. Parse error: syntax error, unexpected T_STRING, expecting T_PAAMAYIM_NEKUDOTAYIM in /home/content/88/10840488/html/thefastesthorse/index.php on line 98 The include function did work in php 4, and the website it referred to was axhole.com/syndication etc. That is where the syndication folder was so other sites of mine could grab the advertising. When I upgraded, it quit working, godaddy said it was a security issue getting external links in php5 so they disabled it. They did not have any workarounds for the ini file.
  9. I'll give that a try. I assume I use the readfile command in place of the include. I'll get back with results. Thanks
  10. Yeah, godaddy skewed me. I got upgraded from php 4 to 5 and the external include will no longer work. Well I tried/put the include file into the root folder and still nothing. The errors are at thefastesthorse.com I don't know much about php coding, and just trying to get this back up and running *********************** Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/content/88/10840488/html/thefastesthorse/index.php on line 96 Warning: include(http://www.thefastesthorse.com/syndication/folder1/top1.html) [function.include]: failed to open stream: no suitable wrapper could be found in/home/content/88/10840488/html/thefastesthorse/index.php on line 96 Warning: include() [function.include]: Failed opening 'http://www.thefastesthorse.com/syndication/folder1/top1.html' for inclusion (include_path='.:/usr/local/php5/lib/php') in/home/content/88/10840488/html/thefastesthorse/index.php on line 96 ***************************** Any help will be greatly appreciated. Thanks, Dave
  11. or check here http://www.copyright.gov/
  12. On one of my sites I use © copyright 2007 rights reserved, as I allow people to use them. http://freehelpings.com/freephotos I am setting it up so webmasters can get pics to build sites, but I need to disclaimer the "rights reserved" part. The rights I am keeping are the distribution, so to offer my pics for free to others is against the copyright. To sell them is against the copyright. But use them, you are OK and covered legally. I have been to many sites where the sites are a compilation of other "public domain" or presumed public domain photos. Suppose you build a nice site using those pics, and then the photographer finds it on your page, now you have to redo everything upon the request of removal. But face it. If it is published on the web and desireable content, it will be stolen, shared, promoted etc. Keep that in mind before you post it. Copyright law in the US is such that if you publish with the © it is automatically copy protected. There is quite alot to the laws actually, but the rule of thumb, don't lay a $100 bill on a table in the general public and expect it to stay there. Law or no law, it will dissapear and it will cost you more to find it than to move on. And one thing about copyright, if you find an infraction and do nothing because you can't afford to go after them, after a period of time you give up your rights by implied consent.
  13. Can you set up new databases? One using php 4.1 and one using php 5? Then see if it works on one or the other.
  14. I think I understand. Makes more sense. So I am courious as to the progress on this issue, why I have no idea. I guess it is because I use godaddy alot, and if I run into something similar it will be good to know if it is a godaddy specific error. Setting up some of my forums and other opens source stuff, I have run into php.ini problems.
  15. $sql="UPDATE $tbl_name SET comentario='$comentario' WHERE id='$id'"; After the UPDATE should there not be some thing else? Update is a command correct? Should there not be a qualifier or something there? According to the mysql site UPDATE is expicity reserved in php 5.0 Now what this all means to me is nothing at this point as I am just starting the mysql and php tutorials. I just ran accross this while learning and posted. I figured the list of reserved words for mysql was important so I even printed it out. I don't remember what version or mysql the OP is using of if he even mentioned it. Godaddy offers 4.1 and 5.0 when setting up the databases. Also godaddy user name and database name are the same if that needs to be considered.
×
×
  • 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.