Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle and PHP question
For a start you shouldn't use the OCI_* functions in PHP. Try using the
ORA_* functions as they are more recent.
A key to using these functions is to remember to set the ORACLE_HOME and ORACLE_SID environmental variables in your script. AFter that you should cruise through it.
The php.net manual has examples of how to use the Oracle functions, however if this is difficult you might try and use the PEAR or PHPLIB database abstractions...there are a number of others Google could tell you about.
Cheerio
damorgan wrote:
> As this is an Oracle usenet group, not a SQL Server one, I am can not fathom > your assumption that I, or most anyone else here, would know what > functionality you need. > > So either post an explanation of what you are trying to do in English or > look at REF CURSORS. Which is my best guess as to what you want. > > But a bit of caution is due. Oracle is not just another brand of SQL Server. > The architecture is completely different. If you are thinking you are going > to recreate what you've already done replacing functinality 'A' in SQL > Server with functionality 'B' in Oracle you are going to make a big mess. > And please blame it on yourself ... not on Oracle. > > Daniel Morgan > > > Michael Segulja wrote: > >