Re: [PHP] Re: Very Large MySQL Query String

2002-05-07 Thread David Bouw
limitation of PHP Mysql query function is? With kinds regards, David Bouw > Hi, I think if you encode the file with base64 and store it in the > database the size of the document will be more than 1MB sure. > > David Bouw wrote: >> Dear Kirk (and Julio) >> >> Thanks fo

Re: [PHP] Re: Very Large MySQL Query String

2002-05-06 Thread David Bouw
PHP-Mysql string length limitation or maybe something I am overlooking..) I can though echo the query to screen and see that the uploaded file is encoded to a very nice (large) text-string.. Any other suggestions are greatly appreciated. With kind regards, David Bouw > If I use the

[PHP] Very Large MySQL Query String

2002-05-06 Thread David Bouw
abasename_boekhoud, "insert mubo_boekhoud_images (data, originalname, groep, type) values '$encodes_data', '$userfile_name', '$groep', '$userfile_type')"); // mysql_error(); //No error given..? } Any suggestions are very much appreciat

Fw: [PHP] Translating email to (real) plain text...

2001-12-28 Thread David Bouw
Hi Richard, > > So far so good! Only problem which I have is that some (=most) > > people create email with clients that output email with HTML > > codes (Internet Explorer for example).. > Internet Explorer is a browser, it doesn't create email. It was a bit late, I meant Outlook Express which

[PHP] Translating email to (real) plain text...

2001-12-27 Thread David Bouw
l the members.. Does anyone khow this is done..? Thanks in advance for any help.. With kind regards.. David Bouw PS: To give some examples of problems I see in the retrieved mail I have quoted some p

Re: [PHP] Site running from MySQL

2001-12-25 Thread David Bouw
Maybe this will be a surprise, but I think that more than 90% of the webpages that use MySQL, use it do exactly what you are wondering about.. Not only are the searches a lot easier, but if you do it right you can make a website which won't contain any dead links... (By generating links to other

[PHP] Header Nightmare...

2001-08-22 Thread David Bouw
s the filename will original be... Does anyone see any mistakes which I am making... ? With kind regards David Bouw -- 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: [EMAIL PROTECTED]

Re: [PHP] What's wrong with this code?

2001-04-23 Thread David Bouw
I haven't got any experiences with it, but the fread function will probably be your problem.. As far as I can see you try to read 24 Megabyte into a var... This is quite large, and probably your script will be quite because of memory problem, or a OS don't won't allow you to use that much memory

Re: [PHP] pumping database dump in mysql

2001-04-21 Thread David Bouw
If you can do it on the command line why not just use the system function and use the command you would use on the command line..? What you try to do now is to feed the whole dump file to mysql_query.. This will never work because mysql_query will only accept one query at a time and the mysqldump

[PHP] compiling PHP 4.04pl1 as dymanic module with Apache 1.3.19

2001-04-21 Thread David Bouw
Hi there, Till now I have always compiled and used PHP as an static module with Apache.. For the experience and to make it a little easier to compile different PHP packages I want to use PHP as an dynamic module.. Reading the documentation this seems easy... First I got apache 1.3.19 and ran:

Re: [PHP] Which is better coding style...

2001-04-19 Thread David Bouw
Your coding style is not the most used.. But I must be honest and tell you that I also find the clearest way... I also use it on all my own code.. It has got the advantage that you always see all brackets (no need to scroll to the right to find a bracket) and if you go down on the same horizontal

[PHP] Re: Privilege system of Mysql...

2001-03-19 Thread David Bouw
Hi Sven, Yes, I just started playing with the GRANT syntax.. Only problem is that they first define a user with everything on 'N' And then they define a table in the DB with everything on Y... Problem is that you have to do this for all DB's which you want to allow. This means that newly created

Re: [PHP] PHP | MySQL Search

2001-03-13 Thread David Bouw
Hi there.. Try: SELECT HouseID FROM Search WHERE (CountryID='2' AND PriceID='3' OR (FacilityID='1' OR FacilityID='5')) The extra brackets are only to make it easier to read.. (For me it is..) What you basically asked where all records in which CountryID is 2 and PriceID is 3 AND (only) where t

Re: [PHP] EOF (End of File) character..

2001-02-19 Thread David Bouw
r\n" (aka chr(10) . chr(13)) > > -- > Visit the Zend Store at http://www.zend.com/store/ > Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > - Original Message - > From: "Dav

[PHP] EOF (End of File) character..

2001-02-18 Thread David Bouw
Hi... How do I get an EOF character when echo'ing an web page which will be written to an file.?? What I am trying to do is the following. I have an textstring (variable): Then I do the following: header("Content-disposition: filename=CLIEOP03"); header("Content-type: application/o

Re: [PHP] Mailto: tag, how do I insert line breaks..?

2001-01-17 Thread David Bouw
Hi, thanks for the help.. The \r\n trick didn't work.. You can only see this back in the source.. But, the RFC "standard??" trick did work just perfectly.!!! Thanks Ignacio, I don't anything about the RFC.. Probably some standard which describes these special chars..? Will search for it to see i

[PHP] Mailto: tag, how do I insert line breaks..?

2001-01-17 Thread David Bouw
Hi, I have a non PHP questions which probably doesn't fit in this mailling lists, but I have a feeling that someone can help me because it is very HTML related. I was busy making a small piece of PHP echo code which generates a link which enables you to click this and startup your email software