php-general Digest 11 Apr 2008 09:26:57 - Issue 5398
Topics (messages 272848 through 272867):
Re: Requested PHP apps / sites
272848 by: Wolf
272854 by: Shawn McKenzie
272855 by: Shawn McKenzie
Socket create with ssl server
272849 by: Alan Willsher
epp-example from dns.be:
?php
//
function mod ($a, $b)
{
return $a % $b;
}
//
class EppSocket {
var $fp = null;
function EppSocket()
{
}
function connect($addr, $port, $timeout)
{
I did some similar micro-benchmarking a while back, too:
http://www.garfieldtech.com/blog/magic-benchmarks
On Tuesday 08 April 2008, Jason Knight wrote:
I've been running some benchmarks on popular PHP functions. I would like
to get some input on them from the community. So far I have run
On 10/04/2008, Jason Norwood-Young [EMAIL PROTECTED] wrote:
On Thu, 2008-04-10 at 13:15 +0100, Richard Heyes wrote:
First post to this list! I'm trying to figure out how to evaluate a
string with a mathematical expression and get a result, but without
using eval() as I'm accepting
At 5:10 PM -0600 4/10/08, Nathan Nobbe wrote:
On Thu, Apr 10, 2008 at 5:05 PM, Nathan Nobbe
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
On Thu, Apr 10, 2008 at 4:29 PM, tedd
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
you might just dump out the session component of the php
Hi all, I'm running Windows XP, and here is a piece of my apache (2.2.8)
conf :
--- httpd.conf ---
... ... ...
Listen 81
Listen 80
Listen 8080
LoadModule php5_module e:/php/php5apache2_2.dll
LoadModule fastcgi_module modules/mod_fastcgi.dll
AddType application/x-httpd-php .php
... ... ...
---
On Apr 10, 2008, at 5:15 PM, Daniel Brown wrote:
On Thu, Apr 10, 2008 at 4:54 AM, Luca Paolella [EMAIL PROTECTED]
wrote:
How do I install/activate the GD library with my existing PHP
version? I'm
quite sure it isn't already, since I got this error:
Fatal error: Call to undefined function
At 5:05 PM -0600 4/10/08, Nathan Nobbe wrote:
On Thu, Apr 10, 2008 at 4:29 PM, tedd
mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote:
Hi gang:
I'm stumped and in need of some expert explanation.
I have prepared two demos (showing code) for your enjoyment:
[1]
Hi,
I want to make an persistent connection via ssh2 to a server with php, but
all I can get with the present API is an temporary connection that is lost
at end of the script.
Anyone have an idea of how I can save the Resource and reuse it on future
scripts instead of having to reconnect over and
On Fri, 2008-04-11 at 10:14 -0300, Rodrigo Reis da Rocha wrote:
I want to make an persistent connection via ssh2 to a server with php, but
all I can get with the present API is an temporary connection that is lost
at end of the script.
Anyone have an idea of how I can save the Resource and
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List
[snip]
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
[/snip]
Cool...but why do quarters keep appearing in other piles?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 10:12 PM -0400 4/10/08, Eric Wood wrote:
tedd wrote:
[1] http://www.webbytedd.com/x/index.php
[2] http://sperling.com/x/index.php
Both of these demos have the exact same code; and are on the same
server; with exactly the same php-info -- so, why do they behave
differently re sessions?
{Top posting}
What shows your phpinfo() on both ports?
Is it really running your 5.3 in :81?
Regards,
Thiago
-Mensagem original-
De: Julien Pauli [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 11 de abril de 2008 09:28
Para: PHP General list
Assunto: [PHP] SERVER_PORT always at
On 11 April 2008 14:45, tedd advised:
At 10:12 PM -0400 4/10/08, Eric Wood wrote:
tedd wrote:
[1] http://www.webbytedd.com/x/index.php
[2] http://sperling.com/x/index.php
Both of these demos have the exact same code; and are on the same
server; with exactly the same php-info -- so, why
On Fri, Apr 11, 2008 at 9:49 AM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
Seems not to work in FF. (At least for me.) I had to
Same for me, I was like hmm ok, checkboxes...
Just tried IE, now I can see what you're talking about :)
-Mensagem original-
De: Andrew Ballard [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 11 de abril de 2008 11:43
Para: PHP General list
Assunto: Re: [PHP] Quarters
On Fri, Apr
On Fri, Apr 11, 2008 at 10:51 AM, Thiago Pojda
[EMAIL PROTECTED] wrote:
Same for me, I was like hmm ok, checkboxes...
Just tried IE, now I can see what you're talking about :)
-Mensagem original-
De: Andrew Ballard [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 11 de abril
tedd wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
I keep getting JS errors.
I get this when I select a coin, or coins, and click remove coins.
Line: 122
Char: 3
tedd [EMAIL PROTECTED] wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
Tedd,
What happened? I got nothing in FIrefox on Ubuntu... And no, I
On Apr 10, 2008, at 8:11 PM, Manuel Lemos wrote:
Hello,
Google App Engine was launched but it does not support PHP. This
article
presents some ideas that can help Google adding PHP support sooner
rather than later.
Works great in Safari. Except I can't win :-).Steve
On Fri, Apr 11, 2008 at 9:49 AM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
On Fri, Apr 11, 2008 at 10:29 AM, Ford, Mike [EMAIL PROTECTED] wrote:
Sounds like a register_globals=On issue
It does to me, as well. I know, Tedd, that on the php1.net site
that you mentioned to me off-list, I'm about 99% positive that it's
the reason. Shared hosts generally keep
TOP SOFTWARE PRODUCT COMPANY OFFERS A UNIQUE LEARNING OPPORTUNITY TO
AMBITIOUS AND TALENTED TECHNICAL CONSULTANTS
Company: Fredhopper, Location: Amsterdam, Position: Full-time
Are you a pragmatic self-starter? Do you have a talent for quickly reducing
complex questions to simple solutions? Are
On Fri, Apr 11, 2008 at 6:30 AM, tedd [EMAIL PROTECTED] wrote:
Isn't that what the code is doing?
I'm dumping the results in a print_r($_SESSION) -- isn't that he same
thing?
sorry tedd; obviously i was hasty to post. but i figured just looking for
the obvious would be a good exercise as i
top posting for the hell of it;
disregard last post; i didnt see the [solved] sort-of thread.
-nathan
On Fri, Apr 11, 2008 at 7:44 AM, tedd [EMAIL PROTECTED] wrote:
At 10:12 PM -0400 4/10/08, Eric Wood wrote:
tedd wrote:
[1] http://www.webbytedd.com/x/index.php
[2]
Wave editor?
Here is my dilemma.
In php I have written a script to upload a wave file to the server for the C
Sharp application to use. No problems on upload or streaming from the file to
the web. My issue comes when the format of the wave file is PCM and not CCITT
u-Law. The device cannot
Posting Summary for PHP-General List
Week Ending: Friday, 11 April, 2008
Messages| Bytes | Code | Sender
+++
295 (100%) 448940
Your script is bust... I wrote code (even if you disregard the joke
stuff :)
Cheers,
Rob.
On Fri, 2008-04-11 at 16:00 -0400, PostTrack wrote:
Posting Summary for PHP-General List
Week Ending: Friday, 11 April, 2008
Messages| Bytes | Code
Top-posting in honor of Friday.
I know. I found a glitch in there on Tuesday or Wednesday, but
have since had to let fixing a hosed Linux installation take priority.
Hopefully I'll get to it this week.
On Fri, Apr 11, 2008 at 4:08 PM, Robert Cummings [EMAIL PROTECTED] wrote:
Your
Hi gang:
Sorry for the lame app, but the program worked for Safari (Mac and
Win). However, I did get it to work for FF and a couple of other
browsers (Mac and Win), see again:
http://webbytedd.com/quarters
But the critter is dead in the water for all versions of IE -- if --
I don't figure
At 11:33 AM -0400 4/11/08, Daniel Brown wrote:
On Fri, Apr 11, 2008 at 10:29 AM, Ford, Mike [EMAIL PROTECTED] wrote:
Sounds like a register_globals=On issue
It does to me, as well. I know, Tedd, that on the php1.net site
that you mentioned to me off-list, I'm about 99% positive
tedd [EMAIL PROTECTED] wrote on 04/11/2008 02:49:21 PM:
But the critter is dead in the water for all versions of IE -- if --
I don't figure out a way around the following single statement.
document.getElementById(id).checked = true;
After reading a bunch, it seems that M$ has a better
Hello,
I want to return an array from function and reference an index all in
one line. Is this possible?
In the code below I want I want $yo to be the array(5,6).
Here is what I've tried,
function returnarray() {
return array('lose' = array(5,6), 'win' = array(9,8));
}
$yo =
Top-posting side comment: It's not nice to hijack threads.
My comments are below...
On Apr 11, 2008, at 5:33 PM, Daniel Kolbo wrote:
Hello,
I want to return an array from function and reference an index all
in one line. Is this possible?
In the code below I want I want $yo to be the
Wolf wrote:
Daniel Kolbo wrote:
Hello,
I am mostly familiar with php for serving up web pages; however,
recently I have been writing a local command line script on my WinXP
machine. I have spent the better part of this last week and all of
today trying to figure out a way to send a mouse
Philip Thompson wrote:
Top-posting side comment: It's not nice to hijack threads.
My comments are below...
On Apr 11, 2008, at 5:33 PM, Daniel Kolbo wrote:
Hello,
I want to return an array from function and reference an index all in
one line. Is this possible?
In the code below I want
It was fun! thanks
tedd wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
One of my sites has been hacked and I'm trying to find the hole. The hack code creates dirs with
nobody ownership, so it's obvious stuff is not via ftp [ownership would be foo]
Site is virtual host, Linux/Apache
I'm concerned about a file uploader my users use to upload photos.
Can anyone
How was it hacked?
That will help determine what kind of exploit might have been used.
On 4/11/08, Al [EMAIL PROTECTED] wrote:
One of my sites has been hacked and I'm trying to find the hole. The hack
code creates dirs with nobody ownership, so it's obvious stuff is not via
ftp [ownership
Hi,
I post following message days ago, but could not see it on the list.
Sorry if it is duplicated.
I've installed php5 in debian, but got following problems:
1. I could not find a proper debian package for pecl, search pecl found:
dh-make-php - Creates Debian source packages for PHP PEAR and
The hack puts this .htaccess in dozens of dirs
RewriteEngine On
RewriteCond %{HTTP_REFERER}
On Apr 11, 2008, at 6:31 PM, Daniel Kolbo wrote:
Philip Thompson wrote:
Top-posting side comment: It's not nice to hijack threads.
My comments are below...
On Apr 11, 2008, at 5:33 PM, Daniel Kolbo wrote:
Hello,
I want to return an array from function and reference an index all
in one
hce wrote:
Hi,
I post following message days ago, but could not see it on the list.
Sorry if it is duplicated.
I've installed php5 in debian, but got following problems:
1. I could not find a proper debian package for pecl, search pecl found:
dh-make-php - Creates Debian source packages for
Maybe you guys should get a Mac. Works just fine for me on a Mac, OS
X, Firefox.
-= Bill =-
At 9:49 AM -0400 4/11/08, tedd wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the
On Fri, 2008-04-11 at 21:22 -0400, Bill Guion wrote:
Maybe you guys should get a Mac. Works just fine for me on a Mac, OS
X, Firefox.
But then we'd have to use a Mac :/
Worked fine in Opera 9.5. Though I got the undefined variable error too.
That's just a clean code error though... a lot
You need CLI (Comman Line interface) for PHP
most of PECL packages are in apt-get
eg apt-get php-memcache
On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote:
hce wrote:
Hi,
I post following message days ago, but could not see it on the list.
Sorry if it is duplicated.
I've installed php5 in
On Apr 12, 2008, at 12:33 AM, Daniel Kolbo wrote:
Hello,
I want to return an array from function and reference an index all
in one line. Is this possible?
In the code below I want I want $yo to be the array(5,6).
Here is what I've tried,
function returnarray() {
return
I bet there is no native PHP methods for that kind of file, but you
can easily check the headers of wave file , you need to have a
specification or at least have 3 wave files of PCM and CCITT ,
compare the first 100 characters of that file, and you will get the clue
and logic how to
On Fri, Apr 11, 2008 at 6:49 AM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Check out my new game:
http://webbytedd.com/quarters/
What do you think?
Cheers,
tedd
PS: I originally wrote the game for the Mac over eight years ago.
--
---
http://sperling.com
I'm trying to figure out a way that SQL can pass a flag to PHP to say which
column matched during a query.
Let's say for instance that I want to search for the word apple in both
column producer, and column designation. I was hoping I could do something
like this:
Select producer, flag=1
I would recommend something more strong
http://www.php.net/manual/en/function.exif-imagetype.php
or if you dont have exif
http://www.php.net/manual/en/function.getimagesize.php
will do also a trick.
One more thing, you are also allowing .txt and .css which may be
potential hole, as Apache
Why so complicated
On Apr 12, 2008, at 5:25 AM, Rob Gould wrote:
I'm trying to figure out a way that SQL can pass a flag to PHP to
say which column matched during a query.
Let's say for instance that I want to search for the word apple
in both column producer, and column designation. I
On Fri, 2008-04-11 at 20:25 -0700, Rob Gould wrote:
I'm trying to figure out a way that SQL can pass a flag to PHP to say which
column matched during a query.
Let's say for instance that I want to search for the word apple in both
column producer, and column designation. I was hoping I
On Fri, 2008-04-11 at 23:42 -0400, Robert Cummings wrote:
On Fri, 2008-04-11 at 20:25 -0700, Rob Gould wrote:
I'm trying to figure out a way that SQL can pass a flag to PHP to say which
column matched during a query.
Let's say for instance that I want to search for the word apple in
On Fri, Apr 11, 2008 at 4:49 PM, tedd [EMAIL PROTECTED] wrote:
Hi gang:
Sorry for the lame app, but the program worked for Safari (Mac and Win).
However, I did get it to work for FF and a couple of other browsers (Mac and
Win), see again:
http://webbytedd.com/quarters
But the critter is
Al wrote:
One of my sites has been hacked and I'm trying to find the hole. The
hack code creates dirs with nobody ownership, so it's obvious stuff is
not via ftp [ownership would be foo]
Site is virtual host, Linux/Apache
I'm concerned about a file uploader my users use to upload photos.
57 matches
Mail list logo