I'm working on a project and i have all the help related to the business in hlp files, i'm looking for a php viewer for that kind of files but i have not found any so far, not even a payed one.
is there any library for displaying HLP files in PHP?
Thanks in advance.
I couldn't find one for PHP, but there are various ones for Linux. You could convert it there, using system(), and then pick up the output.
Related
I've purchased an open-source website, and need to do some modifications which are mainly related to "appearance".
Problem is I can't discover which files generate the output, figured they must be in a "layouts" folder or something, and didn't find anything.
Is there a way in PHP to help me do this and maybe be useful in debugging the website later on?
Thanks.
I have searched the depths of the internet for a solution but unfortunately all the posts discussing the issue are outdated and provide no solutions.
I need to be able to dynamically generate a screenshot from a SWF file and save it locally to the server. Some posts suggest the use of FFMPEG, but I don't think it supports the SWF format. Another suggested to use the Internet Explorer grabscreen function, but that's Windows only.
Any answers on how to do this are greatly appreciated.
If you own a server, you can install extension for PHP (http://php.net/manual/en/swf.setup.php) however, this is a little overkill for getting one frame.
Other solution is using this class:
http://www.sephiroth.it/swfreader.php
Also, you can write your own parser, in this case refer to Adobes flasg format specification:
http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf
If I understand you correctly you need to generate an image on server side. Please look at the solution described here: http://techblog.floorplanner.com/post/20528549445/server-side-png-rendering-of-swf-images-using-gnash
I didn't try it myself but hopefully it will help. Also if it is possible to generate an image after the first user opens the swf and there is a possibility to change the code of the SWF, I'd recommend you to look at this article: http://www.flepstudio.org/forum/tutorials/507-swf-png-actionscript-3-0-bytearray-class.html
I have quicktime movies uploaded to my server that I need to combine together (there are sound tracks too). I cannot install ffmpeg (or anything else for that matter away from standard PEAR stuff).
I suppose an option open to me would be to open up the files with php. Can anyone provide any pointers on how to do this. Am I entering a world of pain?
Thanks in advance
Tudor
Am I entering a world of pain?
Probably yes. :)
I'm not familiar with the internal workings of the mov format, but if the format is not like MP3 (in which you can actually simply just glue two files together and they'll work in most players!), what you want to do is most likely not possible in pure PHP.
I want to write multiple image files to a odt file. I will be specifying a dir and the script will take it from there thru a loop. But where do i start? I have never done anything like this before!
I found this python code, which can convert html 2 python... so we can parse an html first and then call this one. But there is no reference on how to use this.
html2odt code
Atlast I found a PHP way to write odt direct! Its well documented.
http://www.odtphp.com/
I have also written a complete practical solution in php. You can upload multiple images and get the odt document generated.
The code is hosted at http://code.google.com/p/images2odt/
The first post is done here.
For anyone wanting to use the Python code will need a Python interpreter version 2.6. It might also work with version 2.7. It's mainly used in Linux but there are Windows and Mac versions as well. You will also need the files listed in the from and import statements. These files are in some of the other folders. It looks like it is a part of a much bigger Linux package. One last thing, Python scripts usually takes their arguments from a command line.
Additional info:
I looked over the setup.py file and it told me that this is an API library for open documents called odfpy. The version is 0.9.2. The link it has for the documentation is broken. A google search for odfpy came up with a place to download a more recent version (0.9.4) in a tarbell here:
http://pypi.python.org/pypi/odfpy
The documentation can be found here in an Open Office document:
https://joinup.ec.europa.eu/software/odfpy/document/api-odfpyodt
I was recently asked to come up with a script that will allow the end user to upload a PSD (Photoshop) file, and split it up and create images from each of the layers.
I would love to stay with PHP for this, but I am open to Python or Perl as well.
Any ideas would be greatly appreciated.
Using GraphicsMagick or ImageMagick along with Magick++, you can then use imagick.
imagick has all of the calls necessary to convert PSDs from layers, including doing masks.
You can try the PHP PSD Reader, which should at least get you started.