[PHP] SQL in Function

2001-11-22 Thread Oosten, Sjoerd van
Hello, im a newbie in writing functions but right now im trying to. I have made the following function // FUNCTION TO DECIDE WHETHER A PROJECT IS IN BETWEEN PROJECTBEGIN AND PROJECTEND , YES OR NO function Activeyesno($month,$day,$year,$Project_id){ $dayactief = mktime(0, 0, 0, $month, $day,

[PHP] Re: header(Location:...) much faster then http-equiv=refresh? too fast?

2001-11-22 Thread Roko Roic
When I use header(Location: ...) to redirect the user back to the record Send a Header(pragma no-cache) before Header(Location) and it will work. Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] PHP code organization...

2001-11-22 Thread Navid Yar
Ok, this is very important to me, but I'm not sure how to explain it well. I am working on a project using PHP that supports about 6 different browsers and browser versions. All the code is in one single file for now, but I will eventually split the code up and call them using several include

[PHP] Re: Need regular match help - possibly

2001-11-22 Thread liljim
Hello Gaylen, try this: $string = preg_replace(/\n{3,}/, \n\n\n, $string); James Gaylen Fraley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I need a routine that will allow me to trap multiple br and/or line feed characters and convert them to a constant

RE: [PHP] Flash programming

2001-11-22 Thread Caspar Kennerdale
I was under the impression you could only edit flash within proprietary products like flash itself, livemotion especially if the file has already been exported to swf -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 02:32 To: [EMAIL

[PHP] parent:: constructor

2001-11-22 Thread James Stewart
Hi, Can anyone point me to a good explanation of how the parent:: constructor works? I've tried searching the php site for it with no success. I've been given a set of code to work on, but am getting the error: Fatal error: Undefined class name 'parent' for one section of it. cheers.

[PHP] Re: parent:: constructor

2001-11-22 Thread Roko Roic
$parent::constructor()? Just guessing, I wasn't even aware of this functionality till now :) Roko -- 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:

[PHP] GD, PNG

2001-11-22 Thread Yamin Prabudy
Hi there I try to setup GD and PNG and Zlib to work with my PHP 4.06 but still no sucess can anyone point me out how to do that, or a website that contain step by step instruction in the configure line i used this options --with-gd=/usr/local --with-png-dir=/usr/local/png

[PHP] begineer + coolsite

2001-11-22 Thread Carry Ian
I found this site http://www.Banners4i.com while surfing the net, may be it could be useful to you. It has Free Banner / Link Exchange Server, Counter Server and a WAP Counter Server developed using PHP (may be PHP4, MySQL, WML) If you know of any cool sites developed using PHP pl. let me

RE: [PHP] Flash programming

2001-11-22 Thread Richard Black
Ming comes with a utility called swf2php or something like that, which MAY be able to convert a SWF file to PHP script that you can then work with. I say MAY, because the results are sometimes a bit unpredictable, and certain Flash constructs can cause it to fail miserably. But you might be

[PHP] begineer + coolsite

2001-11-22 Thread Carry Ian
I found this site http://www.Banners4i.com while surfing the net, may be it could be useful to you. It has Free Banner / Link Exchange Server, Counter Server and a WAP Counter Server developed using PHP (may be PHP4, MySQL, WML) If you know of any cool sites developed using PHP pl. let me

[PHP] Re: Need regular match help - possibly

2001-11-22 Thread liljim
Thinking about it, this would probably be even better: $string = preg_replace(/(\n|br){3,}/i, \\1\\1\\1, $string); This: $string = This is a \n\n\n\n\n\n\n\n\n\n\ntest\nTesting\nTesting\n\n123brbrbrbrbrbr brbrbrbrbrSome more testingbrbrbrbrbrbrbrbrbrAnd a little

[PHP] Cannot add header information...

2001-11-22 Thread Per Waagen
Need some help here, Im getting this error: Warning: Cannot add header information - headers already sent by (output started at /home/p/pe/perphp/public_html/login.php:4) in /home/p/pe/perphp/public_html/login.php on line 44 ...while trying to run the following .PHP code on my server. Any ideas

[PHP] Re: parent:: constructor

2001-11-22 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Roko Roic) wrote: $parent::constructor()? Just guessing, I wasn't even aware of this functionality till now :) Is this what you're looking for? http://www.php.net/manual/en/keyword.parent.php -- CC -- PHP General Mailing List

Re: [PHP] Cannot add header information...

2001-11-22 Thread George Pitcher
Per, Its a hard rule but you cannot sent any HTML content before the header. Try reversing the order and see if that works. George (a newbie, trying to find time to learn more) - Original Message - From: Per Waagen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 22,

RE: [PHP] PHP code organization...

2001-11-22 Thread Dimitris Kossikidis
Try to break up html into different files for each browser type. Switch ($browser) { case ns4 : include ns4.html; break; case ie5 : include ie5.html; break; . . . default : include ie6.html; }

RE: [PHP] Cannot add header information...

2001-11-22 Thread Jon Haworth
You've already sent something to the browser... the line that starts with HTMLHEAD... Move that below the authentication code and all should be well. HTH Jon -Original Message- From: Per Waagen [mailto:[EMAIL PROTECTED]] Sent: 22 November 2001 10:20 To: [EMAIL PROTECTED] Subject:

Re: [PHP] Cannot add header information...

2001-11-22 Thread Daniel Roperto - Ação Direta
output started at /home/p/pe/perphp/public_html/login.php:4 try to look into this line 'cause is where the output started. The HTTP Header comes before every HTML code because it's where the browser will know what kind of file it is (for example... it is a image, open it! it is HTML, show it!

php-general Digest 22 Nov 2001 11:16:44 -0000 Issue 1009

2001-11-22 Thread php-general-digest-help
php-general Digest 22 Nov 2001 11:16:44 - Issue 1009 Topics (messages 75456 through 75496): Re: Deleting from MySQL with more than one 'where' variable? 75456 by: Mike Eheler Re: Different syntax = different performance (concatenating assignment) 75457 by: Martin Towell

[PHP] about the replacing HTML code by another codes in a Forum ?

2001-11-22 Thread trongduc
hi, can anyone help me this ? 1) I made a simple forum, and it will allow the users to send their messages in HTML format. But I worried about the security of my website, so I removed all of the SCRIPT tags in their messages by placing /SCRIPT instead. (Because the users maybe use SCRIPT

[PHP] Cool?

2001-11-22 Thread Jaime Iniesta Aleman
Well, my site about Talking Heads is kinda cool, and I'm using PHP in it, more and more everyday. Soon it'll let visitors add their own comments to the pages, just like the anotated PHP manual: http://thismustbetheplace.net Jaime From: Carry Ian [EMAIL PROTECTED] To: [EMAIL PROTECTED]

[PHP] Re: about the replacing HTML code by another codes in a Forum ?

2001-11-22 Thread liljim
Hiya, well, you could replace all script tags with this regex: $string = preg_replace(/\/?SCRIPT.*?/is, , $string); But, if you're converting all and to their html equivelants (which you should be) using something like htmlspecialchars or your own regex, you shouldn't even need to do that.

[PHP] Send an e-mail witdh php

2001-11-22 Thread Henk
Hello, I want to send an e-mail to one address(To) and many carbon copies to many e-mailadresses(BCC). Is there a class to do this?? Henk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Send an e-mail witdh php

2001-11-22 Thread Sebastian Wenleder
Hello, I want to send an e-mail to one address(To) and many carbon copies to many e-mailadresses(BCC). Is there a class to do this?? Henk Hi Henk, You don't need a special class, just use: $to = [EMAIL PROTECTED]; $subject = Your Subject; $messages = some text you want to send...; $headers

[PHP] Re: Need regular match help - possibly

2001-11-22 Thread Gaylen Fraley
Thanks. According to the manual, the br / is for XHTML compliance. This changed in 4.0.5. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.3 Guestbook http://www.gaylenandmargie.com/phpwebsite Liljim [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP] Send an e-mail witdh php

2001-11-22 Thread Henk
That doesn't work. He is gives the error: Failed to Connect Henk Sebastian Wenleder [EMAIL PROTECTED] wrote in message news:p0510030ab822a385d74e@[192.168.100.2]... Hello, I want to send an e-mail to one address(To) and many carbon copies to many e-mailadresses(BCC). Is there a

RE: [PHP] Send an e-mail witdh php

2001-11-22 Thread Simos Varelakis
-Original Message- From: Henk [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 3:21 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Send an e-mail witdh php That doesn't work. He is gives the error: Failed to Connect Henk check your /etc/php.ini conf

Re: [PHP] Cannot add header information... SOLUTION

2001-11-22 Thread Per Waagen
Thank you Jon folks, now its OK! ;) Per You've already sent something to the browser... the line that starts with HTMLHEAD... Move that below the authentication code and all should be well. HTH Jon -Original Message- From: Per Waagen [mailto:[EMAIL PROTECTED]] Sent: 22

[PHP] Memory upload question..

2001-11-22 Thread Pierre-Yves Lemaire
do you have a tip to upload big files without the hassle of having php crunch so much memory? If I upload, say, 20 MB of data, my script process will end up using 20 MB of memory. I think it stores all received data in memory and then flushes it in the temp file at the end. Regards, -- PHP

Re: [PHP] Send an e-mail witdh php

2001-11-22 Thread Jason G.
Also, If you have an array of addresses, use the implode() function. $sAddressList = implode(',', $aAddressArray); and then use that with the Bcc: header in the mail function. -Jason Garber IonZoft.com Hi Henk, You don't need a special class, just use: $to = [EMAIL PROTECTED]; $subject =

[PHP] redirect

2001-11-22 Thread Etienne Colla
hi I 'm newbie with php and i have a small problem. I have a script that uploads 4 pictures But when that is done there has to be a redirect to an other page. My script is as follows: ?php header(Location: http://www.x.com/x.html;); $num=$nummer; if(count($FILE) == 0 || $FILE[1] ==

[PHP] Re: redirect

2001-11-22 Thread Fredrik Wahlberg
Make sure that you have no blank spaces before the ?php tag. It really must be the first line in the script. /Fredrik Etienne Colla [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi I 'm newbie with php and i have a small problem. I have a script that uploads 4

[PHP] possible problems working with sessions

2001-11-22 Thread Alberto Mucignat
well, if you're using default session handling provided with php, users sessions are stored in /tmp directory (also used by default for temporary caching of uploaded files). assume to have the php.ini file with default settings: session.gc_probability = 1 session.gc_maxlifetime = 1440 this

[PHP] error handling and __LINE__

2001-11-22 Thread SafeV
Hi, I wonder if there's a way to find the line number of the calling script from a function, like the error messages PHP generates. An example: In an included file I have a function and want to do something similar to: function foo($obj) { if (!is_object($obj)) { echo Error:

[PHP] POP commands

2001-11-22 Thread Yura
Hi, does anybogy know pop3 box management commands? I'm making pop client on php. I know some of the commands like USER PASS RETR DELE TOP but don't know how to use them. I have fputs( $socket_open, USER . $username . \r\n ); but how do I use RETR or TOP or DELE in these circumstanses?

Re: [PHP] POP commands

2001-11-22 Thread Daniel Roperto - Ação Direta
Why don't u use a socket view ? u config ur outlook to connect 127.0.0.1 (localhost) and watch the communication .. if someone wants it send mail to [EMAIL PROTECTED] then i cansend one that i designed on delphi 5 (it's ugly and has FEW options and not tested with binary comm., but works with

[PHP] What does var mean ?

2001-11-22 Thread Girish Nath
Hi I've been looking at some classes an have come across this notation for example : function remove($productid) { /* this function will remove a given product from the cart */ if (isset($productid)) { unset($this-items[$productid]); } } What does the (ampersand) before the

[PHP] mail client

2001-11-22 Thread Krzysztof Kakol
Hi I wrote a kind of web mail client. But I've got a problem. When the function imap_header fetches all of the headers from a mailbox in a loop, it lasts very long time, if a user has big files attached to his mails. I operate at pop3 server. What's the problem? Do you know, how to list all of

Re: [PHP] What does var mean ?

2001-11-22 Thread Girish Nath
Thanks, you guys rock! :) Girish - Original Message - From: Roberto Ramírez [EMAIL PROTECTED] To: Girish Nath [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 4:10 PM Subject: RE: [PHP] What does var mean ? The use of the means that its passed by reference. That its equal to the

Tr: [PHP] What does var mean ?

2001-11-22 Thread Nayco_IUT Laroche
- Original Message - From: Nayco_IUT Laroche [EMAIL PROTECTED] To: Girish Nath [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 4:59 PM Subject: Re: [PHP] What does var mean ? This is a reference to the variable, that means that it extends the scope of this variable into the

[PHP] Yet Another Mysql Problem

2001-11-22 Thread Stephen Phillips
Hi again, I've run into a nice bug using phpmyadmin to import data into a mysql database, and was hoping someone had some experience with doing this. I was wondering if there is any common errors which could be occurring due to characters with in the data? I'm fairly certain that this is the

Re: [PHP] Yet Another Mysql Problem

2001-11-22 Thread Jon Farmer
Well telling us what the errors are would be a start :-) Regards Jon -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key - Original Message - From: Stephen Phillips [EMAIL PROTECTED] To:

[PHP] Yet Another Mysql Problem

2001-11-22 Thread Stephen Phillips
lol, ok (sorry I've been staring at a text file looking for bugs for 3 hours) this is the type of error msg phpmyadmin is giving me; Warning: Only 0 bytes were written, expected to write 32516 in - on line 82 sometimes it says line 74, or 130 as well I was kinda hoping someone might know of

[PHP] Re: POP commands

2001-11-22 Thread Fred
Read the RFC for POP3. http://www.hio.hen.nl/cgi-bin/show-gz/rfc/pop/rfc1725.txt.gz Fred Yura [EMAIL PROTECTED] wrote in message 3BFD3620.32115.1873696@localhost">news:3BFD3620.32115.1873696@localhost... Hi, does anybogy know pop3 box management commands? I'm making pop client on php. I know

[PHP] Re: What does var mean ?

2001-11-22 Thread Fred
It indicates that the variable was passed by reference rather than by value. Fred Girish Nath [EMAIL PROTECTED] wrote in message 000f01c1736c$714abc30$015b10ac@AERIS">news:000f01c1736c$714abc30$015b10ac@AERIS... Hi I've been looking at some classes an have come across this notation for

Re: [PHP] Yet Another Mysql Problem

2001-11-22 Thread Richard Black
I've been using phpmyadmin 2.2.1 and found that importing data from a script requires you to be at the main page for the database, rather than the table page. Submitting it via the table page says it was executed successfully, but it wasn't. Haven't had time to look at whats causing it. I

[PHP] Re: Yet Another Mysql Problem

2001-11-22 Thread Fred
Please post a verbatim copy of the error. We have no way of knowing what is happening with such a generic description of the problem. Fred Stephen Phillips [EMAIL PROTECTED] wrote in message 000e01c17379$643f6d80$21937ad5@stevephillips">news:000e01c17379$643f6d80$21937ad5@stevephillips... Hi

[PHP] How to load .php3 pages using PHP4

2001-11-22 Thread EDUMEXICO
Hi all, I'm using PHP version 4 (module) with no problems in a Debian box, but today I download PHPlib; I installed as the README file told me, but all the files have the extension php3, and when I try to open with my browser I it tell me to save the file to disc. I uncomment the next line

Re: [PHP] How to load .php3 pages using PHP4

2001-11-22 Thread Justin England
Comment that line again, and add .php3 to: AddType application/x-httpd-php .php .php3 This will tell apache to use PHP4 for both .php and .php3 files. Justin England [EMAIL PROTECTED] Network Administrator E-Net Information Services

[PHP] what the best version PHP + APACHE on Solaris8

2001-11-22 Thread Evgeny Rachlenko
Dir Justin England, Could you tell me what the version of apache and php do you prefer for Solaris 8 . thanks -- 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,

Re: [PHP] What does var mean ?

2001-11-22 Thread J Smith
Bas Jobsen wrote: What does the (ampersand) before the variable name mean ? a pointer to the address (mem) of the variable PHP doesn't have pointers and memory can't be directly accessed this way like you can in C, or C++ or whatever. The ampersand is for passing values via reference

Re: [PHP] How do I convert from perl to php? - Reality Check Taxation

2001-11-22 Thread George Whiffen
Ok, Let's concentrate on acceptable syntaxes for your html programmers to specify the required fields first. Here are some options grouped by technique and roughly put into order of increasing difficulty for an html author: HTML 1. INPUT TYPE=HIDDEN NAME=required VALUE=name address

Re: [PHP] What does var mean ?

2001-11-22 Thread Nayco_IUT Laroche
Ouupppss!! You're right !!! - Original Message - From: J Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 6:43 PM Subject: Re: [PHP] What does var mean ? Bas Jobsen wrote: What does the (ampersand) before the variable name mean ? a pointer to the

[PHP] Re: Yet Another Mysql Problem

2001-11-22 Thread Fred
What version of admin are you using? I run version 2.2.0 and have never had such a problem. Without looking at the code I can say that it appears that myadmin estimates the size of the file before uploading it and then something happens to prevent the upload from occuring. It may well be that

[PHP] Re: possible problems working with sessions

2001-11-22 Thread George Whiffen
Sorry if I'm off-topic, but I've always wondered what people use sessions for. I seem to be either dealing with logged-in users who I pick up via http-authentication and maintain any details I need in a user data structure, or casual users, for whom the odd hidden input field or occasional

[PHP] SAFE_MODE + deleting files

2001-11-22 Thread Robert Mena
Hi, I have enabled the safe mode in a virtual host that uses php in order to try to prevent the user from uploading (via ftp) a php that could sniff around other's people files. Unfortunately I got stucked in a problem. this site uses php to upload and manage some files remotely. The webserver

Re: [PHP] What does var mean ?

2001-11-22 Thread Philip Olson
What does the (ampersand) before the variable name mean ? It's called a reference, check out: http://www.php.net/manual/en/language.references.php regards, Philip Olson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] get_included_files() in php3

2001-11-22 Thread Martin Towell
Hi all, Is there a way of generating a list of files that have been included, in php3, similar to php4's get_included_files() ?? If so, can you supply code plz? Thnx Martin

Re: [PHP] Re: Cannot add header information...

2001-11-22 Thread Peter Brown
If you add ob_start(); at the start of your code, then you will be able to set Headers anywhere in your page. Peter Per Waagen wrote: Warning: Cannot add header information - headers already sent by (output started at /home/p/pe/perphp/public_html/login.php:4) in

[PHP] usage stats

2001-11-22 Thread Joseph Blythe
G'day all, I am putting together a small piece on php and was wondering if anyone knew how to dynamically generate the php usage stats from: http://www.netcraft.com/Survey/ Sort of want something like: http://www.php.net/usage.php Have looked at the source looks like this is manually updated?

php-general Digest 23 Nov 2001 01:58:12 -0000 Issue 1010

2001-11-22 Thread php-general-digest-help
php-general Digest 23 Nov 2001 01:58:12 - Issue 1010 Topics (messages 75497 through 75545): about the replacing HTML code by another codes in a Forum ? 75497 by: trongduc 75499 by: liljim Cool? 75498 by: Jaime Iniesta Aleman Send an e-mail witdh php 75500

[PHP] Missing PHP.ini

2001-11-22 Thread John Monfort
Hello everyone! I upgraded my system from win98 to win2k, a few weeks ago. Now, I can't seem to locate my php.ini file. I've looked in C:\ C:\windows C:\windows\system (and system32) to no success. Is anyone aware of what may have happened? I was under the impression that PHP

RE: [PHP] Missing PHP.ini

2001-11-22 Thread Joseph Blythe
John, Look in the original distribution files for php.ini-dist (or php.ini-optimized) and copy it to c:\windows\php.ini As far as I know php can run without a php.ini I beleive it has builtin defaults. Regards, Joseph -Original Message- From: John Monfort [mailto:[EMAIL PROTECTED]]

RE: [PHP] Missing PHP.ini

2001-11-22 Thread Martin Towell
doesn't win2k files go under C:\winnt ? what about looking under the php directory??? -Original Message- From: John Monfort [mailto:[EMAIL PROTECTED]] Sent: Friday, November 23, 2001 1:06 PM To: [EMAIL PROTECTED] Subject: [PHP] Missing PHP.ini Hello everyone! I upgraded my system

RE: [PHP] Missing PHP.ini

2001-11-22 Thread John Monfort
Thanks Joseph! btw, Happy Thanksgiving to all! __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- On Fri, 23 Nov 2001,

Re: [PHP] Missing PHP.ini

2001-11-22 Thread David Robley
On Fri, 23 Nov 2001 12:36, John Monfort wrote: Hello everyone! I upgraded my system from win98 to win2k, a few weeks ago. Now, I can't seem to locate my php.ini file. I've looked in C:\ C:\windows C:\windows\system (and system32) to no success. Is anyone aware of what

Re: [PHP] SQL in Function

2001-11-22 Thread David Robley
On Thu, 22 Nov 2001 18:30, Oosten, Sjoerd van wrote: Hello, im a newbie in writing functions but right now im trying to. I have made the following function // FUNCTION TO DECIDE WHETHER A PROJECT IS IN BETWEEN PROJECTBEGIN AND PROJECTEND , YES OR NO function

[PHP] strip php out of html

2001-11-22 Thread Joseph Blythe
Hello, Is there a way to strip only php code out of an html file? I know about strip_tags but its going to be alot of work to make the allowable list, as all I want to strip out is: ?php ... ? I tried like so: eregi_replace (?php include(\whatever.php\); ?, , $string); but it didn't find it

RE: [PHP] strip php out of html

2001-11-22 Thread Joseph Blythe
David, Basically I have found a way of making printable versions of every page in a website I am currently working on (without a database etc), because I am using a dreamweaver template the main content is always surrounded by: !-- #BeginEditable content -- ... !-- #EndEditable -- Just a link

RE: [PHP] strip php out of html

2001-11-22 Thread Joseph Blythe
Sorry people it is actually evaluating the code I was looking at it from inside Maguma PHP4EE studios internal preview which was not evaluating it, after uploading it to the webserver it now is ok doh! :) Anyway i do need to strip out the original link that points to the printable script so that

[PHP] MySQL query problem!

2001-11-22 Thread De Necker Henri
I have the following query $query = INSERT INTO acl ( username, password ) VALUES ( 'henri', ENCRYPT('diesel','henri') ); This is the error i get : Column 'password' cannot be null What is wrong with my query? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] GD, PNG

2001-11-22 Thread Yamin Prabudy
I try to compile againts PNG and JPEG and for web inteface i had install zlib and png and jpeg then gd but still have no sucess on it On Thursday 22 November 2001 09:03, you wrote: The operating system you are using would be nice to know- and wether its for apache, cgi-bin, or whatever.

Re: [PHP] MySQL query problem!

2001-11-22 Thread David Robley
On Fri, 23 Nov 2001 16:17, De Necker Henri wrote: I have the following query $query = INSERT INTO acl ( username, password ) VALUES ( 'henri', ENCRYPT('diesel','henri') ); This is the error i get : Column 'password' cannot be null What is wrong with my query?

RE: [PHP] MySQL query problem!

2001-11-22 Thread De Necker Henri
On waht systems does encrypt() work on.In my Mysql client my query results are null,so i dont have encrypt on my system! -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: 23 November 2001 08:24 To: De Necker Henri; PHP-General (E-mail) Subject: Re: [PHP] MySQL query

RE: [PHP] GD, PNG

2001-11-22 Thread Joseph Blythe
Two things come to mind when compiling under redhat 6.x 1) Delete all headers and libs relating to gd in /usr/lib and /usr/include these are old and will cause conflicts. 2) Use --with-..-dir=.. Here is my successful configure command assuming you have successfully installed freetype2 and gd

Re: [PHP] MySQL query problem!

2001-11-22 Thread David Robley
On Fri, 23 Nov 2001 17:05, De Necker Henri wrote: -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: 23 November 2001 08:24 To: De Necker Henri; PHP-General (E-mail) Subject: Re: [PHP] MySQL query problem! On Fri, 23 Nov 2001 16:17, De Necker Henri wrote: I

Re: [PHP] error handling and __LINE__

2001-11-22 Thread Papp Gyozo
try, assert() instead of echo()ing error messages. assert('is_object($obj)'); and write your error handler code or use mine :) or am i missing something? Papp Gyozo - [EMAIL PROTECTED] - Original Message - From: SafeV [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: