Any other ideas?
Von: Bastien Koert [mailto:phps...@gmail.com]
Gesendet: 20 March 2009 15:49
An: Andrei Bintintan
Cc: php-general@lists.php.net
Betreff: Re: [PHP] Read Text Content from PDF file
On Fri, Mar 20, 2009 at 10:23 AM, Andrei Bintintan
wrote:
Could you be more precise? I'
Andrei Bintintan wrote:
Any other ideas?
I believe there is a windows binary called pdf2txt.exe out there somewhere.
I doubt you will find any solution that does not require installation of
a binary on the server, so if you can't install xpdf on the server then
you probably will have to s
Andrei Bintintan wrote:
Any other ideas?
Also - I believe the commercial (full) version of PDFlib can - in fact,
I believe you can do it with the pecl-pdflib library if you have the
full version of pdflib installed.
I seem to remember there work on a clibpdf php wrapper back when php 4
Hi,
I am totally new in compiling under cygwin.
I need to compile an PHP extension, and this is what I figured so far:
gcc -c extension_name.c (that's the only *.c file in that extension
directory)
ERROR: php.h: No such file...
So, I changed the env PATH:
PATH=$PATH:/usr/local/src/php-5.2.9
what does time();
$t1 = time();
{
do something
}
$t2 = time();
$end_time = $t2 - $t1;
echo $end_time;
what does $end_time represent?
how do you determine the next 5 mins?
--
Best Wishes
willandy.co.uk
2009/3/30 Andrew Williams :
> what does time();
>
> $t1 = time();
>
> {
>
> do something
> }
> $t2 = time();
>
> $end_time = $t2 - $t1;
> echo $end_time;
>
> what does $end_time represent?
The number of seconds it took to "do something".
> how do you determine the next 5 mins?
Assuming you mean
Martin Zvarík napsal(a):
Per Jessen napsal(a):
Martin Zvarík wrote:
Hi,
I am totally new in compiling under cygwin.
I need to compile an PHP extension, and this is what I figured so far:
I wouldn't expect cygwin to be that different to a real Linux
environment - how about:
untar the exten
Martin Zvarík wrote:
> Hmm, it seemed all working, but...
>
> $ make
> ...created 4 files:
>
> /usr/local/src/extension/.libs/extension.a, extension.la.lnk,
> extension.o (280 kB, the other 3 had few bytes, *.a, *.la, *.lai)
>
> $ make install
> ... created: /usr/local/lib/php/extensions/no-deb
If you want to use UTF-8 fonts with FPDF then switch to TCPDF
(www.tcpdf.org)
Thanks Tony I think that it will do what I really need.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I want to upload a .csv file from my local pc to a mysql server. My local
machine is XP2. I have used the following but the file does not upload. When
using php MyAdmin it returns the error 'file not found'. Can anyone help?
". mysql_error());
}
// Select the database
$db_select=mysql_select
Hello :)
I have some troubles with php and mysql. I have a normal MySQL Query
and this returns X > 3 rows.
Now i want to get the last 3 inserted values. For Example i've inserted
A, B, C, D, E
I want to get the last inserted values, e.g. E D C (in reversed order)
So how to do this? I alread
Sebastian Muszytowski wrote:
> Hello :)
>
> I have some troubles with php and mysql. I have a normal MySQL Query
> and this returns X > 3 rows.
> Now i want to get the last 3 inserted values. For Example i've inserted
>
> A, B, C, D, E
>
> I want to get the last inserted values, e.g. E D C (in
>I have some troubles with php and mysql. I have a normal MySQL Query
>and this returns X > 3 rows.
>Now i want to get the last 3 inserted values. For Example i've inserted
>
>A, B, C, D, E
>
>I want to get the last inserted values, e.g. E D C (in reversed order)
>
>So how to do this? I already
Per Jessen napsal(a):
Martin Zvarík wrote:
Hi,
I am totally new in compiling under cygwin.
I need to compile an PHP extension, and this is what I figured so far:
I wouldn't expect cygwin to be that different to a real Linux
environment - how about:
untar the extension
cd dir
phpize
./confi
Thijs Lensselink schrieb:
Sebastian Muszytowski wrote:
Hello :)
I have some troubles with php and mysql. I have a normal MySQL Query
and this returns X > 3 rows.
Now i want to get the last 3 inserted values. For Example i've inserted
A, B, C, D, E
I want to get the last inserted values, e
John Boy wrote:
> Hi
>
> I want to upload a .csv file from my local pc to a mysql server. My local
> machine is XP2. I have used the following but the file does not upload. When
> using php MyAdmin it returns the error 'file not found'. Can anyone help?
>
> // Include our login information
> i
Martin Zvarík wrote:
> Hi,
>
> I am totally new in compiling under cygwin.
> I need to compile an PHP extension, and this is what I figured so far:
>
I wouldn't expect cygwin to be that different to a real Linux
environment - how about:
untar the extension
cd dir
phpize
./configure
make
make i
2009/3/30 Andrew Williams :
> what does time();
>
> $t1 = time();
>
> {
>
> do something
> }
> $t2 = time();
>
> $end_time = $t2 - $t1;
> echo $end_time;
>
> what does $end_time represent?
$end_time is not a great name for it: it's the time (number of
seconds) it took to go from $t1 to $t2. $durat
I've been wrestling with mac os x + php 5.2.6 off and on for a few months to
get it to load the memcache.so and imagick.so extensions. When I executed
php on the command line `php -i | grep imagick` or `php -i | grep memcache`
the output shows that imagick and memcache are both being loaded
succes
When someone does that, it means the execution time between $t1 and $t2...
Att,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Mon, Mar 30, 2009 at 7:38 AM, Richard Heyes wrote:
> 2009/3/30 Andrew Williams :
> > what does time();
> >
> > $t1 = time();
> >
> > {
>
Try this...
$_POST = array_map('stri_tags', $_POST);
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Sat, Mar 28, 2009 at 6:21 PM, Angus Mann wrote:
> Thanks Ashley...that did the trick.
> After reading about the limitations of strip_tags I decided to just repla
On Sun, Mar 29, 2009 at 22:07, abdulazeez alugo wrote:
>> Yea, dude, well me GED says I kin git it dun wit less wastid time.
>>
>> --
> No be only una get pidgin English ooo. Me sef fit do am sharp sharp no be say
> them say.
Is there any particular reason you guys totally trashed this
threa
On Mon, Mar 30, 2009 at 3:16 AM, Michael A. Peters wrote:
> Andrei Bintintan wrote:
>>
>> Any other ideas?
>>
>>
>
> Also - I believe the commercial (full) version of PDFlib can - in fact, I
> believe you can do it with the pecl-pdflib library if you have the full
> version of pdflib installed.
>
On Mon, Mar 30, 2009 at 7:55 AM, Sebastian Muszytowski
wrote:
> Thijs Lensselink schrieb:
>>
>> Sebastian Muszytowski wrote:
>>
>>>
>>> Hello :)
>>>
>>> I have some troubles with php and mysql. I have a normal MySQL Query
>>> and this returns X > 3 rows.
>>> Now i want to get the last 3 inserted
haliphax schrieb:
[..cut...]
Except when your primary key value rolls over, or fills a gap between
two other rows that was left when a row was deleted/moved/etc... there
has got to be a better way than grabbing rows in descending order
based on the auto_increment value.
Are you doing the inser
I agree with you Daniel
Regards,
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Mon, Mar 30, 2009 at 10:58 AM, Daniel Brown wrote:
> On Sun, Mar 29, 2009 at 22:07, abdulazeez alugo
> wrote:
> >> Yea, dude, well me GED says I kin git it dun wit less wastid ti
haliphax wrote:
On Mon, Mar 30, 2009 at 3:16 AM, Michael A. Peters wrote:
Andrei Bintintan wrote:
Any other ideas?
Also - I believe the commercial (full) version of PDFlib can - in fact, I
believe you can do it with the pecl-pdflib library if you have the full
version of pdflib installed.
That would be correct. but two things I have to add:
* it's called bad style to re-write (override) predefined vars like
_POST, _GET, _SERVER ...
* using strip_tags() to clean user-input for safe output ist not O.K.!
use htmlspecialchars(), at least.
Regards,
2009/3/28 Virgilio Quilario :
>> Hi
> Date: Mon, 30 Mar 2009 14:55:08 +0200
> From: s.muszytow...@googlemail.com
> To: p...@addmissions.nl
> CC: php-general@lists.php.net
> Subject: Re: [PHP] PHP + MySQL - Load last inserts
>
> Thijs Lensselink schrieb:
> > Sebastian Muszytowski wrote:
> >
> >> Hello :)
> >>
> >> I have some t
Hello,
I am experiencing problems with utf-8 and php. There seems to be a
problem with BOM.
Some postings say that I have to compile php with
--enable-zend-multibyte. HOwever those postings are very old (2003!).
http://bugs.php.net/bug.php?id=22108
Is this still necessary with the newest ph
> When someone does that, it means the execution time between $t1 and $t2...
Is that for my benefit? Believe it or not, I do know the arcane art of
subtraction...
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.net (Updated March 14th)
--
PHP Ge
Hi All,
My production server has facing disk full problem. Actually my server has
the following drives mounted:
/var - 10 GB
/home - 200 GB
etc...
Now i want to change the document root of apache server from /var to /home.
Is there any problem if i change this?
Please suggest.
Regards,
Manoj
On Mon, Mar 30, 2009 at 11:59, Manoj Singh wrote:
> Hi All,
>
> My production server has facing disk full problem. Actually my server has
> the following drives mounted:
> /var - 10 GB
> /home - 200 GB
> etc...
>
> Now i want to change the document root of apache server from /var to /home.
>
> Is
On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski
wrote:
> haliphax schrieb:
>>>
>>> [..cut...]
>>
>> Except when your primary key value rolls over, or fills a gap between
>> two other rows that was left when a row was deleted/moved/etc... there
>> has got to be a better way than grabbing row
On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote:
>> When someone does that, it means the execution time between $t1 and $t2...
>
> Is that for my benefit? Believe it or not, I do know the arcane art of
> subtraction...
I would subtract more often, but sacrificial farm animals and black
cand
Stutter Stutters wrote:
I've been wrestling with mac os x + php 5.2.6 off and on for a few months to
get it to load the memcache.so and imagick.so extensions. When I executed
php on the command line `php -i | grep imagick` or `php -i | grep memcache`
the output shows that imagick and memcache ar
Hello everybody,
has anybody an idea on how to fix this? Is it really necessary to
recomplile for utf-8 BOM support?
Regards, Merlin
Merlin Morgenstern wrote:
Hello,
I am experiencing problems with utf-8 and php. There seems to be a
problem with BOM.
Some postings say that I have to comp
On Mon, Mar 30, 2009 at 12:42 PM, Merlin Morgenstern
wrote:
> Some postings say that I have to compile php with --enable-zend-multibyte.
> HOwever those postings are very old (2003!).
> http://bugs.php.net/bug.php?id=22108
Did you see what Derick said abut this in the last comment?
*
[22 Aug 200
I have this script that is no longer working to upload files, it goes thru
the motions and says the file is uploaded but then there is NO file in the
ArtWork folder
any ideas?
if ($_FILES) {
for ($x=0; $x < 15; $x++) {
if (is_uploaded_file ($_FILES['Artwork']['tmp_name'
Yes I was reading about this. However, try to do a search on this:
http://www.google.de/search?hl=de&q=enable-zend-multibyte&btnG=Google-Suche&meta=
Loads of postings that do not look that good. What are all the chinese
sites do? It is strange that there is no official description on php.net
re
On Mar 30, 2009, at 09:22 AM, Stutter Stutters wrote:
I've been wrestling with mac os x + php 5.2.6 off and on for a few
months to get it to load the memcache.so and imagick.so
extensions. When I executed php on the command line `php -i | grep
imagick` or `php -i | grep memcache` the outpu
On Mon, 2009-03-30 at 11:44 -0500, Terion Miller wrote:
> I have this script that is no longer working to upload files, it goes thru
> the motions and says the file is uploaded but then there is NO file in the
> ArtWork folder
>
> any ideas?
> if ($_FILES) {
> for ($x=0; $x < 15; $
2009/3/30 Terion Miller
> I have this script that is no longer working to upload files, it goes thru
> the motions and says the file is uploaded but then there is NO file in the
> ArtWork folder
>
> any ideas?
>if ($_FILES) {
>for ($x=0; $x < 15; $x++) {
>if (is_upload
On Mon, Mar 30, 2009 at 12:05 PM, haliphax wrote:
> On Mon, Mar 30, 2009 at 10:47 AM, Richard Heyes wrote:
> >> When someone does that, it means the execution time between $t1 and
> $t2...
> >
> > Is that for my benefit? Believe it or not, I do know the arcane art of
> > subtraction...
>
> I wou
HI there,
I now compiled php with zend multibyte. The trouble with the extra
characters is now gone, but all special characters are now replaced with
a questionmark! The document type shows utf-8, but somehow php seems not
to pars the content OK.
Does nobody have the same problem?
Regards,
On Mon, Mar 30, 2009 at 1:11 PM, Ashley Sheridan
wrote:
> On Mon, 2009-03-30 at 11:44 -0500, Terion Miller wrote:
> > I have this script that is no longer working to upload files, it goes
> thru
> > the motions and says the file is uploaded but then there is NO file in
> the
> > ArtWork folder
On Mon, 2009-03-30 at 12:47 -0500, Terion Miller wrote:
> On Mon, Mar 30, 2009 at 1:11 PM, Ashley Sheridan
> wrote:
>
> > On Mon, 2009-03-30 at 11:44 -0500, Terion Miller wrote:
> > > I have this script that is no longer working to upload files, it goes
> > thru
> > > the motions and says the file
I used Pecl to install memcache and imagick, I ran the command you
mentioned and this was the output:
$ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O
bundle i386
I don't see anything regarding x86_64, so I
On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar wrote:
> The people use that to measure performance.
>
> If you're intersted about that read
> http://www.igorescobar.com/blog/2009/03/05/benchmarking-de-desempenho-no-php/
> (in portuguese, sorry)
>
> Regards,
> Igor Escobar
>
> On Mon, Mar 30, 2009
On Mon, Mar 30, 2009 at 12:34 PM, Merlin Morgenstern
wrote:
> HI there,
>
> I now compiled php with zend multibyte. The trouble with the extra
> characters is now gone, but all special characters are now replaced with a
> questionmark! The document type shows utf-8, but somehow php seems not to
>
Okey, but you understand the purpouse of it?
Igor Escobar
systems analyst & interface designer
www . igorescobar . com
On Mon, Mar 30, 2009 at 3:42 PM, haliphax wrote:
> On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar
> wrote:
> > The people use that to measure performance.
> >
> > If you're
On Mon, Mar 30, 2009 at 1:51 PM, Igor Escobar wrote:
> Okey, but you understand the purpouse of it?
>
> On Mon, Mar 30, 2009 at 3:42 PM, haliphax wrote:
>>
>> On Mon, Mar 30, 2009 at 11:37 AM, Igor Escobar
>> wrote:
>> > The people use that to measure performance.
>> >
>> > If you're intersted a
Hi guys, probably everybody goes think: "its the same problem ever" HTML
before header() functions ... but it is not.
I has working on a project and this are a running in "Windows" (shame on
me).
Recently i migrate to *Ubuntu *and some problems occurred and that
specifically i can't understand
Stutter Stutters wrote:
I used Pecl to install memcache and imagick, I ran the command you
mentioned and this was the output:
$ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so
/usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O
bundle i386
I don't see anyth
2009/3/30 Igor Escobar :
> Hi guys, probably everybody goes think: "its the same problem ever" HTML
> before header() functions ... but it is not.
>
> I has working on a project and this are a running in "Windows" (shame on
> me).
> Recently i migrate to *Ubuntu *and some problems occurred and t
haliphax wrote:
On Mon, Mar 30, 2009 at 12:34 PM, Merlin Morgenstern
wrote:
HI there,
I now compiled php with zend multibyte. The trouble with the extra
characters is now gone, but all special characters are now replaced with a
questionmark! The document type shows utf-8, but somehow php seems
>
> The chmod in the script just ensures that the file you uploaded is given
> the correct permissions. Turn on all errors and warnings for the script
> so you can see where the problem is.
>
>
> Ash
> www.ashleysheridan.co.uk
>
> Thanks everyone, I figured it out, it was the directory permissions
- Original Message -
From: "Michael A. Peters"
To: "Grant Peel"
Cc:
Sent: Sunday, March 29, 2009 10:00 PM
Subject: Re: [PHP] Security Support
Grant Peel wrote:
Good Morning / Afternoon,
We run several of our own servers:
- Dell Power Edge 1U, Pentium,
- FreeBSD (6.x soon to be 7.
Andrew Williams wrote:
> what does time();
>
> $t1 = time();
>
> {
>
> do something
> }
> $t2 = time();
>
> $end_time = $t2 - $t1;
> echo $end_time;
>
> what does $end_time represent?
>
> how do you determine the next 5 mins?
So if you haven't deduced the answer from other replies, this woul
On Mon, Mar 30, 2009 at 3:35 PM, Shawn McKenzie wrote:
> Andrew Williams wrote:
>> what does time();
>>
>> $t1 = time();
>>
>> {
>>
>> do something
>> }
>> $t2 = time();
>>
>> $end_time = $t2 - $t1;
>> echo $end_time;
>>
>> what does $end_time represent?
>>
>> how do you determine the next 5 mins?
Grant Peel wrote:
- Original Message - From: "Michael A. Peters"
To: "Grant Peel"
Cc:
Sent: Sunday, March 29, 2009 10:00 PM
Subject: Re: [PHP] Security Support
Grant Peel wrote:
Good Morning / Afternoon,
We run several of our own servers:
- Dell Power Edge 1U, Pentium,
- FreeBSD
Thijs Lensselink wrote:
John Boy wrote:
Hi
I want to upload a .csv file from my local pc to a mysql server. My local
machine is XP2. I have used the following but the file does not upload. When
using php MyAdmin it returns the error 'file not found'. Can anyone help?
Why not just use phpmya
haliphax wrote:
On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski
wrote:
haliphax schrieb:
[..cut...]
Except when your primary key value rolls over, or fills a gap between
two other rows that was left when a row was deleted/moved/etc... there
has got to be a better way than grabbing rows
On Mon, Mar 30, 2009 at 5:10 PM, Chris wrote:
> haliphax wrote:
>>
>> On Mon, Mar 30, 2009 at 9:13 AM, Sebastian Muszytowski
>> wrote:
>>>
>>> haliphax schrieb:
>
> [..cut...]
Except when your primary key value rolls over, or fills a gap between
two other rows that was left
The physical order of the rows changed (as you can see) but it does not
re-use the id's that were deleted.
Ordering by the id will get you the last bunch inserted.
If you're using innodb you'll have to be aware it's transaction specific, if
you're using myisam it will be system wide.
I'll ha
I cannot find anything on google or the manuals/tutorials that gives
some kin of clear explanation of how to so nested selects with where or
whatever.
I have three tables: books, authors and book-authors.
I need to retrieve only those books whose author's names begin with A.
I have tried several ma
PJ wrote:
I cannot find anything on google or the manuals/tutorials that gives
some kin of clear explanation of how to so nested selects with where or
whatever.
I have three tables: books, authors and book-authors.
I need to retrieve only those books whose author's names begin with A.
I have trie
Hello all,
Recently I upgraded a box running phpwiki from php 5.2.8 to 5.2.9. After
the upgrade, phpwiki (1.3.14) started spitting out the following two
errors, both of which are basically leaving the wiki dead in the water:
[30-Mar-2009 22:01:23] PHP Parse error: syntax error, unexpected T
Output buffering turned off?
Bastien
Sent from my iPod
On Mar 30, 2009, at 15:03, Igor Escobar wrote:
Hi guys, probably everybody goes think: "its the same problem
ever" HTML
before header() functions ... but it is not.
I has working on a project and this are a running in
"Windows" (
Chris wrote:
PJ wrote:
I cannot find anything on google or the manuals/tutorials that gives
some kin of clear explanation of how to so nested selects with where or
whatever.
I have three tables: books, authors and book-authors.
I need to retrieve only those books whose author's names begin with
Jim Lucas wrote:
Chris wrote:
PJ wrote:
I cannot find anything on google or the manuals/tutorials that gives
some kin of clear explanation of how to so nested selects with where or
whatever.
I have three tables: books, authors and book-authors.
I need to retrieve only those books whose author's
Hi there,
I am having trouble to switch with an i18n project to utf-8. The problem
is, that php has trouble with files that are saved in UTF-8 with BOM. It
is causing strange bahavior like adding extra headers. On the other hand
most editors only save UTF-8 with BOM.
Has somebody experienced
Charles Sprickman wrote:
Hello all,
Recently I upgraded a box running phpwiki from php 5.2.8 to 5.2.9.
After the upgrade, phpwiki (1.3.14) started spitting out the following
two errors, both of which are basically leaving the wiki dead in the water:
[30-Mar-2009 22:01:23] PHP Parse error:
73 matches
Mail list logo