Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Script Question

    Hey my friends,


    My Problem:

    Im opening a static URL in a .php file
    thats how it was so far.
    since a couple of days the dynamic url:
    anysite.com/?sub=12345 changed into:
    http://anysite.com/?/sub?linkId=PS:d...7AF.TCpfix110b
    This URL will be changed any time youre open it.

    http://anysite.com/?/sub?linkId=PS:d...PS:def.EUE.DE- <--- this part will always be the same
    20120908025315 <---- this is year/month/day/hour/minute/second
    65EBFAC907DC507FB94357EE230897AF <--- this must be somekind of hash so my question is has anybody a idea how i can "create" this hash in my php file?

    TCpfix110b <---- and about this im clueless so far as its changing too !
    some examples:

    TCpfix113b
    TCpfix113b
    TCpfix112b
    TCpfix110b
    TCpfix110b
    TCpfix113b

    so far my solution is looking like:

    echo '<a href="http://anysite.com/sub??linkId=PS:def.hd.mainnav.dsl&ps_id=12345&ucuoId=PUPS:def.EUE.DE-'.date('YmdHis').'-65EBFAC907DC507FB94357EE230897AF.TCpfix110b"> ... ';

    but i still need a way to re-create the hash in my php file and about the TCPfix



    any ideas/suggestions would be awesome

    so long,

    Tofast4u

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Short answer is you can't. Unless you can get the algorithms, if a path is changing you'll have to contact the originating source to verify the algorithm in use.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •