NameSilo

PHP image output question

Spaceship 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
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back