Re: [PHP] Banned from #php

2007-12-03 Thread Aaron Gould
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

Re: [PHP] Heredocs

2007-08-29 Thread Aaron Gould
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

Re: [PHP] zend framework

2007-05-23 Thread Aaron Gould
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

Re: [PHP] How do I force my script to exit after 5 seconds?

2007-02-22 Thread Aaron Gould
am_get_meta_data($fp); if ($info['timed_out']) { echo 'Timeout...'; break; } $buffer = fgets($fp, 1024); } fclose($fp); } ==== Brad Bonkoski wrote: Aaron Gould wrot

Re: [PHP] How do I force my script to exit after 5 seconds?

2007-02-22 Thread Aaron Gould
.. 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

[PHP] How do I force my script to exit after 5 seconds?

2007-02-22 Thread Aaron Gould
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

Re: [PHP] gettext() troubles

2005-09-23 Thread Aaron Gould
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

[PHP] PHP based MySQL report generators?

2005-09-22 Thread Aaron Gould
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

Re: [PHP] PHP mail

2005-05-05 Thread Aaron Gould
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

Re: [PHP] Zend Certification Exam

2005-04-26 Thread Aaron Gould
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..

Re: [PHP] Zend Certification Exam

2005-04-25 Thread Aaron Gould
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

Re: [PHP] Zend Certification Exam

2005-04-22 Thread Aaron Gould
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

Re: [PHP] sentence case

2005-02-23 Thread Aaron Gould
)); -- Aaron Gould Programmer/Systems Administrator PARTS CANADA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Strip alternating spaces in first word of paragraph

2005-02-23 Thread Aaron Gould
$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

[PHP] Strip alternating spaces in first word of paragraph

2005-02-23 Thread Aaron Gould
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

Re: [PHP] PHP-editor connected to FTP?

2004-11-19 Thread Aaron Gould
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

Re: [PHP] Syntax highlighting of odd language

2004-11-08 Thread Aaron Gould
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

Re: [PHP] Syntax highlighting of odd language

2004-11-05 Thread Aaron Gould
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

[PHP] Syntax highlighting of odd language

2004-11-05 Thread Aaron Gould
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

Re: [PHP] PHP5 on IBM PowerPC; good combination?

2004-10-27 Thread Aaron Gould
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

[PHP] PHP5 on IBM PowerPC; good combination?

2004-10-27 Thread Aaron Gould
-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] Compiling PHP with extension; CLI works, Apache doesn't

2004-10-25 Thread Aaron Gould
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

Re: [PHP] Push file to FTP Server

2004-10-06 Thread Aaron Gould
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

Re: [PHP] Re: OT gmail accounts

2004-09-20 Thread Aaron Gould
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

[PHP] Problems with internationalization

2004-09-16 Thread Aaron Gould
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

Re: [PHP] php|works in Toronto - anyone going?

2004-09-13 Thread Aaron Gould
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

Re: [PHP] php|works in Toronto - anyone going?

2004-09-10 Thread Aaron Gould
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

[PHP] php|works in Toronto - anyone going?

2004-09-10 Thread Aaron Gould
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

Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
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

Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
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

Re: [PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
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

[PHP] Compiling PHP with mnoGoSearch fails

2004-06-04 Thread Aaron Gould
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

Re: [PHP] PHP 4.3.6

2004-05-20 Thread Aaron Gould
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

Re: [PHP] Stupid question

2004-03-17 Thread Aaron Gould
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.

Re: [PHP] Javascript question

2003-11-20 Thread Aaron Gould
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,

Re: [PHP] shell_exec with pipes

2003-11-11 Thread Aaron Gould
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/

[PHP] Multi-dimensional array help

2003-10-27 Thread Aaron Gould
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);

Re: [PHP] custom syntax highlighting in html-kit

2003-08-20 Thread Aaron Gould
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

Re: [PHP] Ticketmaster.com and Word Images

2003-07-31 Thread Aaron Gould
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:

Re: [PHP] Opening a Window with JavaScript

2003-07-16 Thread Aaron Gould
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

RE: [PHP] Speed up MySQL

2003-06-27 Thread Aaron Gould
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

RE: [PHP] mySQL: Rows and columns

2003-06-18 Thread Aaron Gould
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:

RE: [PHP] Problems with quotes in URL - SOLVED - plz FLAME me!!!

2003-06-18 Thread Aaron Gould
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

Re: [PHP] Can php run as a script?

2003-04-02 Thread Aaron Gould
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

Re: [PHP] Humour in programming?

2003-04-01 Thread Aaron Gould
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]>; <

Re: [PHP] Humour in programming?

2003-04-01 Thread Aaron Gould
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

Re: [PHP] longitude/latitude function

2002-11-15 Thread Aaron Gould
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

Re: [PHP] longitude/latitude function

2002-11-15 Thread Aaron Gould
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

Re: [PHP] longitude/latitude function

2002-11-15 Thread Aaron Gould
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,

Re: [PHP] re: echo w/ here document

2002-11-12 Thread Aaron Gould
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

Re: [PHP] PHP 4.3.0 and Zend Engine 2

2002-11-06 Thread Aaron Gould
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

Re: [PHP] Content-Disposition IE bug (ADDENDUM)

2002-10-15 Thread Aaron Gould
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

Re: [PHP] Content-Disposition IE bug

2002-10-15 Thread Aaron Gould
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]...

Re: [PHP] How to do Date Calculation

2002-10-10 Thread Aaron Gould
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

Re: [PHP] a href...

2002-09-13 Thread Aaron Gould
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

[PHP] PHP or Apache problem?

2002-09-12 Thread Aaron Gould
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

[PHP] gettext issues

2002-09-06 Thread Aaron Gould
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

Re: [PHP] Apache 2.0 and PHP

2002-08-19 Thread Aaron Gould
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

Re: [PHP] PHP 4.2.2 and Apache 2

2002-08-13 Thread Aaron Gould
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

Re: [PHP] PHP 4.2.2 and Apache 2

2002-08-13 Thread Aaron Gould
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

Re: [PHP] Re: Linux PHP editor

2002-08-09 Thread Aaron Gould
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

Re: [PHP] Linux PHP editor

2002-08-09 Thread Aaron Gould
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,

[PHP] For all those trying to compile PHP 4.2.x with Apache 2.0.39 !!!!!

2002-07-25 Thread Aaron Gould
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

Re: [PHP] Compiling PHP on Linux

2002-07-24 Thread Aaron Gould
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 ---

Re: [PHP] Apache 2 support broken?

2002-07-23 Thread Aaron Gould
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

Re: [PHP] Installation de PHP 4.2.1 with Apache and extension Frontpage 2002

2002-07-03 Thread Aaron Gould
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

Re: [PHP] mySQL WHERE/LIKE

2002-05-23 Thread Aaron Gould
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%'

Re: [PHP] #!/usr/bin/php in output?

2002-03-05 Thread Aaron Gould
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

Re: [PHP] #!/usr/bin/php in output?

2002-03-05 Thread Aaron Gould
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] #!

[PHP] PHP/MySQL/Row Locking

2002-03-01 Thread Aaron Gould
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

Re: [PHP] php-gtk

2002-02-21 Thread Aaron Gould
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

Re: [PHP] character replace function

2002-02-14 Thread Aaron Gould
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

Re: [PHP] how a function 'return' statement works

2002-02-14 Thread Aaron Gould
$_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

Re: [PHP] Uploading Files via Forms

2002-02-14 Thread Aaron Gould
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

[PHP] Uploading Files via Forms

2002-02-14 Thread Aaron Gould
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

[PHP] gethostbyaddr timeout

2001-01-31 Thread Aaron Gould
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!!