> -Original Message-
> From: Ahmed Mohsen [mailto:mre...@gmail.com]
> Sent: Friday, June 11, 2010 4:25 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] is
> On 6/11/2010 11:43 PM, Daevid Vincent wrote:
> >> -Original Message-
> &g
> -Original Message-
> From: Paul M Foster [mailto:pa...@quillandmouse.com]
> Sent: Saturday, June 12, 2010 10:40 PM
>
> this in PHP. I can convert from '.' to '+' (as in most
> languages) in my
> mind, but embedding variables in strings was a harder habit
> to break. My
> opinion is th
Priceless. Could also be extended applied to babies too. ;-p
object babies extends mammal (
function eat (milk $food)
)
ROFL.
> -Original Message-
> From: Rene Veerman [mailto:rene7...@gmail.com]
> Sent: Tuesday, June 22, 2010 11:58 PM
>
> object mammal (
> function eat (mixed $fo
> -Original Message-
> From: Gary . [mailto:php-gene...@garydjones.name]
> Sent: Friday, June 25, 2010 1:14 AM
> To: PHP
> Subject: Re: [PHP] in_array - what the...
>
> "Ford, Mike" writes:
> >> -Original Message-
> >> If I have an array that looks like
> >> array(1) {
> >>
> -Original Message-
> From: Andrew Ballard [mailto:aball...@gmail.com]
> Sent: Tuesday, June 29, 2010 1:56 PM
> To: a...@ashleysheridan.co.uk
> Cc: Jo?o C?ndido de Souza Neto; php-general@lists.php.net
> Subject: Re: [PHP] file_get_contents limit
>
> On Tue, Jun 29, 2010 at 4:39 PM, Ashl
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Wednesday, July 07, 2010 1:22 PM
> To: Marc Guay
> Cc: php-general
> Subject: Re: [PHP] Creating image on-the-fly
>
> On Wed, 2010-07-07 at 16:05 -0400, Marc Guay wrote:
>
> > > I was wondering if
> -Original Message-
> From: Gary [mailto:gp...@paulgdesigns.com]
> Sent: Monday, July 12, 2010 11:53 AM
>
> I'm sure it is possible, but I am unsure how to do this. I
> have created a
> Sale coupon that I was going to put up on a site that I
> manage, for visitors
> to print out and
> -Original Message-
> From: Sorin Buturugeanu [mailto:m...@soin.ro]
> Sent: Tuesday, July 20, 2010 2:11 PM
> To: php-general@lists.php.net
> Subject: [PHP] eval and HEREDOC
>
> Hello,
>
> I am having trouble with a part of my templating script. I'll
> try to explain:
>
> The template
http://www.youtube.com/watch?v=S8zhmiS-1kw
http://shiflett.org/blog/2010/aug/php-anthem
...some people have way too much time. ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: tedd [mailto:t...@sperling.com]
> Sent: Thursday, August 12, 2010 8:32 AM
> To: Bastien Koert
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Storing Social Security Number WAS:
> Encryption/Decryption Question
>
> For searching standard fields, it's
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Friday, August 13, 2010 3:00 PM
> To: tedd
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] It's Friday (a MySQL Question)
>
> On Fri, 2010-08-13 at 17:48 -0400, tedd wrote:
>
> > Hi gang:
> >
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Friday, August 13, 2010 3:23 PM
> To: Daniel P. Brown
> Cc: tedd; php-general@lists.php.net
> Subject: Re: [PHP] It's Friday (a MySQL Question)
>
> On Fri, 2010-08-13 at 18:22 -0400, Daniel P. Brown wr
You've got something jacked. DO NOT proceed with your coding using this
hack.
Put this in a blank file named whatever_you_want.php and hit it with your
web browser.
---
-
foo
ba
> -Original Message-
> From: Andre Polykanine [mailto:an...@oire.org]
> Sent: Thursday, August 26, 2010 4:53 PM
> To: php-general
> Subject: [PHP] Making multiple RSS feeds for the blog website
>
> Hi everyone,
> We are developing a blog service website.
> What we need now is the abili
http://www.php.net/manual/en/language.oop5.basic.php
> -Original Message-
> From: David Harkness [mailto:davi...@highgearmedia.com]
> Sent: Friday, September 10, 2010 10:59 AM
> To: rquadl...@googlemail.com
> Cc: chris h; PHP-General
> Subject: Re: [PHP] Zend framework
>
> We use part o
Sorry wrong thread. Damnit. I meant that link for the guy that didn't know
what the -> was for...
> -Original Message-----
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Friday, September 10, 2010 12:01 PM
> To: 'David Harkness'
> Cc: '
> -Original Message-
> From: tedd [mailto:t...@sperling.com]
> Sent: Sunday, September 12, 2010 9:32 AM
> To: PHP-General list
> Subject: [PHP] 1984 (Big Brother)
>
> Hi gang:
>
> I have a client who wants his employees' access to their online
> business database restricted to only t
> have been you'll have fun getting paid to re-do everything. Having
> everything require a usb stick to launch sounds secure, until
> he loses
> the stick or forgets it at home one day. For fun I'd suggest tagging
...or pulls it out before all the writes have taken place from the cache or
m
That was my poll! :)
Do you use a public framework or roll your own?
I personally find most frameworks to be either too generic or too
restricting. To do some tasks you have to jump through many hoops. I see
the benefit and certainly for prototypes they may have use, but I tend to
find that buildi
http://80vul.com/Zend%20studio/Zend%20studio%20location%20Cross.htm
Interesting. A co-worker and I were JUST noticing how our PHPDoc comments
were being parsed pretty much verbatim including tags and links and
stuff and thought, "wow, that's stupid, that's just a XSS or injection
waiting to happ
> -Original Message-
> From: Thijs Lensselink [mailto:d...@lenss.nl]
> Sent: Tuesday, October 12, 2010 9:26 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Zend studio location Cross-Domain
> Scripting Vulnerability
>
> On 10/13/2010 12:19 AM, Daevid
http://www.slideshare.net/ivmos/phpforandroid-en
I've used variable variables before but for some reason I can't figure this
snippet out. Why doesn't $ini_file get set (or appended to). Is there a
better more elegant solution to parsing these keys and splitting them into
sub-array keys as you see what I'm trying to do. I was thinking some
recursi
> -Original Message-
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Tuesday, November 09, 2010 6:55 PM
> To: 'php-general@lists.php.net'
> Subject: Help with variable variables not being set for a
> multi-dimensional array
>
> I've
http://php.net/manual/en/function.parse-ini-file.php
Why doesn't PHP parse the 'null', 'true', 'false', etc into their proper
equivalents? What's worse is that it does this mangling of my RAW values to
be strings and sets them to "1" !!! WTF good does that do me?!
Here is my test.ini file:
-
We're trying to move all of our configuration files for our DEV/TEST/PROD
and various python scripts and such that all need the same DB connection
parameters and pathing information to a common and simple config.ini file
they all can share across languages.
One snag I ran into is this:
[dart]
rel
> -Original Message-
> From: Tamara Temple [mailto:tamouse.li...@gmail.com]
> Sent: Thursday, November 11, 2010 1:09 AM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] parse_ini_file() seems to be broken in PHP
> 5.2.4-2ubuntu5.12
>
> -Original Message-
> From: Tamara Temple [mailto:tamouse.li...@gmail.com]
> Sent: Thursday, November 11, 2010 11:04 AM
> To: PHP General
> Subject: [PHP] use of ini vs include file for configuration
>
> I'm curious what the lists' opinions are regarding the use of
> an .ini
> file ve
> -Original Message-
> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> Sent: Thursday, November 11, 2010 11:46 AM
> To: Jo?o C?ndido de Souza Neto
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Re: use of ini vs include file for configuration
>
> On Thu, 2010-11-11 at
35?
>
> > -----Original Message-
> > From: Daevid Vincent [mailto:dae...@daevid.com]
> > Sent: 11 November 2010 04:06
> > To: php-general@lists.php.net
> >
> > We're trying to move all of our configuration files for our
> > DEV/TEST/PRO
multi-hash broken down by sections
* @paramboolean $explode (false) split . keys into
sub-array elements
* @author Daevid Vincent [dae...@daevid.com]
* @date 2010-11-09
*/
function __construct($file, $process_sect
> -Original Message-
> Subject: [PHP] I am a Windows programmer and getting started
> on PHP. What is the easiest way of getting started? Most of
> the stuff I encounter seems to be very Linux specific.
>
> I am a Windows programmer and getting started on PHP. What is
> the easiest way
h
> by each through an array.
>
> Is there any way to assign values to the fields in a class
> via an array.
>
> Thanks in advance!
>
/**
* generate a key/value pair from the class' variables.
*
* @access public
* @return array
I have a class that does some massive computations to compute a LOPA
(layout of passenger aircraft).
I currently render it in an HTML table with little seats. I want to now
make this using GD so I can show entire fleets of aircraft on one page.
Inside my LOPA.class.php I have this method:
> -Original Message-
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Monday, December 06, 2010 4:02 PM
> To: php-general@lists.php.net
> Subject: [PHP] How can I call GD's imagepng() directly from my class?
>
> I have a class that does some massive
Avoid these ORM things like the plague! They seem great in theory, but if
you're doing anything serious, they will quickly get in your way. Not to
mention all that fancy "ORM" doesn't come without a price. It costs in terms
of speed, as well as training. You're much better off to make your custom
t
> -Original Message-
> > If you value CPU time over developer time, by all means avoid ORM
> > frameworks (and *all* frameworks). The point of a common
> framework is to
> > trade a small bit of performance for a large amount of
> developer time. If
> > you will only use the framework
> -Original Message-
> From: Robert Cummings [mailto:rob...@interjinn.com]
> Sent: Friday, December 10, 2010 6:54 AM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] ORM doctrine
>
> On 10-12-09 10:41 PM, Daevid Vincent wrote:
> >
> - Original message -
> From: Gary
> To: php-general@lists.php.net
> Date: Monday, December 13, 2010, 7:47:49 PM
> Subject: [PHP] empty() in email message
>
> I have an email message
>
> $msg = 'Name: $fname ' . ' $lname\n'
> . "Phone: $phone\n"
> . "Email: $email\n"
>
> and it works
11/01/04/weird_php_dos_vuln/
--
Daevid Vincent
http://daevid.com
There are only 11 types of people in this world. Those that think binary
jokes are funny, those that don't, and those that don't know binary.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/
Can't say he doesn't have some good points, but he sure goes about it in a
dickish way.
Huh? Why is this equal??!
php > $id = '444-4';
php > var_dump($id, intval($id));
string(9) "444-4"
int(444)
php > if (intval($id) == $id) echo 'equal'; else echo 'not equal';
equal
or in other words:
php > if (intval('444-4')
http://www.addedbytes.com/blog/if-php-were-british/
> -Original Message-
> From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel
Brown
> Sent: Friday, June 22, 2012 4:03 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] If PHP Were British
>
> On Fri, Jun 22, 2012 at
Is there a way to customize the 'Username' and 'Password' strings in a 401
auth dialog box?
I want to change mine to say "Webmaster ID" and "Authentication Key".
http://php.net/manual/en/features.http-auth.php
> -Original Message-
> From: Simon Dániel [mailto:simondan...@gmail.com]
> Sent: Thursday, July 12, 2012 1:21 PM
> Subject: [PHP] Entry point of an MVC framework
>
> I have started to develop a simple MVC framework.
Yeah! Just what PHP needs, another MVC framework
NOT.
Why are you r
AJAX.
Your page calls a PHP 'ajax' routine that pulls the data, sends it back as a
JS array, and you re-populate the second select box. Welcome to the year
2000. Using frameworks like jQuery, this is pretty trivial these days.
You're not trading any security since the PHP gets whatever parameters
Hold on there fireball.
* jQuery for production (minified) is a scant 32k. http://jquery.com/
LOL That's like a TCP/IP packet. I bet your images are bigger than 32k.
* Unlike stupid PHP frameworks (which everyone knows I detest)
- JS frameworks are cached by the browser so there is no downlo
> -Original Message-
> From: Matijn Woudt [mailto:tijn...@gmail.com]
>
> You're missing the most important aspect of social networks.. Advertising.
Please tell me that is said sarcastically. Advertising is the cancer of the
internet. There was a time when there weren't ad banners, interst
> -Original Message-
> From: Paul M Foster [mailto:pa...@quillandmouse.com]
> I bought TiVo partially so I could skip ads. I've revelled in it every
> day since. I can watch an hour-long program in 47 minutes. (Though this
> is a sad commentary on television and cable content providers.)
> -Original Message-
> From: AmirBehzad Eslami [mailto:behzad.esl...@gmail.com]
> Sent: Monday, September 24, 2012 7:05 AM
> To: PHP General Mailing List
> Subject: [PHP] Joining a team, where no wiki or docs are available
>
> Hi,
>
> i'm going to join a mid-size company with a few PHP-dr
nail.
Build a toolbox. ;-)
From: AmirBehzad Eslami [mailto:behzad.esl...@gmail.com]
Sent: Monday, September 24, 2012 12:47 PM
To: Daevid Vincent
Cc: PHP General Mailing List
Subject: Re: [PHP] Joining a team, where no wiki or docs are available
Wow. David. That was a great help with every detail
> -Original Message-
> From: Alessandro Pellizzari [mailto:a...@amiran.it]
> Sent: Tuesday, March 19, 2013 2:06 AM
> To: php-general@lists.php.net
> Subject: [PHP] Re: Compiler for the PHP code
>
> Il Tue, 19 Mar 2013 08:46:22 +, Kevin Peterson ha scritto:
>
> > My webcode written i
We do a lot with caching and storing in memecached as well as local copies
so as to not hit the cache pool over the network and we have found some
great tools to minimize our javascript and our css, and now we'd like to
compress our HTML in these cache slabs.
Anyone know of a good tool or even
> -Original Message-
> From: Matijn Woudt [mailto:tijn...@gmail.com]
> Sent: Wednesday, April 17, 2013 3:11 PM
> To: Daevid Vincent
> Cc: PHP List
> Subject: Re: [PHP] Need a tool to minimize HTML before storing in
> memecache
>
> On Wed, Apr 17, 2013
It is the equivalent of it's just easier to type and read
IMHO. For a while people were freaking out that they thought it would be
deprecated, but that is not (nor ever will be) the case.
> -Original Message-
> From: Larry Martell [mailto:larry.mart...@gmail.com]
> Sent: Wednesday, Apr
; => 'raw',
'output-encoding' => 'raw',
'newline' => 'LF',
'tidy-mark' => false,
'quiet' => true,
'show-errors' => ($this->_debug ? 6 : 0),
'show-w
snag, it works like a champ.
> -Original Message-
> From: ma...@behnke.biz [mailto:ma...@behnke.biz]
> Sent: Thursday, May 02, 2013 4:55 AM
> To: Daevid Vincent; 'php-general General'
> Subject: RE: [PHP] Need a tool to minimize HTML before storing in memecache
>
oth apache and the client's browser's parser.
Dig?
> -Original Message-
> From: ma...@behnke.biz [mailto:ma...@behnke.biz]
> Sent: Friday, May 03, 2013 4:28 AM
> To: Daevid Vincent; 'php-general General'
> Subject: RE: [PHP] Need a tool to minimize HTML
> -Original Message-
> From: Marco Behnke [mailto:ma...@behnke.biz]
> Sent: Friday, May 03, 2013 12:01 PM
> To: Daevid Vincent; php >> "php-general@lists.php.net"
> Subject: Re: [PHP] Need a tool to minimize HTML before storing in memecache
>
> If yo
> -Original Message-
> From: Marco Behnke [mailto:ma...@behnke.biz]
> Sent: Friday, May 03, 2013 12:56 PM
> >
> >> Maybe google page speed is worth a look for you too?
> >
> > We have over 1,000 servers in house and also distributed across nodes in
> various cities and countries.
>
> Don
We have a support ticket system we built and customers can reply via email
which then posts their reply into our database. The problem is that when you
read a ticket, you see each ticket entry (row in DB) but they tend to
accumulate the previous entries text since the customer replied to an email.
> -Original Message-
> From: muquad...@gmail.com [mailto:muquad...@gmail.com] On Behalf Of shiplu
> Sent: Monday, May 20, 2013 9:03 PM
> To: Daevid Vincent
> Cc: php-general General List
> Subject: Re: [PHP] How do I remove a string from another string in a fuzzy
&
I'm adding some minification to our cache.class.php and am running into an
edge case that is causing me grief.
I want to remove all comments of the // variety, HOWEVER I don't want to
remove URLs...
Given some example text here with carefully crafted cases:
// another comment here
http://foo.com
> From: David Harkness [mailto:davi...@highgearmedia.com]
>
> We have been using a native jsmin extension [1] which does a lot more
> without any trouble for over two years now. It's much faster than the
> equivalent PHP solution and is probably tested by a lot more people than a
> home-grown vers
> -Original Message-
> From: Andreas Perstinger [mailto:andiper...@gmail.com]
> Sent: Tuesday, May 28, 2013 11:10 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] need some regex help to strip out // comments but not
> http:// urls
>
> On 28.05.2013 23:
I'm confused on how a reference works I think.
I have a DB result set in an array I'm looping over. All I simply want to do
is make the array key the "id" of the result set row.
This is the basic gist of it:
private function _normalize_result_set()
{
foreach($this-
> -Original Message-
> From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
> Sent: Monday, September 02, 2013 8:14 PM
> To: php-general@lists.php.net
> Subject: [PHP] Re: refernces, arrays, and why does it take up so much
> memory?
>
> On 9/2/2013 9:30
EUREKA!
> -Original Message-
> From: Stuart Dallas [mailto:stu...@3ft9.com]
> Sent: Tuesday, September 03, 2013 6:31 AM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] refernces, arrays, and why does it take up so much
> memory?
>
&
> -Original Message-
> From: Stuart Dallas [mailto:stu...@3ft9.com]
> Sent: Tuesday, September 03, 2013 2:37 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net; 'Jim Giner'
> Subject: Re: [PHP] refernces, arrays, and why does it take up so much
> memo
> -Original Message-
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Tuesday, September 03, 2013 4:03 PM
> To: php-general@lists.php.net
> Cc: 'Stuart Dallas'
> Subject: RE: [PHP] refernces, arrays, and why does it take up so much
> memory? [SO
I use a base.class that most classes extend from. That class uses the lovely
Magic Methods for overloading __get() and __set()
http://php.net/manual/en/language.oop5.magic.php
However (in Zend Studio for example) when I try to auto-assist a property
$foo I don't see that it has a get() or set() m
> -Original Message-
> From: li...@pruimphotography.com [mailto:li...@pruimphotography.com]
> Sent: Thursday, January 13, 2011 4:50 PM
> To: php-general@lists.php.net
> Subject: [PHP] A bad design decision or pure genius?
>
> Hey Everyone,
>
> I have a question about php & javascript...
Aha! I am working for the company that was the root of PHP!
http://www.panasonic.net/history/founder/chapter3/story3-02.html
;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Bastien [mailto:phps...@gmail.com]
> Sent: Thursday, February 24, 2011 4:18 AM
> To: Gary
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Dotnet Remoting
>
>
>
> On 2011-02-24, at 5:17 AM, Gary wrote:
>
> > This is purely of academic interest to me
> -Original Message-
> From: Joshua Kehn [mailto:josh.k...@gmail.com]
> Sent: Tuesday, May 10, 2011 8:19 AM
> To: Andre Polykanine
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Short tag: why is it bad practice?
>
> On May 10, 2011, at 11:11 AM, Andre Polykanine wrote:
>
> > Hi eve
> -Original Message-
> From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel
> Brown
> Sent: Monday, May 23, 2011 11:20 AM
> To: tedd
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Posts that include bracket OT bracket
>
> On Mon, May 23, 2011 at 11:33, tedd wro
> -Original Message-
> From: Eric Butera [mailto:eric.but...@gmail.com]
> Sent: Friday, May 20, 2011 2:25 PM
> To: PHP
> Subject: Re: [PHP] observer pattern
>
> [whoops didn't hit reply-all]
>
> On Wed, May 18, 2011 at 5:18 AM, Ken Guest wrote:
> > Lo,
> >
> > so, I'm wondering - how man
A friend sent me this URL today. While amusing, he's got many valid points
and I certainly share in his frustration.
http://www.phpsadness.com
> >> Reminds me (obliquely) of an entry in the index for "The C Programming
> >> Language" for recursion, which points right back to that index page. I
> >> about doubled over when I first discovered it.
> >
> >That's hilarious. I love subtle humor like that.
This whole thread seems to echo t
Damn. Ironically, I wanted to write something short and succinct like that
... then I got all worked up and started to rant. Well said 'guy with my
same name'. :)
> -Original Message-
> From: David Harkness [mailto:davi...@highgearmedia.com]
> Sent: Friday, June 03, 2011 1:47 PM
> To: PHP
bout Safari or Opera or the other fringe browsers for my PERSONAL site.
-Original Message-
From: Tamara Temple [mailto:tamouse.li...@gmail.com]
Sent: Saturday, June 04, 2011 10:09 PM
To: Daevid Vincent
Cc: php-general@lists.php.net
Subject: Re: [PHP] phpsadness - P.C. shmee seee.
On
While not PHP specifically, this is a plugin for Eclipse that is an entirely
new paradigm in coding IDE and I've been watching & waiting for it for over
a year now.
I post it here because
[a] it's pretty much the coolest thing since the invention of the IDE
itself.
[b] it's real and actually not
> -Original Message-
> From: Nathan Nobbe [mailto:quickshif...@gmail.com]
> Sent: Thursday, June 16, 2011 9:51 AM
> To: php-general@lists.php.net
> Subject: [PHP] Doctrine madness!
>
> Hi gang,
>
> If anyone out there has some experience w/ Doctrine now would be a great
> time to share it
> -Original Message-
> From: Eric Butera [mailto:eric.but...@gmail.com]
> Sent: Thursday, June 16, 2011 2:58 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Doctrine madness!
>
> On Thu, Jun 16, 2011 at 5:37 PM, Daevid Vincent w
> -Original Message-
> From: Nathan Nobbe [mailto:quickshif...@gmail.com]
> Sent: Thursday, June 16, 2011 5:39 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Doctrine madness!
>
> On Jun 16, 2011 5:31 PM,
> -Original Message-
> From: Eric Butera [mailto:eric.but...@gmail.com]
> Sent: Thursday, June 16, 2011 5:53 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Doctrine madness!
>
> On Thu, Jun 16, 2011 at 7:32 P
> >> out XSS out of the box. Of course, with diligence and time we can all
> >> overcome these things, but that does not mean someone with the
> >> ambition to bang together a quick website for a relative understands
> >> the real perils they're getting into - I certainly did not.
> >
> > I'm sure
I'm fumbling trying to think of a nice easy way to mangle my URLs within PHP
for SEO and apache's RewriteRules magic.
Given a basic rule like this:
RewriteCond ^/foo/movie/genre/([-a-z\|]*)_([-a-z\|]*)/([0-9]+)/videos.html$
RewriteRule /browse_scenes.php?&genre_id=${genres:$2}&pg=$1&%{QUERY_STRI
(at the risk of starting another $h!t storm like the last time)
http://wiki.theory.org/YourLanguageSucks#PHP_sucks_because:
;-)
Can someone double check me here, but I think I found a bug...
int 1
1 => int 2
2 => int 3
3 => int 4
4 => int 5
I think v is an array [1,2,3,4,5]
*/
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Simon J Welsh [mailto:si...@welsh.co.nz]
> Sent: Thursday, July 14, 2011 7:29 PM
> To: Daevid Vincent
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] is_null() and is_string() reversed when using in switch
> case statements...
>
I'm working on a mobile site and from the various searches and reading (and
even code fragments I've inherited for the project), they make reference to:
$_SERVER['HTTP_X_WAP_PROFILE'] and a fallback $_SERVER['HTTP_PROFILE']
However, when I hit a phpinfo(); page using both an Android MyTouch 3G (2
I've inherited a bunch of code and the previous developers have done two
things that are really bugging me and I want to clean up.
[a] They use short-tag "
ypes of people in this world. Those that think binary
jokes are funny, those that don't, and those that don't know binary.
--
> Sent from my iPhone 5 Beta [Confidential use only]
>
> On 09-08-2011, at 19:40, "Daevid Vincent" wrote:
>
> > I've inherit
LOLercopter!
> -Original Message-
> From: David Harkness [mailto:davi...@highgearmedia.com]
> Sent: Tuesday, August 30, 2011 12:57 PM
> To: Robert Cummings
> Cc: rquadl...@gmail.com; Tedd Sperling; php-general@lists.php.net
> Subject: Re: [PHP] Code should be selv-maintaining!
>
> I don'
> -Original Message-
> From: Alex Nikitin [mailto:niks...@gmail.com]
> Sent: Wednesday, September 07, 2011 8:47 AM
> To: Chris Stinemetz
> Cc: PHP General
> Subject: Re: [PHP] dev to production server
>
> If you have to ask these questions, i don't think you should be the person
> to do
http://www.youtube.com/watch?v=5GpOfwbFRcs
LOLercopter
#include
int main()
{
printf("R.I.P. Dennis Ritchie: 1941-2011\n");
return 0;
}
http://www.networkworld.com/news/2011/101311-ritchie-251936.html
-Original Message-
> Search Google for Xataface. It's a full frontend which
> dynamically changes with database structure changes.
http://xataface.com/videos is broken and therefore we can't view the demo,
and nothing pisses me off more than a site that doesn't have a simple
"contact" ema
301 - 400 of 562 matches
Mail list logo