New to PHP question about ?number after img src

images php coding issues or problems here.

Moderators: macek, egami, gesf

thewoodsta
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Nov 19, 2013 4:49 pm

New to PHP question about ?number after img src

Postby thewoodsta » Tue Nov 19, 2013 4:53 pm

Hi All,

I'm pretty new to PHP and have recently setup a PHP ecommerce site for my wifes business, i'm busy custmising it at present and ame just looking at uploading a new logo for her, the php in teh site has the src="/img/logo.jpg?1384852193", now i get teh src component but what is the ?1384852193 referencing?

Cheers

T.

element121
New php-forum User
New php-forum User
Posts: 14
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Re: New to PHP question about ?number after img src

Postby element121 » Tue Jun 09, 2015 10:02 am

The numbers look like a timestamp which is used to affect how an image is cached.
There are many settings than can affect how a file is cached, depending on servers, proxies, browsers and devices.
If you want to change the image go ahead and don't worry too much about the timestamp, personally I've never used them.


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 2 guests