RE: [PHP] Re: Is select_db necessary?

2009-08-13 Thread Jay Blanchard
[snip] So perhaps it depends on your view point and preconceptions and we're both coming at the flexible and offloading arguments with different starting views. Anyway, I only asked out of curiosity which I think has been satisfied (i.e. ultimately I don't fully agree with you! :p). [/snip]

RE: [PHP] Re: Re: Re: Design Patterns

2009-08-13 Thread Jay Blanchard
[snip] u can not go smaler then an atom. [/snip] Neutrons, electrons, gluons, protons particles all smaller than an atom. There are others if you want to get into a discussion of quantum physics and mechanics, but we should probably take that discussion offline. Many folks here are building

RE: [PHP] Is select_db necessary?

2009-08-12 Thread Jay Blanchard
[snip] Jay Blanchard wrote: [snip] Is the database selection necessary, or is that implied with a SELECT or other SQL command? [/snip] It depends on the database (as you have seen in many of the responses), but there is a way to keep from doing this if the database is ANSI compliant using

RE: [PHP] Re: Is select_db necessary?

2009-08-12 Thread Jay Blanchard
[snip] I'm interested to know why you consider this to be very flexible and how this leaves the selection in the database's hands? [/snip] Flexible because I can connect to more than one database on a server using one connection without having to re-issue a select_db command, especially in a

RE: [PHP] Obeying the rules (was Simple login form with cookies) WOT

2009-07-09 Thread Jay Blanchard
[snip] I've decided. It doesn't work for me. End of story. [/snip] This has become way off topic (call me a Nazi if you will :)) and has not, until now, been appropriately marked in the subject line. Mr. Marston has posted here for a long time and has always had a burr up his butt about rules.

RE: [PHP] Obeying the rules (was Simple login form with cookies) WOT

2009-07-09 Thread Jay Blanchard
[snip] No, I don't like stupid rules, which is why I choose not to obey them. [/snip] Shall I point out the irony here? http://www.tonymarston.net/aboutme/experiences.html in which you post a truckload of rules. And this which is posted among your Thoughts Words Nobody trips over mountains.

RE: [PHP] exasperated again - shot in the foot

2009-06-30 Thread Jay Blanchard
[snip] Use the OOP interface to mysqli or PDO and these problems don't happen [/snip] Either that or include a modicum of error checking in your code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: idiot proofing

2009-06-25 Thread Jay Blanchard
[snip] ...stuff... [/snip] I had to LOL at the subject line for the potential irony :) Typically we set applications to submit to central processing code for a number of reasons, maintainability being the highest among these. So you get... Form-Central Processing-Output Typically this

RE: [PHP] require_once failure

2009-06-25 Thread Jay Blanchard
[snip] s...@debian:~$ php test.php Warning: require_once (PHPUnit/Extensions/Database/Testcase.php): failed to open stream: No such file or directory in /home/ste/test.php on line 3 Fatal error: require_once(): Failed opening required 'PHPUnit/Extensions/Database/Testcase.php'

RE: [PHP] This Friday's OT Thread

2009-06-19 Thread Jay Blanchard
[snip] ...stuff... [/snip] NRSFW - but it is just words and a chick flipping you off and some other really funny stuff (some of it reminds me of our very own PJ); http://www.27bslash6.com/strata.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] sloppiness stupidity

2009-06-17 Thread Jay Blanchard
[snip] Excrement [/snip] Indeed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Disclaimer

2009-06-17 Thread Jay Blanchard
[snip] -Original Message- From: tedd [mailto:t...@sperling.com] Sent: Wednesday, June 17, 2009 9:07 AM To: php-general@lists.php.net Subject: [PHP] Disclaimer Daniel: At 2:27 PM -0400 6/16/09, Daniel Brown wrote: You can change the hidden field to a regular text field (even

RE: [PHP] Disclaimer

2009-06-17 Thread Jay Blanchard
[snip!] P.S. I though about typing a missive long enough to make this a number of lines of code divisible by 42, but I got over it. I wonder if all of this could be squeezed into 42 lines of code (and not those really long lines either)? That would be something, wouldn't it?

RE: [PHP] how to extract fields from associative array into different variables

2009-06-15 Thread Jay Blanchard
[snip] Is there an easier or simpler way to do this? [/snip] http://us2.php.net/manual/en/function.mysql-fetch-row.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] how to extract fields from associative array into different variables

2009-06-15 Thread Jay Blanchard
[snip] In what way would this simplify or ease my pain? The difficulty, it seems to me, is not in retrieving the rows, but rather how to pass the row data to the variables. And since the number of rows is variable, I believe that the only way to assign the variables is by use of a loop? I think

RE: [PHP] order by what?

2009-06-11 Thread Jay Blanchard
[snip] How can order by be forced to order alphabetically and ignore accents without stripping the accents for printout? This is a problem for both caps normal letters. [/snip] Definitely an SQL question. What character set are you using in your database? Is the accent the first character of the

RE: [PHP] order by what?

2009-06-11 Thread Jay Blanchard
[snip] [snip] How can order by be forced to order alphabetically and ignore accents without stripping the accents for printout? This is a problem for both caps normal letters. [/snip] Definitely an SQL question. What character set are you using in your database? Is the accent the first

RE: [PHP] db messed up

2009-05-26 Thread Jay Blanchard
[snip] ...this morning my wonderful local conEdison ... [/snip] [snip] ... Hydro Quebec just f***ed my server just as I was booting... [/snip] I see that you asked this on the MySQL list which would be the correct place to do this. -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] db messed up

2009-05-26 Thread Jay Blanchard
[snip] As you are aware, you have nothing to offer, for if you did, you would have posted it on the MySQL list. So why are you butting in? I know what I am doing and where to look for help... obviously, the other list isn't as knowledgable as is this one. :-P [/snip] Oh a little testy

RE: [PHP] db messed up

2009-05-26 Thread Jay Blanchard
[snip] phpMyAdmin closes when trying to access that db and asks for a login. [/snip] Can you connect to the MySQL server from the command line and see the database? If so your likely problem is a config file issue with phpmyadmin? -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Forms validation and creation- easier solution?

2009-05-20 Thread Jay Blanchard
[snip] 1. Easy creation of forms (fields and layout) [/snip] I posted a form function several months ago that will help you with this. Just search the list archives -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Print, PDF (w/FPDF), JavaScript

2009-05-19 Thread Jay Blanchard
How can I click a button using JavaScript print function and have it generate a PDF with FPDF and get the PDF printed automagically? It seems I have done this before but I cannot recall what I did. TVMIA! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Can includes be used for head tags?

2009-05-11 Thread Jay Blanchard
[snip] I was thinking of creating a php include for the meta tags for a site. Is this possible? [/snip] Here is one model... ?php session_start(); include(inc/dataConnect.inc); /* see if anyone has logged in, if not call the login form */ if( == $_SESSION['user']){

[PHP] E-Mail Verification - Yes, I know....

2009-04-28 Thread Jay Blanchard
Our company wants to do e-mail verification and does not want to use the requests / response method (clicking a link in the e-mail to verify the address), which as we all know is the only way you can be truly sure. I found this; http://verify-email.org/ Which seems to be the next best deal and

RE: [PHP] Self-Process php forms or not?

2009-04-24 Thread Jay Blanchard
[snip] What about the moto: let's separate business from presentation?[/snip] This depends on how strictly you're following any given model like MVC. IMHO you should use the right tool for the job. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Let me google that for you.

2009-04-17 Thread Jay Blanchard
[snip] I was thinking that you create a form with one input box, which would insert into the search box for the lmgtfy link. One of the questions I have is how would I convert or insert a + sign in between the search words. For example, if I created the input, someone insert search, php,

RE: [PHP] What am I doing wrong?

2009-04-17 Thread Jay Blanchard
[snip] I can't seem to understand PHP error trapping...I have it turned on in php.ini, and on the page in question, I have error_reporting(E_ALL); on the page in question below - the following code does NOT generate any errors, but it doesn't perform the insert eitherthe stored procedure

RE: [PHP] Let me google that for you.

2009-04-17 Thread Jay Blanchard
[snip] That's fantastic! Thanks for letting us know. [/snip] Daniel is now channeling me. Please go on about your business. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Let me google that for you.

2009-04-17 Thread Jay Blanchard
[snip] I have gotten the page to open, but not able to insert any search words into it... [/snip] http://www.php.net/curl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and Send Mail

2009-04-09 Thread Jay Blanchard
[snip] And not one RTFM? [/snip] It is because I wasn't online at the time of the crime. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Jay Blanchard
[snip]hey, everyone, my name is Samantha[/snip] This thread is worthless without pictures. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cgi vs php

2009-02-05 Thread Jay Blanchard
[snip] can anybody tell me the benefits of php over cgi or vice versa? i need to compare both? [/snip] CGI is a gateway to be used by languages PHP is a language -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Jay Moore
); Than $a = escape($id, a); and so forth. Does this make sense? Is it possible to do? Thanks in advance, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Jay Moore
Ashley Sheridan wrote: On Wed, 2009-02-04 at 14:02 -0600, Jay Moore wrote: Greetings list. Say I have a function that escapes a string before being passed to MySQL like so: function escape($id, $string) { $string = mysql_real_escape_string($string, $id); } I'm passing $string

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Jay Moore
Jim Lucas wrote: Jay Moore wrote: Greetings list. Say I have a function that escapes a string before being passed to MySQL like so: function escape($id, $string) { $string } Use an array as an alternate method of sending/returning data to the second argument. function escape($id

Re: [PHP] Passing an undetermined amount of arguments by reference

2009-02-04 Thread Jay Moore
Shawn McKenzie wrote: Jay Moore wrote: Jim Lucas wrote: Jay Moore wrote: Greetings list. Say I have a function that escapes a string before being passed to MySQL like so: function escape($id, $string) { $string } Use an array as an alternate method of sending/returning data

[PHP] Re: Global Changes With Loop To Allow Nulls In A Table...

2009-01-27 Thread Jay Moore
of column names and attributes. Then I would go thru each column and CHANGE it so it has the same attributes, adding the NULL flag if necessary. There may be an easier way however. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL class. Thoughts?

2009-01-21 Thread Jay Moore
This is a MySQL class I use and I wanted to get everyone's thoughts on how/if I can improve it. This is for MySQL only. I don't need to make it compatible with other databases. I'm curious what you all think. Thanks, Jay Class: -- ?php // Standard MySQL class class do_mysql

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Jay Moore
blah(); more stuff } catch (exception) { even more stuff } Thanks, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL class. Thoughts?

2009-01-21 Thread Jay Moore
I know it's very OO-y to use exceptions, but I hate them. They're like setjmp/longjmp calls in C, and they're a really headache to deal with. If you don't use default or predone handlers, you have to put all kinds of try/catch blocks around everything. They make for non-linear execution, and I

RE: [PHP] maybe we could all?

2009-01-20 Thread Jay Blanchard
[snip] On Tue, 2009-01-20 at 01:35 +, Nathan Rixham wrote: and on the other side.. to open things up interface Object { } or abstract class Object { } or class Object { } These braces are all wrong. [/snip] Uh...no they're not. (And you knew I was going to say that :) )

[PHP] Re: Been staring at the code for too long...

2009-01-09 Thread Jay Moore
for the year! :P -- Jason Pruim japr...@raoset.com 616.399.2355 Maybe try enclosing your field names in backticks? Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: hello

2009-01-08 Thread Jay Moore
://www.interjinn.com Application and Templating Framework for PHP He just forgot to add for variable meanings of the word equal ;) Ash www.ashleysheridan.co.uk while (= != =) { define(=, !=) } (That hurts just to look at.) Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Since I speak with some of you more than people I see in person....

2008-12-31 Thread Jay Blanchard
. Seriously studying the game and its techniques. Disciplined practice. Happy New Year to all! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MERRY XMAS

2008-12-24 Thread Jay Blanchard
[snip] ...greetings from around the world [/snip] Merry Chrismakwanzica! Happy Festivus! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Create PHP form from MySQL table structure

2008-12-23 Thread Jay Blanchard
[snip] Yes I could write my own, but was trying to avoid re-inventing the wheel. [/snip] Here is a quick and dirty function that I have used for a couple of years now, complete with comments; function formCreate($database, $table, $action, $excludeCols, $recordID){ /* * This

RE: [PHP] Create PHP form from MySQL table structure

2008-12-23 Thread Jay Blanchard
[snip] Nice piece of code -- thanks for providing that. [/snip] You're welcome. It could stand a few small improvements, but I pretty much use it every day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Printing

2008-12-17 Thread Jay Blanchard
[snip] Could someone please point me in the right direction for printing files through PHP? I already have my application setup so that it creates documents and saves them to a folder. How would I go about printing all of the files in the folder via PHP? I've looked into the Print functions in

RE: [PHP] dynamic forms

2008-12-16 Thread Jay Blanchard
[snip] I would like to create a from that will pull and display information based on a user's ID from a postgresql database into a textarea on the form, before the submit button is clicked. Are there some tutorials on how to use PHP to dynamically display information on a form as the form is being

Re: [PHP] Good PHP book?

2008-12-16 Thread Jay Moore
Richard Heyes wrote: I learned from PHP For Dummies. The title of that book isn't doing itself any favours... :-) You'd be surprised. The For Dummies series is one of the best-selling franchises in mainstream publishing history. Still, calling your audience dumb is generally regarded as

Re: [PHP] Good PHP book?

2008-12-16 Thread Jay Moore
Ps. That was a lame attempt at humour... I extract and distill knowledge from the Internet and save myself from having to buy books. I hear they have that on computers now. I should check it out one of these days. Maybe I'll buy a book. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Good PHP book?

2008-12-16 Thread Jay Moore
Robert Cummings wrote: On Tue, 2008-12-16 at 13:50 -0600, Jay Moore wrote: Ps. That was a lame attempt at humour... I extract and distill knowledge from the Internet and save myself from having to buy books. I hear they have that on computers now. I should check it out one of these days

Re: [PHP] Good PHP book?

2008-12-16 Thread Jay Moore
Daniel Brown wrote: On Tue, Dec 16, 2008 at 17:04, Jay Moore jaymo...@accu-com.com wrote: Floppies hold 1.4 megs now? Mine don't and they're even dual-sided. :( Jay, Throw out your 62K and 5.25 floppies and get with the 1980's, brother. It's all about the 3.5 hard disks now

RE: [PHP] Good PHP book?

2008-12-15 Thread Jay Blanchard
[snip] Hi guys/gals. I'm a first time user. Does anyone know of a good php book? [/snip] http://www.amazon.com/PHP-Advanced-Visual-QuickPro-Guide/dp/0321376013 if you are already a programmer but want to get up to speed on PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: header modify errors

2008-12-15 Thread Jay Moore
Terion Miller wrote: I am working from home today and getting this error with my copy of my project: *Warning*: Cannot modify header information - headers already sent by (output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31) in

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Jay Blanchard
[snip] I guess, if people get more responses here, it shows that this mailing list is superior (no offence to the MySQL list :-P ). [/snip] Duh. Was there ever any question? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need a brain to bounce some Mysql/DB thoughts off of!!

2008-12-12 Thread Jay Blanchard
[snip] It's Christmas... the season of giving and tolerance :| [/snip] We will return you to your regularly scheduled Robert Cummings Jan 2nd, 2009 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Jay Moore
I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Devil's Advocate It's a beta. What do you expect? /Devil's Advocate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IE8 and HTML5

2008-12-04 Thread Jay Moore
Bastien Koert wrote: On Thu, Dec 4, 2008 at 11:57 AM, Jay Moore [EMAIL PROTECTED] wrote: I am running IE8 beta and its a PoS. Constantly crashing and flaky as shit. Devil's Advocate It's a beta. What do you expect? /Devil's Advocate -- PHP General Mailing List (http://www.php.net

RE: [PHP] $_POST in header

2008-11-18 Thread Jay Blanchard
[snip] i have a PHP page with a form. when user click on submit button, it sends form data to itself (so it sends data $_POST to itself). i would like to access to header itself to reset those $_POST data to avoid (in case of F5 under windows system) to resend the same data serveral time.

RE: [PHP] while question

2008-11-17 Thread Jay Blanchard
[snip] ...foreach... [/snip] You could also use a for loop if you wanted to count; for($i = 0; $i count($array); $i++){ echo $i . \n; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] It's Sunday, and I'm bored...

2008-11-09 Thread Jay Blanchard
[snip] Commit Early Commit Often. :P [/snip] Are you from Louisiana? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Infinite Loop Issue

2008-11-07 Thread Jay Blanchard
[snip] while($all-fetch()){ $i = 0; $iss_link = explode(', ', $issues); foreach($iss_link as $a){ $row2[$i] = a href=\http://mantisus/view.php?id=$a\; target=\_blank\.$a.'/a'; $i++; } $issues = implode(', ', $row2); echo

RE: [PHP] Random number generator

2008-11-06 Thread Jay Blanchard
[snip] ?php $number = rand(1, 10); include(footer$number.html); ? You can see it in action here at the bottom of the page there is a footer. Each footer is the same right now except I have numbered them for testing. As I refresh the page, I get footer10 almost always with an occasional 2 or

RE: [PHP] Printing Web Page

2008-11-06 Thread Jay Blanchard
[snip] I'd like to enable my users to print individual web pages from their browser. If they simply select the browser print button they don't get all the text that is displayed in a scrolling text area. The web page is static html and css, in a php file. [/snip] There are some very good

Re: [PHP] take me off the list

2008-11-03 Thread Jay Moore
Daniel P. Brown wrote: On Mon, Nov 3, 2008 at 11:10 AM, Robert Cummings [EMAIL PROTECTED] wrote: Give a man some fish, he'll be back later for more! Tell a man about your shortbread and he'll stay on your ass until he gets the recipe, too. Funny how it all works out, eh? So, about

RE: [PHP] General Mysql Connect

2008-10-30 Thread Jay Blanchard
[snip] a new connection, but in terms of op codes, a new connection is created. no idea why your going on about op codes, and no a new connection is not made - there is merely switching between DBs on a single connection. it's the same as connecting with the mysql cmdline util and being able to

RE: [PHP] PHP Auth

2008-10-30 Thread Jay Blanchard
[snip] What is the best way to create authentication for MySQL info displayed on PHP pages. [/snip] I personally like the Magic MySQL Authentication thingie, but I digress. Welcome to the list Steve, it is always nice to see new faces. I fear that your question is just a little too vague

[PHP] Re: Remote Developer Wanted

2008-10-27 Thread Jay Moore
Michelle Konzack wrote: Am 2008-10-21 18:21:19, schrieb Jochem Maas: Daniel Brown schreef: On Tue, Oct 21, 2008 at 12:03 PM, Jochem Maas [EMAIL PROTECTED] wrote: and rob myself of the sport? your no fun since your married Shirley ;-) Coincidentally, that's exactly what my wife says.

RE: [PHP] export data to a ms excel file using php

2008-10-23 Thread Jay Blanchard
[snip] Could any one explain better. I need just the grid lines for the excel sheet. I already tried that table border=1 but it shows the linings only to the valued cells. But i need to show the grid as in MS Excel. I tried TEXT/XML but i get the following error [/snip]

Re: [PHP] Re: -help

2008-10-22 Thread Jay Moore
Yeti wrote: -help: invalid argument I like the way you handle input errors in your php-general subroutines David. I don't. It says nothing about what a valid argument is. Horrible newsgroup coding, imo. I wouldn't be surprised if he has register_globals on. -- PHP General Mailing List

[PHP] Re: E_STUPID

2008-10-22 Thread Jay Moore
but being stupid, we'd probably just forget to set it. Then we'd need a E_STUPID_ACTIVE flag that alerts us if E_STUPID isn't set. But we'd probably just forget to set *that*, so we'd need a E_STUPID_ACTIVE_ACTIVE flag, too, and to be honest, that's too many underscores for me. Jay -- PHP

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jay Moore
Daniel Brown wrote: On Tue, Oct 21, 2008 at 4:26 AM, Brennon Bortz [EMAIL PROTECTED] wrote: Actually, speaking as someone now living in the UK, your low end is LESS than minimum wage here. Rather insulting, if you ask me... Simple advice then: delete the message and don't reply.

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jay Moore
Daniel Brown wrote: On Tue, Oct 21, 2008 at 11:31 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must be new around here... Shirley! Yes, brand new. This is only my second post --- and only the third email I've ever sent in my life. How do you PHP? ;-P Standing up.

Re: [PHP] Remote Developer Wanted

2008-10-21 Thread Jay Moore
Jay Moore wrote: Daniel Brown wrote: On Tue, Oct 21, 2008 at 11:31 AM, Robert Cummings [EMAIL PROTECTED] wrote: You must be new around here... Shirley! Yes, brand new. This is only my second post --- and only the third email I've ever sent in my life. How do you PHP? ;-P

Re: [PHP] Securing AJAX requests with PHP?

2008-10-18 Thread Jay Moore
Yeti wrote: Ok, but how safe are tokens? Thinking of man in the middle attacks they do not make much sense, do they? That's what I was thinking too. If I'm deleting an entry from a database with AJAX, I don't want someone looking at my Javascript and saying, Hmm, all I need to do is pass

RE: [PHP] PHP Dev Facts

2008-10-17 Thread Jay Blanchard
[snip] *Procedural or OOP?* Mix - depends on the job to be done *Dev OS* SUSe Linux *Dev PHP Version* 5.n *Live Server OS* SUSe Linux *Live Server PHP Version* 5.n *Which HTTP Server Software (+version)?* Apache 2.n *IDE / Dev Environment* Eclipse / Zend *Preferred Framework(s)?* none *Do you Unit

RE: [PHP] Re: PHP Dev Facts

2008-10-17 Thread Jay Blanchard
[snip] just a quick note to say I'll compile all this into something more meaningful and publish later on tonight :-) nice to see so many responses. [/snip] It's Friday night, shouldn't you be going to the pub instead? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Securing AJAX requests with PHP?

2008-10-17 Thread Jay Moore
. Do you guys use PHP to make AJAX calls a little bit more secure? What /do/ you use? I hope this isn't too off-topic. Thanks, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Binary file copy

2008-10-16 Thread Jay Moore
not need. Why isn't this working for me? Thanks in advance, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Binary file copy

2008-10-16 Thread Jay Moore
to trim of that raw http response - oh and look out for chunked or encoded file transfer as well as you'll need to decode etc etc.. (large can of worms - use an http transport class) file_get_contents worked beautifully. Thanks for the suggestion! Jay -- PHP General Mailing List (http

Re: [PHP] Microsoft China to Punish private windows users

2008-10-15 Thread Jay Moore
Stut wrote: On 15 Oct 2008, at 14:53, Shelley wrote: It will punish private Windows XP and Office 2003, Office 2007 users. This is extremely off-topic. Please don't abuse this list in an attempt to drive traffic to your blog. -Stut It *is* powered by PHP, Stut. :P -- PHP General

Re: [PHP] Output text status on a long class

2008-10-14 Thread Jay Moore
buffers and your script should then output stuff as it happens. -Stut Or you could add flush(); after your output, which will flush the output buffer and force it to display. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: utf8/quoted printable based mail renders raw html

2008-10-14 Thread Jay Moore
Eric Butera wrote: Has anyone ever had reports of problems with Outlook 2003 using utf-8 and quoted printable? I've recently started getting complains from our clients that some of their subscribers are having problems with the message coming through as raw html. The email client is always

RE: [PHP] New to this group....a continuation

2008-10-14 Thread Jay Blanchard
[snip] ... oh and we're all a bunch of pirates, except for Tedd ... he's a retired pirate. [/snip] I thought he was semi-retired, or was it re-tread? Meh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] New to PHP

2008-10-13 Thread Jay Blanchard
[snip] I don't want to get into a bottom vs top posting debate. Just know that some of us prefer top posting. There's no right/wrong answer to this. [/snip] Consider how this would read if I posted above your entry. But I have trimmed quite nicely thank you! :) -- PHP General Mailing List

[PHP] Project Tracking / Charting Tool OT

2008-10-09 Thread Jay Blanchard
Does anyone here know of a project tracking tool that will allow me to import multiple project files into one project tracking too w/Gantt charts, resources, etc. ? An added bonus would be true collaboration where updates to a single project are reflected in the larger project tracking entity. I

Re: [PHP] Re: SESSION array problems UPDATE

2008-10-02 Thread Jay Moore
tedd wrote: At 11:10 PM +0100 10/1/08, Nathan Rixham wrote: [tested - works] -snip- ? regards! nathan :) I need to re-address this.. tedd your original code works fine over here; as does the code I sent you, and the code jay submitted first.. do us a favour, copy and paste exactly what I

Re: [PHP] Re: SESSION array problems UPDATE

2008-10-02 Thread Jay Moore
Jay Moore wrote: tedd wrote: At 11:10 PM +0100 10/1/08, Nathan Rixham wrote: [tested - works] -snip- ? regards! nathan :) I need to re-address this.. tedd your original code works fine over here; as does the code I sent you, and the code jay submitted first.. do us a favour, copy

Re: [PHP] SESSION array problems [SOLVED]

2008-10-02 Thread Jay Moore
to the list, they'll see your reply. No need to give them the message twice. /offtopic rant Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SESSION array problems [SOLVED]

2008-10-02 Thread Jay Moore
of the same message in that instance. All that said, it's a matter of group etiquette to do things one way over another (ex: top-posting). Maybe the reply-all etiquette should be re-addressed? Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] SESSION array problems [SOLVED]

2008-10-02 Thread Jay Moore
assumptions and retract my statements. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mysql_query() vs query_database()

2008-10-01 Thread Jay Blanchard
[snip] RE: mysql_query() vs query_database() What is the differences between mysql_query and query_database? Are both compatible with PHP 5 and MySQL 5? Is one faster than the other? [/snip] query_database appears to be someone's function for generic database queries and is not a part of the

[PHP] Re: SESSION array problems

2008-10-01 Thread Jay Moore
= $_SESSION['first_name'][$key]; echo $last, $first; } Disclaimer: have not tested this, but it seemed logical in my head. Disclaimer Disclaimer: logic must fight with random other thoughts and often loses. Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Mailing List fun

2008-10-01 Thread Jay Moore
a JPEG 2000 (which isn't web-safe) then it's lossy I've never heard the term web-safe applied to images. What do you mean by that? Lack of browser support? Breaks the web-safe 216 colour palette? Cheers, Rob. I'd guess it means the filesize is ridiculously huge. Jay -- PHP General Mailing

Re: [PHP] Wanted PHP Developers LogicManse

2008-09-30 Thread Jay Moore
looks like spam/scam to me Thanks for quoting the whole message then! :P Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] navigation / location bar

2008-09-30 Thread Jay Blanchard
[snip] a lot of web sites propose a locationbar (something like dynamic map site) to end user when they are browsing the website. usually i looks like that: Home Products Software Operating System Windows XP User can come back to a previous parent node by just clicking on the name, for

RE: [PHP] Wanted PHP Developers LogicManse

2008-09-30 Thread Jay Blanchard
[snip] Must resist fist of death [/snip] Props for the Dilbert reference -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Robert Cummings

2008-09-30 Thread Jay Blanchard
[snip] [/snip] Congrats Cummings Clan! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Making array to string

2008-09-17 Thread Jay Blanchard
[snip] Hi, I'm new to PHP. I have an array that I would like to convert into a string. For example, I have array( 0 = Good morning, 1 = Good afternoon, 2 = Good evening, 3 = Good night ); Now I would like to convert the array to something like: Good morning Good afternoon Good evening Good

<    1   2   3   4   5   6   7   8   9   10   >