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
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
-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
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:
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:
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
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,
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
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
> 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!
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
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
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
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
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
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 - 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
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
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
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) --
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
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
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
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
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
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
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_
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:
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
29 matches
Mail list logo