RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
I was following the example given on the php site that someone was using to break down large files. They base64 encoded the file while reading it in, broke it into pieces (while inputing the pieces into the db), then re-animated it so to speak afterwards by reversing the process. I get the impres

[PHP] compile problems

2003-12-20 Thread Brian V Bonini
Not a clue what's wrong, anyone? functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_ multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php 4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lc-client -lc rypt -lmysqlclient -lc

RE: [PHP] form variables

2003-12-20 Thread Ewout de Boer
-Oorspronkelijk bericht- Van: Nitin [mailto:[EMAIL PROTECTED] Verzonden: zaterdag 20 december 2003 7:30 Aan: PHP-General Onderwerp: [PHP] form variables > i've an application, where i'm receiving variables from an html form and process them in the script. depending on the values, i may

Re: [PHP] Re: Domain Check script

2003-12-20 Thread Website Managers.net
Try adding $ext onto the end of str_replace like this: $a_query = (str_replace("www.", "", $a_query).".".$_POST["ext"]); $a_query = (str_replace("http://";, "", $a_query).".".$_POST["ext"]); Jim - Original Message - From: "Cesar Aracena" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Chris
Gald to hear it works now. Are you base64 encoding it for any particular reason? Seems to me that it would waste a lot of db space as base64 encoding adds quite a bit to the filesize. Chris -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003 2:

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
Thanks for the help. I went through a troubleshooting phase that started with writing the raw data from the mysql client to disk. Checking the size it was apparent that it was much too small. I tried running my script with a smaller pdf and it worked. It turns out that blob has a max of 64k. A

Re: [PHP] Document Indexer and Database Contents Index

2003-12-20 Thread olinux
Checkout htdig www.htdig.org --- [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm looking for a PHP program like mnoGoSearch but without the need to > recompile it with PHP. Does such a PHP program exist? > > Basically, I want the program to index file types of .doc, .txt, .html,

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Chris
Try looking at the data that's supposed to be outputing the pdf. Something may be failing somewhere and you might see an error message. If you don't see any error messages and are apparently seeing gthe pdf data, check for whitespace outside php tags and any extraneous echo's or print's, that would

[PHP] Re: Domain Check script

2003-12-20 Thread Cesar Aracena
Ok... I found it... but not quite what I like. I found this function (thanks to WebWorkz) that needs not only the domain name but also the extension to be written. I changed the form a little bit so the extension is selected by the visitor from a drop down menu but I don't know what to change in th

Re: [PHP] Best place to search archives

2003-12-20 Thread olinux
> Hay guys, Where is the best place to search the > general-php archives (o; > first place: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&group=php.general runner up: http://marc.theaimsgroup.com/?l=php-general olinux __ Do you Yahoo!? New Yahoo!

[PHP] Best place to search archives

2003-12-20 Thread Philip J. Newman
Hay guys, Where is the best place to search the general-php archives (o; --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] Ph: +64 9 576 9491 Fx: +64 9 576 2532 Mob: +64 21 0483 999 - "This communication

[PHP] Domain Check script

2003-12-20 Thread Cesar Aracena
Hi all, Anyone knows about anyPHP script to add a domain check option to a web site like almost any hosting company has? I'm looking into hotcripts.com but everything offered serves also like a registering script for the available domains and I just want to inform my visitors if the domain they en

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
Oops, my bad on the post. I am not sending echo header...just header(... I thought, based on reading from mysql that it did escape certain characters. I'll start looking at other possibilities... -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Chris
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo header()? the header function should not be echoed. header('Content-type: application/pdf'); echo result[0]; -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003 9:29 AM

Re: [PHP] include files

2003-12-20 Thread Todd
This looks like it should do exactly what I need. Thanks for pointing that out. Marek Kilimajer wrote: > See function debug_backtrace(), it's available since 4.3.3 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] sessions problem

2003-12-20 Thread Larry Brown
Make sure you have session_start(); at the beginning of each script you run from the time you start inserting variables to the time you want the session to end. -Original Message- From: Nitin [mailto:[EMAIL PROTECTED] Sent: Saturday, December 20, 2003 10:48 AM To: PHP-General Subject: [PHP

php-general Digest 20 Dec 2003 17:30:51 -0000 Issue 2484

2003-12-20 Thread php-general-digest-help
php-general Digest 20 Dec 2003 17:30:51 - Issue 2484 Topics (messages 173063 through 173078): Re: Merry Chrismas 173063 by: Ryan A form variables 173064 by: Nitin 173065 by: Robert Cummings 173066 by: Nitin Re: Turck MMcache compiling 173067 by: R'tw

[PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
I have set up a script to recieve a pdf file and store it in a mysql db using "update db set field=load_file('fileIncludingFile') where id=$id". Afterwards I can see the file has been uploaded into the blob field successfully and without errors. Now I want to get the file back out. I set up a scr

Re: [PHP] PHP Memory Use

2003-12-20 Thread Raditha Dissanayake
Hi, if you run poorly written scripts the answer is yes. else the answer is no. Chris Hogben wrote: Hey guys, Just a quick question, which i hope someone can answer for me :) If PHP is run for a long time, such as a server, or a PHP Bot, is the memory usage of PHP likely to increase? If so, is t

[PHP] PHP 4.3.4 configure

2003-12-20 Thread Bernard C. Saulter
I'm trying to configure/compile PHP4.3.4 on Solaris 2.8. Seem that 'configure' just hangs now. The 'new' build systems is broken. I can build older version with no problem. Seem something that was not broken was 'fixed'. (Not a good idea.) So, the old command of: 'configure --prefix=(what ever) --

[PHP] sessions problem

2003-12-20 Thread Nitin
hi all, i'm just starting to use sessions. i've a problem, i started session and assigned variables to $HTTP_SESSION_VARS i can very well see these vars in my next script, but i need to get back to first script for some working, and strangely i dont find these vars there. any help or suggestio

[PHP] PHP Memory Use

2003-12-20 Thread Chris Hogben
Hey guys, Just a quick question, which i hope someone can answer for me :) If PHP is run for a long time, such as a server, or a PHP Bot, is the memory usage of PHP likely to increase? If so, is there any way of attempting to combat this, or is it just the way that PHP is built? Cheers :) Chris

[PHP] PHP Memory Use

2003-12-20 Thread Chris Hogben
Hey guys, Just a quick question, which i hope someone can answer for me :) If PHP is run for a long time, such as a server, or a PHP Bot, is the memory usage of PHP likely to increase? If so, is there any way of attempting to combat this, or is it just the way that PHP is built? Cheers :) Chris

RE: [PHP] File upload problem

2003-12-20 Thread Larry Brown
According to the documentation you have to have the maxfilesize tag before the input tag. -Original Message- From: Dino Costantini [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 6:34 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem i'm trying to write a page whic

RE: [PHP] html or php to pdf whith pdflib?

2003-12-20 Thread dan
i use htmldoc, which converts html to pdf, saves trying to render lines and borders in a pdflib how painful. On Sat, 2003-12-20 at 10:20, Chris wrote: > Hi Reicardo, > This can't be done by using the pdf_* functions in php without reading the > whole source file, parsing the HTML and then working

[PHP] Re: fopen does not open URL-files

2003-12-20 Thread Taras V. Panchenko
I tried, but I receive the new error: Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/manageme/public_html/try-test/fopen-test-http.php on line 7 Warning: fopen(http://www.management.kiev.ua/MO/main.php/): failed to open stream: Permission denie

RE: [PHP] html or php to pdf whith pdflib?

2003-12-20 Thread Chris
Hi Reicardo, This can't be done by using the pdf_* functions in php without reading the whole source file, parsing the HTML and then working the $x and $y for each line. There are some alternatives. If you don't really care to much about formatting you could try this: $pdf = pdf_new(); pdf_open_

[PHP] File Upload on a MAC-Browser didn't work

2003-12-20 Thread Volker Dähn
Hi,   The following script works on any browser on windows xp. But not on a mac (osx) It simply shows the temp-directoryname. Is anybody out there who could help me to fix this problem? How will the upload work with Safari? Thanks for your help.    This is the form for the upload:            

Re: [PHP] Turck MMcache compiling

2003-12-20 Thread R'twick Niceorgaw
Hi Ryan, Quoting Ryan A <[EMAIL PROTECTED]>: > Hi, > > We just took a dedicated server (Linux) and want to install Turck MMCache > for PHP on it, we have total control of that server and can SSH in etc. > Their "support" does not want to install it and told us if we want to, we > will have to do