snip
-bash-2.05b$ php test.php
Content-type: text/html
X-Powered-By: PHP/4.3.10
Memory Limit: 32K
Memory Used: 13432
Error (1024) in /www/l-i-e.com/web/test.php:12 - Test
-bash-2.05b$
Note a complete lack of Made it nor an error message trapped by my error
handler when the RAM runs out. :-(
Hello,
I want to display TTF text in a png image. I use the following type of
code:
$font=luxisr;
$font_size=16;
$img=imagecreate($width, $height);
$bg=imagecolorallocate($img, 255, 255, 255);
$font_color=imageallocatecolor($img, 0, 0, 0);
imagettftext($img, $font_size, 0, $x, $y, $font_color,
Hi,
Cause as I stared to programm html with Dreamweaver, I stayed with it.
Good syntax Hignlighting and no Program switching between Coding and
designing.
It fits all my needs.
Greetings
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Darren Linsley [mailto:[EMAIL PROTECTED]
Gesendet:
Am I correct in thinking Magic Quotes automatically adds quotes to all
posted variables, therefore if you are displaying post variables on a
form you have to remove the quotes. They are only needed if you are
actually inserting/updating into the database. Whether magic quotes
are on or not you
Ben Edwards (lists) wrote:
Am I correct in thinking Magic Quotes automatically adds quotes to all
posted variables, therefore if you are displaying post variables on a
form you have to remove the quotes. They are only needed if you are
actually inserting/updating into the database. Whether
Hi
First of all: I'm sorry for writing errors - I don't speak English too
much (spanish)
I'm building an application which works that way:
I use url parameters to set zone (document location), actions and
params.
I've badly make security part so only registered people
($_session['USER'] -
Jochem Maas wrote:
Ben Edwards (lists) wrote:
Am I correct in thinking Magic Quotes automatically adds quotes to all
posted variables, therefore if you are displaying post variables on a
form you have to remove the quotes. They are only needed if you are
actually inserting/updating into the
On Thu, 2005-02-10 at 13:28 +0100, Jochem Maas wrote:
Ben Edwards (lists) wrote:
Am I correct in thinking Magic Quotes automatically adds quotes to all
posted variables, therefore if you are displaying post variables on a
form you have to remove the quotes. They are only needed if you are
hi...
i need a quick/simple app/script the will allow me to create a master
directory/list, and then create subcategories of the master categories, as
well as the child categories...
i'd also like to be able to move nodes/branches of the tree around as
needed.
i'm basically looking at setting
u may try to use ini_set.
prepend it to the file and see what happens:
ini_set('display_errors', 1);
ini_set('error_reporting',E_ALL);
may not solve the problem but is a good start to see where u are.
ini_set got a good documentation about error displaying on the website,
what it does is
On Wed, 09 Feb 2005 10:56:51 -0800 (PST), Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
* W Luke [EMAIL PROTECTED]:
I've been fascinated by Flickr's, del.icio.us and other sites' usage
of these Weighted Lists. It's simple but effective and I really want
to use it for a project I'm
On Thu, 2005-02-10 at 13:45 +0100, Jochem Maas wrote:
Ben Edwards (lists) wrote:
PS phpsc.net seems to be down, or is the domain wrong?
er yes, oops. as Jeffery pointed out it should have been
phpsec.org. had a brainfreeze sorry.
OK, trying to do a function to remove magic quotes from
Shouldn't have taken your Cat to school with a bag of catnip. That was
asking for trouble. :)
Steve
At 08:44 PM 2/9/2005, Dotan Cohen wrote:
Maybe it's not People Hate Perl after all...
Pot, Heroin, Pussy?!?
I think I got suspended for at leat two of those on campus grounds at
some point or
After first authentification of the user i prefere session. I can be sure
that this is the user who autht himself to me, caus the session is unique.
-Ursprüngliche Nachricht-
Von: Jose Angel Sanchez (Jone) [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 9. Februar 2005 14:49
An:
To all the cool Americans, ignore my following words.
To all the others. You are just dumb asses.
There are many occasions where you show it really open.
You elect a dumb President, that lies to you in one way.
You let your Kids get kriminalized.
Your belive in God is as paranoid as the muslimes
[snip]
To all the cool Americans, ignore my following words.
To all the others. You are just dumb asses.
There are many occasions where you show it really open.
You elect a dumb President, that lies to you in one way.
You let your Kids get kriminalized.
Your belive in God is as paranoid as the
You are really taking me to serious.
Ok might be that my english is not good enough to let that sound ironic.
BTW. What is STFU?
Greetings
Mirco
-Ursprüngliche Nachricht-
Von: Jay Blanchard [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. Februar 2005 15:06
An: Mirco Blitz;
[snip]
BTW. What is STFU?
[/snip]
Ooo.., let me do this one...
This is one I can answer. ;-)
STFU (Shut the F*%# up!)
alex hogan
*
The contents of this e-mail and any files transmitted with it are
Hello Mirco,
Thursday, February 10, 2005, 2:09:21 PM, you wrote:
MB BTW. What is STFU?
Something you probably should have done before insulting the majority
of list members.
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
I am not young enough to know
Oh please hack down on me.
I also hear a lot of crap aout us germans every day an I dont get pissed of
that as well.
You really take yourself to serious.
-Ursprüngliche Nachricht-
Von: Richard Davey [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 10. Februar 2005 15:23
An:
[snip]
Oh please hack down on me.
I also hear a lot of crap aout us germans every day an I dont get pissed
of
that as well.
You really take yourself to serious.
[/snip]
I told you soreally you should just STFU now or you might find your
PHP questions will go unanswered. If you had said
This thread, as relates to PHP, is pointless. If people have issues with what
someone else said, please take it up with them privately and/or notify the list
admins if you think it was inappropriate enough to warrant administrative
action.
The joke was cute but all in all, not that funny. It
Hello Mirco,
Thursday, February 10, 2005, 2:38:15 PM, you wrote:
MB I also hear a lot of crap aout us germans every day an I dont get
MB pissed of that as well.
MB You really take yourself to serious.
Considering this is a technical mailing list dedicated to PHP and not
one about world
From: Mirco Blitz [mailto:[EMAIL PROTECTED]
Oh please hack down on me.
I also hear a lot of crap aout us germans every day an I dont
get pissed of that as well.
You really take yourself to serious.
Seriously, what do you hear about Germans on this list? I read this list
daily and,
Mirco Blitz wrote:
Oh please hack down on me.
I also hear a lot of crap aout us germans every day an I dont get pissed of
that as well.
You really take yourself to serious.
I don't take you at all. Let's hope there's not some problem that
you're trying to solve that I have experience in.
Mirco Blitz wrote:
To all the cool Americans, ignore my following words.
To all the others. You are just dumb asses.
There are many occasions where you show it really open.
You elect a dumb President, that lies to you in one way.
You let your Kids get kriminalized.
Your belive in God is as
SNIP ALL
Let's end this -- NOW please.
Way off topic to start with, and it's gone from a posting of an old joke,
through political criticism, to petty bickering.
Please end this thread, now.
Please don't reply to this, whether you agree or disagree - let's just end it.
Cheers - Miles
--
PHP
Jay Blanchard wrote:
snip
Are you familiar with the concept 'joke'?
As for the rest of the things you say in this post.I hope that you
have a flame retardent suit because many will take issue with your
judgemental stand. You have demonstrated a fundamental lack of
understanding where America
Hi,
Please UNSUBSCRIBE me from the php mailing list.
I have no interest whatsoever in the bulkmail.
Thanks,
Biodun
Mikey [EMAIL PROTECTED] wrote:
Hi,
Sorry i don't really find something useful there.
That is cos pdflib is for making pdfs and not parsing them. AFAIK you are
on your own with
Ben Edwards (lists) wrote:
On Thu, 2005-02-10 at 13:45 +0100, Jochem Maas wrote:
Ben Edwards (lists) wrote:
PS phpsc.net seems to be down, or is the domain wrong?
er yes, oops. as Jeffery pointed out it should have been
phpsec.org. had a brainfreeze sorry.
OK, trying to do a function to remove
I have a loop that is putting the filenames of files in a certain directory
into a listbox. I am then using the onChange event of the listbox to fire a
function. In this script the onchange event sends the function the path an
filename of the chosen file from the list. I have tested what I
Its sad too see so many programmers with so much time on their hands.
Stop wasting this valuable resource on something which came from a
parody site in the first place!
post your idiotic commentary somewhere else
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Abiodun Akala wrote:
Hi,
Please UNSUBSCRIBE me from the php mailing list.
I have no interest whatsoever in the bulkmail.
Please read.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL
Aaron Todd wrote:
I have a loop that is putting the filenames of files in a certain
directory
into a listbox. I am then using the onChange event of the listbox to fire
a
function. In this script the onchange event sends the function the path
an
filename of the chosen file from the list.
Aaron Todd wrote:
I have a loop that is putting the filenames of files in a certain directory
into a listbox. I am then using the onChange event of the listbox to fire a
function. In this script the onchange event sends the function the path an
filename of the chosen file from the list. I
The following code is passed $_POST to clean magic quotes code out ;_
function remove_magic_quotes( $array ) {
foreach( $array as $index = $value ) {
if ( is_array( $array[$index] ) ) {
remove_magic_quotes( $array[$index] );
} else {
Ben Edwards (lists) wrote:
Am I correct in thinking Magic Quotes automatically adds quotes to all
posted variables, therefore if you are displaying post variables on a
form you have to remove the quotes. They are only needed if you are
actually inserting/updating into the database. Whether
On Thursday 10 February 2005 11:58, Niels wrote:
Richard Lynch wrote:
Perhaps the reason there is no article or tutorial is that it would
be a book, not an article or tutorial :-)
There are so MANY affected/related software system pieces that you
can't do it justice in an article or
On Thu, 10 Feb 2005, Richard Lynch wrote:
In honor of our recent Super Bowl, here is a slow-motion instant replay:
Bob: Well, it's a great day so far for PHP today, isn't it Jim?
Jim: You've got that right, Bob! Now let's check out this play.
Bob: Watch as the user surfs right to that web
On Thursday 10 February 2005 23:36, Ben Edwards (lists) wrote:
The cleaning works but magic_quotes_runtime is false even if magic
codes are on, any ideas?
There are at least two magic_quotes_* settings, make sure you are
referring to the correct one(s).
--
Jason Wong - Gremlins Associates -
Richard Lynch wrote:
...
In honor of our recent Super Bowl, here is a slow-motion instant replay:
Bob: Well, it's a great day so far for PHP today, isn't it Jim?
Jim: You've got that right, Bob! Now let's check out this play.
Bob: Watch as the user surfs right to that web page!
Jim: Yeah, smooth!
Greg Donald wrote:
On Thu, 10 Feb 2005 01:01:18 +0200, Dotan Cohen [EMAIL PROTECTED]
wrote:
I very much disagree. I am writing this on my Fedora Core 3 box and am
very happy with it's 'bloat'. As a new convert form windows I am kinda
used to everything being there at my fingertips. And in
Bruno B B Magalhães wrote:
is there any problems using $GLOBALS superglobal to carry all my global
classes instances?
For example:
$GLOBALS['myclass'] = new myclass();
This is exactly the same as:
$myclass = new myclass();
as far as I've ever been able to tell, except that $GLOBALS is a
On Wed, 09 Feb 2005 13:28:47 -0500 Al [EMAIL PROTECTED] wrote:
Here is the code I ended up with, I left some test stuff included so
anyone who may need it has a good start.
Oh, and another thing: if anybody's going to implement this using sockets
instead of fopen(), make sure to send the header
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to be able show the
Hi all.
I have a site, the user goes through a few pages inputting info and also
making various selections. On the last page they are shown a success
page. however if they go back by clicking the back button. they can re
process the last step which is undersireable. I can't really use
javascript
Mirco Blitz wrote:
HI,
I am really confused.
I have an array, that looks like this:
print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3]
= kat [4] = pages [5] = access [6] = dofile [7] = MAX_FILE_SIZE [8]
=
pdf [9] = dolink [10] = link [11] = erstam [12] = endless [13] =
[snip]
is there a way to route from my second last step to my last one with a
php page between them that will intercept any back press and also will
redirect when the process goes from the second last step to the last
step. If the user clicks back from the last page it must then determine
that he
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to be able show the
Ed Curtis wrote:
On Thu, 10 Feb 2005, Richard Lynch wrote:
In honor of our recent Super Bowl, here is a slow-motion instant replay:
Bob: Well, it's a great day so far for PHP today, isn't it Jim?
Jim: You've got that right, Bob! Now let's check out this play.
Bob: Watch as the user surfs
Quite true. However, warnings about don't do this or that, an
attacker may use this and so on are numerous, but advice on what to do
about it is rarer. And this thing with system calls is a good example:
I can find many warnings about not doing it, but not a single piece of
advice about how
Angelo Zanetti wrote:
I have a site, the user goes through a few pages inputting info and also
making various selections. On the last page they are shown a success
page. however if they go back by clicking the back button. they can re
We kinda just went through this two days ago, which is why
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to be able show the
This message was cancelled from within Mozilla.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to be able show the
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to be able show the
Jason Motes wrote:
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to
Jason Motes wrote:
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in windows you can see the title of
the file and you can change this property there also.
I wrote a php page that lists all files in a certain directory. I want
to
No.
-Original Message-
From: Jason Motes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 4:14 PM
To: php-general
Subject: [PHP] pdf properties
Hello,
Is there anyway to retrieve the properties from a pdf file using php?
When you right click on a pdf file in
On Thu, 10 Feb 2005, Richard Lynch wrote:
Ed Curtis wrote:
On Thu, 10 Feb 2005, Richard Lynch wrote:
In honor of our recent Super Bowl, here is a slow-motion instant replay:
Bob: Well, it's a great day so far for PHP today, isn't it Jim?
Jim: You've got that right, Bob! Now let's
This message was cancelled from within Mozilla.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This message was cancelled from within Mozilla.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
snip
Maybe if you send it 5 more times, someone will answer you.
/snip
Be kind, i tried sending this yesterday and my post would not show up
and they were not bounced back to me. Then i figured out what i did
wrong and they all went through.
Sorry
--
PHP General Mailing List
hi
i have a script that exports the result of a mysql query to a csv file suitable
for downloading
the code looks like
$result = mysql_query(select * from user,mjp1,mjp2,mjp3,mjp4);
while($row = mysql_fetch_array($result)) {
$csv_output .= $row[userid] $row[firstname] $row[lastname]\n }
I use Zend.
The next time you can use the search on the php web page.
On Thu, 10 Feb 2005 09:58:01 +0200, Kaspars Bankovskis [EMAIL PROTECTED]
wrote:
notepad forever. but if you prefer syntax highlighting there is a
freeware soft called notepad2.
--
PHP General Mailing List
Im playing around with iterators, and Im getting this error -
php in free(): warning: chunk is already free
Im running php 5.0.3 on FreeBSD 5.3.
Any ideas what may be wrong?
Thanks
?php
$array = array(0 = array('world'));
class RecursiveArrayIterator extends ArrayIterator implements
Question. Does the Tabs and Divs work under Mozilla Based Browsers?
On Wed, 09 Feb 2005 23:58:52 -0200, Manuel Lemos [EMAIL PROTECTED] wrote:
Hello,
on 02/09/2005 01:38 PM [EMAIL PROTECTED] said the following:
I have a form which is too long to be useful displayed on one page. I
have
Hi,
Probably the Pear Excel_Syltesheet_Writer works for you.
http://pear.php.net/package/Spreadsheet_Excel_Writer
I found out that it is faster with huge data sets on my system.
Greetings
Mirco
-Ursprüngliche Nachricht-
Von: Redmond Militante [mailto:[EMAIL PROTECTED]
Gesendet:
Gh wrote:
Question. Does the Tabs and Divs work under Mozilla Based Browsers?
Generally speaking... if it's a part of a standard / RFC then it will be
supported by Mozilla. If not, then probably not.
--
Teach a man to fish...
NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA |
Gerard Samuel wrote:
...
?php
$array = array(0 = array('world'));
class RecursiveArrayIterator extends ArrayIterator implements
RecursiveIterator
{
function hasChildren()
{
return (is_array($this-current()));
}
function getChildren()
{
return new self($this-current());
I have the following code;_
$sql = select * from text where id= '$id' ;
$row = fetch_row_row( $sql, $db );
$img_loc= $row[img_loc];
$text_type = $row[text_type];
$seq
Hello Ben,
Friday, February 11, 2005, 12:36:16 AM, you wrote:
BEl So the question is is there a function like create_var which
BEl takes a string and a value and creates a variable?
$var_name = new_variable;
$$var_name = hello world;
echo $new_variable;
Search for variable variables in the PHP
The file is protected with the password ghj001.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why does
quotemeta(pat:1$WRW)
return
pat:1
instead of
pat:1\$WRW
What am I misunderstanding about the quotemeta function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why does
quotemeta(pat:1$WRW)
return
pat:1
instead of
pat:1\$WRW
What am I misunderstanding about quotemeta function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Why does
quotemeta(pat:1$WRW)
return
pat:1
instead of
pat:1\$WRW
What am I misunderstanding about quotemeta function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Barnett wrote:
Gerard Samuel wrote:
...
?php
$array = array(0 = array('world'));
class RecursiveArrayIterator extends ArrayIterator implements
RecursiveIterator
{
function hasChildren()
{
return (is_array($this-current()));
}
function getChildren()
{
return new
On Thu, 10 Feb 2005 11:10:46 -0800 (PST), Richard Lynch [EMAIL PROTECTED]
wrote:
Believe it or not, I don't *want* to be a Linux guy, or a SysAdmin nor
track versions of 100 software packages nor subscribe to a half-dozen
security forums, nor ...
I enjoy sysadmin work myself.
I just want to
Richard Lynch wrote:
Mirco Blitz wrote:
HI,
I am really confused.
I have an array, that looks like this:
print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3]
= kat [4] = pages [5] = access [6] = dofile [7] = MAX_FILE_SIZE [8]
=
pdf [9] = dolink [10] = link [11] = erstam [12] =
On 10 Feb 2005 Richard Lynch wrote:
Perhaps you need to use http://php.net/reset
You see, when you do foreach or each or any of those, there is an
internal setting in the array that is altered to keep track of where you
are. Kind of like a big You are here arrow inside the guts of the
Ben Edwards (lists) wrote:
I have the following code;_
$sql = select * from text where id= '$id' ;
$row = fetch_row_row( $sql, $db );
$img_loc= $row[img_loc];
$text_type = $row[text_type];
I like to do this:
foreach( $row as $key=$val) {
$$key = $row[$key];
}
John Holmes wrote:
Ben Edwards (lists) wrote:
I have the following code;_
$sql = select * from text where id= '$id' ;
$row = fetch_row_row( $sql, $db );
$img_loc=
On Thu, 2005-02-10 at 14:26, Richard Lynch wrote:
Mirco Blitz wrote:
HI,
I am really confused.
I have an array, that looks like this:
print_r($elementsarr) = Array ( [0] = knr [1] = subject [2] = title [3]
= kat [4] = pages [5] = access [6] = dofile [7] = MAX_FILE_SIZE [8]
=
pdf
I will read over extract and change my ways ;-)
Randy
John Holmes wrote:
Randy Johnson wrote:
I like to do this:
foreach( $row as $key=$val) {
$$key = $row[$key];
}
You're just recreating a slower version of extract()...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Randy Johnson wrote:
I like to do this:
foreach( $row as $key=$val) {
$$key = $row[$key];
}
You're just recreating a slower version of extract()...
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals
Because it's parsing $WRW as a string, because of the double quotes. so
you would need to do it like this:
quotemeta('pat:1$WRW')
to not let it parse any variables
or
quotemeta(pat:1\$WRW)
to not parse that particular variable
Steve Kaufman wrote:
Why does
quotemeta(pat:1$WRW)
return
86 matches
Mail list logo