Jump to content

Davikore

New Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Davikore's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I want to use a the same photo for several image references. So in my different html pages: <img itemprop="image" title="$page_image_title1" alt="$page_image_alt1" src="http://example.com/ims/myhouse_green_timber_house.jpg"> <img itemprop="image" title="$page_image_title1" alt="$page_image_alt2" src="http://example.com/ims/myhouse_yellow_wooden_house.jpg"> <img itemprop="image" title="$page_image_title3" alt="$page_image_alt3" src="http://example.com/ims/myhouse_green_and yellow_cedar_house.jpg"> I want all three of these to point to my image : "http://example.com/images/myhouse.jpg" What is the best way to do this ? Should I use the .htacess to rewrite the url - would that work or is there a better way ? Many thanks for any ideas ...
  2. Hi, I am trying to replace an image inside an html file using this: The file contains this: <img class="uiProfilePhoto headerTinymanPhoto uiProfilePhotoLarge img" src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/370282_100003830116243_1299179951_q.jpg" alt="" /> And I want to replace it with this: <img class="uiProfilePhoto headerTinymanPhoto uiProfilePhotoLarge img" src="http://example.com/FC.jpg" alt="" /> This is what I have tried: $URLSearchString = " a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'"; $page_html = preg_replace("#headerTinymanPhoto uiProfilePhotoLarge img\" src=\"($URLSearchString)\"#", 'http://example.com/FC.jpg', $page_html); But its not working. Can anyone see what I have done wrong ? Is preg_replace the correct tool to use ? Thanks. .
  3. Hi, I have tried a couple of proxy scripts on my server and both have had problems getting access to youtube. Because I am presently in Turkey I want to use my USA based server to get me access to YouTube. This is for my personal use only. Both proxy scripts are on www.blog-start.com The phpmyproxy script is on the root, so just go to www.blog-start.com On all videos, I get a black screen and this message: And glype proxy is on the dir /prox so : www.blog-start.com/prox This one also does not let me play the videos it gives this error: I know that my browser has up-to-date adobe because I can see youtube videos when I use other peoples public proxies that are running glybe or phpmyproxy scripts I have tried all the configurations of cookies/no cookies scripts/no scripts etc but I can not get it working Could there be something wrong on my server ? Any ideas ?
×
×
  • 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.