NameSilo

PHP image output question

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

bluenoser

Established Member
Impact
2
I want to be able to have an html tag like
Code:
<img src="somewebsite.com">
And then in my index.php run some code that will output a picture depending on the URL of the site that the above html is on

Does anyone know of a code snippet that I could use

Thanks

:D
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Can you be more descriptive, I don't understand what you want.
 
0
Close
0
Close
I coded a website that did that about a year ago.. I should have the code lying around somewhere, I will have a look.
 
0
Close
scribby said:
I coded a website that did that about a year ago.. I should have the code lying around somewhere, I will have a look.

That would be awesome

What I am planning on doing is have that img tag on a bunch of my sites and then depending on the site I will output the pic.
 
0
Close
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back