Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:24 +0530, Shreyas wrote: I did and I miserably failed. I feel like giving up on learning PHP now with all these set-up now. Aaah! I have uninstalled MySQL now and trying to see how it goes. ---Shreyas On Tue, Jun 1, 2010 at 10:16 PM, Ashley Sheridan

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote: You have been of great help, Ash. I just did some progress and I typed in http://localhost and I see the easyphp page. Do you know how I can write my own apps now? On Tue, Jun 1, 2010 at 10:26 PM, Ashley Sheridan

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote: Alright! Point duly noted. I only did not want to spam the list with my very rudimentary questions. On Tue, Jun 1, 2010 at 10:33 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2010-06-01 at 22:29 +0530, Shreyas wrote

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
too. Anyone has encountered this before? Regards, Shreyas On Tue, Jun 1, 2010 at 10:58 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2010-06-01 at 22:54 +0530, Shreyas wrote: Alright! Point duly noted. I only did not want to spam the list with my very rudimentary

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, Jun 2, 2010 at 12:55 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2010-06-02 at 00:46 +0530, Shreyas wrote: Thanks, Ash. I was able to set things up with EasyPHP 3.0. I had to uninstall my MySQL

Re: [PHP] session data

2010-06-01 Thread Ashley Sheridan
On Tue, 2010-06-01 at 21:54 +0100, Colin Finnis wrote: I'm having a problem with session data. I have a login setup which holds the user ID and password in the session data once the user has initially logged in. When the user goes to a new page or accesses a pop up window the users session

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
The On Wed, Jun 2, 2010 at 1:10 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2010-06-02 at 01:06 +0530, Shreyas wrote: Ash, Not sure if that would work here. I gave that a shot and there was a port

Re: [PHP] Set up MySQL + Apache 2.2.4 on Win XP.

2010-06-01 Thread Ashley Sheridan
On Wed, 2010-06-02 at 04:48 +0700, shiplu wrote: You can consider XAMPP. (www.apachefriends.org/en/xampp.html) It has everything in it. Mysql server, Apache server, PHPMyAdmin, PHP, Perl and an FTP server Just install it and its configured. Just put your files in htdocs and they will be

Re: [PHP] Credit Card encryption

2010-05-30 Thread Ashley Sheridan
On Sun, 2010-05-30 at 01:49 -0400, Paul M Foster wrote: This question is for people who take and store credit card information for customers. Credit card companies, in an attempt to lessen fraud, are tightening the screws on merchants who take credit cards. One aspect of this is a

Re: [PHP] NetBeans Question

2010-05-30 Thread Ashley Sheridan
On Sun, 2010-05-30 at 12:58 -0400, Jason Pruim wrote: 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

Re: [PHP] NetBeans Question

2010-05-30 Thread Ashley Sheridan
On Sun, 2010-05-30 at 13:48 -0400, Brandon Rampersad wrote: i use dreamweaver and it's better On Sun, May 30, 2010 at 1:01 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Sun, 2010-05-30 at 12:58 -0400, Jason Pruim wrote: On May 30, 2010, at 12:32 PM

Re: [PHP] NetBeans Question

2010-05-30 Thread Ashley Sheridan
On Mon, 2010-05-31 at 02:46 +0100, Mark Kelly wrote: Hi Brandon. You sent your reply directly to me, instead of to the mailing list. Also I don't agree - netbeans is an excellent IDE and to call it a text editor is not doing it justice at all. Cheers, Mark On Monday 31 May

Re: [PHP] authentication issue...

2010-05-29 Thread Ashley Sheridan
On Sat, 2010-05-29 at 07:40 -0400, Floyd Resler wrote: On May 28, 2010, at 9:43 PM, Jason Pruim 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 but is escaping me at

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Ashley Sheridan
utf-8 is going to be the de-facto standard for text files anyhow. Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274988834.2202.285.ca...@localhost... On Thu, 2010-05-27 at 15:28 -0400, Bob McConnell wrote: From: tedd The Unicode database uses the same lower

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-28 Thread Ashley Sheridan
On Fri, 2010-05-28 at 15:00 -0400, Alice Wei wrote: Date: Fri, 28 May 2010 12:34:55 -0400 To: aj...@alumni.iu.edu; php-general@lists.php.net From: tedd.sperl...@gmail.com Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms At 9:19 PM -0400 5/27/10,

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-28 Thread Ashley Sheridan
On Fri, 2010-05-28 at 15:12 -0400, Alice Wei wrote: Subject: RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms From: a...@ashleysheridan.co.uk To: aj...@alumni.iu.edu CC: tedd.sperl...@gmail.com; php-general@lists.php.net Date: Fri, 28 May 2010 20:05:29 +0100 On Fri,

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
to stick with the standards. Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274883714.2202.228.ca...@localhost... On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: We use PHP defines for defining text in different languages. As far as I know PHP files

Re: [PHP] uploading file encoding error

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 17:49 +0300, Manolis Vlachakis wrote: hallo there everyone! i am uploading a file in a php applet i developed and i face a problem while i upload greek named files.. have no problem with the english or so on files... is there a way to use iconv or something else so as

Re: [PHP] uploading file encoding error

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 18:03 +0300, Manolis Vlachakis wrote: i am using gentoo and on the server side i cant see either the files with their greek names but i had no problem in the past handling them even though i couldn't see them... my servers log say that they uploaded the file but

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
character encoding. I believe it will work anyhow (did not try this one), but would like to stick with the standards. Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274883714.2202.228.ca...@localhost... On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: We use

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote: From: Ashley Sheridan On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while

Re: [PHP] displaying database output in a table

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 13:16 -0500, Philip Thompson wrote: On May 25, 2010, at 8:27 PM, David Mehler wrote: Hello, I'm trying to display mysql database output in a formatted table. My problem is i'm getting a blank screen with no errors. I've got debugging on, and have run the cli php

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 15:28 -0400, Bob McConnell wrote: From: tedd The Unicode database uses the same lower character values (i.e., code points) as does ASCII, namely 0-127, and thus UFT-8 (8-bit variable width encoding) is really a super-set which includes the sub-set of ASCII.

Re: [PHP] displaying database output in a table

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 17:59 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 5:47 PM, David Mehler dave.meh...@gmail.com wrote: Hello Everyone, Thanks for all your suggestions. Unfortunately, I've replaced require_once with include_once and require with include in all the

Re: [PHP] Problem in image placing

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 06:35 -0500, Amit Bobade wrote: Hi, I am Using PHP 5, I am trying to place an image in the black box in proportional to that black box using the function:- *imagecopyresampled* ( ). But image is not placing proportionally. Is their another method to do that. Please

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 08:28 -0400, Alice Wei wrote: On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote: Date: Tue, 25 May 2010 13:40:44 -0400 Subject: Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms From: marc.g...@gmail.com To: aj...@alumni.iu.edu I

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: We use PHP defines for defining text in different languages. As far as I know PHP files are supposed to be ASCII, not UTF-8 or something like that. What I want to make is a conversion program that would convert a given UTF-8 file

[PHP] Google checkout nightmare

2010-05-26 Thread Ashley Sheridan
Hi All, I'm trying to get a custom shopping cart integrated with Google Checkout. I've done it before with their older API, but it's changed a lot since I last used it. The official documentation is a mix and match of bits, and doesn't seem to follow any logical structure. The code samples Google

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 12:46 -0400, Bruce Gilbert wrote: Here is what I currently have. echo trthCompletion Time:/th/trtrtd . (strtotime($row['submit_timestamp']) - strtotime($row['login_timestamp']))/60 , /td/tr; this gives me an output of 21235172.75 not sure what format that is in?

Re: [PHP] Remove blank lines from a file

2010-05-21 Thread Ashley Sheridan
On Fri, 2010-05-21 at 14:03 +0200, Anton Heuschen wrote: Hi Im trying do something like this, have a function which uploads my file and returns file pointer ... but at same time ... I want to remove all Blank lines in a file and update it before it goes to the final location ... What I

Re: [PHP] Question about a security function

2010-05-21 Thread Ashley Sheridan
On Fri, 2010-05-21 at 14:24 +0100, David Otton wrote: On 20 May 2010 16:51, Al n...@ridersite.org wrote: I'm not being clear. First pass is thru the blacklist, which effectually tells hacker to not bother and totally deletes the entry. If the raw entry gets past the blacklist, it must

Re: [PHP] localize string (date)

2010-05-21 Thread Ashley Sheridan
On Fri, 2010-05-21 at 20:51 +0200, Mickael MONSIEUR wrote: hello I want to find a date in a text how to? format: XX-XX- Example: Ideo urbs Venerabile superb post 12-02-2010 efferatarum latasque leges gentium cervicis oppressed and fundamenta libertatis retinacula sempiterne Frugi

Re: [PHP] localize string (date)

2010-05-21 Thread Ashley Sheridan
On Fri, 2010-05-21 at 21:12 +0200, Mickael MONSIEUR wrote: Le 21/05/10 21:00, Ashley Sheridan a écrit : On Fri, 2010-05-21 at 20:51 +0200, Mickael MONSIEUR wrote: hello I want to find a date in a text how to? format: XX-XX- Example: Ideo urbs Venerabile superb post 12-02-2010

Re: [PHP] Using if(isset()) with $_GET and switch and default

2010-05-21 Thread Ashley Sheridan
On Fri, 2010-05-21 at 16:18 -0400, Adam Richardson wrote: On Fri, May 21, 2010 at 3:24 PM, MuFei mufe...@gmail.com wrote: Hi, I'm still new to PHP and everyday I learn something new. Today I was trying to make some script using the switch statement but I have some issue that I don't

Re: [PHP] Question about a security function

2010-05-20 Thread Ashley Sheridan
On Thu, 2010-05-20 at 14:27 +0100, David Otton wrote: On 20 May 2010 13:53, Al n...@ridersite.org wrote: I have a password-protected, user, on-line editor that I'm hardening against hackers just in case a user's pw is stolen or local PC is infected. The user can enter html tags; but, I

Re: [PHP] Question about a security function

2010-05-20 Thread Ashley Sheridan
On Thu, 2010-05-20 at 11:51 -0400, Al wrote: On 5/20/2010 11:23 AM, David Otton wrote: On 20 May 2010 15:52, Aln...@ridersite.org wrote: I agree blacklisting is a flawed approach in general. My approach is to strictly confine entry text to a whitelist of benign, acceptable tags. The

Re: [PHP] Some undefined function errors

2010-05-20 Thread Ashley Sheridan
On Thu, 2010-05-20 at 09:21 -0700, Giancarlo Boaron wrote: Hi Jim. I think it depends on each server configuration but I checked in my server and I don't have the 'pgsql.so' and 'psql.ini' files and neither the 'www' directory. My Apache version is 2.2.15 and my root directory is

Re: [PHP] Question about a security function

2010-05-20 Thread Ashley Sheridan
On Thu, 2010-05-20 at 12:40 -0400, Al wrote: On 5/20/2010 12:02 PM, Jim Lucas wrote: Al wrote: On 5/20/2010 11:23 AM, David Otton wrote: On 20 May 2010 15:52, Aln...@ridersite.org wrote: I agree blacklisting is a flawed approach in general. My approach is to strictly confine

Re: [PHP] Email from php

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:57 +0530, Ferdi wrote: Hi List, I have met with little success sending mail from PHP. I have used mainly the mail() function but have also tried imap_mail() which the documentation says is just a wrapper around mail(). Here is my understanding of the situation:

Re: [PHP] How to prevent duplicate record insertion after refreshing php page

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 17:43 +0530, Deva wrote: Hi, If I do refresh after submission of a form, records are getting stored multiple times. I have two pages. /submission-form/ and /thank-you/ I was trying header('Location: /thank-you/'); on submission-form page after successful validation

Re: Re[6]: [PHP] preg_replace: avoiding double replacements

2010-05-19 Thread Ashley Sheridan
) Thanks! -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Ashley Sheridan

Re: [PHP] Content question

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 13:07 -0400, Ernie Kemp wrote: This is not a direct PHP question but I will be using PHP in the website. After a website has been created there will a need to changes say a product or service page over time. The client asking how he will be able to make

Re: [PHP] Re: html analyzer

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 13:24 -0400, Bill Guion wrote: At 12:30 AM +0200 5/19/10, Rene Veerman wrote: Hi. I'm trying to build a html analyzer that looks at natural words in html text. I'd like to build a routine that walks through the HTML character by character, but i'm not sure on how

Re: [PHP] Standard built-in functions source code

2010-05-19 Thread Ashley Sheridan
On Wed, 2010-05-19 at 16:24 -0400, Fernando wrote: http://www.php.net/downloads.php Download the complete source code. On 19/05/2010 16:24, Leandro de Oliveira wrote: Hi, I'd like to know where is the source code of built-in functions if it's freely available. I'm interested in

Re: [PHP] Authentification and session management

2010-05-18 Thread Ashley Sheridan
On Tue, 2010-05-18 at 11:21 +0200, Michelle Konzack wrote: Hello PHP-Community, I am PHP programmer since many years and over the years, I have reinvent the wheel in authenification and session management at least 30 times. Yeah, whenever a new project started, I had to reinvent the

Re: Re[4]: [PHP] preg_replace: avoiding double replacements

2010-05-18 Thread Ashley Sheridan
On Tue, 2010-05-18 at 13:09 +0200, Peter Lind wrote: On 18 May 2010 12:35, Andre Polykanine an...@oire.org wrote: Hello Peter, Hm... I see I need to specify what I'm really doing. Actually, I need to change the letters in the text. It's a famous and ancient crypting method: you divide

Re: Re[4]: [PHP] preg_replace: avoiding double replacements

2010-05-18 Thread Ashley Sheridan
On Tue, 2010-05-18 at 13:46 +0200, Peter Lind wrote: On 18 May 2010 13:32, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2010-05-18 at 13:09 +0200, Peter Lind wrote: On 18 May 2010 12:35, Andre Polykanine an...@oire.org wrote: Hello Peter, Hm... I see I need

Re: [PHP] Re: php photo galery

2010-05-18 Thread Ashley Sheridan
On Wed, 2010-05-19 at 11:22 +1000, Ross McKay wrote: On Tue, 18 May 2010 21:11:00 -0400, David Mehler wrote: I've googled for this and tried some downloads but not finding what i'm looking for. A site requirement is to have a photo gallery. These user's are not very technical so i thought

Re: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
On Mon, 2010-05-17 at 15:26 +0300, Andre Polykanine wrote: Hello everyone, Just can't imagine what happens. There is the simplest function in the world: function LineBreaks ($str) { $what=array(\r\n, \n, \r); $with=array(br); $str=str_replace($what, $with, $str); return $str; }

Re: Re[2]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
] = ? ?? ) -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Andre

Re: Re[4]: [PHP] A simple question, however it's urgent

2010-05-17 Thread Ashley Sheridan
! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule - Original message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: Andre Polykanine an...@oire.org Date: Monday, May 17, 2010, 3:34:07 PM Subject: [PHP] A simple question, however it's urgent On Mon, 2010-05

Re: [PHP] Displaying errors

2010-05-16 Thread Ashley Sheridan
On Sun, 2010-05-16 at 14:39 +0300, Malka Cymbalista wrote: Hi all, we are running Apache 2.2.6 and PHP 5.2.6 on a Linux machine. If someone gets an error when displaying a php web page, he does not get any error message on the screen. The arror is written into the apache error log file,

Re: [PHP] Re: Displaying errors

2010-05-16 Thread Ashley Sheridan
On Sun, 2010-05-16 at 12:57 -0400, Al wrote: On 5/16/2010 7:39 AM, Malka Cymbalista wrote: Hi all, we are running Apache 2.2.6 and PHP 5.2.6 on a Linux machine. If someone gets an error when displaying a php web page, he does not get any error message on the screen. The arror is

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

2010-05-16 Thread Ashley Sheridan
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... stuff like only having the password in one

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-15 Thread Ashley Sheridan
On Sat, 2010-05-15 at 08:18 +0100, Lester Caine wrote: Jagdeep Singh wrote: How can I define Machine? That IS the problem. As with a lot of this stuff - nothing was ever actually DESIGNED to work :( So $_SERVER[REMOTE_ADDR] will block multiple machines if they are sharing the one

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-15 Thread Ashley Sheridan
email to kill off all the extras! Ashley Sheridan wrote: On Sat, 2010-05-15 at 08:18 +0100, Lester Caine wrote: Jagdeep Singh wrote: How can I defineMachine? That IS the problem. As with a lot of this stuff - nothing was ever actually DESIGNED to work :( So $_SERVER[REMOTE_ADDR

Re: [PHP] PHP Site with CSS and Internet Explorer

2010-05-15 Thread Ashley Sheridan
On Sat, 2010-05-15 at 10:30 -0300, Juan Rodriguez Monti wrote: I guys, I'm having some problems with the following. I have a PHP Site working perfectly with HTML and CSS. The CSS runs flawlessly in Firefox and Google Chrome. However, I'm having some problems with Internet Explorer. I'm

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread Ashley Sheridan
On Thu, 2010-05-13 at 23:53 -0400, Kevin wrote: Ashley Sheridan wrote: On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote: Hello All, I am trying to figure out how to create files when a user submits a form ... I have seen something about '*fopen*' , is that the direction I should

Re: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 04:26 -0500, Karl DeSaulniers wrote: Only other thing I could think of is a session timeout. Because if two people are using the same computer, one person is going to be away long enough to time out. HTH Karl On May 14, 2010, at 4:21 AM, Karl DeSaulniers

Re: [PHP] jquery password problem

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 16:16 +0300, Manolis Vlachakis wrote: i uses str_replace finally and it works.. but still i would like to know how this problem comes up cause i would like to be sure on whatever password is going to be used weather that is a number a letter or a combination of those two

RE: [PHP] Multiple Login in a single PC should not be possible

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 10:26 -0400, Bob McConnell wrote: From: Richard Quadling On 14 May 2010 14:47, Bob McConnell r...@cbord.com wrote: Actually, I believe that linking a session to a specific individual without reading a biometric key with every http request is an unacceptable risk.

RE: [PHP] regexp questions

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 22:01 +0200, Spud. Ivan. wrote: Hi, I'm trying to insert a serialized data into mysql, but I does mysql_real_escape_string() before inserting it. INSERT IGNORE INTO `table` (`value`) VALUES

Re: [PHP] opening a link in a new window

2010-05-14 Thread Ashley Sheridan
On Fri, 2010-05-14 at 13:18 -0400, Adam Richardson wrote: On Fri, May 14, 2010 at 8:59 AM, Andrew Ballard aball...@gmail.com wrote: On Thu, May 13, 2010 at 5:18 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2010-05-13 at 17:13 -0400, David Mehler wrote: Hello, I

Re: [PHP] PHP framework

2010-05-14 Thread Ashley Sheridan
On Sat, 2010-05-15 at 00:02 +0200, jfma...@electrex.pt wrote: Greetings all! I new in template engines and frameworks, can you advice me the best php framework. Do you all use smarty? I need something that does MVC and templates, and specialy that has a lot of web resources to see other

Re: [PHP] opening a link in a new window

2010-05-13 Thread Ashley Sheridan
On Thu, 2010-05-13 at 17:13 -0400, David Mehler wrote: Hello, I want to open an external link in a new window, i know i can do this with xhtml, but only with the transitional dtd, which i'm not using. I was wondering if php could pull this off? Thanks. Dave. No. PHP is on the server,

Re: [PHP] Question about creating php files from a form

2010-05-13 Thread Ashley Sheridan
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote: Hello All, I am trying to figure out how to create files when a user submits a form ... I have seen something about '*fopen*' , is that the direction I should be going? Here is what I am trying to accomplish: I am creating a program to

RE: [PHP] regexp questions

2010-05-12 Thread Ashley Sheridan
On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote: Date: Tue, 11 May 2010 15:38:41 -0700 From: li...@cmsws.com To: spudm...@hotmail.com CC: php-general@lists.php.net Subject: Re: [PHP] regexp questions Spud. Ivan. wrote: I think we've not so much only with the

RE: [PHP] regexp questions

2010-05-12 Thread Ashley Sheridan
On Wed, 2010-05-12 at 18:23 +0200, Spud. Ivan. wrote: Subject: RE: [PHP] regexp questions From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Wed, 12 May 2010 17:11:11 +0100 On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote:

Re: [PHP] GD - import a PNG image and make transparant

2010-05-12 Thread Ashley Sheridan
On Thu, 2010-05-13 at 00:12 +0100, Alex Davies wrote: Hi, I am trying to import a PNG image from disk, place it on top of a transparant image created in GD and output it to the browser. In the case of a low opacity setting, I would expect to see the background colour from the HTML page.

Re: [PHP] PHP Application Structre

2010-05-11 Thread Ashley Sheridan
advantages of using template engines is caching On 5/11/10, David McGlone da...@dmcentral.net wrote: On Monday 10 May 2010 13:04:36 richard gray wrote: On 10/05/2010 18:17, Ashley Sheridan wrote: It makes sense sometimes to have different files for different sections of a website

Re: [PHP] Re: regexp questions

2010-05-11 Thread Ashley Sheridan
On Tue, 2010-05-11 at 23:29 +0700, shiplu wrote: I think the error is related to changed described here. http://www.pcre.org/changelog.txt Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust

RE: [PHP] regexp questions

2010-05-11 Thread Ashley Sheridan
On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote: I think we've not so much only with the regex, but maybe you can tell me somethin helpful ;) /Word1:\/a\/h4\(a href=\http:\/\/www.thiswebsite.com\/some-script.php\fir.*?st word.*?(.*)Word2:\/a\/h4ul(.*)Second

RE: [PHP] regexp questions

2010-05-11 Thread Ashley Sheridan
On Tue, 2010-05-11 at 23:48 +0200, Spud. Ivan. wrote: From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Tue, 11 May 2010 21:43:54 +0100 Subject: RE: [PHP] regexp questions On Tue, 2010-05-11 at 22:45 +0200, Spud. Ivan. wrote:

Re: [PHP] PHP Encoder like IonCube

2010-05-11 Thread Ashley Sheridan
On Tue, 2010-05-11 at 16:50 -0700, Brian Dunning wrote: Hi Shiplu - I also have a product with similar requirements. I searched a LOT and was never able to find a free solution that I was satisfied with. Even a lot of the commercial solutions required some server-side runtime EXE or

Re: [PHP] PHP Encoder like IonCube

2010-05-10 Thread Ashley Sheridan
On Mon, 2010-05-10 at 12:42 +0600, shiplu wrote: On Mon, May 10, 2010 at 6:28 AM, donald sullivan don...@nixspot.com wrote: bcompiler is available, but with the correct tools data can still be extracted. http://php.net/manual/en/book.bcompiler.php Its not a problem if data can still be

RE: [PHP] PHP Application Structre

2010-05-10 Thread Ashley Sheridan
On Mon, 2010-05-10 at 13:15 +0200, Arno Kuhl wrote: -Original Message- From: Alex Major [mailto:p...@allydm.co.uk] Sent: 10 May 2010 12:39 PM From what I've seen and used, there seem to be three distinct ways of going about it. 1) Using a 'core' class which has a request

[PHP] Re: PHP Encoder like IonCube

2010-05-10 Thread Ashley Sheridan
On Mon, 2010-05-10 at 17:51 +0600, shiplu wrote: Hello Ashley, My application will not be accessible through Internet. Users will use it through internal network. And internet is strictly prohibited there. Thats the reason why i'm lookin for such solution. On 5/10/10, Ashley Sheridan

Re: [PHP] php path and relink

2010-05-10 Thread Ashley Sheridan
On Mon, 2010-05-10 at 21:23 -0300, Augusto Flavio wrote: Hi, I have a shell account with limited access. The php cli version installated is 4.4.6. But the server have also the php 5.2.6. I checked the php version and i got this: $ php -v PHP 4.4.9 (cli) (built: Sep 17 2008 11:04:03)

Re: [PHP] PHP GD - Create a flag

2010-05-09 Thread Ashley Sheridan
On Sat, 2010-05-08 at 18:48 +0200, Giorgio wrote: Hi, i've just started using GD libraries. My purpose is to create something like a flag. So that i have a 600*600 px background image, and a 1*1 px image for each colour I need. Ok now let's say i want to colour a third of the

Re: [PHP] PHP GD - Create a flag

2010-05-09 Thread Ashley Sheridan
it? Giorgio 2010/5/9 Ashley Sheridan a...@ashleysheridan.co.uk On Sat, 2010-05-08 at 18:48 +0200, Giorgio wrote: Hi, i've just started using GD libraries. My purpose is to create something like a flag. So that i have a 600*600 px background image, and a 1*1 px image

Re: [PHP] PHP GD - Create a flag

2010-05-09 Thread Ashley Sheridan
it? Giorgio 2010/5/9 Ashley Sheridan a...@ashleysheridan.co.uk On Sat, 2010-05-08 at 18:48 +0200, Giorgio wrote: Hi, i've just started using GD libraries. My purpose is to create something like a flag. So that i have a 600*600 px background image, and a 1*1 px image

Re: [PHP] CSS - Image or object Slide left/right and fade in using jquery

2010-05-09 Thread Ashley Sheridan
On Sun, 2010-05-09 at 06:28 -0700, Don Wieland wrote: Does anyone have any resources that demonstrates using jquery to have an image or object slide in from the left and then fade in. I would appreciate it. Thanks! Don Wieland D W D a t a C o n c e p t s

Re: [PHP] Converting floats to ints with intval

2010-05-06 Thread Ashley Sheridan
On Thu, 2010-05-06 at 11:24 +0100, Paul Waring wrote: I've got the following script which demonstrates a problem I'm having with floating point numbers and intval: $times100 = (-37.12 * 100); print $times100 . \n; $intval100 = intval($times100); print $intval100 . \n; print

Re: [PHP] Converting floats to ints with intval

2010-05-06 Thread Ashley Sheridan
On Thu, 2010-05-06 at 11:40 +0100, Paul Waring wrote: Ashley Sheridan wrote: It's part of the rounding problem you get with most languages out there. Why can't you compare the floating point values though? Currency should only have one decimal place anyway. You can't compare floating

Re: [PHP] “五-连-贯”股| 权-激|励-法

2010-05-06 Thread Ashley Sheridan
[/snip] If only I could speak Chinese and was gullible I'd love to take them up on the offer for whatever it is. Thanks, Ash http://www.ashleysheridan.co.uk

Re: [PHP] Can't find my error

2010-05-05 Thread Ashley Sheridan
On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote: I've checked and checked and re-checked and I can't figure out what I've done wrong. I'm getting a parse error: Parse error: syntax error, unexpected T_VARIABLE in

RE: [PHP] Need login suggestions

2010-05-03 Thread Ashley Sheridan
On Mon, 2010-05-03 at 00:07 -0600, Ashley M. Kirchner wrote: -Original Message- From: Karl DeSaulniers [mailto:k...@designdrumm.com] Sent: Monday, May 03, 2010 12:03 AM To: PHP Subject: Re: [PHP] Need login suggestions I see, well I have a login that has multiple levels and

RE: [PHP] Two color rows in table inside while iteration

2010-04-30 Thread Ashley Sheridan
On Fri, 2010-04-30 at 06:14 -0500, Jay Blanchard wrote: [snip] Don't do this modulus (%) math Just toggle a boolean!! tr class=?= ($r = !$r) ? dataRow1 : dataRow2; ? [/snip] What is wrong with modulus math Modulus is the most elegant solution I reckon. Imagine if you only

Re: [PHP] Getting root privs

2010-04-30 Thread Ashley Sheridan
On Fri, 2010-04-30 at 10:40 -0400, Paul M Foster wrote: On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote: On 04/30/2010 11:26 AM, Jim Lucas wrote: Nilesh Govindarajan wrote: Hi, As you know there are lot of control panels lying around like Cpanel, Lxadmin, most

Re: [PHP] Getting root privs

2010-04-30 Thread Ashley Sheridan
On Fri, 2010-04-30 at 20:23 +0530, Nilesh Govindarajan wrote: On 04/30/2010 08:12 PM, Ashley Sheridan wrote: On Fri, 2010-04-30 at 10:40 -0400, Paul M Foster wrote: On Fri, Apr 30, 2010 at 12:11:17PM +0530, Nilesh Govindarajan wrote: On 04/30/2010 11:26 AM, Jim Lucas wrote: Nilesh

Re: [PHP] Two color rows in table inside while iteration

2010-04-30 Thread Ashley Sheridan
On Fri, 2010-04-30 at 13:59 -0400, tedd wrote: At 4:37 PM +0200 4/30/10, Jay Ess wrote: Paul M Foster wrote: +1 This thread came up before, and tedd's solution was the least complex, as far as I could tell. I shamelessly stole his code and regularly use it in my own projects. ;-} Or if

Re: [PHP] Two color rows in table inside while iteration

2010-04-30 Thread Ashley Sheridan
On Fri, 2010-04-30 at 15:59 -0400, tedd wrote: At 7:26 PM +0100 4/30/10, Ashley Sheridan wrote: On Fri, 2010-04-30 at 13:59 -0400, tedd wrote: At 4:37 PM +0200 4/30/10, Jay Ess wrote: Paul M Foster wrote: +1 This thread came up before, and tedd's solution was the least complex, as far

Re: [PHP] Any One See where this is going wrong?

2010-04-30 Thread Ashley Sheridan
On Fri, 2010-04-30 at 20:43 -0400, Gary wrote: I have this duplicate code on another site and it works fine. The image is uploaded to the images folder, the information is not submitted to the database. I get the error Some Error Occured While Inserting Records This is only on a

Re: [PHP] auto indentation

2010-04-28 Thread Ashley Sheridan
On Tue, 2010-04-27 at 22:23 -0400, David McGlone wrote: On Tuesday 27 April 2010 16:55:45 Ashley Sheridan wrote: On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: Hi everyone. I got a quickie LOL is there a way to auto indent code. I'm using Kate and I have it set so

Re: [PHP] auto indentation

2010-04-28 Thread Ashley Sheridan
On Tue, 2010-04-27 at 23:25 -0400, Paul M Foster wrote: On Tue, Apr 27, 2010 at 10:29:33PM -0400, David McGlone wrote: On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: On 4/27/2010 3:55 PM, Ashley Sheridan wrote: On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: Hi

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ashley Sheridan
On Wed, 2010-04-28 at 08:29 -0300, Juan Rodriguez Monti wrote: Hello Guys, I would like to implement a two color row table for some queries that I'm doing. I use PHP to query a DB, then I use while to print all its results. I have a code pretty similar to this one : $results = Here

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ashley Sheridan
On Wed, 2010-04-28 at 16:16 +0430, Ali Asghar Toraby Parizy wrote: It isn't good idea to use php to visualize your table. You can fetch you data by php and style them by java script. On Wed, Apr 28, 2010 at 3:59 PM, Juan Rodriguez Monti j...@rodriguezmonti.com.ar wrote: Hello Guys, I

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ashley Sheridan
have greater server load. anyway that was only an propose;-) On Wed, Apr 28, 2010 at 4:12 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2010-04-28 at 16:16 +0430, Ali Asghar Toraby Parizy wrote: It isn't good idea to use php

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ashley Sheridan
scripts are reasonable and applicable. we can create multi color and clickable rows by php but we'll have greater server load. anyway that was only an propose;-) On Wed, Apr 28, 2010 at 4:12 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Wed, 2010-04-28 at 16:16 +0430

Re: [PHP] Two color rows in table inside while iteration

2010-04-28 Thread Ashley Sheridan
On Wed, 2010-04-28 at 09:46 -0400, Fernando wrote: But then you need to differentiate the table, otherwise all your tables will have the same row formating no? This way you only apply the formating to those rows that need it. Fernando. On 28/04/2010 09:35, Ashley Sheridan wrote

<    3   4   5   6   7   8   9   10   11   12   >