Problem with php-5.0.2 in Solaris 10 (SunBlade 150)

Hello,
I was trying to install php-5.0.2 in a SunBlade 150 with Solaris 10 but solaris 10 does not allow me.
Im using iPlanet Web Server 6.0 and I already checked for the required software:
gcc,make ,flex,bison,m4 ,autoconf ,automake ,perl ,gz,ip ,tar ,GNU sed
I'm doing this and the configure remains there (as compiling without showing nothing to me)
./configure with-mysql=/usr/local/mysql with-nsapi=/opt/Webserver/
enable-track-vars enable-libgcc \
with-jpeg-dir=/usr/bin/ with-png-dir=/usr/local/lib
with-zlib-dir=/usr/include with-gd-dir=/usr/local/lib \
enable-calendar enable-gd-native-ttf --with-freetype-dir=/usr/sfw/lib/
with-xpm enable-debug
creating cache ./config.cache
checking host system type... saporc-sun-solaris2.10
and that's it, the configure command just displays two lines and it does not write anything to the config.cache.
I was able to install php 5 under Solaris 8 and 9 with iPlanet Web Server 6.0 but this time Im stuck, any suggestion?

Hello,
I was trying to install php-5.0.2 in a SunBlade 150 with Solaris 10 but solaris 10 does not allow me.
Im using iPlanet Web Server 6.0 and I already checked for the required software:
gcc,make ,flex,bison,m4 ,autoconf ,automake ,perl ,gz,ip ,tar ,GNU sed
I'm doing this and the configure remains there (as compiling without showing nothing to me)
./configure with-mysql=/usr/local/mysql with-nsapi=/opt/Webserver/
enable-track-vars enable-libgcc \
with-jpeg-dir=/usr/bin/ with-png-dir=/usr/local/lib
with-zlib-dir=/usr/include with-gd-dir=/usr/local/lib \
enable-calendar enable-gd-native-ttf --with-freetype-dir=/usr/sfw/lib/
with-xpm enable-debug
creating cache ./config.cache
checking host system type... saporc-sun-solaris2.10
and that's it, the configure command just displays two lines and it does not write anything to the config.cache.
I was able to install php 5 under Solaris 8 and 9 with iPlanet Web Server 6.0 but this time Im stuck, any suggestion?

Similar Messages

  • Problem with php code. Please help!

    Hello!
    I'm using the following syntax to bring content into my
    websites' layout template:
    Code:
    <?php //check in the root folder first
    if(file_exists('./' . $pagename . '.php'))
    include './' . $pagename . '.php';
    //if it wasn't found in the root folder then check in the
    news folder
    elseif(file_exisits('./news/' . $filename . '.php'))
    include './news/' . $pagename . '.php';
    // if it couldn't be found display message
    else
    echo $pagename . '.php could not be found in either the root
    folder or the news folder!';
    } ?>
    What it's essentially saying is, if you can't find the .php
    file in the _root folder, look for it in the /news/ folder.
    It works perfectly if loading something from the _root folder
    but I get an error if I need to bring something from the /news/
    folder.
    Can anyone see any potential problems with my code?
    Thank you very much and I hope to hear from you.
    Take care,
    Mark

    I've never seen the code written like that before, but I'm
    assuming it's
    legal?
    Perhaps try:
    <?php
    $newsroot = $_SERVER['DOCUMENT_ROOT']."/news";
    if (!file_exists("$pagename.php")) {
    elseif (!file_exists("$newsroot/$pagename.php")) {
    else
    Or the other thing you can try is replacing the elseif
    statement with:
    elseif (!file_exists("news/$pagename.php"))
    If not - I'm sure Gary will be on here soon...
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Spindrift" <[email protected]> wrote in
    message
    news:e5mled$272$[email protected]..
    > Hello!
    >
    > I'm using the following syntax to bring content into my
    websites' layout
    > template:
    >
    > Code:
    >
    > <?php //check in the root folder first
    > if(file_exists('./' . $pagename . '.php'))
    > {
    > include './' . $pagename . '.php';
    > }
    > //if it wasn't found in the root folder then check in
    the news folder
    > elseif(file_exisits('./news/' . $filename . '.php'))
    > {
    > include './news/' . $pagename . '.php';
    > }
    > // if it couldn't be found display message
    > else
    > {
    > echo $pagename . '.php could not be found in either the
    root folder or
    > the
    > news folder!';
    > } ?>
    >
    > What it's essentially saying is, if you can't find the
    .php file in the
    > _root
    > folder, look for it in the /news/ folder.
    >
    > It works perfectly if loading something from the _root
    folder but I get an
    > error if I need to bring something from the /news/
    folder.
    >
    > Can anyone see any potential problems with my code?
    >
    > Thank you very much and I hope to hear from you.
    >
    > Take care,
    >
    > Mark
    >

  • Problem with PHP, CSS & Code Navigator in CS4

    Hi,
    I've got al little problem with code navigator. To show the problem, I created this 3 files:
    test1.html
    The CSS-Definition is defined static, with simple HTML.
    <html>
    <head>
         <style type="text/css">
              @import "test.css";
         </style>
    </head>
    <body>
          <p>Hello World</p>
    </body>
    </html>
    test2.php
    The CSS-Definition is defined dynamic, with PHP-Code.
    <html>
    <head>
         <style type="text/css">
              <? echo "@import \"test.css\";\n"; ?>
         </style>
    </head>
    <body>
          <p>Hello World</p>
    </body>
    </html>   
    test.css
    The CSS-File which is imported in test1.html and test2.php
    p {
         font-size:20px;
    The Problem in Dreamweaver CS4
    When opening the test.html - File in Dreamweaver CS4, I can easily see the CSS-Definition of the <p>-Tag in Code Navigator. To edit these definition I can simple open the test.css by clicking on the definition in Code navigator. For a complex webpage this is a greate feature. Sadly, this does not work, when I open the test2.php. Although when going to Live View and selecting the <p>-Tag I can see the CSS-Definition and the file in which it is defined in Code Navigator. But by clicking on the definition the test.css DOES NOT OPEN!
    Has anybody a solution? Because many of our projects have dynamic CSS-Definitions, it would be a shame, if this would not work.
    Tanks for help! :-)

    I've done some testing, which might point you in the direction of an interim solution.
    This is the code for related_files.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=utf-8" />
    <title>Related files test</title>
    <?php include('include.css'); ?>
    </head>
    <body>
    <p>This is a paragraph.</p>
    </body>
    </html>
    This is the code for include.css:
    <style type="text/css">
    p {
         font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
         color:#F00;
    </style>
    Note that the include file contains the opening and closing style tags.
    By including your styles like this in a PHP include file, Dreamweaver applies the CSS in Design view (you don't need to turn on Live View). Holding down the Alt key while clicking in Design view brings up the Code Navigator with all the details of the CSS. The one missing link in the chain is that clicking the style selector in the Code Navigator does not open the CSS file. However...
    The file that contains the CSS is listed in the Related Files toolbar, so you can edit it in Split view, and see the results in Design view in exactly the same way as with an HTML page and ordinary style sheet.
    As I say, not the full solution that you wanted, but it might be something worth experimenting with.

  • Problem with perl Net::Telnet::Cisco  for Solaris 10 SPARC

    hi all,
    I have problem with installing this modules : Net::Telnet::Cisco,TermReadKey-2.30.tar.gz.
    I'm trying to install this packages Net-Telnet-Cisco-1.10.tar.gz, and the it notifies me that I need to install before the TermReadkey, I get it from www.CPAN.org -TermReadKey-2.30.tar.gz
    and look what I have when I run : "make test" or even "make install"
    cc -c -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" ReadKey.c
    sh: cc: not found
    *** Error code 1
    make: Fatal error: Command failed for target `ReadKey.o'
    Please can some one help me. it 's very urgent
    thank you in advance

    Vipul_Ramani wrote:
    only thing you are missing CC does not your current PATH
    ADD it again
    using export PATH=$PATH:/usr/ucb and try ... do it No, please don't. There is no compiler in /usr/ucb, and it is probably a very good idea to compile without /usr/ucb in your path. /usr/ucb/cc is only a wrapper to extend a very old SunOS compatibility environment onto an existing compiler.
    If you don't have the current Sun compiler suite on your machine (go ahead and download it, it's free), then you can use gcc by invoking "perlgcc" instead of "perl" on the module's makefile.
    Darren

  • Problems with php script in the contact form

    Hello, I am from the Czech Republic and I am not a coder. I have 2 problems with my php sript. I am using a simple php script from Paul Trani, see below.
    Firstly the email adress - when someone inserts an email adress in this form [email protected] it is OK, but when someone writes an address for example [email protected] (this type of adress is very common in our country) the answer is "That is not a valid email address.  Please return to the previous page and try again." I think the problem is the dot before the @.
    Secondly diacritical marks - Since I am from the Czech Republic we use diacritical marks (for example š,č,ř,ž,á,í,é,ě) so instead of this letters a get ? or Å&#153; or Å¡ to my email.
    I really do not know how to fix these problems.
    Thank you for any help. Sorry for my English. Peter
    <!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=UTF-8" />
    <META HTTP-EQUIV="refresh" content="0;URL=thankyou.html">
    <title>Email Form</title>
    </head>
    <body>
    <?php
      $name=addslashes($_POST['name']);
      $email=addslashes($_POST['email']);
      $comments=addslashes($_POST['message']);
    // you can specify which email you want your contact form to be emailed to here
      $toemail = "[email protected]";
      $subject = "From EcoStyleStudio.com";
      $headers = "MIME-Version: 1.0\n"
                ."From: \"".$name."\" <".$email.">\n"
                ."Content-type: text/html; charset=iso-8859-1\n";
      $body = "Name: ".$name."<br>\n"
                ."Email: ".$email."<br>\n"
                ."Comments:<br>\n"
                .$comments;
      if (!ereg("^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$", $email))
        echo "That is not a valid email address.  Please return to the"
               ." previous page and try again.";
        exit;
        mail($toemail, $subject, $body, $headers);
        echo "Thanks for submitting your comments";
    ?>
    </body>
    </html>

    ereg() has been deprecated, it is recommended that you dont use it.
    You want to look at this
    http://www.php.net/manual/en/function.preg-match.php
    Within this page I found this:
    If you need to check for .com.br and .com.au and .uk and all the other crazy domain endings i found the following expression works well if you want to validate an email address. Its quite generous in what it will allow
    <?php
            $email_address = "phil.taylor@a_domain.tv";
         if (preg_match("/^[^@]*@[^@]*\.[^@]*$/", $email_address)) {
             return "E-mail address";        
    ?>

  • Insert problems with Php Data Services

    Hi All,
    I am using Flex Data wizards to create a simple CRUD application and i am having problems adding data. It works the first time i start my application but subsequent calls to the insert fail.
    I am using FB2 Beta with MAMP. The php classes are being generated using the data wizard. i have tried commenting out mysqli_close but still it doesn't work.
    public function createDive_events($item) {
    $stmt = mysqli_prepare($this->connection, "INSERT INTO $this->tablename ( divedate, divesite, divecost, description, totalDays) VALUES ( ?, ?, ?, ?, ?)");
    $this->throwExceptionOnError();
    mysqli_bind_param($stmt, 'ssdsi', $item->divedate, $item->divesite, $item->divecost, $item->description, $item->totalDays);
    $this->throwExceptionOnError();
    mysqli_stmt_execute($stmt);
    $this->throwExceptionOnError();
    $autoid = mysqli_stmt_insert_id($stmt);
    mysqli_stmt_free_result($stmt);
    //mysqli_close($this->connection);
    return $autoid;
    Any ideas, what i am doing wrong. I have tried using the update and it works only once as well, it seems that the connection to the function is lost after the first call.
    thank you,
    Nayan

    Ok, this is what I got.
    create a mysql table (`people`) with columns id (auto increment), first_name, last_name, age
    in the data/service panel connect to a php service, generate a php service from the database and the people table
    generate a form from the createPeople service call
    observe that in source view we have something like this: <fx:Script>
      <![CDATA[
           protected function button_clickHandler(event:MouseEvent):void {
              createPeopleResult.token = peopleService.createPeople(people);
      ]]>
    </fx:Script>
    <fx:Declarations>
      <valueObjects:People id="people"
                           people_id="{parseInt(people_idTextInput.text)}"
                           age="{parseInt(ageTextInput.text)}"/>
      <peopleservice:PeopleService id="peopleService"/>
      <s:CallResponder id="createPeopleResult"/>
    </fx:Declarations>
    If you now try to execute the code, you will find that you can only insert one person, where each successive addition silently fails.
    There is nothing really wrong with the php code (well actually since it's auto incrementing on id you should pull all id reference out of the insert statements...) rather there is a problem with the flex people object.
    If you make the following changes the code will work
    protected function button_clickHandler(event:MouseEvent):void {
      var myPerson:People = new People();
      myPerson.first_name = people.first_name;
      myPerson.last_name = people.last_name;
      myPerson.age = people.age;
      createPeopleResult.token = peopleService.createPeople(myPerson);
    - e

  • A difficult problem with php code and sql code

    it's good place to visit(Paged Result Sets with PHP and Oracle)
    http://www.oracle.com/technology/pub/articles/oracle_php_cookbook/fuecks_paged.html
    maybe below part php code could not be used in above address's php code.
    if((isset($l_company) and $l_company != $rows['COMPANY']) or empty($stmt) and empty($total_pages) ) {
    echo "<tr bgcolor='#CCFFCC'>";
    echo "<td colspan= 3 align='center'>".$l_company."</td>";
    echo "<td >".$totalcomany." </td>";
    $totalcomany = 0;
    echo "<td > </td>";
    echo "</tr>";
    $l_company = $rows['COMPANY'];
    because the same company in one page could calculate sum while if
    the same company in two pages could not do that.
    and what do you think of ?
    thanks !

    Hi,
    this is because your sql-statement selects only the rows, you need to build this one page.
    Neither php nor the given result from your query knows about data wich will be part of the result of another page.
    Greetings from Hamburg
    Thorsten Körner

  • Region.addObserver Problem with PHP Files

    Hi,
    I try to load a Dynamic XML via PHP Files.
    everything works fine. but when i use a Region.addObserver
    the callback function dont trigger.
    It only happen with php Files.
    My code is
    quote:
    <script language="JavaScript" type="text/javascript"
    src="{{server}}/includes/xpath.js"></script>
    <script language="JavaScript" type="text/javascript"
    src="{{server}}/includes/SpryData.js"></script>
    <script language="JavaScript" type="text/javascript">
    var lastSharing = new
    Spry.Data.XMLDataSet("{{server}}/lastSharing.xml", "lastSharing");
    var categories = new
    Spry.Data.XMLDataSet("{{server}}/getCategories.php?user={{user}}",
    "categories/category");
    var tags = new
    Spry.Data.XMLDataSet("{{server}}/getTags.php?user={{user}}",
    "tags/tag");
    var posts = new
    Spry.Data.XMLDataSet("{{server}}/getLastUserPosts.php?user={{user}}",
    "data/fav");
    function onComplete(notificationType, notifier, data)
    if (notificationType == "onPostUpdate")
    div = document.getElementById(data['regionID'])
    div.style.visibility = "visible";
    Spry.Data.Region.addObserver("usertags", onComplete);
    Spry.Data.Region.addObserver("links", onComplete);
    Spry.Data.Region.addObserver("links2", onComplete);
    Spry.Data.Region.addObserver("posts", onComplete);
    </script>
    {{server}} and {{user}) obvious are fake. here the callback
    function is trigger when the file
    var lastSharing = new
    Spry.Data.XMLDataSet("{{server}}/lastSharing.xml", "lastSharing");
    is loaded but nothing happens with the other, the 4 DIVS
    exist.
    in the php file i use something like that:
    quote:
    private function doXml($data)
    header('Content-Type: text/xml');
    echo "<categories>\n";
    foreach($data as $catego)
    echo
    "<category><![CDATA[".$catego['nombre']."]]></category>\n";
    echo "</categories>\n";
    Any idea??
    thanks.

    That is really strange that it works when things are flat XML
    files and not in the case where it's PHP, the code paths are the
    same, and the Spry code is unaware of the source of the XML.
    Perhaps you can enable region debugging and see what's going
    on. Add this above all your data sets:
    Spry.Data.Region.debug = true;
    Do you see any messages like:
    "Generated region markup for usertags ..."
    "Generated region markup for links ..."
    If not, then something is choking Spry before the
    notification is fired.
    --== Kin ==--

  • Problem with php processing page

    I am new to php and have created a form for my website online.  When testing upon submit the form goes to my email fine with all the fields coming in correct.  The problem I am having is the processing form is also sending a blank email along with the correct one and also i get at least one blank email a day.  I am not sure where I need to add something into my code or if it is just the users hitting submit without anything filled out. Also any tips and advice on how to prevent email injection would be much helpful. I have read up on this and not really sure where to add protection code. Thanks for the replies they will be much appreciated. 
    Here is the code from the php process page:
    <?php
    /* Subject and Email Variables */
    $emailSubject = 'Online Order';
    $webMaster = '[email protected]';
    /* Gathering Data Variables */
         $competition = $_POST['competition'];
         $product = $_POST['product'];
         $eventcitytwoField = $_POST['eventcitytwo'];
         $eventstateField = $_POST['eventstate'];
         $eventdateField = $_POST['eventdate'];
         $eventdatetwoField = $_POST['eventdatetwo'];
         $routineoneField = $_POST['routineone'];
         $routinetwoField = $_POST['routinetwo'];
         $routinethreeField = $_POST['routinethree'];
         $routinefourField = $_POST['routinefour'];
         $routinefiveField = $_POST['routinefive'];
         $routinesixField = $_POST['routinesix'];
         $firstnameField = $_POST['firstname'];
         $lastnameField = $_POST['lastname'];
         $phoneField = $_POST['phone'];
         $email = $_POST['email'];
         $shippingField = $_POST['shipping'];
         $shippingstateField = $_POST['shippingstate'];
         $zipcodeField = $_POST['zipcode'];
         $cctypeField = $_POST['cctype'];
         $ccnumberField = $_POST['ccnumber'];
         $expdateField = $_POST['expdate'];
         $expyearField = $_POST['expyear'];
         $billingaddressField = $_POST['billingaddress'];
         $billingcityField = $_POST['billingcity'];
         $billingstateField = $_POST['billingstate'];
         $billingzipField = $_POST['billingzip'];
         $commentsField = $_POST['comments'];
    $body = <<<EOD
    <br><hr><br>
    Competition: $competition <br>
    Product: $product <br>
    Event City: $eventcitytwo <br>
    Event State: $eventstate <br>
    Event Month: $eventdate <br>
    Event Day: $eventdatetwo <br>
    Routine One: $routineone <br>
    Routine Two: $routinetwo <br>
    Routine Three: $routinethree <br>
    Routine Four: $routinefour <br>
    Routine Five: $routinefive <br>
    Routine Six: $routinesix<br>
    First Name: $firstname <br>
    Last Name: $lastname <br>
    Email: $email <br>
    Phone Number: $phone <br>
    Shipping Address: $shipping <br>
    Shipping State: $shippingstate <br>
    Shipping Zip: $zipcode <br>
    Credit Card Type: $cctype <br>
    Credit Card Number: $ccnumber <br>
    Exp Month: $expdate<br>
    Exp Year: $expyear <br>
    Billing Address: $billingaddress <br>
    Billing City: $billingcity <br>
    Billing State: $billingstate <br>
    Billing Zipcode: $billingzip <br>
    Comments: $comments <br>
    EOD;
         $headers = "From: $email\r\n";
         $headers .= "Content-type: text/html\r\n";
         $success = mail($webMaster, $emailSubject, $body, $headers);

    You are not posting the data to a database, so you have fewer security concerns, but you SHOULD post to a database because as it is now, you probably have to re-enter all that data that comes in through the email. You can have the data sent to a database and then emailed in the same script.
    For form security, validate some fields using REGEX. The email address is an obvious one. You can also require that some fields be filled in, which will eliminate your blank submissions. Use CSS to hide a "dummy" field. Visitiors won't see it but spambots will see it and fill it out. Create a routine upon submission that rejects any submission that doesn't have that field blank. If you do change your form to post to a database, don't post to $_SERVER['PHP_SELF'] as that is not secure.
    You asked a big question and I just gave you some pointers above. Use the security forum at the following website for help with security issues:
    http://forums.devnetwork.net/index.php

  • Problem with PHP not working and Extra space in form I can't get rid of

    This is my first time doing a form, much less using php. I would appreciate your help on the problems below.
    1. in the form when you go to the website there is too much vertical spacing between the form fields.
    2.the Message field has script inside that vistors can see.
    3. on hitting the submit button it redirects me to a blank page and not the thankyou.html page that I had created.
    4. the form doesn't send the email to [email protected]
    Website URL: http://stickmancustoms.com/contact.html
    <!-- FORM CODE STARTS HERE -->
    <?php session_start(); ?>
    <?php
    if (array_key_exists('submit', $_POST)) {
        // check name field
    $name = trim($_POST['name']);
    if (empty($name)) {
        $error['name'] = 'Please provide your first name';
    elseif ($name == 'Please provide your first name') {
        $error['name'] = '';
    $_SESSION['name'] = $_POST['name'];
    // check phone field
    $phone = trim($_POST['phone']);
    if (empty($phone)) {
        $error['phone'] = 'Please provide your last name';
    elseif ($phone == 'Please provide your last name') {
        $error['phone'] = '';
    $_SESSION['phone'] = $_POST['phone'];
    // check email field
    $email = trim($_POST['email']);
    if (empty($email)) {
        $error['email'] = 'Please enter your email address';
    elseif ($email == 'Please enter your email address') {
        $error['email'] = '';
    $_SESSION['email'] = $_POST['email'];
    // check enquiry field
    $message = trim($_POST['message']);
    if (empty($message)) {
        $error['message'] = 'Please enter your message details';
    elseif ($message == 'Please enter your message details') {
        $error['message'] = '';
    $_SESSION['message'] = $_POST['message'];
    if (!empty($_POST['ufo'])) { return false; }
    // recipient
    $to = "[email protected]"; //email address -- change to your own email address
    // email subject
    $subject = "I am interested in your services, please contact me";
    // sender
    $sender = "From: ".$_POST['email']."\r\n";
    // build message
    $enquiry = "First Name: $name\n\n";
    $enquiry .= "Last Name: $phone\n\n";
    $enquiry .= "Email Address: $email\n\n";
    $enquiry .= "Message: $message\n\n";
    // send email if no form erorrs
    if (!isset($error)) {
    mail($to, $subject, $enquiry, $sender);
    header("Location: thankyou.html");        //Redirect page -- change to your own page
    ?>
    CONTACT WEB PAGE CODE BELOW
    <!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="auto repair, accident damage, custom paint, customization, car repair, paint job, hot rod, motorcycle, cycle, bike, chopper"
    content="At StickMan Customs we give personal service with a smile. With more than 20 years experience in auto repair and customization you can be confident that we will meet your expectations and beyond. " />
    <meta name="google-site-verification" content="-41pB0MQUYT1Vbv1SId8WcU2lqEmFf0u23Sl3NY24CE" />
    <title>Stickman Customs</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="smc.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:visited {
        color: #F4781E;
    -->
    </style>
    </head>
    <body bgcolor="#000000">
    <table width="936" height="200" border="0" align="center">
      <tr>
        <td height="196" valign="top"><p class="style1"><a href="index.html" target="_self"><a href="index.html" target="_self"><img src="images/smcbanner.jpg" width="936" height="194" border="0" usemap="#Map" /></a>
            <map name="Map" id="Map">
              <area shape="rect" coords="97,7,289,190" href="index.html" target="_self" />
              <area shape="rect" coords="290,156,380,189" href="about.html" target="_self" />
              <area shape="rect" coords="396,159,550,190" href="repair.html" target="_self" />
              <area shape="rect" coords="561,159,619,190" href="cars.html" target="_self" />
              <area shape="rect" coords="627,159,703,188" href="cycles.html" target="_self" />
              <area shape="rect" coords="711,160,885,190" href="projects.html" target="_self" />
              <area shape="rect" coords="734,23,917,78" href="contact.html" target="_self" />
              <area shape="rect" coords="786,175,787,176" href="#" />
            </map>
          </p>
          <table width="936" border="0" align="center" cellpadding="5" cellspacing="5">
            <tr>
              <td width="512" height="450" valign="top"><p class="Headers"><img src="images/car1.jpg" width="432" height="432" /></p></td>
              <td width="389" height="450" valign="top"><form id="enquiryForm" name="enquiryForm" method="post" action="contact.php">
                  <h1><span class="BodyBold">Contact Us </span></h1>
                  <h1> <span class="BodyCopy">*Required Information </span></h1>
                  <h1><span class="BodyBold">
                    <label for="Name">Name* </label>
                    </span>
                    <input type="text" name="name" id="name" <?php if(isset($error['first_name'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($name)) {echo $name;} ?><?php if(isset($error['first_name'])) echo $error['name']; ?>" onfocus="this.value=''" />
                  </h1>
                  <p>
                    <label for="Name" class="BodyBold">Phone* </label>
                    <input type="text" name="phone" id="phone" <?php if(isset($error['phone'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($phone)) {echo $phone;} ?><?php if(isset($error['phone'])) echo $error['phone']; ?>" onfocus="this.value=''" />
                  <p>
                    <label for="email" class="BodyBold">Email* </label>
                    <input type="text" name="email" id="email" <?php if(isset($error['email'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($email)) {echo $email;} ?><?php if(isset($error['email'])) echo $error['email']; ?>" onfocus="this.value=''" />
                  <p style="padding-bottom: 0;">
                    <label for="enquiry" class="BodyBold">Message*</label>
                    <br />
                    <textarea name="message" id="message" <?php if(isset($error['message'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> onfocus="this.value=''"><?php if(isset($message)) {echo $message;} ?><?php if(isset($error['message'])) echo $error['message']; ?>
              </textarea>
                  </p>
                  <p>
                    <input type="text" name="ufo" style="display: none;" />
                    <input type="submit" id="submitButton" name="submit" value="Submit" />
                  </p>
    </form></td>
            </tr>
          </table></td>
      </tr>
    </table>
    <table width="936" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><div align="center">
            <div align="center" class="bottomlinks">
              <p><a href="about.html" target="_self"><br />
                ABOUT US <img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="repair.html" target="_self">ACCIDENT REPAIR</a><a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cars.html" target="_self">CARS</a><a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cycles.html" target="_self">CYCLES</a><a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="projects.html" target="_self">SPECIAL PROJECTS</a></p>
              <p class="Address_Text">StickMan Customs<br />
                800 Mooresville Rd, Kannapolis, NC 28081<br />
                704.699.5110 </p>
            </div>
            <p class="style74"><span class="atb_text">Designed &amp; Hosted by</span><br />
              <a href="http://www.abovethebarrdesign.com" target="_self"><img src="images/atbd.jpg" alt="1" width="155" height="77" border="0" /></a><br />
            </p>
          </div></td>
      </tr>
    </table>
    </body>
    </html>
    <!-- text below generated by server. PLEASE REMOVE -->
    <!-- Counter/Statistics data collection code -->
    <script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">geovisit();</script>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <noscript>
    <img src="http://visit.webhosting.yahoo.com/visit.gif?us1262644054" alt="setstats" border="0" width="1" height="1" />
    </noscript>
    </html>

    The below should work for you.
    As Jon points out the page has to be a .php page NOT a .html page.
    The idea is that the page gets sent back to itself and the form information is processed then sent to the email address if there are no errors detected.
    The unusual gaps in the form were being caused by unclosed tags amongst other things - hopefuly I put some of it right for you.
    Copy all of the below and save it as contact.php - Obviously your server needs to support php for it to work, most do. I have not specified your email address in the php as it attracts spam from the forum so re-instate it where the xxxxxxx are.
    <?php
    if (array_key_exists('submit', $_POST)) {
    // check name field
    $name = trim($_POST['name']);
    if (empty($name)) {
    $error['name'] = 'Please provide your name';
    elseif ($name == 'Please provide your name') {
    $error['name'] = '';
    // check phone field
    $phone = trim($_POST['phone']);
    if (empty($phone)) {
    $error['phone'] = 'Please provide your phone number';
    elseif ($phone == 'Please provide your phone number') {
    $error['phone'] = '';
    // check email field
    $email = trim($_POST['email']);
    if (empty($email)) {
    $error['email'] = 'Please enter your email address';
    elseif ($email == 'Please enter your email address') {
    $error['email'] = '';
    // check enquiry field
    $message = trim($_POST['message']);
    if (empty($message)) {
    $error['message'] = 'Please enter your message details';
    elseif ($message == 'Please enter your message details') {
    $error['message'] = '';
    if (!empty($_POST['ufo'])) { return false; }
    // recipient
    $to = "xxxxxx@xxxxxxxxxxxxxx"; //email address -- change to your own email address
    // email subject
    $subject = "I am interested in your services, please contact me";
    // sender
    $sender = "From: ".$_POST['email']."\r\n";
    // build message
    $enquiry = "Name: $name\n\n";
    $enquiry .= "Phone Number: $phone\n\n";
    $enquiry .= "Email Address: $email\n\n";
    $enquiry .= "Message: $message\n\n";
    // send email if no form erorrs
    if (!isset($error)) {
    mail($to, $subject, $enquiry, $sender);
    header("Location: thankyou.html");  //Redirect page -- change to your own page
    ?>
    <!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="auto repair, accident damage, custom paint, customization, car repair, paint job, hot rod, motorcycle, cycle, bike, chopper"
    content="At StickMan Customs we give personal service with a smile. With more than 20 years experience in auto repair and customization you can be confident that we will meet your expectations and beyond. " />
    <meta name="google-site-verification" content="-41pB0MQUYT1Vbv1SId8WcU2lqEmFf0u23Sl3NY24CE" />
    <title>Stickman Customs</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="http://stickmancustoms.com/smc.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:visited {
        color: #F4781E;
    -->
    </style>
    </head>
    <body bgcolor="#000000">
    <table width="936" height="200" border="0" align="center">
      <tr>
        <td height="196" valign="top"><p class="style1"><a href="index.html" target="_self"><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/smcbanner.jpg" width="936" height="194" border="0" usemap="#Map" /></a>
            <map name="Map" id="Map">
              <area shape="rect" coords="97,7,289,190" href="index.html" target="_self" />
              <area shape="rect" coords="290,156,380,189" href="about.html" target="_self" />
              <area shape="rect" coords="396,159,550,190" href="repair.html" target="_self" />
              <area shape="rect" coords="561,159,619,190" href="cars.html" target="_self" />
              <area shape="rect" coords="627,159,703,188" href="cycles.html" target="_self" />
              <area shape="rect" coords="711,160,885,190" href="projects.html" target="_self" />
              <area shape="rect" coords="734,23,917,78" href="contact.html" target="_self" />
              <area shape="rect" coords="786,175,787,176" href="#" />
            </map>
          </p>
          <table width="936" border="0" align="center" cellpadding="5" cellspacing="5">
            <tr>
              <td width="512" height="450" valign="top"><p class="Headers"><img src="http://stickmancustoms.com/images/car1.jpg" width="432" height="432" /></p></td>
              <td width="389" height="450" valign="top"><form id="enquiryForm" name="enquiryForm" method="post" action="contact.php">
                  <p><span class="BodyBold">Contact Us </span></p>
                  <p><span class="BodyCopy">*Required Information</span></p>
                  <p>
                    <label for="Name" class="BodyBold">Name* </label>
                    </span>
                    <input type="text" name="name" id="name" <?php if(isset($error['name'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($name)) {echo $name;} ?><?php if(isset($error['name'])) echo $error['name']; ?>" onfocus="this.value=''" />
                  </p>
                  <p>
                    <label for="Name" class="BodyBold">Phone* </label>
                    <input type="text" name="phone" id="phone" <?php if(isset($error['phone'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($phone)) {echo $phone;} ?><?php if(isset($error['phone'])) echo $error['phone']; ?>" onfocus="this.value=''" />
                  </p>
                  <p>
                    <label for="email" class="BodyBold">Email* </label>
                    <input type="text" name="email" id="email" <?php if(isset($error['email'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> value="<?php if(isset($email)) {echo $email;} ?><?php if(isset($error['email'])) echo $error['email']; ?>" onfocus="this.value=''" />
                    </p>
                  <p>
                    <label for="enquiry" class="BodyBold">Message*</label>
                    <textarea name="message" id="message" <?php if(isset($error['message'])) echo "style='border: 1px solid #C00; color: #C00;'"; ?> onfocus="this.value=''"><?php if(isset($message)) {echo $message;} ?><?php if(isset($error['message'])) echo $error['message']; ?>
              </textarea>
                  </p>
                  <p>
                    <input type="text" name="ufo" style="display: none;" />
                    <input type="submit" id="submitButton" name="submit" value="Submit" />
                  </p>
    </form></td>
            </tr>
          </table></td>
      </tr>
    </table>
    <table width="936" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><div align="center">
            <div align="center" class="bottomlinks">
              <p><a href="about.html" target="_self">
                ABOUT US <img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="repair.html" target="_self">ACCIDENT REPAIR</a><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cars.html" target="_self">CARS</a><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="cycles.html" target="_self">CYCLES</a><a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a>| <a href="index.html" target="_self"><img src="http://stickmancustoms.com/images/space.jpg" alt="s" width="18" height="7" border="0" /></a><a href="projects.html" target="_self">SPECIAL PROJECTS</a></p>
              <p class="Address_Text">StickMan Customs<br />
                800 Mooresville Rd, Kannapolis, NC 28081<br />
                704.699.5110 </p>
            </div>
            <p class="style74"><span class="atb_text">Designed &amp; Hosted by</span><br />
              <a href="http://www.abovethebarrdesign.com" target="_self"><img src="http://stickmancustoms.com/images/atbd.jpg" alt="1" width="155" height="77" border="0" /></a><br />
            </p>
          </div></td>
      </tr>
    </table>
    </body>
    </html>
    <!-- text below generated by server. PLEASE REMOVE -->
    <!-- Counter/Statistics data collection code -->
    <script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/whv2_001.js" type="text/javascript"></script>
    <script language="JavaScript" type="text/javascript">geovisit();</script>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <noscript>
    <img src="http://visit.webhosting.yahoo.com/visit.gif?us1262644054" alt="setstats" border="0" width="1" height="1" />
    </noscript>
    </html>

  • Problem with a DDI Device driver for Solaris 8 and 9 on a Sun-Blade-1500

    The problem has to do with dma allocated memory and the little-endian format.
    When I copy blocks bigger than 256 bytes to the dma memory, using a uiomove() or bcopy(), the data after the first 32 bytes is swapped around over 8 bytes.
    The bcopy from a driver (stack) buffer into the dma virtual memory has the same affect.
    So it has to do with the kernel dma allocated memory and the endianess.
    When I set the byte order to big-endian inside the ddi_device_acc_attr the data seems to be alright, also with bigger transfer sizes.
    My device however needs the little-endian format.
    I have the same the same device driver running without any errors on a Sun Blade-150 Solaris 8 for a long time now.
    Can somebody please advise me?
    Data example,
    test data: 0x00,0x01,0x02,?.
    64, 128 or 256 bytes blocks:
    000: 07 06 05 04 03 02 01 00 0F 0E 0D 0C 0B 0A 09 08
    016: 17 16 15 14 13 12 11 10 1F 1E 1D 1C 1B 1A 19 18
    032: 27 26 25 24 23 22 21 20 2F 2E 2D 2C 2B 2A 29 28
    048: 37 36 35 34 33 32 31 30 3F 3E 3D 3C 3B 3A 39 38
    064: 47 46 45 44 43 42 41 40 4F 4E 4D 4C 4B 4A 49 48
    080: 57 56 55 54 53 52 51 50 5F 5E 5D 5C 5B 5A 59 58
    096: 67 66 65 64 63 62 61 60 6F 6E 6D 6C 6B 6A 69 68
    112: 77 76 75 74 73 72 71 70 7F 7E 7D 7C 7B 7A 79 78
    512 or 1024 bytes blocks:
    000: 07 06 05 04 03 02 01 00 0F 0E 0D 0C 0B 0A 09 08
    016: 17 16 15 14 13 12 11 10 1F 1E 1D 1C 1B 1A 19 18
    032: 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F <----- ?
    048: 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F <----- ?
    064: 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F <----- ?
    080: 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F <----- ?
    096: 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F <----- ?
    112: 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F <----- ?
    Code example, how I allocate the DMA (kernel) memory:
    DDI_STRUCTURE_LE_ACC = Little Endian format
    DDI_STRUCTURE_BE_ACC = Big Endian format
    static struct ddi_device_acc_attr sse_dma_attr =
    DDI_DEVICE_ATTR_V0, /* The version number of this structure */
    DDI_STRUCTURE_LE_ACC, /* see above */
    DDI_STRICTORDER_ACC, /* How CPU will reference data, default */
    The dma definitions for allocating the DMA memory
    static ddi_dma_attr_t dmaattr= {
    DMA_ATTR_V0, /* version */
    0, /* starting address for DVMA */
    0xffffffff, /* end address for DVMA */
    0xffffffff, /* max transfer count in one cookie */
    0x1, /* address restrictive alignment, 1 = byte alignment */
    0x7, /* burst sizes */
    1, /* min number of byes */
    0x00ffffff, /* max number of bytes device can transmit/receive */
    0xffffffff, /* upper bound of the DMA engine's address */
    1,
    512,
    0, /* DDI_DMA_FORCE_PHYSICAL doesn't work */
    ddi_dma_alloc_handle()
    if((ret=ddi_dma_alloc_handle(xsp->dip,
    &dmaattr,
    DDI_DMA_SLEEP,
    NULL,
    dmahandle_out)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_dma_alloc_memory, "
    "ERROR ddi_dma_alloc_handle status = %d\n",
    ret);
    return(ret);
    if((ret=ddi_dma_mem_alloc(*dmahandle_out,
    (uint_t) size,
    dma_acc_attr,
    DDI_DMA_CONSISTENT,
    DDI_DMA_SLEEP,
    NULL,
    (caddr_t *)&raw_kern_addr,
    &real_len,
    dma_acc_handle_out)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
    "ERROR ddi_dma_mem_alloc status = %d\n",
    ret);
    ddi_dma_free_handle(dmahandle_out);
    return(ret);
    This will also init the PCI - IOMMU for
    address translation.
    if((ret=ddi_dma_addr_bind_handle(*dmahandle_out,
    NULL,
    (caddr_t)raw_kern_addr,
    real_len,
    DDI_DMA_RDWR | DDI_DMA_CONSISTENT,
    DDI_DMA_SLEEP,
    NULL,
    &dma_cookie,
    &count)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
    "ERROR ddi_dma_addr_bind_handle status = %d\n",
    ret);
    ddi_dma_mem_free(dma_acc_handle_out);
    ddi_dma_free_handle(dmahandle_out);
    return(ret);
    if((ret=ddi_dma_sync(*dmahandle_out,
    0,
    real_len,
    DDI_DMA_SYNC_FORDEV)) != DDI_SUCCESS)
    cmn_err(CE_CONT, "ucr_ucr_dma_alloc_memory, "
    "ERROR ddi_dma_sync status = %d\n", ret);
    ddi_dma_unbind_handle(*dmahandle_out);
    ddi_dma_mem_free(dma_acc_handle_out);
    ddi_dma_free_handle(dmahandle_out);
    return(ret);

    I am having the similar problem identified in this thread.
    OS: Sun Solaris 10 01/06
    Hardware: Sun Blade 2500
    PCI Memory card.
    Problem: When driver moves more then 40 bytes via PIO from a PCI device memory card, the long words are swapped starting at 40 byte transfer size and greater.
    device memory description:
    static ddi_device_acc_attr_t sdram_access_attr =
    DDI_DEVICE_ATTR_V0, /* Boilerplate value */
    DDI_STRUCTURE_LE_ACC,
    DDI_STRICTORDER_ACC /* Don't reorder accesses */
    The user application does a read call, which goes to xxread. xxread calls physio( xxstrategy, bp, dev, B_READ, xxminphys, uio );
    In xxstrategy the transfer is done using
    ddi_mem_rep_get8(ucb->ucb_sdram_accHndl,
    (uint8_t*) kaddr,
    (uint8_t*) raddr,
    (size_t) bp->b_resid),
    (uint_t) DDI_DEV_AUTOINCR );
    PCI Device memory is loaded with incrementing address (8bit), 0,1,2... This is confirmed using a PCI Bus Analyzer.
    A read of 36 bytes or less returns:
    03 02 01 00 07 06 05 04 ...
    A read of 40 bytes returns:
    07 06 05 04 03 02 01 00 ...
    If I peek 1 byte at a time using ddi_get8(ucb->ucb_sdram_accHndl, ...) I get
    00 01 02 03 04 05 06 07
    Why are the long words swapped starting at 40 byte transfer size and greater?

  • Cherokee problem with php after upgrade

    Hello!
    Some weeks ago I upgraded cherokee to version 1.0.2.....!
    Now php files in  user directories http://localhost/~user/foo.php are processed correctly, but php files in the main server directory /srv/http give the
    following error message:     No input file specified.
    I have no idea, is anyone able to give advice?
    Thanks Johannes

    Hi,
    "Caused by: SOAP Fault Error (n.a) : The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.Bridge or the service was not found.
    " Usually means one of two things.
    1. You do not have SSO set up correctly between the portals.
    2. The user (LogonID) you are using does not exist on both portals.
    3. You have not used a fully qualified domain name to access the servers
    Easiest way to check would be to logon to your consumer portal with a fresh browser. Then replace the URL with the producer's URL (Be sure to use the domain name that will enable the mySAPSSO2 cookie to be transfered by the browser to the producer. If you got a logon screen then you have probably one of the three problems mentioned above.
    Be sure to check SAP note#1083421 which describes a new tool (As of SP14!)  to be used to setup SSO/trust between servers. Perhaps you need to set up the SSO again with this tool.
    Hope this helps,
    Oren

  • Performance problem with SQL in NT vs. Solaris

    Hi, I am using the thin driver in classes12.zip. The 8.1.5 server runs on a solaris box. With the same code executing the same sql statement against the same database using the same version of JRE, Statement.execute() takes 5-10 times longer on a solaris client then a NT client. The other java code doesn't show any noticeable performance degradation. Has anyone seen this problem before? Thanks in advance.

    JDK1.3.0 on NT and JDK1.2.2/JDK1.3.0Beta on Solaris (tried both jdk on solaris, pretty much the same result). The network set up is this:
    1 Oracle Server (8.1.5)
    1 Web Server (Alliaire JRun, running servlets, communicates with oracle server via JDBC thin driver)
    a couple clients using explorer or netscape
    The problem is actually the web server. When the webserver is installed on NT, a sql call (stmt.executeUpdate(sql) for example) takes say 10 seconds, the same call will take twice as long or more on Solaris. The reason why I don't think JRun solaris/NT version makes that much of a difference is that besides the JDBC calls, all the other java codes completes at about the same rate.
    null

  • Instant Client problem with php 5.1.4 install

    Hello,
    I'm trying to get my php 5.1.4 compiled using the oracle 10.2.0.1 instant client.
    I configure the php install with the following ..
    ./configure --with-apxs2=/usr/local/apache2/bin/apxs
    prefix=/usr/local/apache2/php with-ldap
    with-oci8=instantclient,/usr/lib/oracle/10.2.0.1/client/lib enable-sigchild
    --with-config-file-path=/usr/local/apache2/conf
    However during the make ( towards the end ) i get the following ....
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `__ctype_toupper_loc@GLIBC_2.3'
    /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `__ctype_tolower_loc@GLIBC_2.3'
    collect2: ld returned 1 exit status
    make: *** [sapi/cli/php] Error 1
    Any help would be appreciated
    Thanks

    I've got the same problem, running on redhat 7.3, using gcc 3.43, php 5.1.4, instant client 10.2, installed via unzipping the oracle instant clients and being run on apache 1.33. I didn't 'link to pthreads' as I'm not sure what you have to do in order to do this linking. I just run php's configure, make install and let it go and it dies.
    Any help would be appreciated.

  • Problems with Factory CXmlCtx, xmlnode class on Solaris

    Hi,
    I am using Oracle 10g XDK and Iam facing the following problem in Solaris (this works fine in IBM AIX and HP-UX).
    CXmlCtx* ctxp = new CXmlCtx();
    Factory< CXmlCtx, xmlnode>* fp;
    fp = new Factory< CXmlCtx, xmlnode>( ctxp);
    parser->domparser = fp->createDOMParser(DOMParCXml, NULL);
    The code dumps a core at the 4th line (createDOMParser) function. The code was compiled with SunWSPro compiler /opt/SUNONE8/SUNWspro/bin/cc.
    Any pointers to the resolution of this issue will be appreciated.
    Thanks

    Yes, that is the Factory pattern you describe. The client programs are going to call your createFoo() method and get back an instance of a subclass of Foo. Typically this pattern is used where there is some external entity that determines what subclass will be returned -- for example a system property -- and the client programs call createFoo() with no arguments. In this case reflection is used to create the instance, and your base class does not need to know anything about any subclasses.
    However, if your client programs can influence the choice of subclass, then they will have to pass some kind of parameter into createFoo(). At this point, createFoo() requires some decision logic that says "create this, or that, depending on the input parameter". And if that parameter is simply a code that enables the client programs to say "Give me a ChocolateFoo instance", then returning "new ChocolateFoo()" is the most straightforward design. But in this case, why can't the client program do that?
    If you don't like the base class having to know about subclasses (and you shouldn't be happy if it does), then you could have a helper class -- FooFactory -- that contains only the static method createFoo(). This class would know about Foo, and about any of its subclasses that it can produce instances of. It's still a maintenance point, no avoiding that, but at least it is off by itself somewhere.

Maybe you are looking for

  • Firefox 4.0 no "manage bookmarks" no import html bookmarks?

    When I go to your help files the answers are for versions prior to 4.0 In 4.0 there is no "manage bookmarks" selection on the menu. I want to import .html bookmark lists and .nab but all that comes up is IE.

  • DG primary and standby audit

    Hi Saurab/Ashide 11.2.0.1 Aix 6.1 I have set audit to OS my primary db PROD as follows: *.audit_file_dest='/var/log/oracle/prod' *.audit_sys_operations=TRUE *.audit_trail='OS' *.audit_syslog_level='LOCAL5.INFO' Is it ok not to setup the standby? or l

  • XML content parsed incorrectly

    Hello, Using HTTPService I read in an XML file containing hexadecimal values. However, it seems like Flex is trying to convert those to numbers. Now it doesn't throw an error, but in case of a value like '660528E7' it is turned into '6605280000000',

  • Problem when working with Answers

    Hello all, When I am trying to display the resultset of the Query in the form of a Chart it gives me the following error,"An error occurred during execution of "connect". No connection could be made because the target machine actively refused it. [So

  • Please help - strange beeping in hp pavilion dv6 6c10us laptop (windows 7 64-bit)

    I posted about this problem several days ago, but no one responded. It hasn't gone away, and I'm beginning to get worried. My laptop is randomly emitting a high-pitched beep from the area of the fan. It sounds kind of like an alarm or a notification,