Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Shawn McKenzie
the oppressed and don't view the others as oppressors shouting offensive slang at us. Cinco de Mayo is big here in Texas and I held a Gringo de Mayo party last year on the 5th of May. It was a big hit! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] checking for and enforcing https

2008-02-26 Thread Shawn McKenzie
are just moving the check from PHP to the web > server. > > Andrew When most people talk about a http and https directory, they are most likely talking about the common convention in shared hosting especially on Apache where your account will have a httpdocs/ and a httpsdocs/ directory or similar. Apache sets the docroot depending upon what protocol is used http or https. It seems fairly common. In some control panels you have the option of serving secure and non-secure content from the same directory. Then you would need to enforce this yourself within the script or rewrite rule, etc... -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ob_Flush issue

2008-02-26 Thread Shawn McKenzie
Bojan Tesanovic wrote: > Try this it help 90% of time, > > function my_flush(){ > @flush(); > @ob_flush(); > @flush(); > @ob_flush(); > @flush(); > @ob_flush(); > } > > this can force buffer to really flush output when you call it few > times, also don't forget @ so it doesn't show empty buffer

Re: [PHP] Question about PHP Licence and it's future!

2008-02-26 Thread Shawn McKenzie
our only attribute is that we can shoot straight. :-) > > Cheers, > > tedd > And jump really high... oh wait... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Performance Problem

2008-02-27 Thread Shawn McKenzie
and so drastically. At any rate, I guess this > issue is solved. Thanks for the help. > > Adriano Yes, we all knew exactly what your problem was. Sorry we didn't post quicker ;-) -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Getting the name of a function

2008-02-27 Thread Shawn McKenzie
name of the function as a parameter to the > error() function (e.g. error("bad_function","This is dumb")) but I'd rather > keep it simpler than that. > > Is there a way to do this? > It's an extension but may be worth a look: http://us.php.net/manual/en/ref.apd.php -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Daniel Brown wrote: > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: >> Completely off subject, but man I miss quickbasic... that was such a fun >> language to program in way back-in-the-day. So simple! > > Not to mention the ability to add (at the time) decent graphi

Re: [PHP] Performance Problem

2008-02-27 Thread Shawn McKenzie
uch simpler than that," I figured I should re-read before replying again." Adriano Manocchia wrote: > Whoa. No need to get snippy. I was being sincere in my gratitude for the > suggestions. If nothing else, I'm sure I'll be making more use of Xdebug > in the future.

Re: [PHP] Guidance

2008-02-27 Thread Shawn McKenzie
Stut wrote: > On 27 Feb 2008, at 20:59, Daniel Brown wrote: >>So let this be at least a basic retort to those who don't consider >> web development "real programming." Because you'd be surprised how >> much I hear, "oh, you work with web stuff, I thought you meant you >> were a real programmer

Re: [PHP] Guidance

2008-02-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Stut wrote: >> On 27 Feb 2008, at 20:59, Daniel Brown wrote: >>>So let this be at least a basic retort to those who don't consider >>> web development "real programming." Because you'd be surprised how >>> much I

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Daniel Brown wrote: > On Wed, Feb 27, 2008 at 4:34 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >> Daniel Brown wrote: >> > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: >> >> Completely off subject, but man I miss quickbasic.

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Daniel Brown wrote: >> On Wed, Feb 27, 2008 at 4:34 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >>> Daniel Brown wrote: >>> > On Wed, Feb 27, 2008 at 3:46 PM, Matty Sarro <[EMAIL PROTECTED]> wrote: >>> >> Comp

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Shawn McKenzie
Daniel Brown wrote: > On Wed, Feb 27, 2008 at 5:01 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >> Actually, if I recall correctly, I normally had to start with increments >> of 100. > > I always started with 10 and incremented by 10 in both MS and GW > BAS

[PHP] Re: Flexible Shopping Cart (was: Shopping Carts)

2008-02-27 Thread Shawn McKenzie
ber it was s rewrite of oscommerce of sorts but a modular system, where they coded it in such a fashion that you could add modules, not hack core code to get the functionality that you needed. Not sure how the development has progressed but my 2 cents. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Flexible Shopping Cart (was: Shopping Carts)

2008-02-28 Thread Shawn McKenzie
Robert Cummings wrote: > On Thu, 2008-02-28 at 14:23 -0500, Daniel Brown wrote: >> On Thu, Feb 28, 2008 at 2:10 PM, Eric Butera <[EMAIL PROTECTED]> wrote: >>> Have you messed around with compressing your output at all? Using >>> something like mod_deflate is pretty nice while falling back on the

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Shawn McKenzie
Nathan Rixham wrote: > Robert Cummings wrote: >> On Thu, 2008-02-28 at 19:37 +, Stut wrote: >>> On 28 Feb 2008, at 19:17, Wolf wrote: Jason Pruim wrote: > My editor automatically replaces like 4 spaces with a tab... Is > there a reason not to use tabs instead of spaces? :) I

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread Shawn McKenzie
Nathan Rixham wrote: > [snip] > Eric Butera wrote: >> I can hit tab and shift/tab too and it puts in spaces for me. > [snip] > Robert Cummings wrote: >> Uhhhm, I hit the tab button also and it does the right thing (namely >> inserts 4 spaces). Also, when I hit enter it auto tabs. > [snip] > > *kic

Re: [PHP] echo returnArray()['a']; // workaround

2008-02-29 Thread Shawn McKenzie
Nathan Rixham wrote: > Nathan Nobbe wrote: >> On Thu, Feb 28, 2008 at 6:14 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote: >> >>> if I show you guys how to do this: >>> >>> echo sillyFunc()['a'] . PHP_EOL; >>> >>> using a few brackets and things do you promise not to laugh? >>> *it's a bit weird* >> >

[PHP] Re: dont print echo

2008-02-29 Thread Shawn McKenzie
_ >// Emiliano Boragina _ > >// Diseño & Comunicación // > + _ > >// [EMAIL PROTECTED] / >// 15 40 58 60 02 /// > + _ > > > > if(!empty($_POST['file'])) { //your php } -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Making an interactive RGB color picker

2008-03-03 Thread Shawn McKenzie
quot;#%06s\n","$h1$h2$h3"); } } } This example will give you the web safe color pallet, 200 and some odd colors: for($n1 = 255; $n1 >= 0; $n1 = $n1 - 51) { $h1 = base_convert($n1, 10, 16); for($n2 = 255; $n2 >= 0; $n2 = $n2 - 51) { $h2 = base_con

[PHP] Re: Making an interactive RGB color picker

2008-03-03 Thread Shawn McKenzie
Shawn McKenzie wrote: > Keikonium wrote: >> This may not be exactly what you think, but I didn't know how else to >> word the title. I basically need to make a script that will go through >> every possible color combination and print them to look just like (or >&g

[PHP] Re: regular expressions question

2008-03-04 Thread Shawn McKenzie
sn't allow an empty string (to allow empty, replace the + with *): eregi('^[a-z]+$', $fname) -or- ereg('^[A-Za-z]+$', $fname) But ctype_alpha() is a better multi-locale solution. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail() function HELP

2008-03-04 Thread Shawn McKenzie
tilízalo la próxima cuando hagas log in. \r\n"; > if (mail($email, "login información ", $mesg, $from)) > echo "Enviamos tu nueva contrasena a tu e-mail"; > else > echo "Error"; > > Thanks for the help > > Sofia. Number 1, in php.ini you left this uncommented so it's using this: SMTP = smtp_port = Number 2, here you didn't uncomment the ;sendmail_path: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = "C:\wamp\sendmail\sendmail.exe -t" Also, notice the *For Unix only.* comment. Dunno if it will work anyway if you have sendmail. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() function HELP

2008-03-04 Thread Shawn McKenzie
int the "For Win32 only" settings at a mail server on > Windows. The error message pretty clearly states that it's trying to > connect to the server specified in those settings. > > -Stut > Uh, yeah... Then I thought, why not just use the SMTP and smtp_port settings. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() function HELP

2008-03-04 Thread Shawn McKenzie
nject. >> >> qmail-inject does not require any option to process mail correctly. >> >> This directive works also under Windows. If set, smtp, smtp_port and >> sendmail_from are ignored and the specified command is executed. >> > My mistake, the comments in the I

[PHP] Re: Preserving URL after redirect?

2008-03-05 Thread Shawn McKenzie
tp://prepcube.com/index.php?path=wi/madison index.php parses the path var to extract the short name and set the session var: Rewrite rule would look something like: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?path=$1 [QSA,L] -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Preserving URL after redirect?

2008-03-05 Thread Shawn McKenzie
Skip Evans wrote: > (Apologies to Shawn for sending this directly to him and not the entire > list, that was an accident. Here it is for the list.) > > Shawn McKenzie wrote: > >> >> Rewrite rule would look something like: >> >> >> RewriteEngine

Re: [PHP] Pear Installation Problem - Ubuntu

2008-03-05 Thread Shawn McKenzie
Stephen wrote: > Wolf wrote: > >> Open a terminal window on the server >> at the prompt type: >> locate QuickForm.php >> >> If it comes back with the path/file, make sure the path to the file is >> in the include folder >> >> If it comes back to just a regular terminal prompt right away, then >>

[PHP] Re: Alternative to Quickforms - Not Use Tables

2008-03-05 Thread Shawn McKenzie
phpclasses.org/formsgeneration > > Take a look at the test_auto_layout_form.php example. > I knew it! I was going to suggest phpclasses. Also, depending upon what you do in your apps, consider a framework. There are many to choose from. I have evaluated several and prefer cakephp. Normally you

[PHP] Re: Transferring files between computers using php

2008-03-06 Thread Shawn McKenzie
hp instead of scp /path/file [EMAIL PROTECTED]:/path/ or other facilities? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Transferring files between computers using php

2008-03-06 Thread Shawn McKenzie
Rahul wrote: > I have a small file to be transferred between two computers every few > seconds. I'm using unix with a bare bones version of php, i.e. just the > original thing that gets installed when I run "yum install php". As there is > no webserver on any of these machines, I was wondering i

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Shawn McKenzie
tle and > didn't want to use a server in between and so I was thinking of > establishing a direct connection between them.. > > > Zareef Ahmed wrote: >> On 3/7/08, Shawn McKenzie <[EMAIL PROTECTED]> wrote: >>> Rahul wrote: >>>> I have a small

Re: [PHP] Transferring files between computers using php

2008-03-07 Thread Shawn McKenzie
Peter Ford wrote: > Aschwin Wesselius wrote: >> Rahul wrote: >>> I have a small file to be transferred between two computers every few >>> seconds. I'm using unix with a bare bones version of php, i.e. just >>> the original thing that gets installed when I run "yum install php". >>> As there is no

[PHP] Re: Storing values between multiple page forms

2008-03-11 Thread Shawn McKenzie
ne really large form, but obviously this is > going to be ugly and not so easy to work with considering the variances that > the different servers have. > > Any suggestions would be welcome. > Sessions -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Error handling

2008-03-11 Thread Shawn McKenzie
___ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ > Do the erors have anything to do with string expected assuming constant or similar? Maybe you have multiple errors because you don't quote your strings? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: link with database

2008-03-11 Thread Shawn McKenzie
Shawn McKenzie wrote: > Sofia Jacob (CA) wrote: >> Hi, >> >> I want to create a link that get the name and the link from the database. >> >> The problem is that I get the bullets created with but not the link, >> here is my code and the result: >>

[PHP] Re: link with database

2008-03-11 Thread Shawn McKenzie
Sofia Jacob (CA) wrote: > Hi, > > I want to create a link that get the name and the link from the database. > > The problem is that I get the bullets created with but not the link, > here is my code and the result: > > > > function do_html_URL($url, $name) > { > // output URL as link and

[PHP] Re: Setting a variable inside a function and making it global insidean inner function doesn't work?

2008-03-11 Thread Shawn McKenzie
) > >[posts] => Array >( >) > >[forums] => Array >( > ) > > ) > [/quote] > > Is this a bug? I'm using PHP 5.2.4 Well you haven't defined anything global in your code, unless you did inapplyForumChildrenTree(), in which case it needs to be global everywhere that you want to use it as global. Easiest way would just be to use it like this everywhere: $GLOBALS['treeResult'] = array( 'topics' => array(), 'posts' => array(), 'forums' => array(), ); -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Setting a variable inside a function and making it global insideaninner function doesn't work?

2008-03-11 Thread Shawn McKenzie
Shawn McKenzie wrote: > Lamonte wrote: >> Setting a variable inside a function and making it global inside an >> inner function doesn't work? >> >> Right well I have created this function: >> >> [code] >> function getForumChildrenTree( $id )

Re: [PHP] Re: Setting a variable inside a function and making it global insideaninner function doesn't work?

2008-03-11 Thread Shawn McKenzie
Lamonte wrote: > Shawn McKenzie wrote: >> Shawn McKenzie wrote: >> >>> Lamonte wrote: >>> >>>> Setting a variable inside a function and making it global inside an >>>> inner function doesn't work? >>>> &g

Re: [PHP] Re: Setting a variable inside a function and making itglobal insideaninner function doesn't work?

2008-03-11 Thread Shawn McKenzie
Lamonte wrote: > Shawn McKenzie wrote: >> Lamonte wrote: >> >>> Shawn McKenzie wrote: >>> >>>> Shawn McKenzie wrote: >>>> >>>> >>>>> Lamonte wrote: >>>>> >>&g

[PHP] Re: php cron to check and remove files

2008-03-13 Thread Shawn McKenzie
e db and fs, why not delete the file when you delete from the db? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Web host with SOAP

2008-03-13 Thread Shawn McKenzie
Daniel Brown wrote: > On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: >> Hi all. I am looking for a web host for a site. The usual host I work >> with is missing some important functionality, so I need to look elsewhere >> for this project. Specifically, I need web

Re: [PHP] Web host with SOAP

2008-03-13 Thread Shawn McKenzie
Shawn McKenzie wrote: > Daniel Brown wrote: >> On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: >>> Hi all. I am looking for a web host for a site. The usual host I work >>> with is missing some important functionality, so I nee

Re: [PHP] storing / processing login info (newbie stuff not intutorials)

2008-03-14 Thread Shawn McKenzie
itself. At the top of the file check to see if it is a POST request and if so check the user credentials, set a session var that shows that they are loggedin and use header() to redirect to the correct page. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is this the best way?

2008-03-14 Thread Shawn McKenzie
t fine as it is. > To go along with this and making sure that usernames are unique, I would LIMIT 1 on the query. With no LIMIT, if you have 300,000 users, then the query will not stop if it matches the first user, it searches all 300,000. With LIMIT 1 it will stop on the first match. -Shawn

Re: [PHP] PHP and #if

2008-03-14 Thread Shawn McKenzie
://www.php.net/unsub.php >> >> > Surrounding a bit of code/function in an if statement in PHP does the same thing as the #if in C because PHP is interpreted. In C, if the #if is true then the compiler compiles the code and when you execute the binary the code is executed, if the #if is false then the code is not compiled so it can't execute because it isn't there. In PHP, if you execute the script and the if is true then the code executes, if the if is false then the code doesn't execute. Same same... -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and #if

2008-03-14 Thread Shawn McKenzie
Eric Gorr wrote: > > On Mar 14, 2008, at 3:15 PM, Eric Gorr wrote: > >> >> On Mar 14, 2008, at 3:10 PM, Stut wrote: >> >>> On 14 Mar 2008, at 19:03, Eric Gorr wrote: Unfortunately, such things cannot be used to wrap functions. >>> >>> Erm, yes they can. Try it. >>> >>> >> if (rand(0,1) ==

[PHP] Re: help on using 'request_uri' to make a front-end site

2008-03-17 Thread Shawn McKenzie
UsDonn Ingle wrote: > Hi, > I have been trying to get a little templating thing going and I want > everything to pass through a single index.php file which then decides what > page is wanted and includes them. > > The scheme is to go to a url like [http://localhost/~donn/blah/] which > serves ind

Re: [PHP] __halt_compiler()

2008-03-17 Thread Shawn McKenzie
Daniel Brown wrote: > On Sun, Mar 16, 2008 at 4:18 PM, Casey <[EMAIL PROTECTED]> wrote: >> Hi list! >> >> __halt_compiler(). Does anyone use it? >> >> I've used it obsessively in my past two "projects" to store data >> (specifically CSV) in the PHP files. These two "projects" consisted of >> on

[PHP] Re: help on using 'request_uri' to make a front-end site

2008-03-17 Thread Shawn McKenzie
Donn Ingle wrote: > Shawn McKenzie wrote: >> Use /index.php instead of index.php maybe... > I assume you meant in the tag. I tried that and the URL (when you > mouse-over the link) becomes [http://localhost/index.php] which is not > anywhere near where the files live. > >

[PHP] Re: Closures

2008-03-18 Thread Shawn McKenzie
nt closures in PHP? > > In summary: > > Would you want closures in PHP, and why? > O.K. so I check wikipedia and read what a closure was :-) But what in a simple sentence or two would is the benefit of a closure compared to how you would get the same functionality in PHP now? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is this the best way?

2008-03-18 Thread Shawn McKenzie
Why is Jason schreefing again? Jochem Maas wrote: > Jason Pruim schreef: >> >> On Mar 18, 2008, at 3:20 PM, Jochem Maas wrote: >> >>> what started out as a simple little reply bloated out into an >>> inpromptu brain >>> fart ... lots of bla .. enjoy :-) >>> >>> Jason Pruim schreef: Hi everyon

[Fwd: Re: [PHP] Newbie question, Which way is best?]

2008-03-19 Thread Shawn McKenzie
r script that receives post data session_start(); if(!empty($_POST)) { $query = "Build query from post vars"; $_SESSION['query'] = $query; } else { $query = $_SESSION['query']; } // use your query Then there's the pagination stuff, but we'd need to see how you do it. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie question, Which way is best?

2008-03-20 Thread Shawn McKenzie
George J wrote: > ""Thiago Pojda"" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> De: George J [mailto:[EMAIL PROTECTED] >> >>> So calling the script via the form works i.e it passes the >>> neccessary variables to

Re: [PHP] strange list behavior when replying to message on list

2008-03-22 Thread Shawn McKenzie
enant behavior of some > folks in the presence of clear and plain logic. Especially from a > programmer. Makes no sense at all. > > Guess I'm off to create the necessary recipe for Procmail to do the > adult thing and make sense of the non-sense. > I use Thunderbird 2.x on Kubuntu and I just hit reply to this mail. I have news.php.net setup as a news account. I do receive and have received frequent timeouts contacting the news server though. Has been a pain for quite awhile. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: strange list behavior when replying to message on list

2008-03-22 Thread Shawn McKenzie
underbird. Is anyone else seeing this behavior or is there > something I'm missing? > > Mark Thunderbird 2.x on Kubuntu, If I 'reply all' I get: to: [EMAIL PROTECTED] cc: php-general@lists.php.net newsgroup: php.general If I right click and reply to newsgroup I get newsgro

[PHP] Re: Quick email address check

2008-03-26 Thread Shawn McKenzie
250 ok You could also see: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) This would mean that there is an MX record for thedomain.com pointing to this server but this server isn't configured to accept mail for this domain. -Shawn -- PHP General Mailing List (h

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5and MySQL 5.x

2008-03-27 Thread Shawn McKenzie
he archives should > reveal all. > > > --Paul > > > > > > All Email originating from UWC is covered by disclaimer > http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm Download the zip and read the install.txt. It doesn't get any easier than that.

Re: [PHP] WAMP servers

2008-03-27 Thread Shawn McKenzie
o you just hit next, next, next, finish, and PHP you just unzip and add some lines to you're Apache httpd.conf and you're all set. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Shawn McKenzie
>>>>> number of packets. >>>> Yes, but do so smartly. Excessive string concatenation can slow things >>>> down as well. On most pages you probably won't notice much difference, >>>> but I have seen instances where the difference was painfully obvious. >>>> Andrew Yes and if your script takes .0002 seconds to run using double quotes it will only take .00019 seconds with single (depending upon how many quotes you have of course) :-) -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Shawn McKenzie
Jason Pruim wrote: > > On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: >> Al wrote: >>> Good point. I usually do use the single quotes, just happened to key >>> doubles for the email. >>> >>> Actually, it's good idea for all variable assig

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Jason Pruim wrote: >> On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: >>> Al wrote: >>>> Good point. I usually do use the single quotes, just happened to key >>>> doubles for the email. >>>> >>>> Actua

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS5and MySQL 5.x

2008-03-29 Thread Shawn McKenzie
[EMAIL PROTECTED] wrote: > Shawn McKenzie wrote: > >> Paul Scott wrote: >> >> >>> On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: >>> >>> >>>> I'd suggest going with a real operating system (linux) which keeps patches

Re: [PHP] How to get a code review?

2008-04-03 Thread Shawn McKenzie
Nathan Nobbe wrote: > On Thu, Apr 3, 2008 at 10:41 AM, David Jourard <[EMAIL PROTECTED]> > wrote: > >> Nathan Nobbe wrote: >> >>> how much code is there ? >>> >> 200 lines > > > i think ur safe posting that on the list directly. sometimes people post > several thousand lines and those sort of t

[PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
the users kept asking. So this would be the same idea, just more broad. If no one knows of good site(s) like this, does anyone think it would be beneficial? Would you use it? Thanks! -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
this would be the same idea, just more broad. If no one knows of good site(s) like this, does anyone think it would be beneficial? Would you use it? [/snip] http://sourceforge.net/index.php Thanks, I use SF a lot but is exactly opposite of what I was going for. -Shawn -- PHP Ge

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Maybe slightly off, but this is a general PHP question :-) [snip!] So to my question: does anyone know of a site or forum where people request apps or sites to be built and then it can be vo

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Daniel Brown wrote: On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Maybe slightly off, but this is a general PHP question :-) [snip!] So to my question:

Re: [PHP] Requested PHP apps / sites

2008-04-09 Thread Shawn McKenzie
Andrew Ballard wrote: On Wed, Apr 9, 2008 at 4:51 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 4:36 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Daniel Brown wrote: On Wed, Apr 9, 2008 at 11:36 AM, Shawn McKenzie <[EMAIL PROT

[PHP] Re: Vote for PHP support in Google App Engine

2008-04-10 Thread Shawn McKenzie
Paul van Brouwershaven wrote: Have you seen the Google App Engine already, the guys from Google are crazy! You now can host your application on the Google network, including Big Table and GFS! Ok, one problem... they currently only support Python for programming, but the good news is that the

[PHP] Re: RES: [PHP-INSTALL] ftp_put cannot upload a file.

2008-04-10 Thread Shawn McKenzie
The remote dir can't be found or the connected user doesn't have permission to write to it 5. If going through a firewall or for other reasons, you most likely need ftp_pasv() -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Shawn McKenzie
e I use those to build the site and then the ideas come forth? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Requested PHP apps / sites

2008-04-10 Thread Shawn McKenzie
Shawn McKenzie wrote: Dan wrote: That would be a pretty interesting app to make. If you actually followed Osborn's Brainstorming technique then you should be able to develop a pretty cool real-time think tank where developers work in a sort of chat room but with a place to post common

[PHP] Re: Google App Engine needs PHP support

2008-04-10 Thread Shawn McKenzie
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. http://www.phpclasses.org/blog/post/77-Google-App-Engine-needs-PHP-support.html -1 Redundant :-) -- PHP Ge

[PHP] Re: install pecl in debian

2008-04-11 Thread Shawn McKenzie
ssing for php command? Thank you. Kind Regards, Jim Not sure about debian but ubuntu you install the individual modules, not all that are included in PECL. 1. apt-get install php5-mysql php5-lighttpd php5-memcache 2. apt-get install php5-cli -Shawn -- PHP General Mailing List (http://www.ph

[PHP] Re: Most viewed?

2008-04-15 Thread Shawn McKenzie
l articles and sort on reads, etc... -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What is the practical use of "abstract" and "interface"?

2008-04-15 Thread Shawn McKenzie
l interface just makes things a lot easier; like, say, when you're reading someone else's code and trying to make sense of what it's supposed to do and what assumptions are being made. Having that built right into the syntax can be quite useful, even in a loosely typed language

[PHP] Re: OS X 10.5.2

2008-04-18 Thread Shawn McKenzie
the gd.so extension there it will load when you restart Apache. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OS X 10.5.2

2008-04-18 Thread Shawn McKenzie
Simon Welsh wrote: On 19/04/2008, at 2:31, Eric Butera wrote: On Fri, Apr 18, 2008 at 8:10 PM, Lee Perry <[EMAIL PROTECTED]> wrote: Hi, I need pdo_msql and GD2 extension support in my php environment, but as I am sure you are aware the default build that comes with leopard on the mac is lacki

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Shawn McKenzie
l framework so that we can all share in your wizardry? http://cakephp.org Not sure about the audit logging and I have no idea what a workflow system is. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php framework vs just php?

2008-04-22 Thread Shawn McKenzie
Tony Marston wrote: ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can this piece of wizardry be downloaded so that it can be reviewed by your peers? [/snip] It is not available for download So your claims canno

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Shawn McKenzie
Robert Cummings wrote: On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] You haven't answered the question. Where can this piece of wizardry

[PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Shawn McKenzie
n the dev server or workstation? -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: php framework vs just php?

2008-04-23 Thread Shawn McKenzie
Robert Cummings wrote: On Wed, 2008-04-23 at 16:50 -0500, Shawn McKenzie wrote: Robert Cummings wrote: On Tue, 2008-04-22 at 19:05 -0500, Shawn McKenzie wrote: Tony Marston wrote: ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message new

Re: [PHP] Re: Testing HTTPS without certificate

2008-04-23 Thread Shawn McKenzie
Ken Kixmoeller.com wrote: On Apr 23, 2008, at 4:53 PM, Shawn McKenzie wrote: Ken Kixmoeller wrote: I know how to test for the existance of HTTPS, and stuff like that. So: Can one test https on a local machine? Resources, anyone? I have Googled my fingers off. Why not just generate a free

[PHP] Re: the most amazing php code i have ever seen so far

2008-04-24 Thread Shawn McKenzie
paragasu wrote: i have seen many php code. i learn php on my own, and during early days with php, i download many open source php project and try to learn the coding on my own. i did see many code (ugly, spaghetti code etc). Some even take me few hours to figure out how it works. But one projec

[PHP] Re: the most amazing php code i have ever seen so far

2008-04-24 Thread Shawn McKenzie
signedEarlier); But still, this would be the same yes? $funcNameAssignedEarlier(); -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OS need anything for mail() to work?

2008-04-25 Thread Shawn McKenzie
.com had an MX record? Which it doesn't. -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OS need anything for mail() to work?

2008-04-25 Thread Shawn McKenzie
Shawn McKenzie wrote: Brian Dunning wrote: Is there any way for PHP to know that this email is not going through? On Apr 25, 2008, at 1:21 PM, Eric Butera wrote: Apr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847: to=<[EMAIL PROTECTED]>, relay=none, delay=4470, delays=4440/

Re: [PHP] OS need anything for mail() to work?

2008-04-25 Thread Shawn McKenzie
Shawn McKenzie wrote: Brian Dunning wrote: Is there any way for PHP to know that this email is not going through? On Apr 25, 2008, at 1:21 PM, Eric Butera wrote: Apr 24 17:03:34 MacBrian postfix/error[10699]: F19D21287847: to=<[EMAIL PROTECTED]>, relay=none, delay=4470, delays=4440/

[PHP] Re: Making an array from delimited data

2008-04-28 Thread Shawn McKenzie
Standard Gauge Series: Analog Gauge Range: 0-11,000 rpm Gauge Diameter (in): 5 in. Gauge Diameter (mm): 127.00mm Sweep: Full sweep -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SEE MY LATE JANGO JIMMY(Snr) BUSINESS CARD,I SEND MY PICTURES WHENI HEAR FROM YOU.

2008-04-28 Thread Shawn McKenzie
ff Jimmy! I will be very glad if you download the sum of (USD$15.8Million) into my bank account! -abdul Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OS need anything for mail() to work?

2008-04-28 Thread Shawn McKenzie
Jason Pruim wrote: On Apr 28, 2008, at 3:47 PM, Richard Lynch wrote: On Fri, April 25, 2008 3:44 pm, Brian Dunning wrote: Is there any way for PHP to know that this email is not going through? You could, perhaps, hack your MTA to notify something somewhere that PHP can check... But it's re

[PHP] Re: PHP Errors to screen

2008-04-29 Thread Shawn McKenzie
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam php.ini, display_errors -shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Errors to screen

2008-04-29 Thread Shawn McKenzie
Adam Gerson wrote: Where do I change the setting to print PHP errors to the screen when running in a web browser? Thanks, Adam Or in your script use ini_set() -shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help with preg_match_all regex for alt tags

2008-04-29 Thread Shawn McKenzie
Joe Harman wrote: Hey y'all ... i am having alittle trouble with this regex for finding ALT tags for images... Here is my statement preg_match_all("'alt[^>]*?>.*?[^>]

[PHP] Re: php 5 and mysql failure

2008-04-30 Thread Shawn McKenzie
d not get an "out of memory error", I got the one described bfore. My question is, is there any kind of limit somewhere in php5 or in mysql? Thanks for help, YEHUDI GARRETT Are you sure that you always pass one or more ids into the query and that at least one of those ids exist in th

[PHP] Re: Assigning functions

2008-05-02 Thread Shawn McKenzie
is, $a->b->c->doSomething(); // I want to do this. $a->doSomething(); // ¡Hi! ?> Basically, it's just to shorten the line to access a particular function. But, is it possible?! Thanks, ~Philip Why are you using OOP? That's insane. -Shawn -- PHP General Mailing List

Re: [PHP] Re: Assigning functions

2008-05-02 Thread Shawn McKenzie
Craige Leeder wrote: On Fri, May 2, 2008 at 7:27 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote: Why are you using OOP? That's insane. -Shawn I believe that's a matter of opinion. Some people like OOP, others don't. Why criticize the man because he likes to

<    5   6   7   8   9   10   11   12   >