Re: [PHP] Develop e-mail like using PHP

2001-03-12 Thread Ashwin Kutty
There is one already made called, IMP at http://www.horde.org/imp/ On Tue, 13 Mar 2001, Szeto wrote: > Hello, > My company currently undergo a project to develop Internet e-mail system > using PHP and Unix OS. > I wondering what do i needed to understand before working on this project > or

Re: [PHP] Problem with apostrophes!!

2001-03-12 Thread Kenneth R Zink II
Ok, I'm pretty sure I need to use the "addslashes" function, but I'm not sure how to implement it. The 2 variables that I would need to addslashes are $sire and $dam. can someone please help me, this is new to me. Thanks. Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094 '87 GMC S-15 Ext

Re: [PHP] copying mysql db files

2001-03-12 Thread David Robley
On Wed, 14 Mar 2001 02:12, Peter Houchin wrote: > hiya, > > I'm tranfering mysql data base onto a unix machine, can i just copy the > database directories across from my WinNT machine to the > /usr/local/mysql-data directory? > > Peter To be on the safe side, take an extra moment or two and use m

Re: [PHP] includes

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 13:54, Chris Cocuzzo wrote: > I'm slightly confused as to why you would not want it parsed and > executed...or I should say...what would be the differences in using the > include function vs. reading it in like a file?? > > Chris > > -Original Message- > From: Rick St J

Re: [PHP] Problem with apostrophes!!

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 14:17, Kenneth R Zink II wrote: > Ok, I'm pretty sure I need to use the "addslashes" function, but I'm > not sure how to implement it. > > The 2 variables that I would need to addslashes are $sire and $dam. > > can someone please help me, this is new to me. > > Thanks. It's li

[PHP] reset in mysql?

2001-03-12 Thread McShen
hi I have a database which tracks how many hits a website has sent me. I wanna write a script to reset this particular field so that it will be zero at 12:00 in the morning. How do i do it? Any suggestion would be appreciated. my database is kinda like this(mysql

RE: [PHP] includes

2001-03-12 Thread Chris Cocuzzo
I realize you certainly could have the intention of showing the contents of the file without actually using it. However the impression I got was that Rick wants to use the contents of the file in execution for other parts of the script, yet without including it the normal way...correct me if I'm w

Re: [PHP] includes

2001-03-12 Thread Rick St Jean
actually what I am doing is creating an area where users can manipulate data on a page without having harmful code executed. It is faster to use a flat text file than a database. I will have these files named something else that will not be able to be executed either. I don't want it execute

Re: AW: [PHP] Cache Database-driven site

2001-03-12 Thread Aaron Tuller
all you need to do is wrap your pages in: ob_start(); // your code $page = ob_get_contents(); // write $page to a file or whatever you want to do and then depending on if this script is being called by cron or just when people load the page you can either do an ob_end_flush() or ob_end_clea

[PHP] script output doesn't show up

2001-03-12 Thread John Meyer
Here is the code   Problem is that the script output doesn't show up. Any idears? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAI

RE: [PHP] reset in mysql?

2001-03-12 Thread Cal Evans
run it in a CRON job. Cal http://www.calevans.com -Original Message- From: McShen [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10:28 PM To: [EMAIL PROTECTED] Subject: [PHP] reset in mysql? hi I have a database which tracks how many hits a website has sent me. I wanna writ

Re: [PHP] script output doesn't show up

2001-03-12 Thread Jack Dempsey
i don't know how similar the odbc functions are to the mysql functions, but in your sql statement you have: FROM STAFF; whenever i create an SQL statement when using a MySQL database i don't have to put that semi-colon in there...is that needed for odbc? also, just to save yourself some space, you

[PHP-CVS] cvs: php4 /ext/pcre php_pcre.c php_pcre.h

2001-03-12 Thread Andrei Zmievski
andrei Mon Mar 12 21:24:05 2001 EDT Modified files: /php4/ext/pcre php_pcre.c php_pcre.h Log: @- IMPORTANT: removed /F modifier handling from preg_replace(). Instead @ one should use new preg_replace_callback() function. (Andrei) Index: php4/ext/pcr

[PHP] MAIL And PHP Question

2001-03-12 Thread James Lamb
Hello All, Can PHP talk directly to the SMTP server, i know that there is a mail() function but this cannnot specify the reply-to and from addresses easily. How could PHP do this type of function? thanks James Lamb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] MAIL And PHP Question

2001-03-12 Thread Chris Cocuzzo
I can't give you an exact answer, such as an implementation...but I would think it would have to do with opening a POP/SMTP socket connection. I know there is a class that can connect directly to SMTP on this website: http://phpclasses.upperdesign.com/ hope that helps, Chris -Original Messag

[PHP] php & java problem

2001-03-12 Thread vvsalon
Normally, I am using php4.0.4 at apache 1.3.19 on windows98. It works fine. However, after i added the following lines to the php.ini, none of my original php pages can be shown. The browser just "loading".. Can anyone help me to solve this problem? The line I have added: java.class.path=

Re: [PHP] MAIL And PHP Question

2001-03-12 Thread Chris Adams
On 12 Mar 2001 21:47:44 -0800, James Lamb <[EMAIL PROTECTED]> wrote: >Can PHP talk directly to the SMTP server, i know that there is a mail() >function but this cannnot specify the reply-to and from addresses easily. Yes, but it's less work to specify reply-to and from using mail(). If you do wan

[PHP] php4 cgi in WinNT/apache requires a #! to execute

2001-03-12 Thread LUK ShunTim
Dear all, Please *cc the reply to me* as I'm not a subscriber to the list. I got these errors from apache 1.3.17/WinNT/php4.0.4p11 [Tue Mar 13 14:29:23 2001] [error] [client 127.0.0.1] f:/php/local-cgi/test.php is not executable; ensure interpreted scripts have "#!" first line [Tue Mar 13 14:

Re: [PHP] php4 cgi in WinNT/apache requires a #! to execute

2001-03-12 Thread Chris Fry
Just add -q to the first line of your cgi:- #! f:/php/php -q runs php in quiet mode. Chris LUK ShunTim wrote: > Dear all, > > Please *cc the reply to me* as I'm not a subscriber to the list. > > I got these errors from apache 1.3.17/WinNT/php4.0.4p11 > > [Tue Mar 13 14:29:23 2001] [error] [cl

[PHP] [Q] session variables wouldn't keep contents.

2001-03-12 Thread Chung Ha-Nyung
Hi guys, Some php programs doesn't seem to work normally in a certain server. Those wokred correctly in my Debian box. Session is the problem. It seems that the contents of session variables disappears after reloading the php page. Here is the program. test.php "; sessio

Re: [PHP] php & java problem

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 16:45, vvsalon wrote: > Normally, I am using php4.0.4 at apache 1.3.19 on windows98. > It works fine. > However, after i added the following lines to the php.ini, > none of my original php pages can be shown. > The browser just "loading".. > Can anyone help me to solve

Re: [PHP] [Q] session variables wouldn't keep contents.

2001-03-12 Thread Yasuo Ohgaki
- Original Message - From: "Chung Ha-Nyung" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 3:19 PM Subject: [PHP] [Q] session variables wouldn't keep contents. > > Hi guys, > > Some php programs doesn't seem to work normally in a certain > server. Those wokred

[PHP] Compile probs with php-4.0.4pl1

2001-03-12 Thread Wolfgang Ebneter
Hi guys and girls, i've got some probs compiling php-4.04pl1. I Upgraded my machine ( shouldn't have done in the first place ) to SuSE7.1 Kernel 2.1.18, downloaded apache 1.3.19 and compiled apache with no problems. Then trying to compile php-4.0.4pl1 i've run into the problem that the linker

[PHP] Oracle error messages

2001-03-12 Thread Rudolf Visagie
Hi All, Does anybody have an idea how to stop the automatic error and warning messages from the Oracle data base being displayed on the screen. I want to do my own error message display but by the time I get the error message using OCIError it was already displayed on the screen anyway. Rudolf V

[PHP-CVS] cvs: php4 /ext/midgard preparser-scanner.l

2001-03-12 Thread David Guerizec
davidg Tue Mar 13 00:03:08 2001 EDT Modified files: /php4/ext/midgard preparser-scanner.l Log: Fixed a bug that prevented the preparser to expand any Midgard syntax formatter after a //-style comment anywhere in the page. Index: php4/ext/midgard/preparse

<    1   2   3