usernsw
Forum Replies Created
-
Forum: Hacks
In reply to: session problem using file_get_contentshi halferd,
followed your link and tried this code with only inserting my target url instead of example.com. Then refereshed test.php. Result was blank page.
Then I changed $file to $home and in the next line typed echo $home; to see what happens. Page loaded great but not logged in.<?php // Create a stream $opts = array( 'http'=>array( 'method'=>"GET", 'header'=>"Accept-language: en\r\n" . "Cookie: foo=bar\r\n" ) ); $context = stream_context_create($opts); // Open the file using the HTTP headers set above $file = file_get_contents('https://www.example.com/', false, $context); ?>
Forum: Hacks
In reply to: session problem using file_get_contentshalferdev,
Thanks for jumping in. Yes the targeturl and test.php both are on same WordPress site and domain in public_html folderI am not a coder and dont really know much about codes. I copied and pasted the above codes in test.php from google search.
Can you please type stream_context_create() related code in here and i will paste in my test.php to see if it works?
The codes in my test.php file is exactly as below except MytargetUrl which is real url,, and there is nothing in other brackets of codes like session_name() session_id() etc
‘
<?php
$home = file_get_contents(“https://MyTargetURL.com”. “?” . session_name() . “=”. session_id());
echo $home;;
?>
`Forum: Everything else WordPress
In reply to: I have no idea what I'm doingDid you register a domain and hosting or signed up for a blog?
Write some more detail what exactly you did lol
Forum: Plugins
In reply to: [Yoast SEO] upgrade to 1.2.8.7 now plugins tabs not openingForum: Plugins
In reply to: [Yoast SEO] upgrade to 1.2.8.7 now plugins tabs not openingWorked like charm,,, Thanks for jumping in AMediaCompany..
Forum: Plugins
In reply to: [Yoast SEO] upgrade to 1.2.8.7 now plugins tabs not openingand my wordpress version is 3.2.1… any one knows whats happening?