Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP - Seeking A Coder That Can Do This

Basically I need a PHP webpage that will do this:

1) Load a webpage link inside an iframe embedded into the PHP webpage
2) Write any URL's that iframe redirects to into a blank text file on my server if the URL contains a certain phrase
3) Be able to access the captured link since it has been written to the text file using file_put_contents

My budget is $60 USD worth of BTC though I am willing to negotiate.
(Aug 11, 2017 12:57 AM)Demoralise Wrote:  Basically I need a PHP webpage that will do this:

1) Load a webpage link inside an iframe embedded into the PHP webpage
2) Write any URL's that iframe redirects to into a blank text file on my server if the URL contains a certain phrase
3) Be able to access the captured link since it has been written to the text file using file_put_contents

My budget is $60 USD worth of BTC though I am willing to negotiate.


This is not doable via php alone, since php will have no idea of the iframe content (php runs pre-view to generate a static view and iframe renders in static view). Hit me up with details on what you are trying to achieve and i might suggest a better approach.
(Aug 11, 2017 01:25 AM)Shroomies_temp Wrote:  This is not doable via php alone, since php will have no idea of the iframe content (php runs pre-view to generate a static view and iframe renders in static view). Hit me up with details on what you are trying to achieve and i might suggest a better approach.

JavaScript for the other part of the task, sending background request to a php script.


Send me a pm OP, I think I'm able to do this.
I'd be impressed if someone pulls this off as you can't access an iframe to pull attributes like its URL if the content is from another domain.

Additionally, if the target website has an X-Frame-Options header set (most large sites do) you won't even be able to load it in an iframe.
(Aug 11, 2017 02:03 AM)Neos07 Wrote:  JavaScript for the other part of the task, sending background request to a php script.


Send me a pm OP, I think I'm able to do this.
PM sent. If you can do this then you're a legend.
Send me a PM.

I reckon curl, would work better you could follow the redirects and log the redirects to the file i will mock up a script now.


Just tested it my idea works, have a fully working script with check if the url is in the string.


[Image: VI7zoAY.png]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by SIM-5504527Jul 3, 2024 04:18 PM 3 192 Jul 3, 2024 04:18 PM
Last Post: uzi999
by ChargerMar 26, 2020 06:49 PM 5 167 Mar 26, 2020 06:49 PM
Last Post: Stanley
[Looking] by sirchampApr 25, 2013 01:06 PM 1 100 Apr 25, 2013 01:06 PM
Last Post: FantaŠec