Jump to content

l0rdz3r0

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

l0rdz3r0's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks MadTechie this is what i was looking nice work thanks a lot
  2. No i cant do that becouse a i get a list with multiple urls for ex. <a href="http://www4.site.com/photo/a/user/img/pict/name1212.jpg" rel="nofollow"> <img src="http://www4.site.com/photo/a/user/img/pict/name1212.jpg" border="0" alt="name" /></a> <a href="http://www8.site.com/photo/a/user/img/pict/na433212.jpg" rel="nofollow"> <img src="http://www8.site.com/photo/a/user/img/pict/na433212.jpg" border="0" alt="name" /></a> ... that why i need to get some that only change from img src...
  3. hello everyone i need some help in this i tried many ways i google it etc... and yes i am new in this... Here goes my headaches $output1='<a href="http://www4.site.com/photo/a/user/img/pict/name1212.jpg" rel="nofollow"> <img src="http://www4.site.com/photo/a/user/img/pict/name1212.jpg" border="0" alt="name" /></a>'; i need to change /img/ to /thumb/ at <img src... $links = str_replace('/img/', "/thumb/", $output1); this works but it changes the href too what i need is some help to the function only change in <img src somenting like this $links = str_replace('/img/ |<img src', "/thumb/", $output1); so the output will be <a href="http://www4.site.com/photo/a/user/img/pict/name1212.jpg" rel="nofollow"> <img src="http://www4.site.com/photo/a/user/thumb/pict/name1212.jpg" border="0" alt="name" /></a>
×
×
  • 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.