View previous topic :: View next topic |
Author |
Message |
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Tue Oct 17, 2006 9:38 pm Post subject: Dont use your IP address for images, My story. |
|
|
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 |
|
 |
Dyno69 -
Joined: 24 Sep 2006 Posts: 31
|
Posted: Tue Oct 17, 2006 9:42 pm Post subject: |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Oct 17, 2006 10:42 pm Post subject: |
|
|
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 |
|
 |
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Wed Oct 18, 2006 12:27 am Post subject: |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Wed Oct 18, 2006 8:34 am Post subject: |
|
|
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 |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
Posted: Sun Oct 22, 2006 9:03 pm Post subject: |
|
|
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 |
|
 |
|