Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Editors and Tools > PHP Desktop Editors

PHP Desktop Editors Talk all about PHP Editors.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2005-07-27, 04:05 AM
Junior Member
 
Join Date: Jul 2005
Posts: 1
john1v
Default

Hi Guys,

I was wondering if anyone could help me out.

I am planning to offer software in my site that has affiliate tracking and in order to track downloads and campaings it needs the ~wavy sign to be configured to the httpdconf.

In order to track effectively the affiliate the link should be like the below one:

http://www.mysite.com/~2323232

Unfortunately I have prepaid 12 months in advance for my host and they told me they cant configure the httpdconf to use the ~wavy sign because it is currently used by another program in the server.

So If I want to use the above link with the ~wavy sign for example it will appear like a broken link to visitors due to the current server configuration.

I was wondering if it will be possible to bypass the problem with a php code or php script that will be able to do the redirect. What I have in mind is if the script can redirect like in way like the 2 links below and the links stay in the browsers addressbar while the visitor browses my site, then the tracking of the software downloads should work.

http://www.mysite.com/thescript.php/~2323232 or

http://www.mysite.com/thescript.php~2323232

If anyone can help me out it will be highly appreciated.

Thanks,

John
Reply With Quote
  #2 (permalink)  
Old 2005-07-27, 09:48 AM
Xnuiem's Avatar
Senior Member
 
Join Date: May 2004
Location: DFW, Texas
Posts: 1,104
Xnuiem will become famous soon enough
Send a message via Yahoo to Xnuiem
Default

header() is the function to redirect e.g. header("Location: some.html");

Not sure if that will actually help you, since this may be an apache issue because of the links you have given out.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:29 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.