PHP Clear File Content With Link [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I wanna clear the content of a file called txt.txt by clicking a link. I've looked through the site and Googled up a storm but can't figure it out. I know there are threads here that talk about it but nothing explain exactly how to do it. Thank you :o)

Clean with:
$fn=fopen('txt.txt','w');
fclose($fn);
Delete with:
#unlink('txt.txt');
This will clear the file and all its content (without deleting it)

I don't know routing in your app, try this logic)
clearfile
//in clearfile.php
<?php
file_put_contents('', 'txt.txt');
header('Location: ' . $_SERVER['HTTP_REFERER']);
die;

Related

is there a php code that include/require a page and not a file? (PHP) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have a page 'Error 404' and the address is like http://myurl.com/error404
the php file of error404 require's the index.php to properly show it.
I need a php code that will load or show the content in the url above without redirecting/changing the url. thanks
echo file_get_contents("http://myurl.com/error404");
Works also for URLs.
DOCS

Can i hit an endpoint and get/echo the <body>? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I currently don't even know what exactly to search, don't know if that procedure has a name or something, that's why i decided to post a question.
For example, when i hit mysite/test.php i want that php to make a request to another .php on another server and get all the html contents of that page and echo it in test.php, is that even possible?
Let's suppose test.php is that php file which makes a request to take_me.php .
take_me.php could have just an echo or it could be a full content page.
Can i have the content of take_me.php shown in test.php?
You could use file_get_contents and echo to screen like below:
$html = file_get_contents('http://www.google.com');
if (isset($html)) {
echo $html;
}
You may have issue with images rendering correctly etc... due to paths but it will work.
http://php.net/manual/en/function.file-get-contents.php

How to decode this code ? php $_F=__FILE__;$_X= Byterun Decoder [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I would like to decode this PHP page. I tried with this site but when I decode code, the code is still encr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WJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));
?>
Here is your plain source code of the asked file.
As I said in a post earlier today. If you have access to the .php file, you have access to the source no matter what.
Good luck!
This is actually pretty easy. Your encrypted file looks like this:
<?php $_F=__FILE__;$_X='encrypted text';eval(base64_decode('rubbish'));?>
Paste just the 'encrypted text' section into the top box of this page and hit Decode This Rubbish.

How do I make a comment system for my website? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What would the code be to have a comments section on my website where logged in people can place a comment. I got a database and want to use html and php only. No 3th party involved.
Something simple and not to advanced.
You should check out some tutorials:
http://www.youtube.com/watch?v=KGmEZY6DBhw
http://www.2my4edge.com/2013/05/comment-system-using-php-and-mysql.html
We are not going to place an entire code here, you should show us that you've tried instead of just asking us to write all of your code.

get cookie of other website on my webpage [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am trying to get the facebook cookie on my webpage, but I am being unabe to do this.
I tried this but it returned null.
Please give me the php script if you know.
You are trying to do the impossible.
You just can't read other websites cookies, you may just could read their headers though.
You could grab their headers like this.
<?php
file_get_contents('https://www.facebook.com');
var_dump($http_response_header);
That would be a huge security issue on both Facebook's end and the browser's end.
You should never be able to do that ever for any reason ever.

Categories