0

Hi...

I have an issue on project.I want to open a particular pdf page by specifying its page no using PHP script.Is it possible?please help me

3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Borzoi
0

PHP means Personal Home Page.I am always seeking net for valuable things that can assist me achieving knowledge. We are in Website design business for long. I think that your post is good in terms of topic. By the way, if you have time please check <a href="http://www.mavrickit.com" rel="nofollow">Website Design Services</a>

0

PHP means Personal Home Page.I am always seeking net for valuable things that can assist me achieving knowledge. We are in Website design business for long. I think that your post is good in terms of topic. By the way, if you have time please check <a href="http://www.mavrickit.com" rel="nofollow">Website Design Services</a>

Wrong. PHP used to mean Personal Home Page but not any more. PHP stands for PHP: Hypertext Preprocessor.

As for opening a PDF to a specific page, you don't need PHP, just simple HTML. All you need to do is add #page=pagenumber at the end of the url.

Example:

<!-- Direct link to page 3 -->
<a href="documents/Document.pdf#page=3">PDF Document</a>

<!-- Using a PHP variable -->
<?php
  echo "<a href=\"document/Document.pdf#page=$page\">PDF Document</a>";
?>

Hope this helps.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.