Re: [PHP] hey

2011-05-20 Thread Ashley Sheridan
On Thu, 2011-05-19 at 15:48 -0500, bole.c...@gmail.com wrote: Hey , i felt so overwhelmed before this http://citizenstelecom.com/redirect.php?to=aHR0cDovL3d3dy5uYmMxMGZpbmFuY2UuY29tLz9waWQ9NjYwNTA0 I guess it was just too close to Friday for him to wait? -- Thanks, Ash

Re: [PHP] i need delay time in doing array_key_exists but while(true) can't work 4 it.

2011-05-20 Thread Ashley Sheridan
On Fri, 2011-05-20 at 19:46 +0430, Negin Nickparsa wrote: the thing that is important to me is setting session because i want the tables of the one that clicked be showed on patient.php how can i change my wrong code? You have to realise that PHP code runs on the server, all before it sends

Re: [PHP] img src ..... problem in onclick

2011-05-20 Thread Ashley Sheridan
On Sat, 2011-05-21 at 00:42 +0430, Negin Nickparsa wrote: why URL? I've read over this thread and the other one you created earlier. I really think you would do better if you took an hour or so to read over how the typical client/server web model works, as this is leading to a lot of confusion

Re: [PHP] NOMAIL option for the list? [WAS: An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Read

2011-05-17 Thread Ashley Sheridan
On Tue, 2011-05-17 at 15:07 -0400, Daniel Brown wrote: On Tue, May 17, 2011 at 15:00, Michelle Konzack linux4miche...@tamay-dogan.net wrote: Ist there a way to set my account to NOMAIL option? To stop receiving emails you mean? As in unsubscribing? -- /Daniel P. Brown Network

Re: [PHP] PHP want not write in Database

2011-05-16 Thread Ashley Sheridan
On Mon, 2011-05-16 at 02:55 +0200, Silvio Siefke wrote: Hello, i have a Blog Script for my private Website. Normal i write new Articles direct with phpmyadmin, but this is not comfortable. I has no errors in Log for the script and the mysql query log write the correct insert SQL code, but

Re: [PHP] Bold links

2011-05-10 Thread Ashley Sheridan
On Tue, 2011-05-10 at 13:46 -0400, Adam Richardson wrote: Hi Tedd, How's it going? I'm very pleased with the emphasis on accessibility you bring to the PHP list, but I do believe you're overstating a few points below. So, allow me to bring mine -- my information/position stems from my

RE: [PHP] html formatting in mysql post

2011-05-07 Thread Ashley Sheridan
On Sat, 2011-05-07 at 16:01 +0800, Ross Hansen wrote: thanks for your responses, so i understand that this code is using an array, however i havn't really used arrays as i am a novice php coder. Should this code be used on the php code for inserting the data into the MySQL table or is it

[PHP] Parsing a simple sql string in php

2011-05-06 Thread Ashley Sheridan
Hiya, has anyone had any experience with parsing a string of sql to break it down into its component parts? At the moment I'm using several regex's to parse a string, which works, but I'm sure there's a more elegant solution. The general idea is to produce a nice looking page giving details of

Re: [PHP] Parsing a simple sql string in php

2011-05-06 Thread Ashley Sheridan
Ken Guest k...@linux.ie wrote: On Fri, May 6, 2011 at 10:05 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Hiya, has anyone had any experience with parsing a string of sql to break it down into its component parts? At the moment I'm using several regex's to parse a string, which works

Re: [PHP] filter_var using regex

2011-05-05 Thread Ashley Sheridan
On Thu, 2011-05-05 at 13:39 -0600, Jason Gerfen wrote: On 05/04/2011 03:10 PM, Ashley Sheridan wrote: On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote: On 05/04/2011 01:27 PM, Ashley Sheridan wrote: On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: I am running

Re: [PHP] filter_var using regex

2011-05-04 Thread Ashley Sheridan
On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: I am running into a problem using the REGEXP option with filter_var(). The string I am using: 09VolunteerApplication.doc The PCRE regex I am using: /^[a-z0-9]\.[doc|pdf|txt|jpg|jpeg|png|docx|csv|xls]{1,4}$/Di The function in it's

Re: [PHP] filter_var using regex

2011-05-04 Thread Ashley Sheridan
On Wed, 2011-05-04 at 13:46 -0600, Jason Gerfen wrote: On 05/04/2011 01:27 PM, Ashley Sheridan wrote: On Wed, 2011-05-04 at 13:20 -0600, Jason Gerfen wrote: I am running into a problem using the REGEXP option with filter_var(). The string I am using: 09VolunteerApplication.doc

Re: [PHP] Custom function

2011-05-03 Thread Ashley Sheridan
From: Ashley Sheridan a...@ashleysheridan.co.uk To: Ron Piggott Date created: , 1:37:59 AM Subject: [PHP] Custom function On Mon, 2011-05-02 at 18:28 -0400, Ron Piggott wrote: On Mon, May 2, 2011 at 3:16 PM, Ron Piggott ron.pigg...@actsministries.org wrote: Is it possible to write

Re: [PHP] what would be the best way to build a 'add page function' to my cms?

2011-05-02 Thread Ashley Sheridan
. oh and i'm trying to build it all in OOP too. hope this is a better explanation for you guys. cheers On 2 May 2011, at 18:12, Ashley Sheridan wrote: On Mon, 2011-05-02 at 17:59 +0100, Adam Preece wrote: Hi, im building a cms and im currently thinking of a way to build

Re: [PHP] Custom function

2011-05-02 Thread Ashley Sheridan
On Mon, 2011-05-02 at 18:28 -0400, Ron Piggott wrote: On Mon, May 2, 2011 at 3:16 PM, Ron Piggott ron.pigg...@actsministries.org wrote: Is it possible to write a function with an optional flag? What would the syntax look like? So far I have: function load_advertisement(

Re: [PHP] php to store data

2011-05-02 Thread Ashley Sheridan
On Mon, 2011-05-02 at 17:55 +1000, sir wally lewis wrote: I am a complete novice at php. My internet service provider gives me webspace and PHP script execution for free. I would like a simple example of a website that stores data on the server, in simple text files. Is this possible?

Re: [PHP] php to store data

2011-05-02 Thread Ashley Sheridan
grows. Then spending $$$ is feasable. As I said I am just a novice. So I want to get something small going. Kind Regards, Robert. Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1304378581.1242.17.camel@localhost.localdomain... On Mon, 2011-05-02 at 17:55 +1000, sir

Re: [PHP] php to store data

2011-05-02 Thread Ashley Sheridan
On Mon, 2011-05-02 at 20:35 -0400, Bastien wrote: On 2011-05-02, at 8:21 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2011-05-03 at 09:36 +1000, Sir Wally Lewis wrote: I did not get access to any database system on the ISP's end. I could get access to MySQL

Re: [PHP] postgresql database access failure

2011-05-01 Thread Ashley Sheridan
On Sun, 2011-05-01 at 09:24 +0100, e-letter wrote: I looked at the error file located at '/var/log/httpd/error_log', which identifies an error: ...Apache/2.2.6 (Mandriva Linux/PREFORK-8.2mdv2008.0) PHP/5.2.4 with Suhosin-Patch mod_put/2.0.8 configured -- resuming normal operations...

Re: Re: [PHP] Spaces in filename or path

2011-04-30 Thread Ashley Sheridan
Tim Streater t...@clothears.org.uk wrote: On 30 Apr 2011 at 22:33, Richard Quadling rquadl...@gmail.com wrote: On 30 April 2011 22:07, Tim Streater t...@clothears.org.uk wrote: Does it matter to PHP filesystem functions if a path/to/file/name contains spaces? IOW, is this handled OK by design

Re: [PHP] Re: What's faster using if else or arrays?

2011-04-29 Thread Ashley Sheridan
On Thu, 2011-04-28 at 22:12 -0400, Jim Giner wrote: Obviously you have designed a search/decision mechanism that suits your needs. The OP did not present a problem of such magnitude. He only asked how to handle a decision process the most efficient way - with no mention of higher goals

Re: [PHP] Re: PHP delete confirmation

2011-04-29 Thread Ashley Sheridan
Jim Lucas li...@cmsws.com wrote: On 4/29/2011 12:06 AM, Geoff Lane wrote: On Friday, April 29, 2011, ad...@buskirkgraphics.com wrote: Personally I would use the javascript page navigation is senseless if they miss click. Javascript: Small and simple javascript. onclick=return confirm('Are

Re: [PHP] Javascript detection

2011-04-28 Thread Ashley Sheridan
On Thu, 2011-04-28 at 10:17 -0400, tedd wrote: At 9:02 AM +0100 4/28/11, Geoff Lane wrote: FWIW, it's possible to detect whether or not Javascript is available, but not AFAICT at 'first contact' because you need the 'first contact' page to do something to prove that JS is available, from

Re: [PHP] Re: Newsgroup status

2011-04-27 Thread Ashley Sheridan
On Wed, 2011-04-27 at 18:42 +0100, Geoff Lane wrote: On Wednesday, April 27, 2011, Jason Pruim wrote: It's time for the next generation to start picking up the slack and helping out and asking questions :) To be honest, I've started three or four cries for help in the last few days.

Re: [PHP] Improve server HTTP GET server response - HTTP 1.1 ?

2011-04-26 Thread Ashley Sheridan
On Tue, 2011-04-26 at 12:37 +0300, Eli Orr (Office) wrote: Dear PHP Gurus, I have wrote a service that respond to a client HTTP GET request with BLOB of data: http://mimmage.com/cms/client_initialize1.php?OPERATOR=MIRSID=23412341234OS=RIM The first time I call the HTTP GET it works very

Re: [PHP] Improve server HTTP GET server response - HTTP 1.1 ?

2011-04-26 Thread Ashley Sheridan
On Tue, 2011-04-26 at 14:45 -0400, Govinda wrote: Dear Ash, I could not follow on how it can be faster using your advise. Seems you focus on how it could be slower using a random suffix each call to assure no caching is involved. Any practical advise or references/example how

Re: [PHP] JavaScript Injection ???

2011-04-18 Thread Ashley Sheridan
On Mon, 2011-04-18 at 22:43 +0530, Shreyas Agasthya wrote: Is someone up to Cross Site Scripting? ;) --Shreyas On Mon, Apr 18, 2011 at 10:39 PM, Joshua Kehn josh.k...@gmail.com wrote: On Monday, April 18, 2011 at 1:06 PM, tedd wrote: Hi gang: Quite some time ago I had a demo

RE: [PHP] JavaScript Injection ???

2011-04-18 Thread Ashley Sheridan
On Mon, 2011-04-18 at 14:11 -0400, ad...@buskirkgraphics.com wrote: Yes Alert works fine on my browsers but the hack to change the alert on someone else's website has been fixed from browser updates. Richard L. Buskirk You can't grow your business with systems that are on life

Re: [PHP] JavaScript Injection ???

2011-04-18 Thread Ashley Sheridan
On Mon, 2011-04-18 at 14:42 -0400, tedd wrote: At 1:09 PM -0400 4/18/11, Joshua Kehn wrote: On Monday, April 18, 2011 at 1:06 PM, tedd wrote: Hi gang: Quite some time ago I had a demo that showed Javascript injection. It was where a user could type in: script alert(Evil Code);/script

Re: [PHP] usort within a class

2011-04-18 Thread Ashley Sheridan
On Mon, 2011-04-18 at 21:41 +0100, Stuart Dallas wrote: On Monday, 18 April 2011 at 21:27, Ashley Sheridan wrote: I'm trying to get the usort function working inside of a class, but am having some issues. Basically, the compare function which is the second parameter isn't recognised, but I'm

Re: [PHP] upload big files

2011-04-17 Thread Ashley Sheridan
On Sun, 2011-04-17 at 19:12 +0200, Ricardo Martinez wrote: thanks guys for answer, i'm thinking in use FTP with PHP, never did it before, but don't must be dificult. I'll tell to you as finished it ;) thanks! On Sat, Apr 16, 2011 at 3:54 PM, Ashley Sheridan

Re: [PHP] upload big files

2011-04-16 Thread Ashley Sheridan
On Sat, 2011-04-16 at 15:36 +0200, Daniel Jost wrote: hi! this form would not really be a nice solution to upload 300mb. there would be no progress bar and no other possibility for the user to get feedback. you should consider to use a java uploaded - or a bit nicer - a javascript based

Re: [PHP] upload big files

2011-04-16 Thread Ashley Sheridan
possibilities than using one of that components. or does anyone have another solution? 2011/4/16 Ashley Sheridan a...@ashleysheridan.co.uk On Sat, 2011-04-16 at 15:36 +0200, Daniel Jost wrote: hi! this form would not really be a nice

Re: [PHP] Re: How to write a PHP coding to list out all files and directories aslinks to them?

2011-04-16 Thread Ashley Sheridan
On Sat, 2011-04-16 at 15:02 -0500, Shawn McKenzie wrote: On 04/14/2011 06:16 PM, Mikhail S wrote: How to write a PHP coding to list out all files and directories as links to them? This is somewhat similar to some index pages. When new file or folder is added to the directory, HTML

RE: [PHP] newbie - function is undefined

2011-04-04 Thread Ashley Sheridan
On Mon, 2011-04-04 at 08:03 -0500, Jay Blanchard wrote: [snip] Short answer : yes. Medium answer : probably, but really yes. Long answer : unless you are providing some sort of mechanism to hold the current state of PHP, eject the required JS code to get a value from the client and return

Re: [PHP] DateTime using DateTimeZone Timestamp problem

2011-04-04 Thread Ashley Sheridan
On Mon, 2011-04-04 at 16:35 +0100, Ian wrote: Hi, I have a problem using the php built in classes DateTime and DateTimeZone. The idea behind the following code is to return the timestamp for the current time in Singapore (or other places). What it actually returns is the timestamp for

Re: [PHP] Last Name extraction in query

2011-04-04 Thread Ashley Sheridan
On Mon, 2011-04-04 at 11:50 -0400, Jim Giner wrote: having a problem posting this message - forgive any duplication please. Hi, I'm trying to use sql to extract the last name from a person's name field in my table. Here's my Select: $q = SELECT race_winner,count(race_date) as wins,

Re: [PHP] XML... Useful or another layer of complexity?

2011-04-03 Thread Ashley Sheridan
Jason Pruim li...@pruimphotography.com wrote: So the subject says it all... And yes I know this isn't related to PHP but it's the weekend and I trust the opinions on this list more then any other list I have seen. I've been doing alot of reading on XML and honestly it looks pretty cool... BUT the

Re: [PHP] Closing Session

2011-03-31 Thread Ashley Sheridan
On Thu, 2011-03-31 at 13:54 -0400, Ethan Rosenberg wrote: At 01:30 PM 3/31/2011, Daniel Brown wrote: On Thu, Mar 31, 2011 at 13:09, Ethan Rosenberg eth...@earthlink.net wrote: Dear List - Thanks for your help. How do I close a session form the terminal? I need the ability to do

Re: [PHP] Closing Session

2011-03-31 Thread Ashley Sheridan
On Thu, 2011-03-31 at 16:40 -0400, Ethan Rosenberg wrote: At 02:12 PM 3/31/2011, Ashley Sheridan wrote: On Thu, 2011-03-31 at 13:54 -0400, Ethan Rosenberg wrote: At 01:30 PM 3/31/2011, Daniel Brown wrote: On Thu, Mar 31, 2011 at 13:09, Ethan Rosenberg eth...@earthlink.net wrote

Re: [PHP] Grasping class / controllers

2011-03-30 Thread Ashley Sheridan
Aleksandar Skodric aleksan...@skodric.com wrote: Hi all, I am using Codeigniter framework, tho' I believe my question is more PHP related in general. Problem I am having is following. Codeigniter (CI) uses general class CI_Controller for all functions. I have extended this controller with:

Re: [PHP] Sessions - More Info

2011-03-30 Thread Ashley Sheridan
On Wed, 2011-03-30 at 19:20 -0400, Ethan Rosenberg wrote: Dear List - Thank you for your help in the past. This an update on my session problems. Here is a simple test program. It never increments the session counter; ie, does not detect that $_SESSION has been set. ?php

Re: [PHP] [DEADLOCK - Code Igniter

2011-03-29 Thread Ashley Sheridan
On Tue, 2011-03-29 at 14:38 -0600, Tristan wrote: *Anyone have a workaround for this issue? thanks ahead *I received this error message while activating a profile request. Clicked the Back button and tried approving the user again and then it worked. * ERROR Using code

Re: [PHP] is there any syntax to save a file in mysql?

2011-03-28 Thread Ashley Sheridan
On Mon, 2011-03-28 at 07:36 +0200, Hans Åhlin wrote: 2011/3/28 Negin Nickparsa nickpa...@gmail.com: in php i have a file to upload i want to save this file in a table and then retreive it from table in another situation is it possible? I assume you are thinking of saving it in a MySQL

Re: [PHP] Re: is there any syntax to save a file in mysql?

2011-03-28 Thread Ashley Sheridan
Negin Nickparsa nickpa...@gmail.com wrote: i want each user having more than one file like us in the inbox of our mails i want to store files n then they can access each one. Then do what I suggested and store the file under the temporary name its given when it gets uploaded to the temp

Re: [PHP] Re: is there any syntax to save a file in mysql?

2011-03-28 Thread Ashley Sheridan
On Mon, 2011-03-28 at 18:18 +0430, Negin Nickparsa wrote: storing what in db? my codes was abt to store the file when uploading what is the difference can i give me in an example? When you copy the file use code like: move_uploaded_file($_FILES['image']['tmp_name'],

Re: [PHP] opening a new window from php script

2011-03-28 Thread Ashley Sheridan
window? Thanks in advance, -- When the sun rises I receive and when it sets I forgive - http://moj.skavt.net/gleskovs/ Always in Heart, Grega Leskovšek 2011/3/27 Richard Quadling rquadl...@gmail.com: On 26 March 2011 10:22, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2011

Re: [PHP] opening a new window from php script

2011-03-26 Thread Ashley Sheridan
On Fri, 2011-03-25 at 18:05 -0700, Tommy Pham wrote: On Fri, Mar 25, 2011 at 2:59 PM, Grega Leskovšek legr...@gmail.com wrote: I am working on CMS designed to those who are unfamiliar with a computer world and I want to offer a task where on a push of a button it will save current working

Re: [PHP] PHP hangs with empty result set

2011-03-23 Thread Ashley Sheridan
On Wed, 2011-03-23 at 15:34 -0400, Curtis Maurand wrote: I've been having a problem when querying a database with php and the mysql library the offending code follows. If the result is an empty set, PHP hangs. I've had to add code to the script to set up a max execution time to kill the

RE: [PHP] Delaying $(document).ready() in jQuery until php script finish OT

2011-03-03 Thread Ashley Sheridan
Jay Blanchard jblanch...@pocket.com wrote: [snip] What I don't get about the question is, is the document.ready() shouldn't fire, until the page has completely loaded, and if the PHP script is still running, the document shouldn't be ready yet, should it? [/snip] The document ready function

RE: [PHP] Check for open file

2011-03-03 Thread Ashley Sheridan
On Thu, 2011-03-03 at 15:29 -0500, Steve Staples wrote: On Thu, 2011-03-03 at 13:23 -0700, Ashley M. Kirchner wrote: Write the file with a temporary name and extension. Once the file is closed, change the name to the pattern your server is looking for. Once you finish processing it,

Re: [PHP] very quick Regex query

2011-02-28 Thread Ashley Sheridan
David Hutto smokefl...@gmail.com wrote: On Tue, Mar 1, 2011 at 2:28 AM, David Hutto smokefl...@gmail.com wrote: On Mon, Feb 28, 2011 at 10:07 PM, Alexis phplis...@antonakis.co.uk wrote: Hi, I know not strictly a PHP question, but was just wondering if someone can tell me the regex format for

Re: [PHP] Quotes in Heredoc

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 14:41 +0530, Ashim Kapoor wrote: Dear All, I am learning PHP by reading a book. My query pertains to the following lines : - $form_str = EOFORMSTR TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 ALIGN=CENTER WIDTH=621 TR TD ROWSPAN=2IMG WIDTH=15 HEIGHT=1

Re: [PHP] Quotes in Heredoc

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 16:27 +0530, Ashim Kapoor wrote: The quotes you mention are in the HTML, nothing to do with PHP. HTML will work without the quotes in most cases (unless there's a space in the value for the attribute) but the quotes are required in XHTML and will cause unexpected

Re: [PHP] Log Rotation, leave it to OS or do it in PHP code?

2011-02-26 Thread Ashley Sheridan
On Sat, 2011-02-26 at 16:37 +0330, AmirBehzad Eslami wrote: Dear list, It seems that Python has already a Log Rotation mechanism, which solves the problem of log file growth. I'm wondering whether there is any PHP-based solution around? Now let me ask from a different view: Is it a

RE: [PHP] Paging and permissions

2011-02-09 Thread Ashley Sheridan
On Wed, 2011-02-09 at 13:03 +0200, Arno Kuhl wrote: On Tue, 2011-02-08 at 14:36 +0200, Arno Kuhl wrote: I'm hoping some clever php gurus have been here before and are willing to share some ideas. I have a site where articles are assigned to categories in

RE: [PHP] Paging and permissions

2011-02-09 Thread Ashley Sheridan
On Wed, 2011-02-09 at 13:27 +0200, Arno Kuhl wrote: Instead of serializing the articles, you only need their IDs. Using $sql .= ' where id in (' . implode(',', $ids) . ')'; you can load the data for a page of results in a single query. Storing the IDs is much cheaper than the

Re: [PHP] improve speed of PHP answers

2011-02-09 Thread Ashley Sheridan
On Wed, 2011-02-09 at 18:57 +0100, Alain Roger wrote: it's a php component for joomla so it is written in PHP. it access to DB as also the whole site root structure to backup database structure , data as also web site folders and files. due to slow freeing ressources (php pointers, memory,

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Ashley Sheridan
On Tue, 2011-02-08 at 13:24 +0100, Tolas Anon wrote: Hi.. For a set of media import routines, i'm using a javascript-php_on_apache-windows.bat-php_cli-curl-php_script invocation method. It seems longwinded, but it's designed to have different parts of the import process run on different

Re: [PHP] Paging and permissions

2011-02-08 Thread Ashley Sheridan
On Tue, 2011-02-08 at 14:36 +0200, Arno Kuhl wrote: I'm hoping some clever php gurus have been here before and are willing to share some ideas. I have a site where articles are assigned to categories in containers. An article can be assigned to only one category per container, but one or

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Ashley Sheridan
On Tue, 2011-02-08 at 13:50 +0100, Tolas Anon wrote: On Tue, Feb 8, 2011 at 1:35 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2011-02-08 at 13:24 +0100, Tolas Anon wrote: Hi.. For a set of media import routines

Re: [PHP] curl_exec won't return (any data)

2011-02-08 Thread Ashley Sheridan
On Tue, 2011-02-08 at 07:59 -0500, David Hutto wrote: it's : javascript - php_on_apache - windows.bat - php_cli - php_daemon_script - curl_exec - php_script followed by calls-until-finished from javascript that read the status of php_script via json files written to the server and thus

Re: [PHP] file upload utility ?

2011-02-07 Thread Ashley Sheridan
Frank Bonnet f.bon...@esiee.fr wrote: On 02/07/2011 05:01 PM, Daniel Brown wrote: On Mon, Feb 7, 2011 at 10:56, Frank Bonnetf.bon...@esiee.fr wrote: Hello I'm searching for a utility that let our users upload a file on a server , then generate a temporary link that point to the real file.

Re: [PHP] Bilingual strtotime()

2011-02-06 Thread Ashley Sheridan
On Sun, 2011-02-06 at 11:24 +0100, Peter Lind wrote: On Feb 6, 2011 11:16 AM, Per Jessen p...@computer.org wrote: Alexis wrote: I was wondering if there was a way to use the strtotime() function when the months are in one or the other of the above two languages? Ah, I misread

Re: [PHP] latest posts help

2011-02-06 Thread Ashley Sheridan
Michael Simiyu simiyu.mich...@gmail.com wrote: hello , am working on showing the last 3 posts showed on a message board ( bitweaver ) and i would like to know what to add on the below line of code to show the last 3 this is what i have that shows the last post Code: a href={$board.last.url}

Re: [PHP] Design question

2011-02-05 Thread Ashley Sheridan
On Sat, 2011-02-05 at 11:11 -0500, li...@pruimphotography.com wrote: Morning everyone! I have a design question... No it's not about the interior of my house... although I could use some help with that as well... I am working on a framework for my own use (And maybe one day will beat

Re: [PHP] nl2br problem

2011-02-02 Thread Ashley Sheridan
On Tue, 2011-02-01 at 14:24 -0600, Donovan Brooke wrote: Daniel Brown wrote: [snip] Absolutely. Look into employing TinyMCE or CKEditor (or the older FCKEditor) so you don't have to do so much server-side processing. This will only apply to pages moving forward, mind you, not for

Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread Ashley Sheridan
Brad Lorge b...@lorge.com.au wrote: Perhaps my question was not as succinct as it could have been. Basically, can you think of a means through which to detect whether or not a variable is currently present in multiple scopes. IE: ?php $bob = fish; echo is_multiscoped($bob); //False function

[PHP] odd list bounces

2011-01-31 Thread Ashley Sheridan
Hiya, Is anyone else getting odd bounce messages? I just received one from the list about a message that was returned as a bounce from my email address. The fact that I was able to read an email about an email that bounced from me suggests that things are OK my end with regards to receiving

Re: [PHP] PEAR PHP

2011-01-30 Thread Ashley Sheridan
Ethan Rosenberg eth...@earthlink.net wrote: At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get errors. See below --

Re: [PHP] PEAR PHP

2011-01-30 Thread Ashley Sheridan
Ashley Sheridan a...@ashleysheridan.co.uk wrote: Ethan Rosenberg eth...@earthlink.net wrote: At 03:29 AM 1/30/2011, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/30/2011 05:43 AM, Ethan Rosenberg wrote: Dear list - I enter the command pear list, and get

Re: [PHP] Different sessions, same client

2011-01-23 Thread Ashley Sheridan
On Sun, 2011-01-23 at 09:21 +0100, Thijs Lensselink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/23/2011 07:33 AM, Paul M Foster wrote: Storing any sort of login/auth data in cookies has regularly been panned on this list. The preference seems to be to store whatever

Re: [PHP] email address syntax checker

2011-01-23 Thread Ashley Sheridan
On Sun, 2011-01-23 at 14:59 -0500, Govinda wrote: Peter Lind wrote: [snip] if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo Bad user! Bad user!; } Regards Peter thanks peter... wish I would have known about filter_var before writing the other checkers. ;-)

Re: [PHP] Distributed File Purchase Encryption (DFPE)

2011-01-15 Thread Ashley Sheridan
On Sat, 2011-01-15 at 20:42 +, Fernando Amorim wrote: I was thinking in something , is not quite php related, but I was thinking of an app that would encrypt a file (that file could be anything) and the author would create an encryption key giving an amount of money to be collected. It

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Ashley Sheridan
On Wed, 2011-01-12 at 11:45 -0800, sono...@fannullone.us wrote: I'd like to make a suggestion for a change, or possibly an addition, to the PHP language. I'm learning PHP and have been very excited with what it can do in relation to HTML. But when I got to the part about arrays, I was

Re: [PHP] projectpier

2011-01-12 Thread Ashley Sheridan
On Wed, 2011-01-12 at 23:14 +0100, Peter Lind wrote: jeg har flyttet projectpier over paa fastaval.dk domaenet - det koerer nu under pp.fastaval.dk. Der er ogsaa sat redirects op paa fastaval.plphp.dk saa man skulle ikke kunne komme til det gamle site (og dermed ikke logge ind det forkerte

Re: [PHP] Stripping carriage returns

2011-01-11 Thread Ashley Sheridan
On Tue, 2011-01-11 at 11:13 -0800, Richard S. Crawford wrote: I'm retrieving CLOB data from an Oracle database, and cleaning up the HTML in it. I'm using the following commands: $content = strip_tags($description-fields['CONTENT'],'polulli'); $content =

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-11 Thread Ashley Sheridan
On Tue, 2011-01-11 at 14:44 -0500, Steve Staples wrote: On Tue, 2011-01-11 at 19:00 +, Ashley Sheridan wrote: On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote: Hello Ashley Sheridan, Am 2011-01-08 17:09:27, hacktest Du folgendes herunter: Also, each label

Re: [PHP] Help: Validate Domain Name by Regular Express

2011-01-09 Thread Ashley Sheridan
On Sun, 2011-01-09 at 11:44 +0800, WalkinRaven wrote: Right, RFC 1034 allow valid endless . parts, till the sum length is over 255. On 01/09/2011 01:21 AM, TR Shaw wrote: On Jan 8, 2011, at 12:09 PM, Ashley Sheridan wrote: On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote: PHP

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Ashley Sheridan
On Sun, 2011-01-09 at 12:23 -0500, Daniel Brown wrote: On Sun, Jan 9, 2011 at 11:58, tedd tedd.sperl...@gmail.com wrote: For example -- http://xn--19g.com -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown in the address bar, but in Safari it's shown as

Re: [PHP] Re: Help: Validate Domain Name by Regular Express

2011-01-09 Thread Ashley Sheridan
On Sun, 2011-01-09 at 12:38 -0500, Daniel Brown wrote: On Sun, Jan 9, 2011 at 12:32, Ashley Sheridan a...@ashleysheridan.co.uk wrote: ^ is to the power of, not square root, which is √, which does translate to Tedds domain Thanks for the math lesson, professor, but I already knew

Re: [PHP] Help: Validate Domain Name by Regular Express

2011-01-08 Thread Ashley Sheridan
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote: PHP 5.3 PCRE Regular Express to match domain names format according to RFC 1034 - DOMAIN NAMES - CONCEPTS AND FACILITIES /^ ( [a-z] | [a-z] (?:[a-z]|[0-9]) | [a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9])

Re: [PHP] Command line PHP

2011-01-07 Thread Ashley Sheridan
On Fri, 2011-01-07 at 13:31 -0500, Joshua Kehn wrote: On Jan 7, 2011, at 12:34 PM, Daniel Brown wrote: On Fri, Jan 7, 2011 at 12:18, Joshua Kehn josh.k...@gmail.com wrote: Using another language more suited towards CLI / standalone (non-web) development would be easier. PHP at it's

Re: [PHP] Command line PHP

2011-01-07 Thread Ashley Sheridan
On Fri, 2011-01-07 at 11:31 -0800, David Harkness wrote: On Fri, Jan 7, 2011 at 10:41 AM, la...@garfieldtech.com la...@garfieldtech.com wrote: Application is perhaps a misnomer. I'm not looking at rewriting Emacs or anything. Just some batch processing that would get run as: php

Re: [PHP] Newbie Question

2011-01-03 Thread Ashley Sheridan
On Sun, 2011-01-02 at 21:10 -0500, David McGlone wrote: On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote: On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are

Re: [PHP] Newbie Question

2011-01-03 Thread Ashley Sheridan
On Mon, 2011-01-03 at 10:00 -0500, Mujtaba Arshad wrote: I just went back and read the original post and realized the recent discussion has nothing to do with it. Awesome. Yeah, that happens sometimes! The OP changed the subject this time, so it should be OK ;) Also, if you can avoid it,

Re: [PHP] ErrorDocument 500 and PHP

2011-01-03 Thread Ashley Sheridan
On Mon, 2011-01-03 at 15:11 -0500, Bastien Koert wrote: On Mon, Jan 3, 2011 at 2:30 PM, David Lidstone d...@elocal.co.uk wrote: On 03/01/2011 18:38, Nilesh Govindarajan wrote: On 01/03/2011 11:46 PM, David Lidstone wrote: Hi First up, I apologise as this must have been posted

RE: [PHP] Newbie Question

2011-01-02 Thread Ashley Sheridan
On Sun, 2011-01-02 at 11:48 -0500, ad...@buskirkgraphics.com wrote: Add this to your .htaccess file and HTML files will be handled like PHP files allowing you put PHP in HTML files. AddType application/x-httpd-php .html Richard L. Buskirk -Original Message- From: Adolfo

Re: [PHP] Regex for ... genealogical names

2011-01-01 Thread Ashley Sheridan
On Sat, 2011-01-01 at 09:46 +, Lester Caine wrote: A slightly more complex problem than phone numbers ... It is a sort of convention to use the format 'JohnDoeSMITH' or 'John Doe SMITH' where each forename starts with a capital and the surname is in upper case. I have a crude method

Re: [PHP] Hot Topics

2010-12-30 Thread Ashley Sheridan
On Thu, 2010-12-30 at 10:39 -0500, Daniel Brown wrote: On Thu, Dec 30, 2010 at 08:23, Jason Pruim li...@pruimphotography.com wrote: I seem to remember you doing the same thing from your phone Mr. Brown :P Yeah. Android finally updated that a few weeks ago. Now you can respond

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Ashley Sheridan
On Thu, 2010-12-30 at 11:04 -0500, Paul M Foster wrote: On Wed, Dec 29, 2010 at 08:27:49PM -0500, Mujtaba Arshad wrote: craphound.com/images/xkcdwrongoninternet.jpg And this is why I love XKCD. LOL. Paul -- Paul M. Foster http://noferblatz.com It's got a comic for pretty

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Ashley Sheridan
On Thu, 2010-12-30 at 11:19 -0500, Omega -1911 wrote: I'm pretty sure there is a lot that happened that has not been mentioned yet ;) But I digress... it's all came down to no one being able to contradict my post. If u consider an attempt to get personal a defense, I would hope that in a

Re: [PHP] Re: Do you trim() usernames and passwords?

2010-12-30 Thread Ashley Sheridan
On Thu, 2010-12-30 at 11:27 -0500, Omega -1911 wrote: Which topic ashley do u wish to discuss. With the eccouncil.org being in your neck of th woods, learning/reading what hackers are using/doing shouldn't be hard... On Dec 30, 2010 11:23 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote

Re: [PHP] Static content at runtime

2010-12-28 Thread Ashley Sheridan
On Tue, 2010-12-28 at 13:25 -0500, Govinda wrote: Care to share your experiences and recommendations on the issue? It seems to me that you ask a great question, and ask it well. I have worked on both kinds of systems. But I am not expert enough to say anything definitively.

Re: [PHP] Error Querying Database

2010-12-15 Thread Ashley Sheridan
On Wed, 2010-12-15 at 14:44 -0500, Steve Staples wrote: On Wed, 2010-12-15 at 14:34 -0500, Gary wrote: Steve Staples sstap...@mnsi.net wrote in message news:1292440837.5460.8.ca...@webdev01... On Wed, 2010-12-15 at 13:42 -0500, Gary wrote: I cant seem to get this to connect. This is

Re: [PHP] sending emails

2010-12-09 Thread Ashley Sheridan
On Thu, 2010-12-09 at 10:36 -0800, Marc Fromm wrote: We have web forms that send the user an email confirmation after submission, like most forms do. The emails are being delivered to the users' junk folder. The main campus IT staff claim it is because our server is sending the emails. The

Re: [PHP] sending emails

2010-12-09 Thread Ashley Sheridan
On Thu, 2010-12-09 at 14:03 -0500, TR Shaw wrote: On Dec 9, 2010, at 1:36 PM, Marc Fromm wrote: We have web forms that send the user an email confirmation after submission, like most forms do. The emails are being delivered to the users' junk folder. The main campus IT staff claim it

Re: [PHP] No errors gets displayed, just a blank page

2010-12-08 Thread Ashley Sheridan
On Wed, 2010-12-08 at 13:16 -0500, tedd wrote: At 2:07 AM +0100 12/8/10, Rico Secada wrote: Hi. What can cause that no parse error gets displayed (blank page/no output at all) even though error reporting is set to -1? I have run the script through php lint on the console and it comes up

Re: [PHP] code quest

2010-11-27 Thread Ashley Sheridan
On Fri, 2010-11-26 at 20:27 -0500, Bastien wrote: On 2010-11-26, at 7:33 PM, Adam Richardson simples...@gmail.com wrote: On Fri, Nov 26, 2010 at 7:03 PM, Kirk Bailey kbai...@howlermonkey.netwrote: Hello all, my name is Kirk Bailey, and I am new to php, so please be

RE: [PHP] PHP Add +1 mysql updates by 2?

2010-11-27 Thread Ashley Sheridan
On Fri, 2010-11-26 at 22:29 -0800, Tommy Pham wrote: -Original Message- From: Richard West [mailto:p...@cbnisp.com] Sent: Friday, November 26, 2010 9:40 PM To: Peter Lind Cc: Tommy Pham; Tamara Temple; PHP General Mailing List Subject: Re: [PHP] PHP Add +1 mysql updates by 2?

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