![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Register user
Join Date: Nov 2005
Location: Australia
Posts: 66
OS: Dual-Boot: Microsoft Windows XP x64 Edition & Red Hat Linux Fedora Core 4
|
Calling the URL using HTML, PHP or JavaScript
Hello there, does anybody know how to call the URL from a website using HTML, JavaScript, or PHP? I'm sure that it is quite easy, in fact i remember using a javascript code that did so ages ago...
Thanks for your help |
|
|
|
|
|
#2 (permalink) |
|
Cymru am byth
|
Call the URL? Like create a link?
Or find the link of the referrer, to tell where they came from?
__________________
Living with Louie dog's the only way to stay sane _____________________________________________ ... and with those words so begins my lifetime of longing for the devil's warm embrace |
|
|
|
|
|
#3 (permalink) |
|
Register user
Join Date: Nov 2005
Location: Australia
Posts: 66
OS: Dual-Boot: Microsoft Windows XP x64 Edition & Red Hat Linux Fedora Core 4
|
Call the URL.
As in if the site was located at www.test.com/test/index.php, then it would be able to do something with www.test.com/test/index.php (for example display a JavaScript alert with this, or print the URL) |
|
|
|
|
|
#4 (permalink) |
|
Cymru am byth
|
would something like this work? You can modify it to your purposes:
http://www.codeave.com/javascript/code.asp?u_log=7020
__________________
Living with Louie dog's the only way to stay sane _____________________________________________ ... and with those words so begins my lifetime of longing for the devil's warm embrace |
|
|
|
|
|
#5 (permalink) |
|
Register user
Join Date: Nov 2005
Location: Australia
Posts: 66
OS: Dual-Boot: Microsoft Windows XP x64 Edition & Red Hat Linux Fedora Core 4
|
Sounds alright, i'm d/l updates for the linux system at the moment so i can't test it out till thats done
Thanks for your help though mate |
|
|
|
|
|
#6 (permalink) |
|
Cymru am byth
|
no problem. Let me know if that doesn't work, and I'll find something else.
__________________
Living with Louie dog's the only way to stay sane _____________________________________________ ... and with those words so begins my lifetime of longing for the devil's warm embrace |
|
|
|
|
|
#8 (permalink) |
|
Register user
Join Date: Nov 2005
Location: Australia
Posts: 66
OS: Dual-Boot: Microsoft Windows XP x64 Edition & Red Hat Linux Fedora Core 4
|
Actually after stuffing around with virtual hosts and installing different versions of php on both and running the phpinfo() command to test, i actually found a better way of doing this (using PHP)
PHP Code:
|
|
|
|
|
|
#9 (permalink) |
|
Professor/Moderator, TSF Design School
Join Date: Jun 2005
Location: Australia
Posts: 2,382
OS: Windows XP SP2
|
Thanks for sharing the other way with us. I know this will help future programmers.
__________________
==========================================
Get Help: TSF Security Forum | HijackThis | MB's 5 Step Process Get Clean: AdAware SE | Spybot S&D | CWShredder | Ewido | CleanUp! Get Protected: SpywareBlaster | SpywareGuard | Windows Updates | IE-SpyAd If TSF has helped you, please consider making a donation to help keep the board running. |
|
|
|
![]() |
| Thread Tools | |
|
|