Php on machine1 accesses oracle8i from machine2

Hi all of U
I trying to use 2 separate machine. On one i am placing php3 and apache and Oracle8i on another. Now the problem is how do i use my php3 pages to connect to Oracle8i which is residing on another machine.
Kindly help me if anybody as tried this.
Thank you.
Edwin
email:[email protected]

hi Pete Gajria
Thanks for UR suggestion but it still gives me problem when i compile with --oci8 parameter...
it says oci.h file does not exists...
and also give me the exact path of www.php.net where it is documented.
Thanks
eDWIN
email:[email protected]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pete Gajria:
heres the correct way
machine 1 -- oracle 8i database
machine2 -- apache + php3 / 4
you must compile & link in php using
the --oci8 param so it will link in the oracle libs. then php can be used to make
oci calls. this is documented at www.php.net
good luck :)
pete<HR></BLOCKQUOTE>
null

Similar Messages

  • Accessing Oracle8i CORBA from C++ client

    Did anybody successfully wrote C++ CORBA client that uses Oracle8i CORBA object? If so, some examples would be greatly appreciated.
    According to documentation it is possible to access Oracle8i CORBA object from any CORBA client including C++, but it doesn't say how. Even "pure corba" java example that you can find on Oracle8i CD uses some proprietary "aurora" classes.
    Please help.
    Anatoliy Chikhalenko
    [email protected]

    Thank u for taking care of me
    But the hint given by u is not apt to my query.
    If any new suggestion pls send again

  • Can't connect to Oracle8i from Netscape Webserver 4.1

    Can't connect to Oracle8i from Netscape WebServer 4.1 (linux 6.1)
    From the application dbadmin (in WebServer) I get
    Database.MajorErrorCode=4 [DBNOTFOUND] no access library for 'libnsrwora.so'
    Please help.....
    Thanks
    [email protected]
    null

    Check the ARBOPATH setting in environment variables and make sure you have a 32 bit Essbase client path .

  • I cant access facebook from my cell.It keeps giving me unsupported content type.

    I cant access facebook from my cell.It keeps giving me unsupported content type.
    LG - EnV2

    Issue finally resolved reported to facebook last night via
    https://www.facebook.com/help/contact.php?show_form=mobile_bug
    Finally about to access facebook on En2 Phone after two days

  • How to access playlist from pc that died

    I can't access the hard drive on my old pc to pull my playlist. My ipod has my playlist, but i don't want to hook it up to my new pc because i fear it will wipe all my songs off my ipod. Best Buy was able to pull all my files off my hard drive, but i can't find any itunes files.
    Any ideas how to use my ipod to import my playlist to itunes on my new pc? Is there a way to back up my ipod first to make sure i don't lose all my music?
    Thank you.

    Copy from iPod to PC
    It is important not to allow your iPod to sync with an empty library. If it is set to synchronise automatically you will get a message saying your iPod is linked to a different library and asking if you want to sync – it is important to press cancel as syncing with an empty library erases all music from your iPod.
    You can also prevent auto sync by holding down shift & ctrl as you plug in your iPod and keeping the keys held down until the iPod appears in iTunes.
    Once you are connected, you need to set your iPod to manage music manually.
    http://support.apple.com/kb/HT1535
    If you have an iPod with iTunes Store purchases on it, you can use it to copy your purchases to other authorized computers.
    http://support.apple.com/kb/HT1848
    However this is not allowed for other music.
    This MacMuse tip tells you how to copy music from your iPod using Windows Explorer, but it is a bit fiddly:
    http://discussions.apple.com/messageview.jspa?messageID=797432
    Otherwise you can use third party software to manage the transfer, there are a variety of programs out there, some free and some that will copy ratings and counts as well as the music files. Here is a selection, check them out and see what suits you.
    http://www.yamipod.com/main/modules/home/
    http://www.floola.com/modules/wiwimod/index.php?page=WiwiHome
    http://www.ipodsoft.com/site/pmwiki.php?n=igadget.Homepage
    http://www.copytrans.net/
    For a more complete list see:
    http://en.wikipedia.org/wiki/Comparisonof_iPodmanagers
    There is a useful background article on copying from your iPod here:
    http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/

  • I can't access email from my iPhone 3gs since changing email password

    Hi all,
    iPhone 3s 16GB
    iOS version: 6.1.3
    ISP Bigpond Cable
    I can't access my email from my iPhone 3GS.
    This is an iPhone problem, not an ISP problem.
    I know this because I can access my email from both my laptop and webmail.
    This is occurring here at home via my WiFi network and also a few kilometres away via 3G.
    This morning I had to change the password on my Bigpond Cable internet email account.
    Whenever I try to access email from my phone I receive the following error:
    "Cannot Get Mail"
    "The user name or password for "**** *****" is incorrect."
    There are two buttons, one captioned Settings the other OK.
    Both the user name and password are correct. This happened perhaps 4 or 5 times in the 6+ years I was with Internode and has happened a couple of times in the 20 months that I've been on Bigpond Cable.
    I have re-entered my email account and connection details multiple times to no avail.
    I have tried deleting the account, then rebooting my phone and creating a new account, but that didn't work.
    I tried deleting the account, turning the phone completely off, waiting one minute and then after turning it back on, creating a new account but that didn't work.
    I know I am entering the correct settings because before I deleted the account the first time, I took a series of screen captures from the Settings App and I also have the settings from MS Outlook to refer to.
    Its as though somewhere in the phone, the old email password is being stored and being used instead of the new one, but I don't know where that could be except in the Settings app, "Mail, Contacts, Calendars" and that is where I am entering the new password.
    The only solutions to this problem I found by searching are those that I have already tried and haven't worked for me.
    Reverting to the old password is not an option. My account was compromised by Malware, hence the password change and a complete scan of my laptop.
    Any ideas?

    The problem was resolved by erasing the entire contents of my phone and then restoring it, setting it up as a new phone.

  • APEX Application accessing data from two different databases

    Hi All,
    Currently as we all know that APEX Application resides in database and is connected to the schema of that database.
    I want APEX Application to be running and accessing data from two different databases. Elaborating my question,
    Currently, my APEX Production Application is connected with XXXX Schema of DB1 Database(Where APEX Resides). Now I want to add some pages into this APEX Application for REPORT Purpose, But I want to connect this REPORT APEX Pages to get data from Different Schema YYYY for Database DB2.
    Is it possible to configure this scenario?
    The reason for doing this is to avoid the REPORT related (adhoc queries) resource utilization effect on Production DB1 Database.
    Thanks
    Nil

    1. If you do the joining of two or more tables in DB1 then all data is pulled over to DB1 and then the join is executed: so more data over the databaselink and more work for DB1. Better keep the joining stuff where the data resides and just pull exactly that data over that you need.
    2. Don't know about your different block sizes. Seems a nice question for one of the other forums (DBA or SQL).
    3. I mean create synonyms on DB1 for reports VIEWS in DB2.
    Hope all is clear!

  • Unable to access values from database in login page..

    Hey all,
    Friends I have a login.jsp page and I want if i enter username and password then it will be accessed from database and after verifying the details it will open main.jsp.I made a database as "abc" and created DSN as 1st_login having table 1st_login. But the problem is that I am unable to access values from database.
    So Please help me.
    Following is my code:
    <HTML>
    <body background="a.jpg">
    <marquee>
                        <CENTER><font size="5" face="times" color="#993300"><b>Welcome to the"<U><I>XYZ</I></U>" of ABC</font></b></CENTER></marquee>
              <br>
              <br>
              <br>
              <br><br>
              <br>
         <form name="login_form">
              <CENTER><font size="4" face="times new roman">
    Username          
              <input name="username" type="text" class="inputbox" alt="username" size="20"  />
              <br>
         <br>
              Password          
              <input type="password" name="pwd" class="inputbox" size="20" alt="password" />
              <br/>
              <input type="hidden" name="option" value="login" />
              <br>
              <input type="SUBMIT" name="SUBMIT" class="button" value="Submit" onClick="return check();"> </CENTER>
              </td>
         </tr>
         <tr>
              <td>
              </form>
              </table>
    <%
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection connection = DriverManager.getConnection("jdbc:odbc:1st_login");
    Statement statement = connection.createStatement();
    String query = "SELECT username, password FROM 1st_login WHERE username='";
    query += request.getParameter("username") + "' AND password='";
    query += request.getParameter("password") + "';";
    ResultSet resSum = statement.executeQuery(query);
    //change: you gotta move the pointer to the first row of the result set.
    resSum.next();
    if (request.getParameter("username").equalsIgnoreCase(resSum.getString("username")) && request.getParameter("password").equalsIgnoreCase(resSum.getString("password")))
    %>
    //now it must connected to next page..
    <%
    else
    %>
    <h2>You better check your username and password!</h2>
    <%
    }catch (SQLException ex ){
    System.err.println( ex);
    }catch (Exception er){
    er.printStackTrace();
    %>
    <input type="hidden" name="op2" value="login" />
         <input type="hidden" name="lang" value="english" />
         <input type="hidden" name="return" value="/" />
         <input type="hidden" name="message" value="0" />
         <br>
              <br><br>
              <br><br>
              <br><br><br><br><br>
              <font size="2" face="arial" color="#993300">
         <p align="center"> <B>ABC &copy; PQR</B>
    </BODY>
    </HTML>
    and in this code i am getting following error
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:93: cannot find symbol_
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:93: cannot find symbol_
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:94: cannot find symbol_
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:95: cannot find symbol_
    4 errors
    C:\Project\SRS\nbproject\build-impl.xml:360: The following error occurred while executing this line:
    C:\Project\SRS\nbproject\build-impl.xml:142: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 6 seconds)

    As long as you're unable to compile Java code, please use the 'New to Java' forum. This is really trival.
    To ease writing, debugging and maintenance, I highly recommend you to write Java code in Java classes rather than JSP files. Start learning Servlets.

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • Accessing tables from different schema in CDS and AMDP

    Hi All,
    We are working on a HANA system which has several schema replicated from SAP R/3/Non SAP systems. We have BW 7.4 SP9 deployed on the same system and accessing the HANA views using latest BW virtual objects such as Open ODS , Composite providers etc.
    We are also using the BW system for few ABAP based data processing developments. We are currently accessing HANA views in ABAP programs by creating dictionary views based on external HANA views.
    We would like to however use recent possibilities of CDS and AMDP for better life cycle management of ABAP based solutions. The open SAP course on this subject was of very good help. Thanks a lot "open SAP team" for that. I would however have few open questions,
    As I understand AMDP gives us full flexibility of writing sql procedures within ABAP development environment, but can we access tables from different schema into AMDP code. If yes, then sample code would help.
    If the answer of first question is yes, then how do we manage transports between development and production systems where the schema names would be different. Currently in open HANA developments, such transport is manged using Schema mapping.
    Can I also use different schema tables in CDS views.
    We are updating few tables in ABAP dictionary after applying processing logic in ABAP program as detailed in step 1. With the new approach using AMDP, can we directly update database schema tables which will give us an optimization advantage.
    New ABAP HANA program interfaces are quite promising and we would like to use them to optimize many data intensive applications.
    Thanks & Regards,
    Anil

    Hi Anil,
    I can only answer 1. and 2. (and would be interested into 3. as well):
    1.
    Yes you can access tables from a different schema and also HANA views. In this case no 'using' is needed.
    Examples:
        RESULT = SELECT
        FROM
              "SAP_ECC"."T441V" AS t,
              "_SYS_BIC"."tmp.package/AFPO" AS a.
        WHERE ...
    2. In this case, if you need schema mapping: You could use HANA (projection) views which just forward to a different schema, also see example.
    Best regards,
    Christoph

  • Can i  access apps from itunes on my pc

    can i  access apps from itunes on my pc?
    I want to download my apps to my pc so I can clear some space on my iphone 4.
    Then I can use the space for other things e.g music.
    However at a later date I would like to access these apps and the data they have stored using my PC
    Is this possible?
    Or is this just another Mac problem?

    Most apps will store their data locally on the device. This can be restored from a backup when restoring the device, but if you remove the app any data associated with it is removed, and then subsequently purged from the device's rolling backup set on the next backup. If the app supports iTunes File Sharing you may be able to export its data to your computer, then reimport at a later date when you add the app back to your device.
    tt2

  • From my iPad I can print wirelessly in my office, but how do I print remotely via the web through my HP ePrint printer.  It is set up with an email address but i don't know how to access it from my iPad.

    I can print wirelessly in my office from my iPad, but how do I print remotely via the web to my HP ePrint printer.  The printer is set up with an email access address but I don't know how to access it from my iPad.

    Read through this for some information on how to do this:
    http://www8.hp.com/us/en/support-topics/mobile-printing/how-to-print-mobile-devi ces-ipad-iphone.html

  • I can't access iCloud, i keep getting a message to try again later. This is the first time i have tried to log into icloud. I  know my account is working, i want to access it from my macbook. I think its looking for my old icloud email, what to do?

    I can't access iCloud, i keep getting a message to try again later. This is the first time i have tried to log into icloud. I  know my account is working, i want to access it from my macbook. I think its looking for my old icloud email, what to do? I have a working apple id, i dont understand, could it be linked to an old account iD?

    Hi smccarrison,
    Thanks for visiting Apple Support Communities.
    You may find the steps in this article helpful with troubleshooting signing into iCloud:
    iCloud: Account troubleshooting
    http://support.apple.com/kb/TS3988
    All the best,
    Jeremy

  • I brought up my itunes through a friends laptop. I signed out thinking I could get on my home computer and still have my iTunes accessible, how do i access them from this computer? HELP

    I brought up my itunes through a friends laptop. I signed out thinking I could get on my home computer and still have my iTunes accessible, how do i access them from this computer? HELP

    Copy everything from the old computer or your backup copy of your old computer, to your new one.

  • How do I access  data from one user account to another?

    I want to access data from a different user account. How do I make all the files available?

    I have another post here in the forum that explains in detail about the rez problem. It was read by a lot of people with no responses. 1 thing that might be important is that I was using a Wacom drawing tablet when this problem started. I removed the Wacom software and no help.
    My Apple 23" Cinema display has very large icons but the display prefs says it is at 1920 x 1200. It's not just a low screen rez but the dock and all icons will scroll on the screen when I move the mouse.
    The resolution will not change to anything else. The rez is fine on other user names.
    I have booted from the Apple DVD and run disk repair, repaired disk permissions. Booted and run Tech Tool.
    Booted from the Disk Warrior cd and ran that.
    I have zapped the PRAM. I have plugged the display into the other port on the video card.
    When I change to the problem user name it is fine for about 1 second and then changes to the "problem". I have never seen this before and I have been using a Mac since 1990.
    It's a G-5. Dual 2.0 ghz. 2.5 gb ram. OS 10.5.8. Apple keyboard. Logitech mouse and
    Thanks.

Maybe you are looking for