Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by ">User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a ">Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#18794 - 04/15/04 07:05 AM links go to server  
Joined: Jun 2002
Posts: 207
Gollum Offline
Gollum  Offline

Joined: Jun 2002
Posts: 207
ok, so inside a perl script of mine, i take user input. this COULD be a link. now my code does a few of find/replace iterations to replace quotes with &quot however, i don't wanna do this in a link (right?) so i've decided to reaplce them with single quotes....for nwo anyway. basically my problem is this. when i click on a link on one of the pages. say "" it'd do like "''" and of course come up with a page doesn't exist error. i'm still doing some testing. and it seems that sometimes when i type th http in front it works...but then sometimes it doesn't. but get this. when i view source. the url is always what i type in. so i think it must be apache that's doing it. but i don't remember it doing it before. so could this also be related to perl? so yeah...for some reason, 90% of the time, it tries finding everything locally. now it doens't happen all the time, i just need to figure out what i'm doing differently. but has anyone else run into this problem?
btw, while i'm posting, thanks for the reply on the hash of arrays, helped out quite a bit in the end.//

Unbodied unsouled unheard unseen
Let the gift be grown in the time to call our own
Truth is natural like a wind that blows
Follow the direction no matter where it goes
Let the truth blow like a hurricane through me
Sponsored Links
#18795 - 04/19/04 08:41 PM Re: links go to server  
Joined: Aug 2003
Posts: 9
Brett Offline
Aptenodytes Forsteri
Brett  Offline
Aptenodytes Forsteri

Joined: Aug 2003
Posts: 9
Salina, KS
I think i know what your talking about here.
$url = 'http://' . $url if(substr($url, 0, 7) ne 'http://');

Member Spotlight
SC, usa
Posts: 506
Joined: March 2002
Show All Member Profiles 
Forum Statistics
Average Daily Posts3
Most Online1,567
Apr 25th, 2010
Latest Postings
There is not any party like an arm party
by bagful on 04/27/17 06:26 AM
The innovative concept keep
by bagful on 04/27/17 06:25 AM
The Nike Blazer Studio Mid Decon
by bagful on 04/27/17 06:24 AM
a fresh white enhance midsole device
by bagful on 04/27/17 06:23 AM
shopping for jewelry with something above
by mikejoey on 04/12/17 08:01 AM
PANDORA North The usa
by mikejoey on 04/12/17 07:38 AM
Pandora’s birthstone products will always
by mikejoey on 04/12/17 07:14 AM
the newest Pandora necklaces crafting facility
by mikejoey on 04/12/17 06:53 AM
an Air Jordan 4 by Off White is in
by mikejoey on 04/12/17 06:35 AM
belonging to the adidas NMD XR1
by mikejoey on 04/12/17 05:50 AM
Top Posters(All Time)
UGN Security 41,138
Gremelin 7,198
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 3
Black Beard Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
fleshwound Likes: 1
Ghost Likes: 2
Gremelin Likes: 12
Ice Likes: 1
ninjaneo Likes: 1
Top Liked Users (30 Days)
No Data Found
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20170206)