Display php page ok vs ko because of oracle client or cache or buffer size?

Hello everybody,
Excuse me for my english,
I searched every where but ...
linux ubuntu
php 4.4.6
apache 2.2.4
oracle client XE
VS
win xp
php 4.4.6
apache 2.2.4
oracle client 9i
same database 9i
a sql query :
- select statement cost 25
- execution time : 0,2 sec
- rows number : 4238
My problem : When I want display in an array all the résults in a web page with php, I always manage to display my page via win box
BUT on linux box the display depends :
1 - firsts times : on IE (impossible d'afficher la page) on ff (white page)
I tried to change my directive in php.ini and httpd.conf and try to display this page nothing better
2 - the more I tried to display the page, the more the query is execute (I log my php code, and it executs until the last line). After several tried, I manage to display my page. But if I execute other queries and come back to my page -> etape 1.
in my php code, I use successively :
OCIPLogon,OCIParse,ocisetprefetch(5000),OCIExecute
Is someone had the same problem?
Edited by: crazykangourou on Oct 24, 2008 1:08 AM : Indications on php code

Make sure to check the return code from each OCI call. If an error occurs, try to
resolve the problem.
The version of the OCI8 extension with PHP 4.4 is unstable. If possible, upgrade
at least OCI8. See the section "Installing PHP 4 on Linux" on the bottom of page 81
of the current version (1.4) The Underground PHP and Oracle Manual

Similar Messages

  • Problem displaying php page in dreamweaver

    I am having problems displaying php scripting on dreamweaver.
    Need your advice.
    Installed dreamweaver 8, Coldfusion 7, mysql, php5.2 (using
    windows installer).
    Created file test.php ror testing containing
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    date is:<b><?php echo Hello ?></b>
    </body>
    </html>

    ulises_arsi wrote:
    > I am having problems displaying php scripting on
    dreamweaver.
    Tell us what the problems are.
    > Installed dreamweaver 8, Coldfusion 7, mysql, php5.2
    (using windows installer).
    PHP needs to be configured with a web server, such as Apache
    or IIS.
    ColdFusion is also a webserver, but as far as I know, it
    cannot be
    configured to serve PHP pages.
    > date is:
    <?php echo Hello ?>
    The only thing that would display is an error message. Hello
    needs to be
    enclosed in quotes:
    <?php echo 'Hello'; ?>
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Safari doesn't display php page, Firefox does

    Is there a known issue with Safari not displaying certain php content? My college uses a php database to show schedules and grades. Safari doesn't display anything other than the URL in the page window when the page loads. Firefox displays the content and allows all form completion functionality.
    The school's product is Jenzabar's Poise (PX) Aacademic database.
    It has been this way for the last few updates - I keep hoping that a Safari update will repair the issue but alas, that doesn't seem to happen.
    I'd prefer Safari because compared to it Firefox is dog slow.

    Please contact or have your IT dept contact Tom at ESP to provide more information related to your problem. ESP provides support for the Jenzabar PX product in Texas. Thanks - Tom

  • Why does Firefox no longer display .php suffix web pages which are in my Mac?

    I have a question about Firefox 14.0.1 displaying .php suffix web page files which are in a Mac running Mountain Lion OS 10.8. In eaarlier versions of Mac OS, for example 10.4.7, I was able to see properly displayed web page files with .html and .php suffixes when those web page files were in my computer. I refer to seeing the page as it should properly display, not seeing the source code. If a page had a .php suffix, the browser displayed the page properly although any php scripts embedded in that page were ignored.
    Apple occasionallly updated its OS and browser makers occasionally updated browsers. One day, I noticed that Safari no longer displayed web page files in my Mac if those pages had a .php suffix. However, Firefox and other browsers continued to display web page files with .php suffixes although the embedded php scripts were ignored.
    Now, I have Mountain Lion in iMac.
    I can no longer see .php suffix web page files in my computer regarless of the browser I use. No browser displays those pages.
    A .php suffix web page file which Firefox and other browsers display in 10.4.7 does not display in 10.8 if that web page file is in the computer.
    In my computer, I have html and php suffix web page files I want to see using a browser. The files I want to see and the browser both are in my computer. Html files display perfectly with one exception: if php scripts are embedded in the html files, the scripts are ignored. A file the name of which ends with ".php" will not be displayed regardless of whether there is a php script in the file. Safari displays the source code only. Chrome does not display the file at all. Firefox and SeaMonkey, which displayed .php suffix web page files in earlier versions of the Mac OSm now respond to such pages by providing a dialog box which seems to assume that the file is about to be downloaded from the Internet. The dialog box asks me if I want to use the browser to open the file or if I want to save it to disk. The file is on the disk at the time, and the computer is disconnected from the Internet. I click that I want to use the browser to open the file. Then the dialong box reopens with the same question. This happens over and over. I never get to see a web page file in my computer the name of which ends with ".php". With Firefox 14.0.1, I can see .php suffix web pages which are on the Internet or in a 10.4.7 Mac but not in a 10.8 Mac. Did I miconfigure Firefox? It seems unlikely that Firefox lost the ability to display pages in Mac OS 10.8 which it displays in `10.4.7. How can I solve this web page display problem?

    Haroon mentions two solutions. I used the easier one, which is to start the Apache webserver already in Mountain Lion and to enable the php already in Mountain Lion. It worked. I see the file correctly displayed with html, css, and php. I see the page by using Firefox. I enter an address in the address bar. For example, the address might be "localhost/example/example.php". I cannot see the page by using Firefox's "Open File ..." menu option or by dragging the file's icon onto Firefox's icon. I tried using your solution also but was unable to find the specific preference to modify. I found the page of preferences which may be modified but I could not find the one I need. I found a list of descriptions of the preferences at http://kb.mozillazine.org/Firefox_:_FAQs_:_About:config_Entries
    but I could not find the specific preference which I need.
    By the way, to enable loading the php module, one uncomments a line of code by deleting the initial "#" character, and one does that by pressing control key and "P" key while the cursor is over the "#" character.
    Also by the way, when I use Firefox or Safari to look at the Apache web directory in which my files are, the files are listed case sensitively. For example, the files are listed: Ace, Zygote, bar. This is because lower case follows upper case. THis annoys me. I prefer case insensitive listing. When I llok directly athe directory without using a browser, the files are listed case insensitively. For example, they are listed: Ace, bar, Zygote. I guess taht Apache is doing this.

  • Footer displayed inaccurately in Dreamweaver CS4 php page

    Hi,
    I recently upgraded from Dreamweaver 8 to Dreamweaver CS4. Our organization site uses mostly php pages. When I attempt to open these pages in Dreamweaver CS4 the footer menu bar displays innacurately down through the center of the page and won't allow any edits as it acts like a top layer or something. Usually it acts as a menu bar on the top of any page on our website.
    As it should appear from an online screen shot: You'll notice the orange menu bar across the top.
    A shot of the Design View in Dreamweaver CS4:  You'll see the menu options are running down the center of the page as text.
    This is the code : Can also be visited at www.axisdance.org
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>
    This seems like a simple solution but I'm just not sure what it would be.
    Thanks

    The live view or preview functions do not work and lead to the error: "Not Found, the requested URL/html/index.php was not found on this server.'   This is another issue that I don't understand.
    Unfortunately, I did not develop this website and have a minimal knowledge of html and Dreamweaver.  I'm not sure if I can answer the question about which menu system we're using - would seeing the code of the footer help?   I'll paste below in case.  
    And just to be clear, the problem only occurs in editing in Dreamweaver, but when uploaded to our server it appears correctly.
    Thanks for your help!
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

  • How do I display or hide a Java menu based on current url in a php page

    How do I display or hide a Javascript menu based on the current url in a php page?
    I want to specify when a java menu appears on a page based on the current url - does anyone have a script for the vars and conditional statements to make this happen - it would be something like this in natural language:
    <javascript>
    if currenturl = http://jemmakidd.com/categories.php
    then displaymenu
    else if currenturl = http://jemmakidd.com/categories.php?cat=14 (or 15,16 etc)
    then DONOTdisplaymenu
    What is needed is that, if you look at this page there is a java menu under the first category:
    http://jemmakidd.com/categories.php
    I WANT the menu to appear on that page so that is working, however if I look at one of the store categories, like on this page, I do NOT want the menu to appear - it may be that this can be done without using a java current url type function - thats why I'm asking...
    http://jemmakidd.com/categories.php?cat=14
    So to summarise:
    http://jemmakidd.com/categories.php (If this url is used DO display menu - if any other url DONT display menu)
    Thanks again...any ideas?
    Edited by: littlealex2009 on Jul 15, 2009 12:51 AM

    This is a Java forum, not a Javascript forum. Google the differences.
    kind regards,
    Jos

  • Connect a webservice in a php page

    Hello to all forum, I have a big problem, I need to finish a project and missing a detail that I am not able to do is the following. In the address www.arandupropaganda.com.br/hbrasil is a site of an estate of meadows - São Paulo - Brazil, the link properties you will find two areas: Housing and Real Estate opportunities at launch, the launch area of buildings, is completed Because it was developed with a MySQL database using PHP technology. My problem is these opportunities in the area of data is a WebService (http://www.centrina.com.br/WSConsumoPortal/Service.asmx). Question how to connect a Webservice in a PHP page. For I must take this data and Webservice even have to leave the default of the launch area.
    Hope you all can help me.
    For further clarifications you may be contacting me in email [email protected]
    Sincerely;
    Rodrigo Vieira da Silva Eufrasio
    Osasco - SP - São Paulo
    55 11 6691-5299.
    E-mail: [email protected]
    MSN: [email protected]

    Please explain your problem a little more because what i understand is "For I must take this data and Webservice even have to leave the default of the launch area." you have two websites and one of them is completed and another module which is important for you but available and completed on other website. You want it on the first one, one of them is in PHP so you want to call web service in php page? Is it?
    Can you please explain your problem a little more and provide as
    Source website: which is having webservice
    Target website: on which want that webservice
    Note: I have visited both websites, one of them is displaying that SOAP service and other website is running as it should be.

  • After upgrading to FF 3.6.12 I can no longer view PHP pages from my hard drive.

    After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live.
    I can view PHP pages online, but from my hard drive it just spawns endless empty tabs. Instead of just opening the page it asked me what to open it with, thinking the PHP web page is a script.
    It was working fine before the upgrade. I had a page open that I wanted to edit, which it reopened when my browser restarted.
    Then I edited the page. All I did was add a link to it. Then I hit the refresh button to see the change and instead of reloading the page, FF asked me what to do with the PHP script, prompting me to save it or choose what program to open it with.
    I selected to view it with FF and it just spawned endless tabs. They wouldn't stop. Had to shut down FF and it probably had 40 tabs opened with nothing on them. I tried other PHP pages from my hard drive that opened fine before, but it did the same thing with them.
    I tried finding help online and I see others have had the same problem, but no solution was offered that worked. I tried rebooting, same story, it wants to know what to do with the PHP script.
    I'm being forced to use another browser, so I'm going to go download Chrome now. If this probably isn't fixed soon I'll simply give up on FF. It's not worth the aggravation. I can't tell you how much TIME I've wasted today -- HOURS.
    Very disappointed.

    Thanks for the reply. It doesn't have to process the php, it just has to show the HTML content. It did that just fine before the last upgrade but won't now.
    I've seen that page you referenced: http://kb.mozillazine.org/File_types_and_download_actions.
    It doesn't help. The things it says to look for aren't there for me, specifically:
    browser.download.pluginOverrideTypes
    plugin.disable_full_page_plugin_for_types
    I followed the rest of the instructions but it didn't help.
    I did get it to quit opening tabs, instead it prompts me what it should do with the file every time now. What it should do, and used to do, is open the php page and display the HTML content.
    Any other ideas?

  • Dreamweaver 8 not properly displaying php file in display area...

    Hi...
    I have made I new site... www.tresfjording.com
    It's all in Norwegian, but it seems to work fine in MSIE7
    But in my Dreamweaver's design window it's a mess.
    In fact it shows just parts of the page and even that is
    garbled...
    Have installed WampServer to view the PHP pages hoping for a
    miracle, but
    that didn't work at all.
    I am left with my own messy code to edit pages, and frankly
    that's a kind of
    a eternal try and error process for me...
    I need my WYSIWYG back, without getting rid of the two lines
    of PHP in each
    page. Once including the left column data, and the other the
    right column
    data.
    Is there a solution in upgrading to CS3?
    Or is there another closer and cheaper solution?
    Regards
    Zadig Galbaras
    (nick)
    www.tresfjording.com

    Hello,
    Take a look at the source code using the browser.
    There are 3 doc types and numerous <body>,
    </body>, meta tags and additional
    links to stylesheets within the code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 //EN">
    <HTML>
    <HEAD>
    <link href="css/granbergMain.css" rel="stylesheet"
    type="text/css">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <link href="css/granbergTopp.css" rel="stylesheet"
    type="text/css" />
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <link href="css/granbergSide.css" rel="stylesheet"
    type="text/css" />
    As Alan asked, is the page using includes? It appears to be
    using php
    includes.
    The home page is:
    http://www.tresfjording.com/index.php
    If you just opened the same index.php file in notepad that
    you open in DW,
    you wouldn't see the additional tags and doctypes.
    But if you view the page in IE, and "view source", you'll see
    them. The
    includes are added server side and output to the browser.
    Can you paste the code from one of the include pages?
    Take care,
    Tim
    "Zadig Galbaras" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi Alan...
    >
    > I loaded the file into Notepad++ and checked but I
    coudn't find the tags
    > you mentioned...
    > To me the <HTML>, <HEAD> and <BODY>
    seems correct.
    > If I remove one of them, the display worsens
    drastically! :-(
    >
    > --
    >
    > Regards
    > Zadig Galbaras
    > (nick)
    > www.tresfjording.com
    > -----
    >
    >
    >
    > "Alan" <[email protected]> skrev i
    melding
    > news:C4047C35.2F29A4%[email protected]...
    >>
    >>
    >>> www.tresfjording.com
    >>
    >> Is the page using includes?
    >>
    >> There's four <body> tags on the page. And four
    head tags. and so on.
    >> Dw's design view stops when it encounters a second
    body tag.
    >>
    >> Strip the included files down to just what is
    correct syntax for where
    >> they
    >> are used in the main page.
    >>
    >> --
    >> Alan
    >> Adobe Community Expert, dreamweaver
    >>
    >>
    http://www.adobe.com/communities/experts/
    >>
    >>
    >>
    >

  • Dynamic Query to display a page of records at a time

    I need some help creating procedure with a dynamic query that will query a table and pass out a certain number of records (like records 101 - 200 of 20,000). This procedure will receive the column names, table name, where clause, page number and number of records per page. It will then pass back the requested records to be displayed on a PHP page.
    Pseudo Code:
    Select Dynamic_Columns, ROWNUM
    Into Dynamic_Pl_Sql_Table
    From Dynamic_Table
    Where Dynamic_Where_Clause
    Total_Records_Out := Dynamic_PL_Sql_Table.Count
    Modulus := Mod(Total_Records_Out, Total_Records_Per_Page_In)
    Total_Pages_Out := (Total_Records_Out - Modulus) / Total_Records_Per_Page_In
    If Modulus > 0 Then
    Total_Pages_Out + 1
    End If
    Row_Start = Page_Number_In * Total_Records_Per_Page_In
    Row_End = Row_Start + Total_Records_Per_Page_In
    Results_Out = Dynamic_Pl_Sql_Table(Row_Start ... Row_End)
    Any help with this will be appreciated!

    Maybe this will help you
    1) If the Serial is 0 then page break
    2) total_rows gives you total number of rows selected.
    3) you can apply where clause to this and it will give you appropriate records.
    select empno, ename, sal, 
    mod(row_number() over (order by null),5) serial,
    count(*) over () tot_rows from emp ed
         EMPNO ENAME             SAL     SERIAL   TOT_ROWS
          7369 SMITH             800          1         14
          7499 ALLEN            1600          2         14
          7521 WARD             1250          3         14
          7566 JONES            2975          4         14
          7654 MARTIN           1250          0         14
          7698 BLAKE            2850          1         14
          7934 MILLER           1300          2         14
          7788 SCOTT            3000          3         14
          7839 KING             5000          4         14
          7844 TURNER           1500          0         14
          7876 ADAMS            1100          1         14
          7900 JAMES             950          2         14
          7902 FORD             3000          3         14
          7782 CLARK            2450          4         14
    14 rows selected.SS

  • MM_XSLTransform error every time in PHP page

    When I apply an XSL Transformation to a PHP page, the page
    displays with an MM_XSLTransform error saying the XML file is not a
    valid XML document -- even though it absolutely
    is valid XML. This is totally reproducable.
    Here's a simple example:
    library.xml:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <library>
    <owner>Mister Reader</owner>
    <book>
    <isbn>1-2345-6789-0</isbn>
    <title>All About XML</title>
    <author>John Doe</author>
    <language>English</language>
    <price currency="usd">24.95</price>
    </book>
    <book>
    <isbn>9-8765-4321-0</isbn>
    <title>CSS Made Simple</title>
    <author>Jane Smith</author>
    <language>English</language>
    <price currency="usd">19.95</price>
    </book>
    </library>
    library.xsl:
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" encoding="iso-8859-1"/>
    <xsl:template match="/">
    <h1><xsl:value-of select="library/owner"/>'s
    Library</h1>
    <xsl:for-each select="library/book">
    <p><em><xsl:value-of
    select="title"/></em>
    by <xsl:value-of select="author"/>
    (ISBN <xsl:value-of select="isbn"/>)</p>
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    library.php:
    <?php
    //XMLXSL Transformation class
    require_once('includes/MM_XSLTransform/MM_XSLTransform.class.php');
    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $mm_xsl = new MM_XSLTransform();
    $mm_xsl->setXML("library.xml");
    $mm_xsl->setXSL("library.xsl");
    echo $mm_xsl->Transform();
    ?>
    </body>
    </html>
    When viewing the file library.php, the following error is
    displayed in the browser, followed by the raw XML:
    library.xml is not a valid XML document.
    Non-static method DOMDocument::loadXML() should not be called
    statically, assuming $this from incompatible context in file
    library.xml.
    I wonder whether there is a problem with the include file
    MM_XSLTransform, version 0.6.2. Since that include file begins with
    a "TODO" note from the programmer, I wonder whether it's not quite
    release-ready.
    Anyone else having this problem?
    Environment:
    - Testing Server on localhost
    - Windows XP Pro SP2
    - Dreamweaver 8.0.2
    - PHP 5.1.4
    - MySQL 5.0.2.1
    - PHP MyAdmin 2.8.1

    Jon9999 wrote:
    > I wonder whether there is a problem with the include
    file MM_XSLTransform,
    > version 0.6.2. Since that include file begins with a
    "TODO" note from the
    > programmer, I wonder whether it's not quite
    release-ready.
    It was release-ready. It worked fine in PHP 5.0, but changes
    in PHP
    5.1.4 caused it to break. As I understand, Adobe is preparing
    a PHP
    hotfix that solves several problems caused by the 8.0.2
    updater. It also
    fixes this one.
    In the meantime, you can easily hand fix it yourself.
    Comment out line 301, which looks like this:
    $xml = DOMDocument::loadXML($content);
    Then insert the following two new lines immediately below:
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    The rest of the script then continues with this:
    restore_error_handler();
    So, when you have finished, lines 301-304 will look like
    this:
    //$xml = DOMDocument::loadXML($content);
    $doc = new DOMDocument();
    $err = $doc->loadXML($content);
    restore_error_handler();
    Just in case you're interested in what the problem was: line
    301 uses
    loadXML() as a static method of the DOMDocument class. As of
    PHP 5.1.4,
    this isn't allowed. The substitute lines create a DOMDocument
    object,
    and then call the method on the new object.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • I installed new software updates, and now when I try to open up pages it tells me "Pages cannot be opened because of a problem." does anyone know what I can do?

    I installed new software updates, and now when I try to open up pages it tells me "Pages cannot be opened because of a problem." does anyone know what I can do?

    1)Copy this below from --{code} to --{code}
    --{code}
    set p2l to "" & (path to library folder from user domain)
    set the_cache to p2l & "Caches:com.apple.iWork.fonts"
    tell application "System Events"
              set maybe to exists disk item the_cache
              if maybe then delete disk item the_cache
    end tell
    if maybe then
              display dialog "I deleted the file :" & return & the_cache
    else
              display dialog "The file :" & return & the_cache & return & "was unavailable !"
    end if
    --{code}
    2) Than open Applescript Editor in your applications and paste it
    3) Than select "Compile"
    4) Than select "Run"

  • Browsers cannot display web pages on HD TV

    Hello all.
    Firstly let me start by saying I used to build and fix computers so I have a good idea about solving tech problems, but this one has me stumped!  Running snow leopard on Mac Mini.  Connected Mac Mini to HD TV VIA HDMI cable as using VGA gave out of range signal.
    Anyway the issue is that any browser will not work in any other resolution than 420 P (TV can go to 1080)
    Now, I completely reformatted the Mac and on first use it defaulted to 720p mode and browser worked (yay!)
    However, as soon as the resolution is altered, no browser will work in any other mode than 420p - infact I only have to get display preferences up and not alter anything and it stops working in 720p and other resolutions.
    I have pinged/tracerout etc and the net is NOT dropping out so that is not the issue.  The issue seems to be some video related problem, because if I delete the windowserver.plist and configuration preference files, it again boots up at 720p (which is the default for the HD tv, but if either display preferences are viewed, or the computer is restarted, that's it, the browsers stop working.
    When trying to load an address, the blue colour in the address bar which shows how far a page is loading is about a quarter of the way, it actually picks the website up because the name at the top will show (for example (welcome to facebook.com)  ) however, nothing is displayed, it just tries continually to display a page but it can't.
    There is no timeout message, so it IS connected to the website, just not displaying the contents (the browser stays white)
    I have searched on the net and found one person with this issue and no resolve.  Has anyone any ideas what else I can try to resolve it?
    Thanks

    I assume this is a wireless network, though you didn't say. What might be happening is that the mini is on the ragged edge of wireless reception. Adding extra electromagnetic interference from the TV operating at a high pixel clock is pushing reception over the edge to where it stops working.
    If that's true then you either need to try and reposition the mini further from the TV and closer to the wireless access point, or else switch to a wired connection to the network.

  • Error in Acrobat 8: An error exists on this page. Acrobat may not display the page correctly...?

    Hi,
    We perform the e-signing on any PDF using our custom e-signature plug-in. Once that's done, when we try re-opening the PDF in Acrobat version 8.0.0.0, we get the following error:-
    "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem"
    Please note that this error occurs intermittently and is NOT observed in Acrobat 7 or 9.  Also, when a plain PDF is opened (i.e. a PDF without any signature on it) then there is NO error.
    Could you let me know what could be the issue here? I read it in Acrobat 8.1.3 release notes that such an error was a known bug in version 8.0.0.0 (http://kb2.adobe.com/cps/407/kb407016.html), but I am not sure of its cause.
    Let me know your comments/suggestions.
    Thanks!

    I am getting the same error even in Acrobat version 8.1.3.
    Additionally, I noticed that if we click on menu ‘Advanced->Sign&Certify->Preview Document’, then we get a notification as “This document is not PDF/SigQ compliant and may display inconsistently”. On clicking  ‘View report’ on that notification, the below dialog pops up. It has errors listed as:-
    Code 4000 : Unrecognized PDF content. The document contains PDF content or custom content not supported by the current version of Acrobat.
    Code 4002: PDF content contains erros.
    However, if we sign the PDF using default adobe signature functionality and reopen that PDF, the error does NOT come and the notification also says ‘This document is PDF/SigQ compliant’.
    Can anybody please suggest what could be missing in the custom sign that we apply? Is it because of any of the missing fonts or any other resources?
    Awaiting reply!
    Regards.

  • How can i optimize my SEARCH ENGINE???I use godaddy.i contact them and they give me this conclusion:Search engines are not pulling up your other pages on your website because it is created with javascript. the content on the pages, (photo gallery.....

    conclusion from godaddy:
    Search engines are not pulling up your other pages on your website because it is created with javascript.
    the content on the pages, (photo gallery, My Recipes/Blog, History, Friends) need to be formatted to HTML, PHP or CSS. No search engines (google, Yahoo, Bing) can crawl//analyze webpages built with javascript.
    See if Apple allows iweb to create the pages in HTML format and ask how to make those changes.
    I spend more then 1 hour on the phone with them but we didn't find the solution...
    please i need help because like this nobody can rich my website...
    www.chefdiego.com
    thank you

    The part of iWeb pages that give the search engines problem is the navbar.  That's javascript based.  One way to get around that is to create another blank page in the site that's not  included in the navbar. 
    Add a text based navbar in that page with just the other pages in the site. 
    Also you can use that page for creating the sitemap for Google at Create your Google Sitemap Online - XML Sitemaps Generator.
    Have you let Google know your site exists? This website describes how to get it recognized: Get your iWeb website found in search engines like Google Yahoo MSN and Bing.
    OT

Maybe you are looking for