curl post links

Discussion in 'PHP' started by dramiditis, Aug 16, 2009.

  1. #1
    Hi,
    I working on one script that need to post to forums with curl, and everything works, but I have problem with sintax.
    I want to post in my message link, like http://www.google.com. But what is the sintax, I try <a href=\"http://www.google.com\" target=\"_blank\">Google</a>, but when post is displayed it give me with < href... tags.
    How can I post, I'm using curl.

    Thanks,

    P.S. I know it's simple, but I'm :rolleyes:
     
    dramiditis, Aug 16, 2009 IP
  2. r3w

    r3w Peon

    Messages:
    137
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You cant, because most forums, dont allow HTML in post.
     
    r3w, Aug 16, 2009 IP
  3. mbreezy

    mbreezy Active Member

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Just post your spam with tags.
     
    mbreezy, Aug 16, 2009 IP
  4. sarahk

    sarahk iTamer Staff

    Messages:
    28,905
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #4
    Amazing that you have got as far as you have and yet you hadn't worked out bbcode!
     
    sarahk, Aug 16, 2009 IP
  5. dramiditis

    dramiditis Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yea I hadn't :( I spend last 10 days thinking how can I do that. I have try everything: auto fill js, call to/from iframe, from my server, than from my pc, even install xampp(apache server with php) on my pc... and always when I was thinking that I made perfect forum auto poster, than something new comes to stop me. Finally today after 10 days searching I made it, but my mind was blinde and I couldn't see the obvious thing: how to send link from my curl data post.:p So, now I'm going to watch "Terminator 4" ( I have it one monts ago, but I didn't have any free time). And tomorrow I will continue and finish my script. The important thing is that is working: I made autologing, save session data, than with that send post to forum:cool:

    Thanks to all DP members for ALL help in my treads in last weeks.
     
    dramiditis, Aug 16, 2009 IP
  6. sarahk

    sarahk iTamer Staff

    Messages:
    28,905
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #6
    Just don't send your spam here :)
     
    sarahk, Aug 16, 2009 IP
  7. dramiditis

    dramiditis Peon

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    of course not
     
    dramiditis, Aug 17, 2009 IP