Dont use your IP address for images, My story.

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Tue Oct 17, 2006 9:38 pm    Post subject: Dont use your IP address for images, My story. Reply with quote

Well today my ISP (the DHCP server) felt like changing my IP address (im dynamic so it changes every now and again) and since i had used my IP address to link all my images (as my domain name (not a TLD im getting a TLD soon) will not) so today i had to go back and change about 100 pages and such :/ i just ended up cutting off the http:// part and doing /server stuff/Images/IMAGES.EXT


So the moral?

NEVER USE YOUR IP TO LINK IMAGES! (onless your static)

PS How would one obtain a static ip address?
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
Dyno69
-


Joined: 24 Sep 2006
Posts: 31

PostPosted: Tue Oct 17, 2006 9:42 pm    Post subject: Reply with quote

i konw that with my ISP you have to pay for a static IP if you want one but even if you do its not fuly static because once every 3 or 4 months the ISP's do a wipe and re writes EVERYONES ip i think.
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Tue Oct 17, 2006 10:42 pm    Post subject: Reply with quote

Dyno69 wrote:
i konw that with my ISP you have to pay for a static IP if you want one but even if you do its not fuly static because once every 3 or 4 months the ISP's do a wipe and re writes EVERYONES ip i think.


Rubbish. If you pay for static you get static. It never changes.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Wed Oct 18, 2006 12:27 am    Post subject: Reply with quote

Dyno69 wrote:
i konw that with my ISP you have to pay for a static IP if you want one but even if you do its not fuly static because once every 3 or 4 months the ISP's do a wipe and re writes EVERYONES ip i think.


Dynamic IP: Changes based on DHCP
Static IP: As long as your service isnt cut off (bill not paid) it will never change

The reason you buy static is so you never have to change it :/ if your ISP changes it then they are ripping you off
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Wed Oct 18, 2006 8:34 am    Post subject: Reply with quote

It should not change even if you don't pay the bill since its assigned to the customer account. Only when the customer account is removed should it be able to be given to someone else.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
pkSML
-


Joined: 29 May 2006
Posts: 955
Location: Michigan, USA

PostPosted: Sun Oct 22, 2006 9:03 pm    Post subject: Reply with quote

LOL. Funny situation, hc2995. Relative URL's certainly have their benefit. :)

One way to use absolute URL's is to create a custom variable in Abyss
(http://localhost:9999/hosts/host@0/edit/scripting). I use this method a little bit. In PHP, accessing your custom variable is as follows:
Code:
$_SERVER[CUSTOM_VARIABLE]


Just make a custom variable containing your IP address. Then it's an extremely easy update. :)
_________________
Stephen
Need a LitlURL?


http://CodeBin.yi.org
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group