will pay for a little php help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • campimp
    Confirmed User
    • Jan 2007
    • 1340

    #1

    will pay for a little php help

    I have a problem with a site i made that i need some help with and will pay for how to figure out what i need

    Basic problem:

    *Promoting an adult site
    *created my own "cobrand" by doing a straight forward php include of the page i want to promote
    *used my .htaccess file to create links so that the user would stay on my site and not have to leave the site unless he wanted to go sign up and register with the real site

    all is fine, and working ok... but all the links now have a nasty long sesion=BLAHBLHABLHABLHABLHABLAH bullshit on there


    if someone can help show me how to get rid of this i would pay for their help

    thanks, ICQ in my sig or can send message here
  • jjmerago
    JJ Merago
    • Aug 2006
    • 267

    #2
    bump for ya buddy

    Comment

    • lhlook
      Registered User
      • Jul 2003
      • 17

      #3
      hmm, could be that the original site, that one you include, uses cookies... they might not be able to set a cookie cuz you can't set them cross-domain, so the system falls back to session-tracking...

      Think you wont be able to prevent that.... And if you are able to, you would maybe loose the tracking of your affiliate-code ;)

      Comment

      • cryptie
        Confirmed User
        • Jul 2007
        • 114

        #4
        use .htaccess with mod rewrite.
        Signature coming soon! Just as soon as my first site goes live! ETA this weekend

        Comment

        • cryptie
          Confirmed User
          • Jul 2007
          • 114

          #5
          Code:
          Option +FollowSymLinks
          <IfModule mod_rewrite.c>
          RewriteEngine on
          RewriteBase /base/
          RewriteRule ^path/(.+)/? yourpage.php?session=$1 [L]
          RewriteRule ^path2/(.+)/? yourpage2.php?session=$1 [L]
          </IfModule>
          where base is your base path, path and path2 are directories to your file and yourpage and yourpage2 are your pages.

          note: I am not a .htaccess guru. not gurenteeing this works,
          Signature coming soon! Just as soon as my first site goes live! ETA this weekend

          Comment

          Working...