Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

PHP image output question

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Spacemail by SpaceshipSpacemail by Spaceship
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
•••
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
•••
0
•••
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
•••
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
•••
0
•••
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back