At 5:10 PM -0600 12/15/07, Richard Lynch wrote:
On Wed, December 12, 2007 11:07 pm, Robert Cummings wrote:
Once again, we're not trying to prove order. Order obviously exists.
I'm not sure I'd agree that order exists in the first place, much less
randomness or disorder. They could all be sol
Just a correction...
Replace at the beginning of the script (I had some typos, while extracting the
code from the original script)
> $imW = 200;
> $imH = 100;
By this..
$imgW = 200;
$imgH = 100;
Regards,
Rob
Andrés Robinet | Lead Developer | BESTPLACE CORPORATION
5100 Bayview Drive 206, Ro
I'm tempted to say that the problem is that the system is not finding the
font... you'd need to include the full path to the font (and it must be
readable for the user PHP runs on behalf).
Try the following:
Just for testing put the font and the script that generates the image in the
SAME dire
On Dec 17, 2007 10:44 PM, VamVan <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I receive an output as an XML File. Please provide some scripts that I
> can use for extraction of the values.
>
> For Example:
> hello
>
> hello2
>
> hello3
>
> are 3 different records in the XML File. How can I retrieve
On Dec 17, 2007 7:06 PM, Grace Shibley <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> We have an encryption function that was written in another language that we
> needed translated to PHP.
>
> Here's the function:
>
> function rc4 pText, pKey
> -- initialize
> repeat with i = 0 to 255
>
Hello,
I receive an output as an XML File. Please provide some scripts that I
can use for extraction of the values.
For Example:
hello
hello2
hello3
are 3 different records in the XML File. How can I retrieve the result set
in a loop and also sort it like DESC and ASC for example.
While()
Andrés,
Thank you for responding.
Deploy the fonts along with your scripts... that's the only way I know.
... I do so for a custom CAPTCHA script I've made.
This sounds like a good solution. I'm having a little trouble
implementing it, however.
I have what I believe is a freely distributab
Hi Everyone,
We have an encryption function that was written in another language that we
needed translated to PHP.
Here's the function:
function rc4 pText, pKey
-- initialize
repeat with i = 0 to 255
put i into S1[i]
end repeat
put 0 into i
repeat with n = 0 to 255
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a small application made in flash, that uses a set of PHP scripts
to pull data from a database. I've added sessions to this scripts so
they would only return the data if a proper session has been
initialized, the flash movie is hosted in a
>
> And I basically completely disagree with the author in the first
> place, so...
Well, that's been clear for a year. :)
> > (P.S. I'll get to the issue of rearchitecting this via require instead
> > of using header() redirects,cough, cough, Richard Lynch, cough, cough
> > :) in a future messag
http://www.imagemagick.org/Usage/text/
You can use http://docs.php.net/manual/en/intro.imagick.php
Or exec() with Imagemagick commands directly http://www.imagemagick.org
Dave M G wrote:
PHP List,
I've been able to write text into an image using the default fonts
available, with this command:
On Sun, December 16, 2007 2:05 pm, Robert Erbaron wrote:
> - Never show pages in response to POST
> - Navigate from POST to GET using REDIRECT
> - Always load pages using GET
I believe #3 is simply a more general way of saying #1 + #2, but may
be wrong.
And I basically completely disagree with th
On Sun, December 16, 2007 7:59 pm, Dave M G wrote:
> I've been able to write text into an image using the default fonts
> available, with this command:
>
> ImageString($image, 5, $x - 20,$y-10, $text, $textColour);
>
> The problem is that the font that is identified by the index "5" is
> too
> smal
17 dec 2007 kl. 18.23 skrev David Powers:
Frank Arensmeier wrote:
When you install PHP5 with the package from entropy.ch, the new
PHP5 will install under /usr/local/php5.
The Mac package from entropy.ch is not compatible with Leopard (Mac
OS X 10.5). Marc Liyanage is working on a Leopard-c
On Mon, December 17, 2007 8:48 am, opo jal wrote:
> hi, i have a nested array
> ex:
> print_r($nestedarray):
> Array(
> [0]=>Array([id]=>1 [name]=>name1 [etc]=>etc1)
> [1]=>Array([id]=>2 [name]=>name2 [etc]=>etc2)
> [3]=>Array([id]=>3 [name]=>name3 [etc]=>etc3)
> )
>
> if I want to check wheth
On Dec 17, 2007 3:13 PM, Hiep Nguyen <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i have this on top of my php page:
>
> header("Content-Type: application/vnd.ms-excel");
> header("Content-Disposition: inline; filename=excelfile.xls");
>
> but it is not prompt to save the file instead it opens right in
Frank Arensmeier wrote:
When you install PHP5 with the package from entropy.ch, the new PHP5
will install under /usr/local/php5.
The Mac package from entropy.ch is not compatible with Leopard (Mac OS X
10.5). Marc Liyanage is working on a Leopard-compatible version. Check
the forum on his sit
ALL of them should report trojan if you download them to your cache but
only should be an issue if you have PHP installed on that machine and
then execute that code in your own php server.
They are all trojans/back door.
But if you view the source then you aren't going to bork yourself.
As they
On Dec 17, 2007 11:27 AM, Jeremy Mcentire <[EMAIL PROTECTED]> wrote:
> Wait, I'm confused. Did PHP send a virus to your computer without
> action on your part? That'd be scary. If you downloaded something,
> was the checksum not published for you to verify your download prior
> to unpacking it?
2 things I've done to them to try to catch all...
1. GZiped them all (you'll have to download them to a machine and look
at the source yourself, taking your own precautions and YES, they will
scan malicious in this setup as they are all trojans/backdoors)
2. changed their extension to .txt on the
Wait, I'm confused. Did PHP send a virus to your computer without
action on your part? That'd be scary. If you downloaded something,
was the checksum not published for you to verify your download prior
to unpacking it? That's always a warning worthy of apprehension.
What was the "PHP-B
> -Original Message-
> From: Wolf [mailto:[EMAIL PROTECTED]
> Sent: 17 December 2007 16:00
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Securing your Sites
>
> Funny, they should all be PHPS, source only and my last check only did
> them on the source viewin
$nestedarray[$i['id'] == 5
and $i is your array index
On 17/12/2007, opo jal <[EMAIL PROTECTED]> wrote:
>
> hi, i have a nested array
> ex:
> print_r($nestedarray):
> Array(
> [0]=>Array([id]=>1 [name]=>name1 [etc]=>etc1)
> [1]=>Array([id]=>2 [name]=>name2 [etc]=>etc2)
> [3]=>Array([id]=>3 [name]
> -Original Message-
> From: Wolf [mailto:[EMAIL PROTECTED]
> Sent: 17 December 2007 16:00
> To: [EMAIL PROTECTED]
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Securing your Sites
>
> Funny, they should all be PHPS, source only and my last check only did
> them on the source viewin
print_r($nestedarray):
Array(
[0]=>Array([id]=>1 [name]=>name1 [etc]=>etc1)
[1]=>Array([id]=>2 [name]=>name2 [etc]=>etc2)
[3]=>Array([id]=>3 [name]=>name3 [etc]=>etc3)
)
if I want to check whether id=5 is in that $nestedarray, how to do that?!?!
i'd really appreciate the help..
--
Richa
Funny, they should all be PHPS, source only and my last check only did
them on the source viewing. None of them are executable in that folder.
You got it from elsewhere.
[EMAIL PROTECTED] wrote:
> I want to personally thank you for 6 hours of work to remove the
> PHP-Back-door Trojan, that down
hi, i have a nested array
ex:
print_r($nestedarray):
Array(
[0]=>Array([id]=>1 [name]=>name1 [etc]=>etc1)
[1]=>Array([id]=>2 [name]=>name2 [etc]=>etc2)
[3]=>Array([id]=>3 [name]=>name3 [etc]=>etc3)
)
if I want to check whether id=5 is in that $nestedarray, how to do that?!?!
i'd really appre
On Dec 17, 2007, at 6:47 AM, Frank Arensmeier wrote:
17 dec 2007 kl. 12.03 skrev Jochem Maas:
Frank Arensmeier schreef:
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ...
super cool,
it even comes with apache & php installed as standard. nice.
only thing is
On Dec 17, 2007 8:15 AM, Johannes Skov Frandsen <[EMAIL PROTECTED]> wrote:
> Hi everybody
>
> This post is not so much a question to solve a problem but more in the
> direction: what would you do and why.
>
> I'm starting a new project and is preparing the basic layout for the
> application. In al
I want to personally thank you for 6 hours of work to remove the
PHP-Back-door Trojan, that download from your site to my PC while viewing that
POS you call a help line.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everybody
This post is not so much a question to solve a problem but more in the
direction: what would you do and why.
I'm starting a new project and is preparing the basic layout for the
application. In all my previous projects I have had a config file that
all other files would require
17 dec 2007 kl. 12.03 skrev Jochem Maas:
Frank Arensmeier schreef:
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ...
super cool,
it even comes with apache & php installed as standard. nice.
only thing is php is not compiled with with all the extensions I
nee
> -Original Message-
> From: Dave M G [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 17, 2007 6:47 AM
> To: Casey
> Cc: PHP List
> Subject: Re: [PHP] Writing text into images, and setting text size
>
> Casey,
>
> Thank you for replying.
>
> > Try imagettftext().
>
> I did, as explai
Frank Arensmeier schreef:
>> hi guys (& girls),
>>
>> any Mac heads about? I have a MacBook Pro in front of me ... super cool,
>> it even comes with apache & php installed as standard. nice.
>>
>> only thing is php is not compiled with with all the extensions I need,
>> the
>> question is what is t
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ... super
cool,
it even comes with apache & php installed as standard. nice.
only thing is php is not compiled with with all the extensions I
need, the
question is what is the *correct* way to update/recompile the
i have a daemon running on that port that sends a message when it's got a
client connected
but the script above doesn't output anything it just loads my cpu up to 100
percent and thats it then it basically stops working. While i need it to
display the messages sent by server(daemon) to the us
hi guys (& girls),
any Mac heads about? I have a MacBook Pro in front of me ... super cool,
it even comes with apache & php installed as standard. nice.
only thing is php is not compiled with with all the extensions I need, the
question is what is the *correct* way to update/recompile the standar
Casey,
Thank you for replying.
Try imagettftext().
I did, as explained:
$font = '/usr/share/fonts/truetype/freefonts/FreeSans.ttf';
$imagettftext($image, 20, 0, $x, $y-10, $textColour, $font, $text);
So my questions remain:
1. 'FreeSans.ttf' is in my /usr/share/fonts/truetype/freefonts
Thank you! But these have not multicast!
-邮件原件-
发件人: Brice [mailto:[EMAIL PROTECTED]
发送时间: 2007年12月17日 17:28
收件人: 陆星光
抄送: php-general@lists.php.net
主题: Re: [PHP] how can i use timeout in php's socket?
On Dec 17, 2007 8:10 AM, 陆星光 <[EMAIL PROTECTED]> wrote:
> how can i use timeout in php'
Per Jessen schreef:
> Robert Erbaron wrote:
>
>>> yes - abusing redirects as described is wasteful. and certainly it's
>>> the first time I've ever heard the statement 'Never show pages in
>>> response to POST' sounds like hubris too me.
>> I've seen the statement in a number of messages in the ar
Robert Erbaron wrote:
>> yes - abusing redirects as described is wasteful. and certainly it's
>> the first time I've ever heard the statement 'Never show pages in
>> response to POST' sounds like hubris too me.
>
> I've seen the statement in a number of messages in the archives here
> and in goog
On Dec 17, 2007 8:10 AM, 陆星光 <[EMAIL PROTECTED]> wrote:
> how can i use timeout in php's socket?
You can put an option with socket_set_option :
http://php.net/manual/en/function.socket-set-option.php
Availables options are listed here :
http://php.net/manual/en/function.socket-get-option.php
Br
Who can help me? Thank you!
-邮件原件-
发件人: 陆星光 [mailto:[EMAIL PROTECTED]
发送时间: 2007年12月17日 15:11
收件人: php-general@lists.php.net
主题: [PHP] how can i use timeout in php's socket?
how can i use timeout in php's socket? And if php support multicast? thanks
--
PHP General Mailing List (http://w
On Mon, 2007-12-17 at 15:50 +0800, ked wrote:
> Hi , I'm a freshman in PHP, can anyone give me any advices?
>
> I defied some simple classes, like "User", "Item"...
>
> in a general way ,
> $obj = new User();
>
> specially, I need to assign a Object via a class name .
>
> Now , my code :
44 matches
Mail list logo