RE: [PHP] Piping phpinfo();

2002-01-10 Thread Kraa de Simon
Maybe you could use: $fp = fopen ("http://yoursite/phpinfo.php";, "r"); See http://www.php.net/manual/en/function.fopen.php. Simon. > -Original Message- > From: Vaccius ITsec [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 11 januari 2002 8:04 > To: Rasmus Lerdorf > Cc: [EMAIL PROTECTED] >

RE: [PHP] Re: E-Commerce: go TEP

2002-01-08 Thread Kraa de Simon
BTW TEP is called osCommerce nowadays. http://www.oscommerce.com/ > -Original Message- > From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] > Sent: dinsdag 8 januari 2002 17:08 > To: Julio Nobrega Trabalhando > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: E-Commerce: go TEP > > > I h

RE: [PHP] Internal Server Error?

2002-01-06 Thread Kraa de Simon
This only works if PHP is installed as an Apache module on the Linux/UNIX platforms. >From the docs: One additional note about PHP: if PHP is installed as an Apache module on the Linux/UNIX platforms, there are additional global variables available to your PHP script: $PHP_AUTH_USER -- Authent

[PHP] HTML doc check in PHP? How to?

2002-01-05 Thread Kraa de Simon
Hi, I would like to be able to check html documents against a "template html document" using PHP. In the example below I would like to check if the document starts with a + string + , and is followed by a + "version" + ... etc. etc. Should/could I use XML? Any ideas would be greatly appreci

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-11-19 Thread Kraa de Simon
nal Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED]] > Sent: woensdag 31 oktober 2001 21:32 > To: Kraa de Simon; Php-General (E-mail) > Subject: RE: [PHP] Desperate: odbc_connect() does not work! > Please help! > > > Kraa, > > Sorry for the confusi

[PHP] Mail and mime and attachments

2001-11-02 Thread Kraa de Simon
Hi, I've read all docs on how to send multiple attachments with mime headers... But all I get is the headers in plain text in the resulting e-mail! No attachments at all! Could anyone give me short working example please... Thanks, Simon. -- PHP General Mailing List (http://www.php.net/) T

[PHP] Weekly reporting. How to?

2001-11-01 Thread Kraa de Simon
Hello, I want to send a weekly report to a mailinglist. I would like to automate the process and use a cron job to execute 'php.exe weekly.php' or something. I could gather the information, put it in a string and pass the string to mail(). But...is it also possible to "grab" the html output

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Kraa de Simon
. Thanks, Simon. > -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED]] > Sent: woensdag 31 oktober 2001 20:25 > To: Kraa de Simon; Php-General (E-mail) > Subject: RE: [PHP] Desperate: odbc_connect() does not work! > Please help! > > > Kraa, &g

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Kraa de Simon
gt; -Original Message- > From: Andrew Hill [mailto:[EMAIL PROTECTED]] > Sent: woensdag 31 oktober 2001 16:12 > To: Kraa de Simon; Php-General (E-mail) > Subject: RE: [PHP] Desperate: odbc_connect() does not work! > Please help! > > > Kraa, > > The 01000 error

RE: [PHP] PHP-arnings

2001-10-31 Thread Kraa de Simon
>From my php.ini: ;; ; Error handling and logging ; ;; ; error_reporting is a bit-field. Or each number up to get desired error ; reporting level ; E_ALL - All errors and warnings ; E_ERROR - fatal run-time errors ; E

RE: [PHP] Desperate: odbc_connect() does not work! My settings...

2001-10-31 Thread Kraa de Simon
OM_ODBC_LIBS-L/progress/dlc91/odbc/lib -lodbc -lodbcinst CFLAGS -I/progress/dlc91/odbc/include -I/usr/local/src/apache_1.3.19/include > -Original Message- > From: Kraa de Simon [mailto:[EMAIL PROTECTED]] > Sent: woensdag 31 oktober 2001 14:4

RE: [PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Kraa de Simon
So desperate I even forgot the attachment... > -Original Message- > From: Kraa de Simon [mailto:[EMAIL PROTECTED]] > Sent: woensdag 31 oktober 2001 14:40 > To: Php-General (E-mail) > Subject: [PHP] Desperate: odbc_connect() does not work! Please help! > > >

[PHP] Desperate: odbc_connect() does not work! Please help!

2001-10-31 Thread Kraa de Simon
Hi, When I execute: I get error: Warning: SQL error: , SQL state 01000 in SQLConnect in /usr/local/apache/htdocs/odbc.php on line 1 See attachment for phpinfo(). BTW 1 The ODBC config itself works fine. I can make a connection and retrieve data from the database using a tes

[PHP] Problem with --with-custom-odbc

2001-10-24 Thread Kraa de Simon
Hello, I configured PHP 4.0.5 with the --with-custom-odbc option. I get no errors but the odbc functions are not available. When I look at phpinfo() I can see that the configure command is: './configure' '--with-mysql' '--with-apache=../apache_1.3.19' '--enable-track-vars' Is --with-custom-od

[PHP] Max int value of char field? How to find...

2001-10-21 Thread Kraa de Simon
Hello all, How can I find the highest integer value in a result set like: 1 10 11 2 3 a ab abc I'm looking for the value 11. The statement 'select max(field) from table' gives me 'abc' so this won't do. Any ideas for a SQL statement that will do the trick? I'm using PHP / MySQL. Thanks! Si

RE: [PHP] mail() ERROR - WHY, WHY, WHY

2001-09-10 Thread Kraa de Simon
What does phpinfo() think of it? Search for sendmail_from, sendmail_path, SMTP under Configuration / PHP core and see if the values are correct. Simon. > -Original Message- > From: Badger [mailto:[EMAIL PROTECTED]] > Sent: maandag 10 september 2001 9:24 > To: [EMAIL PROTECTED] > Subje

RE: [PHP] How to implement e-mail facility?

2001-09-06 Thread Kraa de Simon
Edit the [mail function] section in php.ini: [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path = HTH, Simon. > -Original Message- > From

[PHP] iODBC support (--with-iodbc[=DIR])

2001-09-04 Thread Kraa de Simon
Hi, I'd like to configure the iODBC support (--with-iodbc[=DIR]) On http://www.iodbc.org I can choose between 'iODBC Driver Manager' and 'OpenLink iODBC SDK binaries'. When I choose 'iODBC Driver Manager' I see the following options: - iODBC Driver Manager & Administrator SOURCE Release V3.0.5

[PHP] Customer info PHP script

2001-07-31 Thread Kraa de Simon
Hi, I want to make (technical) information about our customers available to our developers though the web. Things like phone numbers, addresses, logins, passwords, IP's, dial-up info etc. Anyone know a good (open source) PHP script that can do this? Thanks. Met vriendelijke groet / With kind

RE: [PHP] NuSphere.. what is it???

2001-07-30 Thread Kraa de Simon
I agree on most parts, but is there "transaction support" in MySQL? So if I try to do 2 updates and the application crashes in the middle, the 1st update is rolled back? S. > -Original Message- > From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]] > Sent: maandag 30 juli 2001 12:13 > To:

RE: [PHP] NuSphere.. what is it???

2001-07-30 Thread Kraa de Simon
NuSphere added a table type called gemini. >From nusphere.com: "Gemini tables provide row-level locking, robust transaction support, and reliable crash recovery." It's not included in the free download. I guess you also pay the easy install (*) and for e-mail/phone support. (*) It takes a

RE: [PHP] Getting mail() to work in PHP for Windows

2001-07-25 Thread Kraa de Simon
In your php.ini file enter the IP of the SMTP server you want to use. Something like: [mail function] SMTP = 255.255.255.255 sendmail_from = [EMAIL PROTECTED] Search the web for a SMTP server for win32. HTH, Simon. > -Original Message- > From: Boget, Chris [mailto:[EMAIL PROTECTED]]

[PHP] Using Bcc and Cc in mail() on Win32 don't work!

2001-07-18 Thread Kraa de Simon
Hi, Does anyone know if there is a Windows distribution with a sendmail.c that actually works when using Bcc and/or Cc headers? TIA! Met vriendelijke groet / With kind regards, ICL Nederland B.V. Simon de Kraa e-Applications / Logistic Systems Systems Architect Het K

[PHP] Get highest value of key most efficiently

2001-07-02 Thread Kraa de Simon
Hi, SQL newbie... What is the most efficient way to get the highest value of a key value using the odbc_* functions/SQL syntax? E.g. if I have a table with key values 1,2,3...1567 I need the higest value: 1567 so I can create a new record and assign key value 1568. I don't want to read the who

[PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread Kraa de Simon
Hi, Any ideas how to get by the following error? Fatal error: Maximum execution time of 30 seconds exceeded in c:\program files\nusphere\apache\htdocs\test.php on line 8 http://www.progress.com/services/support/cgi-bin/techweb-kbase.cgi/web kb.html?TAB=dsp&kbid=' . $i)); $fp =

RE: [PHP] How to catch the output of http:// -> text file?

2001-05-03 Thread Kraa de Simon
Could it have something to do with the fact that the webserver is behind a firewall/proxy or something? When I enter the http addres in the browser everything works fine... ??? Simon. > -Original Message- > From: Kraa de Simon [mailto:[EMAIL PROTECTED]] > Sent: donderdag 3 me

RE: [PHP] How to catch the output of http:// -> text file?

2001-05-03 Thread Kraa de Simon
I'm on Windows 2000, Apache 1.3.12 / PHP 4.0.4pl1 and MySQL 3.23.32. > -Original Message- > From: Kraa de Simon [mailto:[EMAIL PROTECTED]] > Sent: donderdag 3 mei 2001 10:20 > To: 'elias'; [EMAIL PROTECTED] > Subject: RE: [PHP] How to catch the

RE: [PHP] How to catch the output of http:// -> text file?

2001-05-03 Thread Kraa de Simon
gt; > for ($i=0;$i<2000;$i++) > { >$lines = join('', file(http://www.mysite.com/generator.php?id=$i)); > // save $lines to a file. > } > > -elias > http://eassoft.cjb.net > > "Kraa de Simon" <[EMAIL PROTECTED]> wrote in mes

[PHP] How to catch the output of http:// -> text file?

2001-05-02 Thread Kraa de Simon
Hi, PHP newbie. Can anyone help me with the following? Pseudo code: for(i=1;i<2000;i++) { catch the output of http://www.mysite.com/kb.html?kbid= and put the html code in a text file called /www/kb/kbid .html } So the end result is 2000 html f

[PHP] Document Management System in PHP

2001-02-21 Thread Kraa de Simon
Hi, Can anyone advise me in a "document management system", written in PHP and Open Source? Thanks! Met vriendelijke groet / With kind regards, Simon de Kraa ICL Logistic Systems mailto:[EMAIL PROTECTED] --- Microsoft Windows 2000 Professional SP 1, Progress 9.1b, Roundtable 9.1a SCO UnixWar