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 months ago.
Improve this question
Dear I want to convert a pdf file to bytecode to send the byte code through json but I am not able to convert the pdf to bytecode in php if there are any solutions please assist me..
Thank you.
You can try something like this:
file_get_contents will get you the whole file into a string.
$fileContents = file_get_contents($file);
str_split will convert it into an array of one-character strings.
$byteArray = str_split($fileContents);
You can check official documentation as well.
Related
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 5 years ago.
Improve this question
I would like to locate in which page(s) a word is located inside a pdf programatically. My application runs on php over linux.
Is it readable with a text editor?
If it is, you can loop the content and find the string with a regular expression. If the string Is variable and you are the one who wrote the file, try to put some fixed string before.
In some cases under Linux we use pdftops to convert the PDF in a human readable format, find the string looping the content file, and back to PDF with pstopdf.
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 encrypted :/
Can we help me please ?
Page encrypted:
<?php
$_F=__FILE__;
$_X='P2lCP1ouWj4NVk16ek96X3pNWk96PXNIeChhKTsNVg1WDVYkOU9ZZXNIUyRfcEtnNktnaid0VFRtX3Q3cFQnZDsNViRaek85UTI9UyIzSG49ZUg9PklNZTluPkNNSE16ZT1Pej4wYSI7DVYkV3MyTUhuTXBNemNNej5TPiIuPT1aOmhoZTI9c2NlPU0tV3MyTUhuTVgyT1loZTI9c2NlPU1oek1uT1F6Mk1uaDIuTTJ5TXpYWi5aIjsNVj4+Pj4NViRaT249Y2VXUU1TIjlPWWVzSFMkOU9ZZXNIJlp6TzlRMj1TIlhReldNSDJPOU0oJFp6TzlRMj0pOw1WDVYkMi4+Uz4yUXpXX3NIcz0oKTsNVjJReldfbk09T1o9KCQyLiwvIGdJN21UX2dLVCBnRVRnRkVwcktnLD4wKTsNVjJReldfbk09T1o9KCQyLiw+LyBnSTd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Pl0NVg1WaCo+NE1BZVFXPT5NenpPej5ZTW5uZXhNPipoDVYNVk0yLk8+IkI5c2M+ZVdzeEhTXCIyTUg9TXpcImkNVg1WQj1lPFdNPn1zOT0uU1wiMGFhJVwiPjxPejlNelNcImFcIj5uPXFXTVNcIlplOTlzSHg6MExaUjs+PE96OU16LTJPV096OiNyYWE7PjxPejlNei1uPXFXTTpuT1dzOTs+PGUyeXh6T1FIOS0yT1dPejojcnJbLzFhOz5BT0g9LUFlWXNXcTpUZS5PWWUsPkNNSE1jZSw+bmVIbi1uTXpzQTs+QU9IPS1uczVNOjBrWlI7PjJPV096On0ucz1NO1wiaQ1WDVZCPXppDVYNVkI9OWlCPGliT1F6PjlPWWVzSD5IZVlNPjlPTW4+SE89Pi5lY00+ZT5jZVdzOT5XczJNSG5NPnlNcT49Tz5NUk0yUT1NPiRaek85UTI9WEJoPGlCaD05aQ1WDVZCaD16aQ1WDVZCaD1lPFdNaQ1WDVZCaDlzY2kiOw1WDVZsDVYNVj9p';
$_D=strrev('edoced_46esab');
eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+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.
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
Hello I have to create a function which generates a barCode INT25 in php. Any ideas how to do it. The function should generate the image and give back the url where to find it.
Thank you very much
There are many examples, and libraries/classes, that can assist in this. Most of these, when you create the image, you save it instead of discarding. Then you can also post the url, or save it in a database for later use. Some examples are as follows:
http://bmpradeep.wordpress.com/2013/01/29/generating-barcode-using-php/
http://www.barcodephp.com/en/manual/i25
http://barcode-coder.com/en/barcode-php-class-203.html
http://www.phpkode.com/source/s/barcode-generator/barcode-generator/class/i25.barcode.php
Save file using php
http://php.net/manual/en/function.imagepng.php
http://php.net/manual/en/function.imagejpeg.php
http://php.net/manual/en/function.imagegif.php
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 have to get something that has been shared on a website and it changes every day. but i dont know how to do this. how can i do this?
You could download the exact page you're after using file_get_contents
$web = file_get_contents("http://google.com")
You'd then have to strip out whatever it is you want from the rest of the source code on the website. That can be done by using strpos or stripos (ipos being case insensitive) to find its location, and then using substr to extract that part of the string.
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 9 years ago.
Improve this question
I used the following code to get the file contents:
$file_contents = file_get_contents('note.txt');
Then i used preg_match_all to get some matches.
What is the problem then ?
The problem is if the file format of note.txt is not set to UNIX, preg_match_all will not match anything whatever is the file encoding is!
Your regular expression doesn't account for windows EOL, or OSX EOL. Below is a fix for it.
\A[\r\n]+\/\*[\r\n]+(([^:\r\n]*:[^\r\n;]*[\r\n]+)+)