Brenden Wilson wrote:
I hope this is the right place to ask because I simply can't find any place
else to ask for help.
I have been banned from chatting in ##php and I really don't deserve it.
The chat log can be found here:
http://pastebin.com/f6941dae7
(I've deleted conversations from other p
ere on 5.2.3. Try removing ALL whitespace before and after
the "END;" portion of your heredocs. If there's whitespace, it doesn't
work.
--
Aaron Gould
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ntend to try out ZF a bit more to give it a fair shot, but
after using CakePHP, I'm not so sure for how long...
--
Aaron Gould
Greg Donald wrote:
Has anyone looked at the Zend Framework lately?
http://framework.zend.com/manual
I've been playing with a few parts of it off and on
am_get_meta_data($fp);
if ($info['timed_out']) {
echo 'Timeout...';
break;
}
$buffer = fgets($fp, 1024);
}
fclose($fp);
}
====
Brad Bonkoski wrote:
Aaron Gould wrot
..
if( time() - $start_time > 5 ) exit;
-B
Aaron Gould wrote:
I have a script that connects to a networked device via PHP's socket
functions. This device accepts proprietary commands (e.g.: "KPRINT",
as seen below), and returns data. However, this device does not have
I have a script that connects to a networked device via PHP's socket
functions. This device accepts proprietary commands (e.g.: "KPRINT", as
seen below), and returns data. However, this device does not have any
sort of "EXIT" command to end the processing of events. So it
essentially loops f
le');
textdomain('messages');
I don't do the "putenv" line that you have, so I'm not sure if it's
necessary...
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Office).
I'm sure it's not out of reach to write this from scratch, but if I
don't need to...
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should be gleamed from the following page:
http://ca3.php.net/manual/en/function.mail.php
Check the examples, and you'll be well on your way.
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
ars now, and there's very little I can't do with it.
I just stink at exams; I get antsy when sitting for 30-60 minutes with
just a pencil and paper in a quiet room.
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
"Proudly underperforming in exams for years..
you, including by me.
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a few times, and found a few questions that involved cases I had
certainly experienced in five plus years of PHP development. I'm sure
that'll happen in due time as the certification is only a couple years old.
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General
));
--
Aaron Gould
Programmer/Systems Administrator
PARTS CANADA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$split_point = $key;
}
}
echo "Original : ".$string."\n";
echo "Word : ".$word."\n";
echo "Modified : ".$word." ";
echo implode(" ",array_slice($letters,$split_point-1))."\n";
?>
Thanks for the e
h e r paragraph with a wacky first word! Strange stuff...
E n d l e s s insanity here!
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to something else?
Same here; it takes the appropriate colour scheme based on file
extension. You can point to help files for languages though, I believe...
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yword
to be replaced (eg. preg_replace('\(\W|^)+('.$highlight[$i].')(\W|$)\i',
'$1$2$3') )
My regular expression skills are very basic, but I understand the gist
of your preg_replace statement. Now I just need to polish my regex
knowledge!
Thanks,
--
Aaron Gould
P
hlighted_code = eregi_replace($oddsyntax[$i],''.$oddsyntax[$i].'',$code);
}
return $code;
}
Hi Bruno...
I tried your sample, but it doesn't seem to work. I do however see what
you're getting at.
Perhaps I need to experiment with the eregi_replace commands (or
my Friday afternoon and tell me I'll need to dig into
regular expressions. :)
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
series servers). My company wants to stick with it. I won't
complain too much though; as long as it's linux, I'm ok.
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-based
PowerPC architecture? My primary concern is that it actually compiles
without trouble; all we have here now are x86 systems, so we can't test
this combination!
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
PHP 5.0.2
Apache 1.3.31
RH Enterprise Linux 3 (Update 3)
Am I missing something?
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aaron Todd wrote:
Does anyone know how I might be able to have php push a file to an FTP
server?
If you configure PHP with --enable-ftp, you'll have a bunch of FTP
functions at your disposal, including PUT:
http://ca.php.net/ftp
--
Aaron Gould
Parts Canada - Web Developer
--
PHP Ge
een a good week. :)
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is code to product French wording. Well it does --
but not all the time! When reloading the page constantly, the wording
swaps randomly between English and French; all without changing any code!
Has anyone experienced this before?
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
es I've only seen on the net these last few years!
It's too bad I'm one of the few on the list that's able to attend...
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e will be hunting you down! ;)
Have fun guys... wish I could go but it's not a good time. Maybe the
next one.
Lucky for me I'm more of a lurker in this group, and as such I haven't
made many enemies. Yet. :)
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (h
Just curious if anyone on the list was headed to Toronto on Sep 22-24
for php|works. I live about two hours from Toronto, and my company is
sending me.
I wonder what kind of reception this conference will get...
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http
John Nichel wrote:
Aaron Gould wrote:
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
"/usr/local/mnogosearch"), and PHP configures fine. But during
PHP's make, I get all sorts of errors at the end of the compilation:
/usr/lib/mysql/libmysqlclient.a(libmys
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
"/usr/local/mnogosearch"), and PHP configures fine. But during PHP's
make, I get all sorts of errors at the end of the compilation:
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple
definition of `my
Curt Zirzow wrote:
* Thus wrote Aaron Gould ([EMAIL PROTECTED]):
"/usr/local/mnogosearch"), and PHP configures fine. But during PHP's
make, I get all sorts of errors at the end of the compilation:
/usr/lib/mysql/libmysqlclient.a(libmysql.o)(.data+0x4): multiple
definition of `my
ith-imap --with-kerberos --with-xml
--with-mcrypt --with-mnogosearch=/usr/local/mnogosearch
--with-mysql=/usr
Thanks,
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
make clean" between your first and
second configure attempts?
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jeff McKeon wrote:
$this->
What does this do? I know it has something to do with classes but can't
quite get my head around it.
You might want to check out this:
http://ca.php.net/oop
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.
ll the screwFittings function after removeClog has
returned, or there's going to be an awful mess.
But then again, perhaps the automatic garbage collection will take care
of that?
--
Aaron Gould
Parts Canada - Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Have you tried escaping the pipes and quotes? Try this:
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/null\| grep ID_LENGTH \| cut -d \"=\" -f 2");
Mario Ohnewald wrote:
$var=shell_exec("/usr/local/bin/mplayer -identify -frames 0
/tmp/pitstop.mpeg 2>/dev/
This array problem has been stumping my brain for a little while now...
here's a sample of my data:
$purchases[001][200304] = array('regular'=>3, 'booked'=>4);
$purchases[002][200303] = array('regular'=>5, 'booked'=>1);
$purchases[002][200304] = array('regular'=>1, 'booked'=>0);
This is not possible... yet. I would like this feature too, but it has been
addressed a few times on the newsgroups at chami.com.
You can check the newsgroups out at
http://www.chami.com/html-kit/newsgroups/.
As far as I know, this feature is on Chami's long-term to-do list.
--
Aaron
http://www.zend.com/zend/tut/tutorial-mehmet1.php
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
Parts Canada
- Original Message -
From: "John Manko" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 10:16 AM
Subject:
Try this (note the "return false;" addition at the end):
--
Aaron Gould
Web Developer
Parts Canada
- Original Message -
From: "Curt Zirzow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 2:15 PM
Subject: Re: [PHP] Opening a
Read these mysql.com doc pages:
http://www.mysql.com/doc/en/MySQL_indexes.html
http://www.mysql.com/doc/en/CREATE_INDEX.html
--
Aaron Gould
Web Developer
Parts Canada
[EMAIL PROTECTED]
-Original Message-
From: Erich Kolb [mailto:[EMAIL PROTECTED]
Sent: June 27, 2003 3:56 PM
To
A search on mysql.com reveals.
http://www.mysql.com/search/index.php?q=DELETE&from=%2Fdocumentation%2Findex
.html
--
Aaron Gould
Web Developer
Parts Canada
-Original Message-
From: zavaboy [mailto:[EMAIL PROTECTED]
Sent: June 18, 2003 1:03 PM
To: [EMAIL PROTECTED]
Subject:
Oh come on now, we don't flame people, or even engage in name-calling for
that matter on this list... :)
We all learn our lessons.
--
Aaron Gould
Web Developer
Parts Canada
-Original Message-
From: Petre Agenbag [mailto:[EMAIL PROTECTED]
Sent: June 18, 2003 8:49 AM
To: Chris
Yes, you definitely can...
http://www.php.net/manual/en/features.commandline.php
--
Aaron Gould
Web Developer
Parts Canada
- Original Message -
From: "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 02, 2003 11:43 AM
Exactly... it seems to be generated in code somehow?
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
Parts Canada
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<
Hehe, I though something was wrong with my machine when I checked out
phpinfo() on one of my boxes today. It didn't even occur to me that it
might be related to April Fools.
I know it's usually the PHP logo, but how is that picture generated anyway?
--
Aaron Gould
Web Developer
Pa
That will be in KM (I'm in Canada). Just remove the "* 1.6093" to return
Miles.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
Parts Canada
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Novembe
I got that from http://freshmeat.net/projects/zipdy/?topic_id=66. It's a
program called Zipdy that does these calculations. There's also a similar
function on the US government census site (can't remember where though), but
I liked Zipdy's better.
--
Aaron Gould
[EMAIL PROT
Try this snippet... I can't vouch for its accuracy since I am not a
mathematician:
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
Parts Canada
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 15,
Looks ok to me. Try making sure that all white space is removed from after
the "echo <<
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 5:32 AM
Subject: [PHP] re: echo w/ here document
> I'm still having a problem with including a here document. Trying this
> code:
>
> echo <<
>
> he
things may
have changed by now... the PHP powers that be would only be able to give me
a definitive answer.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
Parts Canada
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 8:31
quot;Cache-control: private");
header("Content-type: application/octet-stream");
header("Content-length: $filesize");
header("Content-Disposition: attachment; filename=\"$filename\"");
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
Parts Canada
ent-Disposition: attachment; filename=$filename%20");
Give it a try. I might be way off, but you've got nothing to lose. :)
--
Aaron Gould
Web Developer
Parts Canada
"Francis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
lc_Function2];
$dc->[Date_Calc_Function3];
etc, etc
--
Aaron Gould
Web Developer
Parts Canada
- Original Message -
From: "Greg Macek" <[EMAIL PROTECTED]>
To: "Noodle Snacks" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 1
Change the second "?" with "&". The ampersand is used to delimit multiple
URI values. Use the ampersand to append any additional name/value pairs as
well.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Meltem Demirkus&quo
AddType application/x-httpd-php .php
Am I missing something important here?
--
Aaron Gould
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
le/fr_FR/LC_MESSAGES
Now, when I load up the web page, everything *should* be French. Sometimes
it is. But sometimes it's English instead. It's a 50/50 thing. I've
verified that the "setlocale" call is ALWAYS using "fr_FR".
Can anyone help me out?
(And as an asid
not
exposed to a lot of traffic and abuse.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "John Wards" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 19, 2002 7:27 AM
Subject: [PHP] Apache 2.0 and PHP
> Guys and Gir
data in a MySQL
database of our products.
Obviously we can't say what the result of replacing our current production
server would be. (Our production server runs Apache 1.3.26 + PHP 4.0.6, and
gets about 250,000 hits/month.)
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Mes
ple months away.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "MET" <[EMAIL PROTECTED]>
To: "PHP-GENERAL" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 9:55 AM
Subject: [PHP] PHP 4.2.2 and Apache 2
> So how stable are
You might want to check the archives. This topic has been discussed
exhaustively many times...
To name a very small few:
HTML-Kit
Zend IDE
HomeSite
Dreamweaver
jEdit
... and many, many more.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: <[EMAIL PROTEC
dit: the Windows version has a plugin to do FTP, so I would assume
the Linux version does too.
Can anyone else add to the list of Linux-based FTP-enabled PHP-supporting
editors?
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
ks without issues on two of our servers).
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ure again
Keep in mind this is experimental and thus should not be used on production
web sites (even though we've been using Apache 2.0.39+PHP 4.2.1/4.2.2 for a
few weeks without issues on two of our servers).
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message ---
configure again
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Mitch Vincent" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 1:16 PM
Subject: [PHP] Apache 2 support broken?
> With php 4.2
If you have Apache installed as an RPM, make sure you have the
"apache-devel" RPM installed as well. I remember I had this problem once in
RedHat... apxs is included in the devel package if I recall correctly.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message
The only way I know how to do it is by doing boolean OR's... It's not
as compact and efficient as you'd like, but it works.
SELECT *
FROMgallery
LEFT JOIN designers ON (designers.designersID=gallery.designersID)
WHERE (gallery.column1 LIKE '%$search_string%'
My apologies, that should have read "-q" and not "-p". Sorry! :)
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Mike Eheler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 3:43
Try adding a -p argument to the end of that line:
#!/usr/bin/php -q
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Mike Eheler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 3:43 PM
Subject: [PHP] #!
ddresses PEAR/DB locking, or could
share some tips?
Thanks,
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There is an IDE called PHPMole at:
http://www.akbkhome.com/Projects/Phpmole-IDE/
However, it looks to be Linux/Unix-only...
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Dasmeet Singh Arora" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
Try:
$outputstring = str_replace($character_to_erase, '', $inputstring);
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Phil Schwarzmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 1:38 PM
$_SERVER (as well as all the $_* functions) in PHP 4.1 are automatically
global.
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
- Original Message -
From: "Alastair Battrick" <[EMAIL PROTECTED]>
To: "Erik Price" <[EMAIL PROTECTED]>; "Darren Gamble&q
Ahhh, ok! I feel like such an idiot. Right at the top of my script there's
a spot with the value of maximum upload size. It was set to 10MB, so I
changed it to 50MB and it works.
I can't believe that slipped by me. :)
Thanks very much!
--
Aaron Gould
[EMAIL PROTECTED]
Web
h the following:
post_max_size = 50M
upload_max_filesize = 50M
Is there something else I'm missing?
--
Aaron Gould
[EMAIL PROTECTED]
Web Developer
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm at the end of my rope here...
I have a 100,000+ line file containing IP addresses. For each line, I need
to run a "gethostbyaddr" command. However, some lines take a long time to
timeout. Is there a way I can decrease this timeout period to one or two
seconds?
Thanks!!
76 matches
Mail list logo