[PHP] Re: adodb + oracle 8i

2003-03-17 Thread Philippe Saladin
> I´m triyng to use that, but I´m noting realize how to estabilish a conection > with oracle. > > I´m getting the folowing error: > > Fatal error: Call to undefined function: ora_plogon() in > e:\inetpub\wwwroot\hosted\EnsinoNet\php\adodb\drivers\adodb-oracle.inc.php > on line 105 > > > I´m triyng

Re: [PHP] Oracle to MySQL

2003-02-20 Thread Philippe Saladin
> I'm recalling this from memory, and I may not be 100% right, but it > should put you on the right path. You will need to install the Oracle > client libraries on the box with php (you can find these on the Oracle > discs used to install the actual database). Yes > correctly, the Oracle disc

[PHP] Re: Powerpoint presentations?!?

2003-02-07 Thread Philippe Saladin
> I've been asked to write code that will dynamically generate Microsoft > Powerpoint presentations. It has to assemble collections of pages, and > possibly substitute a word or phrase here and there (mailmerge style). > > There doesn't seem to be a published document describing Powerpoint file >

[PHP] Re: Security in included PHP files

2003-01-17 Thread Philippe Saladin
"Jacob Copsey" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > This should work as long as you are only including your include files from > scripts named index.php. Yes, of course. I have only one *real* page beginning with and ending with , called index.php, and depending

[PHP] Re: Security in included PHP files

2003-01-16 Thread Philippe Saladin
> directly. My main question is if all of the code inside an included PHP file > is put inside one or more functions this should prevent anyone from running > any of that code by directly calling that PHP file correct? There is no way > for them to invoke a function just from a URL assuming I have

[PHP] Re: Header information ...

2003-01-10 Thread Philippe Saladin
>"Anders mellström" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] >Hello. I can't get this code to work. The error message I get is that the header could be added, cause it has allready >been sent. What shalll I do to get it to work? Please have a look at http://www.php.net/ma

[PHP] Re: undefined variable notice - how to furn of

2003-01-10 Thread Philippe Saladin
>Everything works fine, just now I'm getting "Notice" messages for every undefined variable or undefined index in arrays.. >So now I have to use issset() everytime to avoid this messages... you would initialize your variables in the beginning of your scripts. With that, you don't need isset(). >.

Re: [PHP] Can you insert into $_POST manually?

2003-01-09 Thread Philippe Saladin
"Noel Wade" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Thanks - I understand that method; but I'm really looking for a way to pass > them without them being visible / mucking up the URL line with a buncha > stuff... (Note that even with a post, the data aren't really hid

Re: [PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
"Edward Peloke" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > using php, can I extract data from an access file? you can use odbc or com to connect to an access database. (http://www.php.net/manual/en/faq.databases.php#faq.databases.access) BTW, concerning your first questi

Re: [PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
> Would it be possible to use something like this to create a page that the > user can open up on their machine that would transfer data from an access > file on their machine to a mysql db on my server? If I understand well, you want to transfer data from Access to MySql ? 1) Could we imagine a

[PHP] Re: offline application

2002-12-19 Thread Philippe Saladin
> I have a database. And now I need to create something like offline > site with that database: ii means php pages, html and images. After > this I will burn all it to CD. And that CD should be working om every > machine (I suppose win32 as OS and php will be installed if needed). You would have a

Re: [PHP] How to send POST info without a form?

2002-10-02 Thread Philippe Saladin
> How can I submit POST information to a php file without using an HTML form? You would try this function (from Rasmus Lerdorf) function PostToHost($host, $path, $data_to_send) { $fp = fsockopen($host,80); fputs($fp, "POST $path HTTP/1.1\n"); fputs($fp, "Host: $host\n"); fputs($fp, "Content

[PHP] Re: Connect to oracle on another host

2002-10-02 Thread Philippe Saladin
> I've been writing PHP scripts for a long time but never needed to get data > from an Oracle database. Till now. - First, you need php compile with --oci - Then, you have to install the "oracle client". Note : you can't find the "oracle client" alone. you need to download the entire oracle (500M

[PHP] Re: PHP with Oracle

2002-10-02 Thread Philippe Saladin
> Warning: Unable to load dynamic library 'C:\PHP\extensions/php_oci8.dll' - there are slashes and backslashes in the string 'C:\PHP\extensions/php_oci8.dll'. it looks odd. May be you would have a look to include_path and extension_dir in php.ini ? Regards, Philippe -- PHP General Mailing Li

[PHP] Re: sessions nightmare

2002-09-11 Thread Philippe Saladin
Your variable in session is called "Item", so session_register("SESSION") is wrong. It should be session_register("Item"). But, as you use directly the new syntax ($_SESSION) to affect the variable, you don't need session_register. The variable "Item" will be automatically registered when you writ

Re: [PHP] Cookies - good or bad???

2002-07-18 Thread Philippe Saladin
> If you want 100% accessability, forget cookies were ever invented :) > While you're erasing stuff from your brain, throw out javascript too :D Some people don't have a fast access to internet. Very simple javascript to validate a form before submitting it can be IMHO still useful. But I agree t

[PHP] Re: ORACLE!!!

2002-06-18 Thread Philippe Saladin
> Which are the environment variables? (i.e. ORACLE_SID, ORACLE_HOME, etc) >I've using this kind of code, but it doesn't connect me to the server. >putenv("ORACLE_HOME=C:\Program Files\Ora81"); <-- Is this the home directory? > putenv("ORACLE_SID=SID"); Look in the windows registry to find what t

[PHP] Re: DATES in DIFFERENT LANGUAGES

2002-04-15 Thread Philippe Saladin
You would have a look to setlocale and strftime. Example, to have a French date : setlocale (LC_TIME, "fr"); echo strftime("%e %B"); // gives 15 avril Regards, Philippe "Declan Kenny" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hi all, > > Is it possible to get dates

[PHP] Re: Does anybody use UltraDev?

2002-03-24 Thread Philippe Saladin
People in my company use Dreamweaver for static pages, so it was evident for us to use Dreamweaver UltraDev (with PHAkt app server extension) to help building php pages. Nevertheless, in fact, we use UltraDev to design the pages (great tool for the layout), but often something like Html-Kit or Ult

[PHP] Re: OCILogin error message

2002-02-28 Thread Philippe Saladin
Have you stop / start your server ? or may be there are some dependencies needed? try to if a DLL is missing, using http://www.dependencywalker.com/ Regards, Philippe "Dharmesh Goradia" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hi, >I'm having trouble with conn

Re: [PHP] Re: DreamWeaver/PHP ability?

2002-02-07 Thread Philippe Saladin
I use DreamweaverUltraDev with the Interackt extension for several months. It was interesting for me at the beginning, to see how a functionnality could be coded in PHP (prev next, dynamic drop list, etc...), and because other people in my company, working on static pages, use Dreamweaver. But now

[PHP] Re: PHP/ Oracle 'undefined function'

2002-01-18 Thread Philippe Saladin
PHP has to be compiled with the oci8 support (built-in module). The oracle extension is the "old one", the newest is oci8. Regards, Philippe "Gkin" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > I get "undefined function" when I use PHP/Oracle-functions like ociconnect. > F

Re: [PHP] generating charts/graphics

2001-10-21 Thread Philippe Saladin
Phil Davis has developed HTML_graphs : it draws various html base charts. See his website at http://www.webguys.com/pdavis/programs/html_graphs/ Philippe "Mirek Novak" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Try this http://www.aditus.nu/jpgraph/ > > M.N. > --- > >

Re: Re[2]: [PHP] working with XML

2001-10-17 Thread Philippe Saladin
You would copy php_domxml.dll (found in php\extensions) to win\system32, or modify extension_dir in php.ini, AND uncomment the line extension=php_domxml.dll in php.ini. Regards, Philippe "Olexandr Vynnychenko" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hello Augusto, >

[PHP] Re: Sessions Variables and refresh pages

2001-10-02 Thread Philippe Saladin
is your web server a Microsoft one (IIS, PWS, ...) ? I'm not sure, but I think there is a known problem with them if you set a session variable and do a redirect in the same page. Can anyone confirm this ? Philippe "Karina Gómez Salgado" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL