Jump to content

php web proxy issue


turkman

Recommended Posts

using curl, ive managed to get my program to log me into a proboards site. I can view the main forum page. The problem is, the links to viewing the page is something like

 

href="index.cgi?board=general&thread=1111&page=45"

 

I did a str_replace to replace the index.cgi to

 

href= "link_processor?board=general&thread=1111&page=45"

 

The idea was that link_processor would contain the data "board=general&thread=1111&page=45"

 

However, i now realise that the way the php would see that as 4 different get variables

link processor = board=general

thread = 1111

page = 45

 

How could i make it all part of the link_processor variable because if i can keep the string intact, i just have to pass it to a curl function and i can display the page easily!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.