Jump to content

Riparian

Members
  • Posts

    168
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Riparian's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. Hi . I have a very old and large site (mostly written with the help of phpfreaks !). I am now told by google that the site will display an "insecure get me out of here" type message if I do not secure the personal info (more than fair) I do not want to secure the whole site as I will lose 10 years of seo because, as I believe, google sees the secure site as a completely different site to the http site... not to mention the duplicate content issues have used this code that seem to work fine BUT when I leave the secure page the https stays for the whole site. # rewrite individual pages to https RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^login\.php$ https://www.test.com.au/login.php [L,R=301] RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^checkout\.php$ https://www.test.com.au/checkout.php [L,R=301] Any help is greatly appreciated Cheers and thanks
  2. Thank you mac_gyver php used to be the program for dummies.... not any more .. the days of a hack knocking up a site with more than just a few pics on it are quickly disappearing ! Time for a full re-write by a professional me thinks. Cheers
  3. Hello again and thank you for the code fix... I also get this error Notice: Undefined index: logout in ....... How would this one be addressed ? Cheers
  4. Hello requinix Thank you for the reply... hmmm better go buy some more coffee ! Cheers
  5. 10 years ago I wrote a large site without declaring the variables which was no problem at the time. For the last few years it has been the head-in-the-sand approach but now I have to make it right. There are thousands of these that kick out errors with register globals depreciated and this will eventually stop the site from working all together. Does anyone know of a simple or expedient way approach this problem ? Any help is greatly appreciated Cheers
  6. Scenario : I would like to open the main program window and at the same time, if a condition is met, open a second - popup window to alert the user of previous information stored in the database. This is an easy exercise if I use a hyperlink to open th second (popup) window but this is not the process required . Can someone point me in the right direction ? Cheers and thanks
  7. can someone tell me how to implement rel=next / prev in html form with POST and GET e.g is this correct ?? <input name="xxx" rel="next" value="next"> cheers and thanks
  8. Scenario I leave a page with e.g. <a href"somepage.php?counter=10">go</a> I return to the original page with header("location: somepage.php#10") I use the #value to jump to a position on the page. Problem: The #10 then attaches itself to every (not even related) hyperlink on the page. Clicking any one of hyperlinks makes it jump to the old position on the page. does not work in chrome,ff,safari... ie not a probem Any help is greatly appreciated
  9. Thank you for the reply. Unfortunately this did not do the trick. The result was that it showed the 2nd (rolled over) image only with no message being displayed. Have I missed something. This is the actual code : <a href="expand.php?model=<?=$row[model_number]?>&page=<?=$page?>&prime=<?=$row[prime]?>" target="popup" onclick="msgopen('expand.php?model=<?=$row[model_number]?>&page=<?=$page?>&prime=<?=$row[prime]?>', 'popup', 900, 600); return false;" /> <img src="<?=$pic_name?>" name="<?=$row[model_number]?>" height="<?=$height?>" width="<?=$width?>" onMouseOver=" this.src='<?=$pic2name?>'; return escape('Image is of Parent Stock Only');" onMouseOut="this.src='<?=$pic_name?>';"><br /> </a> Any clues ?
  10. try this... worth a try (the commas always mess me up.) $query = "SELECT * FROM a_playerRank WHERE CONCAT(nameFirst,' ',nameLast) = '$slug' ";
  11. Hope this helps <?php switch($_POST[tintensity]) { case 'weak': $stormIntensity = "#9C3"; break; case 'moderate': $stormIntensity = "#09F"; break; case 'strong': $stormIntensity = "#F60"; break; case 'severe': $stormIntensity = "#F00"; break; default : $stormIntensity = ''; break; } ?> <table> <tr> <td style='background-color: <?=$stormIntensity?>; color: #FFF; border: 1px #666 solid; text-align: center; font-size: .9em;'>Storm intensity color Background</td> </tr> </table> <br /> enter weak, moderate, strong, severe<br /> <br /> <form name="colorshow" method="post"> <input type="text" name="tintensity"/> <input type="submit" name="go" value="Submit"/> </form>
  12. Sorry if this is the wrong place as it is 50/50 javascript and php I am trying to mouseover an image and swap the image but if the 2nd image is not the primary model then display the image and a message to that extent. This is what I have tried (with many variations) but cant get it to work . $pic_name = original image $pic2name = swapped image <a href=" my file..." target="popup" onclick="msgopen('my file ...'); return false;" /> <img src="<?=$pic_name?>" name="<?=$counter?>" onMouseOver=" document.<?=$counter?>.src='<?=$pic2name ?>'"; return escape('Image is of Parent Stock Only') ; onMouseOut="document.<?=$counter?>.src='<?=$pic_name?>';"> </a> There are many images on the screen hence the name="<?=$counter?>" Any help is greatly appreciated
  13. I have a huge google problem with duplicate content for a page that re-loads and paginates with multiple variables that they see as duplicate content but without a total re-write I do not know how to get around this so am seeking some advise
  14. Hi I need help with the canonical tag and am wondering if it is appropriate and if so where to post a question. Cheers and thanks
×
×
  • 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.