Jump to content

how to retrieve a part of a page


hno

Recommended Posts

yes use curl and use a marker to mark those area.

Recently for one ticket I have added a text when accessed with certain parameter. Like I will access that page using

/test.php?mypage=1

Then in that case I will add a php code there where I will check that if mypage=1 will be in parameter then I will output {content} .... {/content}. In this case using regex on the content grabbed is easier. I have also added exit after my content so that my page access from the specified page can be faster.

yes use curl and use a marker to mark those area.

Recently for one ticket I have added a text when accessed with certain parameter. Like I will access that page using

/test.php?mypage=1

Then in that case I will add a php code there where I will check that if mypage=1 will be in parameter then I will output {content} .... {/content}. In this case using regex on the content grabbed is easier. I have also added exit after my content so that my page access from the specified page can be faster.

 

thanks for your help , I tried it but I couldn't use that . Can you give me an example ?

 

thanks for your help

yes use curl and use a marker to mark those area.

Recently for one ticket I have added a text when accessed with certain parameter. Like I will access that page using

/test.php?mypage=1

Then in that case I will add a php code there where I will check that if mypage=1 will be in parameter then I will output {content} .... {/content}. In this case using regex on the content grabbed is easier. I have also added exit after my content so that my page access from the specified page can be faster.

 

thanks for your help , I tried it but I couldn't use that . Can you give me an example ?

 

thanks for your help

 

can you giving me an example of using curl ? please

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.