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
https://forums.phpfreaks.com/topic/235094-php-web-proxy-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.