[PHP] Last day to submit your Surge 2010 CFP!

2010-07-09 Thread Jason Dixon
your business sponsor/exhibit at Surge 2010, please contact us at su...@omniti.com. Thanks! -- Jason Dixon OmniTI Computer Consulting, Inc. jdi...@omniti.com 443.325.1357 x.241 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] State and City Database

2010-07-09 Thread Jason Pruim
On Jul 9, 2010, at 10:43 AM, tedd wrote: At 2:07 PM +0200 7/9/10, Thijs Lensselink wrote: On 07/07/2010 10:02 PM, tedd wrote: Hi gang: Does anyone have a source for a US State and City database? Cheers, tedd Hey Tedd, Maybe this helps. I used the data files for some other projects..

[PHP] Inner join woes... and sweet tea!

2010-07-05 Thread Jason Pruim
Hi everyone, I'll admit right now that I'm still trying to wrestle with inner joins... Which leaves me with this code right here: ?PHP if(isset($_GET['cat'])) { $cat = mysql_real_escape_string($_GET['cat']); } if(isset($cat)) { $sql = SELECT *

Re: [PHP] Inner join woes... and sweet tea!

2010-07-05 Thread Jason Pruim
On Jul 5, 2010, at 9:14 AM, Peter Lind wrote: On 5 July 2010 15:02, Jason Pruim li...@pruimphotography.com wrote: Hi everyone, I'll admit right now that I'm still trying to wrestle with inner joins... Which leaves me with this code right here: ?PHP if(isset($_GET['cat

[PHP] CFP for Surge Scalability Conference 2010

2010-07-02 Thread Jason Dixon
as an exhibitor, please visit the Surge website or contact us at su...@omniti.com. Thanks, -- Jason Dixon OmniTI Computer Consulting, Inc. jdi...@omniti.com 443.325.1357 x.241 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CFP for Surge Scalability Conference 2010

2010-06-14 Thread Jason Dixon
If you've been to Velocity, or wanted to but couldn't afford it, then Surge is just what you've been waiting for. For more information, including CFP, sponsorship of the event, or participating as an exhibitor, please contact us at su...@omniti.com. Thanks, -- Jason Dixon OmniTI Computer

Re: [PHP] NetBeans Question

2010-05-30 Thread Jason Pruim
On May 30, 2010, at 12:32 PM, php wrote: On 05/30/2010 05:57 PM, tedd wrote: Hi gang: Do any of you use NetBeans for your IDE? Yes, i do. Since 2 Years (Netbeans 6.5 then), now with 6.8 I work very well with netbeans on Mac OS-X and Ubuntu, using SVN as version-backend, XDEBUG for

Re: [PHP] authentication issue...

2010-05-29 Thread Jason Pruim
On May 29, 2010, at 12:02 AM, Nathan Nobbe wrote: On Fri, May 28, 2010 at 7:43 PM, Jason Pruim li...@pruimphotography.com wrote: Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me

[PHP] authentication issue...

2010-05-28 Thread Jason Pruim
Hey Everyone, So I'm sitting here on a friday night trying to figure out how in the world I'm going to fix an issue that should probably be simple to me but is escaping me at the moment Take this authentication function: ?PHP function authentication($authUser, $authPass,

[PHP] A weird problem that probably has a comma in the wrong spot....

2010-05-16 Thread Jason Pruim
Hi Everyone! So I'm sitting here trying to get my RSS feed to work off of my main database login script so that I can centralize the management of the whole blasted thing, you know... stuff like only having the password in one place to log into the DB :) I can connect just fine if I

Re: [PHP] A weird problem that probably has a comma in the wrong spot....

2010-05-16 Thread Jason Pruim
On May 16, 2010, at 1:11 PM, Ashley Sheridan wrote: On Sun, 2010-05-16 at 13:14 -0400, Jason Pruim wrote: Hi Everyone! So I'm sitting here trying to get my RSS feed to work off of my main database login script so that I can centralize the management of the whole blasted thing, you know

Re: [PHP] A weird problem that probably has a comma in the wrong spot....

2010-05-16 Thread Jason Pruim
On May 16, 2010, at 1:21 PM, Peter Lind wrote: On 16 May 2010 19:14, Jason Pruim li...@pruimphotography.com wrote: Hi Everyone! So I'm sitting here trying to get my RSS feed to work off of my main database login script so that I can centralize the management of the whole blasted thing, you

Re: [PHP] Can't find my error

2010-05-06 Thread Jason Pruim
On May 5, 2010, at 9:02 PM, David McGlone wrote: On Wednesday 05 May 2010 13:12:58 Dan Joseph wrote: On Wed, May 5, 2010 at 1:06 PM, David McGlone da...@dmcentral.net wrote: On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: On Wed, May 5, 2010 at 12:55 PM, David McGlone

Re: [PHP] Two color rows in table inside while iteration -- just say no to mod

2010-04-30 Thread Jason Pruim
On Apr 30, 2010, at 4:20 PM, Daevid Vincent wrote: -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Modulus is the most elegant solution I reckon. Imagine if you only needed to highlight every 3rd row, or 4th? Easy to change the modulus for it, not so easy

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread Jason Pruim
On Apr 25, 2010, at 9:16 AM, tedd wrote: Hi gang: Considering we recently had several people mention what games they play, it might be interesting to see what everyone plays. As for me, I currently play Modern Warfare 2 on XBOX. It's the most recent in a long line of war games (i.e.,

Re: [PHP] Structured PHP studying

2010-04-24 Thread Jason Pruim
On Apr 24, 2010, at 7:14 AM, David McGlone wrote: On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: On 23 April 2010 13:15, David McGlone da...@dmcentral.net wrote: Is there a good strategy to studying PHP? For instance, is there a way to break everything down into small managable

RE: [PHP] Math Question....

2010-04-22 Thread Jason
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: 22 April 2010 15:13 To: Dan Joseph Cc: PHP eMail List Subject: Re: [PHP] Math Question On Thu, 2010-04-22 at 10:17 -0400, Dan Joseph wrote: On Thu, Apr 22, 2010 at 10:12 AM, Stephen

Re: [PHP] How to do i18n better?

2010-04-19 Thread Jason Pruim
On Apr 18, 2010, at 6:55 PM, Andre Polykanine wrote: Hi everyone, I posted this in the PHP-i18n list, however got no answer so trying here). We are making a blog platform (http://oire.org/) which is provided in several languages (currently they are Russian, Ukrainian, and English). Now the

Re: [PHP] Zip Search

2010-04-15 Thread Jason Pruim
On Apr 15, 2010, at 3:21 PM, Jack wrote: Hello All, Can anyone recommend a good open source zip code search application and database? If it's us zip's you want... I'd go straight to the source... http://www.usps.com/zip4/welcome.htm?from=home_headerpage=findazipcode The post office

Re: [PHP] Basic switch statement

2010-04-15 Thread Jason Pruim
On Apr 15, 2010, at 8:55 AM, tedd wrote: At 4:13 PM -0400 4/14/10, Al wrote: Incidentally, about formatting scripts, one of the reasons I like phpEdit is that it has a terrific code beautifier. You can set it for phpDoc or Pear rendering. And, it auto indents, etc. as you enter stuff.

Re: [PHP] Basic switch statement

2010-04-15 Thread Jason Pruim
On Apr 15, 2010, at 9:24 AM, Ashley Sheridan wrote: On Thu, 2010-04-15 at 08:55 -0400, tedd wrote: Have you tried Coder on the Mac? Most developers I know who use Macs (it's not the oxymoron it sounds! :p ) Most Mac people would say the morons use Windows ;) But that's another story

[PHP] blog design issue...

2010-03-20 Thread Jason Pruim
or 5 categories at the most Unless I release the blog to the public and take wordpress down :P So any help would be greatly appreciated :) Thanks yall! Jason Pruim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spreadsheet_Excel_Reader problem

2010-03-19 Thread Jason Pruim
On Mar 18, 2010, at 1:26 PM, Andrew Ballard wrote: On Thu, Mar 18, 2010 at 1:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: [snip] And I believe that when MS Office saves a CSV out with a character other than a comma as the delimiter, it still saves it as a .csv by default.

RE: [PHP] Can I get the IP address from a visitor?

2009-12-01 Thread Jason
That would be in one of the $_SERVER[] variables. Look here for more info: http://uk.php.net/manual/en/reserved.variables.server.php HTH J -Original Message- From: Lars Kristiansson [mailto:la...@naturbilden.se] Sent: 30 November 2009 23:47 To: php-general@lists.php.net Subject: [PHP]

Re: [PHP] this has got me baffled: imagesx() andimagesy()reporting the wrong size?

2009-11-16 Thread Jason Young
Indeed. Using ImageMagick's 'identify' command, the first layer is 30x24 on a 32x32 canvas. radioactive-bread-eek.gif[0] GIF 30x24 32x32+2+6 8-bit PseudoClass 256c 2.11kb radioactive-bread-eek.gif[1] GIF 32x27 32x32+0+4 8-bit PseudoClass 256c 2.11kb If getimagesize() works on the canvas,

[PHP] PHP+Apache suddenly not working

2009-10-27 Thread Jason Lixfeld
I have no doubt that this is due to an update that was done on my system at some point, but unfortunately I can't pinpoint where. The upshot is that PHP is completely unresponsive for me when run from Apache and I'm not sure where to look. I recognize that this isn't an apache support

[PHP] Re: PHP+Apache suddenly not working

2009-10-27 Thread Jason Lixfeld
On 2009-10-27, at 9:33 AM, Shawn McKenzie wrote: Jason Lixfeld wrote: I have no doubt that this is due to an update that was done on my system at some point, but unfortunately I can't pinpoint where. The upshot is that PHP is completely unresponsive for me when run from Apache and I'm

Re: [PHP] PHP+Apache suddenly not working

2009-10-27 Thread Jason Lixfeld
://www.yuriyarlei.net.net (under construction) Programmer PHP, JAVA, CSS, PostregreSQL; Today PHP, tomorrow Java, after the world. Kyou wa PHP, ashita wa Java, sono ato sekai desu. From: a...@ashleysheridan.co.uk To: gargari...@hotmail.com CC: li...@cmsws.com; phps...@gmail.com; jason-lists

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Jason
-Original Message- From: resea soul [mailto:reseas...@gmail.com] Sent: 22 October 2009 14:28 To: php-general@lists.php.net Subject: [PHP] Create a screenshot of a website Hi, I want to be able to get a screenshot of a given website on the fly. Can you give me any suggestions. Thank you

RE: [PHP] Create a screenshot of a website

2009-10-22 Thread Jason
-Original Message- From: Andrea Giammarchi [mailto:an_...@hotmail.com] Sent: 22 October 2009 16:34 To: networkad...@emarket2.com; php-general@lists.php.net Subject: RE: [PHP] Create a screenshot of a website Hi, If a windows web server is being used, we've had very good results

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Jason
Hi, That's because %m is month, what you need is %M for minute (note uppercase). Check out http://php.net/strftime HTH J -Original Message- From: Matthias Laug [mailto:matthias.l...@gmail.com] Sent: 06 October 2009 08:53 To: php-general@lists.php.net Subject: [PHP] Time Problem:

RE: [PHP] Time Problem: always ten past xx

2009-10-06 Thread Jason
October 2009 09:07 To: 'Jason'; 'Matthias Laug'; php-general@lists.php.net Subject: RE: [PHP] Time Problem: always ten past xx Jason, %M is also month: Month --- --- F A full textual representation of a month, such as January or March January through December m Numeric representation of a month

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

2009-10-01 Thread Jason
I've used the form page with a the following code (at the bottom - but before any output is done) to redirect to a thank you page: if ($submittedcorrectly) { header(Location: thankyou.htm); exit(); } HTH J -Original Message- From: MEM [mailto:tal...@gmail.com] Sent: 01 October

RE: [PHP] Taking body of an email and storing it in MySQL database

2009-09-07 Thread Jason
-Original Message- From: Dave M G [mailto:mar...@autotelic.com] Sent: 07 September 2009 14:26 To: Richard Heyes Cc: php-general@lists.php.net Subject: Re: [PHP] Taking body of an email and storing it in MySQL database Richard, Thank you for responding. Sounds like you may have a MIME

[PHP] Re: Getting backtrace through GDB?

2009-08-27 Thread Jason Young
Anyone, anyone? Bueller? :P I'm sure someone has experience with GDB? I'm not looking for a newbie primer, I'm just curious if anyone has had experience with the problem below and knew how to correct it.. Thanks :) Jason Young wrote: Hi all, I'm trying to follow the instructions

[PHP] Getting backtrace through GDB?

2009-08-26 Thread Jason Young
developer this is needed for. Thanks for any insight or suggestions you can give! -Jason Young -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why aren't you rich? (was Re: unset() something that doesn't exist)

2009-08-26 Thread Jason Pruim
On Aug 26, 2009, at 1:23 PM, Tom Worster wrote: On 8/26/09 10:08 AM, tedd tedd.sperl...@gmail.com wrote: I had a client say to me once If you're so smart, then why aren't you rich? how about: i'm smart enough that i know not to waste my allotted time on this planet amassing riches. i

[PHP] Correct code ?? PHP Basic pw athentication with mysql

2009-07-27 Thread Jason Guritz
I cant seem to get this to work. Any ideas?? And If I have post this to the wrong area.. My sincere apologies! Thank you in advance! Jason ?php if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authenticate: Basic realm=My realm'); header(HTTP/1.0 401 Unauthorized); echo

[PHP] A form and an array

2009-07-23 Thread Jason Carson
Hello everyone, Lets say I have a file called form.php with the following form on it that redirects to index.php when submitted. I would like to take the values of the text fields in the form and put them into an array, then be able to display the values in that array on index.php Does anyone

Re: [PHP] Re: A form and an array

2009-07-23 Thread Jason Carson
Jason Carson wrote: Jason Carson wrote: Hello everyone, Lets say I have a file called form.php with the following form on it that redirects to index.php when submitted. I would like to take the values of the text fields in the form and put them into an array, then be able to display

RE: [PHP] Re: A form and an array

2009-07-23 Thread Jason Carson
Yes Did you correct the missing double quote in your sending form first? Warren Vail -Original Message- From: Jason Carson [mailto:ja...@jasoncarson.ca] Sent: Thursday, July 23, 2009 9:33 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: A form and an array Jason Carson

Re: [PHP] Re: A form and an array

2009-07-23 Thread Jason Carson
~ 2009/7/24 Jason Carson ja...@jasoncarson.ca Jason Carson wrote: Jason Carson wrote: Hello everyone, Lets say I have a file called form.php with the following form on it that redirects to index.php when submitted. I would like to take the values of the text fields

Re: [PHP] Back from the dead with a racing question!

2009-07-18 Thread Jason Pruim
On Jul 18, 2009, at 5:54 PM, Phpster wrote: On Jul 18, 2009, at 9:45 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2009-07-17 at 14:01 -0400, Bastien Koert wrote: On Fri, Jul 17, 2009 at 1:54 PM, Jason Pruimja...@jasonpruim.com wrote: On Jul 17, 2009, at 11:56 AM

[PHP] Back from the dead with a racing question!

2009-07-17 Thread Jason Pruim
Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved across the country) and getting a job. And now that that is done I have a question about a project that I might be doing for my current employer and want to do it

Re: [PHP] Back from the dead with a racing question!

2009-07-17 Thread Jason Pruim
On Jul 17, 2009, at 11:56 AM, Bastien Koert wrote: On Fri, Jul 17, 2009 at 11:51 AM, teddtedd.sperl...@gmail.com wrote: At 11:12 AM -0400 7/17/09, Jason Pruim wrote: Hi everyone! So some of you may have noticed that I have been away for quite awhile... Been trying to get settled (Moved

Re: [PHP] PHP/mysql equivalent of PEAR's tableInfo()??

2009-07-15 Thread Jason Pruim
On Jul 13, 2009, at 10:03 AM, Govinda wrote: I have this code: $db_billing=mysqli_connect(localhost,metheuser,mypass,billing); if (mysqli_connect_error()) { die(Can't connect: . mysqli_connect_error()); } mysqli //$dbname = 'billing'; $sql = SHOW TABLES;

Re: [PHP] A prepared statements question

2009-07-12 Thread Jason Carson
Hello everyone, I am having a problem getting my prepared statements working. Here is my setup... index.php - authenticate.php - admin.php 1)index.php has a login form on it so when someone enters their username the form redirects to another page I call authenticate.php. 2)In the

[PHP] A prepared statements question

2009-07-11 Thread Jason Carson
Hello everyone, I am having a problem getting my prepared statements working. Here is my setup... index.php - authenticate.php - admin.php 1)index.php has a login form on it so when someone enters their username the form redirects to another page I call authenticate.php. 2)In the

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

2009-07-09 Thread Jason
-Original Message- From: Bob McConnell [mailto:r...@cbord.com] Sent: 09 July 2009 15:38 To: php-general@lists.php.net Subject: RE: [PHP] Obeying the rules (was Simple login form with cookies) [snip] Bob McConnell A: Maybe because some people are too annoyed by top-posting. Q: Why do I

Re: Re: [PHP] Simple login form with cookies

2009-07-08 Thread Jason Carson
The basic model for password authentication is to use one way crypt routines. MySql has several, PHP also has them. The basic algorithm would be like this: 1) read the password from the form. 2) read the password from you datastore that matches the user name or session 3) encrypt the

Re: [PHP] Simple login form with cookies

2009-07-06 Thread Jason Carson
On Mon, Jul 6, 2009 at 1:45 AM, Jason Carsonja...@jasoncarson.ca wrote: Hello everyone, I am trying to create a PHP login script using cookies but am having some troubles. Here is my setup     index.php - authenticate.php - admin.php I want a login form on index.php that allows me

Re: [PHP] Simple login form with cookies

2009-07-06 Thread Jason Carson
On Mon, Jul 6, 2009 at 2:01 AM, Jason Carsonja...@jasoncarson.ca wrote: On Mon, Jul 6, 2009 at 1:45 AM, Jason Carsonja...@jasoncarson.ca wrote: Hello everyone, I am trying to create a PHP login script using cookies but am having some troubles. Here is my setup     index.php

Re: [PHP] Simple login form with cookies

2009-07-06 Thread Jason Carson
On Mon, Jul 6, 2009 at 02:19, Jason Carsonja...@jasoncarson.ca wrote: ok, I have two sets of scripts here. One uses setcookie() for logging into the admin panel and the other uses session_start(). Both are working fine, is one more secure than the other? $_COOKIE data is written

Re: [PHP] Simple login form with cookies

2009-07-06 Thread Jason Carson
Jason Carson wrote: On Mon, Jul 6, 2009 at 02:19, Jason Carsonja...@jasoncarson.ca wrote: ok, I have two sets of scripts here. One uses setcookie() for logging into the admin panel and the other uses session_start(). Both are working fine, is one more secure than the other? $_COOKIE

[PHP] Simple login form with cookies

2009-07-05 Thread Jason Carson
Hello everyone, I am trying to create a PHP login script using cookies but am having some troubles. Here is my setup index.php - authenticate.php - admin.php I want a login form on index.php that allows me to login with my username and password and then passes $_POST['username'] and

Re: [PHP] Simple login form with cookies

2009-07-05 Thread Jason Carson
Hello everyone, I am trying to create a PHP login script using cookies but am having some troubles. Here is my setup index.php - authenticate.php - admin.php I want a login form on index.php that allows me to login with my username and password and then passes $_POST['username'] and

Re: [PHP] Simple login form with cookies

2009-07-05 Thread Jason Carson
Hello everyone, I am trying to create a PHP login script using cookies but am having some troubles. Here is my setup index.php - authenticate.php - admin.php I want a login form on index.php that allows me to login with my username and password and then passes $_POST['username'] and

[PHP] Writing to a file

2009-07-03 Thread Jason Carson
Hello everybody, How would I go about writing stuff to a file but in between the ?php ? tags? Example, say I have config.php as follows... ?php $hostname = localhost; $database = database; $username = username; $password = password; ? How would I go about adding stuff at the end of the file,

Re: [PHP] Writing to a file

2009-07-03 Thread Jason Carson
On Fri, Jul 3, 2009 at 06:01, Jason Carsonja...@jasoncarson.ca wrote: Hello everybody, How would I go about writing stuff to a file but in between the ?php ? tags? The current industry standard is a combination of text editor and keyboard, but there are many options. More

[PHP] Sessions

2009-07-02 Thread Jason Carson
Hello all, Do I have to add session_start() at the beginning of every page so that the $_SESSION variables work on all pages or do I use session_start() on the first page and something else on other pages? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] What does this mean?

2009-06-26 Thread Jason Carson
or equal)but it doesn't say what = is even though it is used numerous times in the example code. Thanks Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] iCal Attachment Format ?

2009-06-23 Thread Jason Paschal
you, Jason

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Jason Pruim
for a job point your shiny rectangle here: HTTP://www.jasonpruim.com/jobsearch And yes I know the site doesn't validate :P If anyone knows of other sites/businesses let me know and I'll add them. Happy Friday to All you crazy employed programmers! Jason Pruim On Jun 19, 2009, at 2:42 PM

Re: [PHP] This Friday's OT Thread

2009-06-19 Thread Jason Pruim
Jason Pruim On Jun 19, 2009, at 3:14 PM, Daniel Brown danbr...@php.net wrote: On Fri, Jun 19, 2009 at 15:00, Jason Pruimja...@jasonpruim.com wrote: Wow dan, must be nice to have the time to read all that :P I could rant about how hard it is to find a job when you don't have much

Re: [PHP] Directing form to different handlers?

2009-06-01 Thread Jason Pruim
On May 31, 2009, at 10:53 PM, Angus Mann wrote: Hi all. I realize this is more an HTML question than PHP but I'm sure someone here can help. I have several forms with lots (dozens) of text inputs. If the user presses the Update button I want the form handled by update.php but if they

Re: [PHP] Directing form to different handlers?

2009-06-01 Thread Jason Pruim
on the person I'm just curious at this point :) On Mon, Jun 1, 2009 at 2:28 PM, Shawn McKenzie nos...@mckenzies.net wrote: Jason Pruim wrote: On May 31, 2009, at 10:53 PM, Angus Mann wrote: Hi all. I realize this is more an HTML question than PHP but I'm sure someone here can help. I

Re: [PHP] Logical next step in learning?

2009-04-14 Thread Jason Pruim
Hi Gary, I would start working on your project. That's how I got to where I am with it. Now though... I want to go through and completely recode the entire project.. Which is something you'll have to get used to :) But I'd start coding and when you run into a problem, ask.. If you search

Re: [PHP] redirect to a page the fist time a site is accessed

2009-04-14 Thread Jason Pruim
On Apr 14, 2009, at 10:11 PM, Don d...@program-it.ca wrote: Hi, I have some code in my index.php file that check the user agent and redirects to a warning page if IE 6 or less is encountered. 1. I'm using a framework and so calls to all pages go through index.php 2. The code that checks

Re: [PHP] $_GET verses $_POST

2009-04-12 Thread Jason Pruim
On Apr 12, 2009, at 1:48 PM, Ron Piggott wrote: Thanks. I got my script updated. Ron There are a few other thing's that I didn't see mentioned... The best description of when to use what, is this.. Use POST when you are submitting a form for storing info, using GET when you are

Re: [PHP] Please Help Me ASAP

2009-04-09 Thread Jason Pruim
Jason Pruim On Apr 9, 2009, at 11:03 PM, kunal sharma usang...@gmail.com wrote: Hello, I'm building my own website without any knowledge of PHP, i'm almost done with that..as my website works fine on my local server i:e WAMPSERVER 2.0, but the same code is not working on server...n i'm

Re: [PHP] PHP and Send Mail

2009-04-08 Thread Jason Pruim
Alejandro Esteban Galvez wrote: Hi!, I am making a web system and i need known how send a mail using PHP Bye HTTP://www.php.net/mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hierarchies

2009-03-27 Thread Jason Pruim
PJ wrote: I do have a bit of a problem which has not been clearly explained in the suggestions to my previous posts and that is the question of hierarchies. I have not yet understood how to include a file anywhere in a directory tree and have it point to the right file which may be in the top

Re: [PHP] hierarchies

2009-03-27 Thread Jason Pruim
PJ wrote: Jason Pruim wrote: PJ wrote: I do have a bit of a problem which has not been clearly explained in the suggestions to my previous posts and that is the question of hierarchies. I have not yet understood how to include a file anywhere in a directory tree and have it point

Re: [PHP] Proper code formatting

2009-03-23 Thread Jason Pruim
George Larson wrote: On Mon, Mar 23, 2009 at 8:23 AM, Shawn McKenzie nos...@mckenzies.netwrote: Bob McConnell wrote: From: Michael A. Peters Angus Mann wrote: Hi all, I'm fairly new to PHP so I don't have too many bad habits yet. I'm keen to make

Re: [PHP] today i found the best function I've ever seen

2009-03-23 Thread Jason Pruim
Daniel Brown wrote: On Mon, Mar 23, 2009 at 09:07, Igor Escobar titiolin...@gmail.com wrote: Do not try this at home... Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P Yeah... Would you keep your voice down You self titled oh so important

Re: [PHP] Double the fun

2009-03-23 Thread Jason Pruim
tedd wrote: Daniel Brown wrote: Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P I'm sure everyone has experienced email being delivered oddly. What's the problem that causes an email to be sent one day and then a week. or so later, it's sent again?

Re: [PHP] Double the fun

2009-03-23 Thread Jason Pruim
tedd wrote: At 10:09 AM -0400 3/23/09, Jason Pruim wrote: tedd wrote: Daniel Brown wrote: Sorry, all, I must have yelled. Two days later and my words are still echoing. ;-P I'm sure everyone has experienced email being delivered oddly. What's the problem that causes an email

[PHP] Calendar/Date

2009-03-17 Thread Jason Todd Slack-Moehrle
18, 2009 Thursday March 19, 2009 Friday March 20, 2009 Saturday March 21, 2009 Thanks! -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with passing and Area in a $_POST

2009-03-15 Thread Jason Pruim
Richard Kurth wrote: tedd wrote: At 8:56 AM -0700 3/15/09, Richard Kurth wrote: This is the form that is being sent as a post and the fieldorder[] is the part that is not sending properly. But it has worked for about a year in the script. It just stopped working. and I did not change

[PHP] password field validation

2009-03-12 Thread Jason Todd Slack-Moehrle
with a password field. What am I doing wrong? I just want to make sure they put something there! -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] password field validation

2009-03-12 Thread Jason Todd Slack-Moehrle
not see the SSS in an hour of looking! Why enclose in quotes? I have never done this! -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Daily and Weekly Calendar classes

2009-03-12 Thread Jason Todd Slack-Moehrle
Hi All, Does anyone have classes for creating a nice daily calendar? I can put the data in MySQL and be queried, etc. Something that when I add events to the calendar it puts them in the right time slot, etc, etc. I can do the rest of the coding Free is best! -Jason -- PHP General

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say that overhead/bloat vs. productivity of the developer is a trade-off you're going to have to make for ANY of the

Re: [PHP] Re: PHP Frameworks

2009-03-09 Thread Jason Norwood-Young
haliphax wrote: On Mon, Mar 9, 2009 at 1:26 PM, Jason Norwood-Young ja...@freespeechpub.co.za wrote: haliphax wrote: Perhaps I should have phrased it a bit more concise: This has been discussed many times--often, and RECENTLY. Anyway, since I'm already writing this, I'll say

[PHP] Sending multipart/form-data request with PECL.

2009-03-04 Thread Jason Cipriani
addPostFile to add a file? If not, is there another good way to encode multipart data with PHP? Thanks! Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Sending multipart/form-data request with PECL.

2009-03-04 Thread Jason Cipriani
On Wed, Mar 4, 2009 at 2:10 PM, Shawn McKenzie nos...@mckenzies.net wrote: Jason Cipriani wrote: Is there a way to force PECL to use multipart/form-data encoding for all post fields added with addPostFields, even when you are not calling addPostFile to add a file? Try: setContentType

Re: [PHP] Re: Sending multipart/form-data request with PECL.

2009-03-04 Thread Jason Cipriani
On Wed, Mar 4, 2009 at 7:12 PM, Shawn McKenzie nos...@mckenzies.net wrote: Jason Cipriani wrote: On Wed, Mar 4, 2009 at 2:10 PM, Shawn McKenzie nos...@mckenzies.net wrote: Jason Cipriani wrote: Is there a way to force PECL to use multipart/form-data encoding for all post fields added

Re: [PHP] Re: Sending multipart/form-data request with PECL.

2009-03-04 Thread Jason Cipriani
On Thu, Mar 5, 2009 at 12:48 AM, Manuel Lemos mle...@acm.org wrote: Hello, on 03/05/2009 02:31 AM Jason Cipriani said the following: Thanks. I actually had a look at the HttpRequest source code, and I can see the logic where it switches to multipart encoding if files are present

Re: [PHP] Re: Sending multipart/form-data request with PECL.

2009-03-04 Thread Jason Cipriani
On Thu, Mar 5, 2009 at 1:48 AM, Manuel Lemos mle...@acm.org wrote: Hello Jason, on 03/05/2009 03:17 AM Jason Cipriani said the following: Thanks. I actually had a look at the HttpRequest source code, and I can see the logic where it switches to multipart encoding if files are present

Re: [PHP] adding whitespace to a timestamp

2009-02-21 Thread Jason Pruim
On Feb 21, 2009, at 1:28 PM, Eric Sherman wrote: I hoping to add a space between the date and the time in this: $thedate = date('M jS g:i A', $postTIME); i.e, between* jS* and *g:i* I've looked around but can't find anything. Thanks If what you want it to have something like this:

Re: [PHP] Back to Basics - Re: [PHP] Re: for the security minded web developer - secure way to login?

2009-02-16 Thread Jason Pruim
On Feb 16, 2009, at 6:11 AM, German Geek wrote: Brilliant. Someone who understood my intentions :) It's not only a good exercise but also useful. Once done in PHP and various JS frameworks, we could port it to other languages. Would suggest to support as many as we can because they all

[PHP] [PHP 5.2.8] Retrieve cookies from remote host and pass them back to client.

2009-02-13 Thread Jason Cipriani
are global to all PHP requests (so if multiple users made the same request, their cookie value could be shared). How can I retrieve the contents of a remote resource as well as the value of a cookie sent with that resource? Thanks, Jason P.S.: Also, as a minor side question; how, if at all, would

Re: [PHP] [PHP 5.2.8] Retrieve cookies from remote host and pass them back to client.

2009-02-13 Thread Jason Cipriani
On Fri, Feb 13, 2009 at 1:03 PM, Andrew Ballard aball...@gmail.com wrote: On Fri, Feb 13, 2009 at 12:42 PM, Jason Cipriani jason.cipri...@gmail.com wrote: I have a PHP 5.2.8 web application that needs to retrieve a resource from a remote URL. However, the remote host also sends a cookie back

Re: [PHP] Blank page of hell..what to look for

2009-02-02 Thread Jason Pruim
it to the list and maybe we can find something quickly. -- Jason Pruim japr...@raoset.com 616.399.2355

[PHP] CLI [Lack of] Performance on Windows

2009-02-01 Thread Jason Young
does 10.6K. I know I shouldn't expect much out of the platform, but this just straight CLI, I figured it would be at least respectably similar. Any insight? Thanks! -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Content Management

2009-01-29 Thread Jason Todd Slack-Moehrle
Hi All, I am looking for an open-sourced CMS that is PHP/MySQL based. I would like something simple to setup, but also would be good for a storefront as I want to use it for my indie business. Thoughts? -Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] New PHP User with a simple question OT

2009-01-25 Thread Jason Pruim
On Jan 25, 2009, at 9:19 AM, tedd wrote: At 11:56 AM +0100 1/25/09, Carlos Medina wrote: Hi Ashley, yes this is the right answer. The Problem is not a PHP Question but a programming question. To be clear: i think, the Problem can you solve, if you get two or tree books or tutorials about

Re: [PHP] New PHP User with a simple question

2009-01-25 Thread Jason Pruim
On Jan 24, 2009, at 11:06 PM, Christopher W wrote: At least I hope it is simple... I am trying to get an HTML menu link to set a variable's value. For example, when a user clicks the Home button on my page it would cause $page = home; or clicking the About Us button will set

Re: [PHP] About printing functions

2009-01-21 Thread Jason Pruim
= blah blah blah; print $str; } ? Totally untested and just trying to understand why :) -- Jason Pruim japr...@raoset.com 616.399.2355

Re: [PHP] maybe we could all?

2009-01-20 Thread Jason Pruim
/unsub.php Morning Nathan! Count me in! Not sure what I can do to help yet, but more then willing to pitch in and give my opinion where I can at least make an attempt at sounding intelligent! :) -- Jason Pruim japr...@raoset.com 616.399.2355

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