RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Edward Kay
> > What would you like on your Tombstone? (<-- that's actually a > trademarked saying) > I've always liked Spike Milligan's: "I told you I was ill" :) http://news.bbc.co.uk/1/hi/england/southern_counties/3742443.stm Edward -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Problem with IE 6.0

2008-06-25 Thread Edward Kay
> I have a problem with the cache in Internet Explorer version 6.0 > > When I put these lines in the page > > header ("Expires: Mon, 1 Jan 1997 01:00:00 GMT"); > header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > header ("Cache-Control: no-cache, must-revalidate"); > header ("Pragma:

RE: [PHP] PDF inline viewer

2008-06-20 Thread Edward Kay
> Mário Gamito wrote: > > Hi, > > > > Does someone knows of a PHP software that is an inline PDF reader ? > > You can view the idea here: > > > http://www.scribd.com/doc/2025925/Clinical-chemistry-II-Biomedical > -Science-practical-1 > > > > Any help would be appreciated. > > > > Warm Regards,

RE: [PHP] imap_open() error. (Can't open mailbox)

2008-06-09 Thread Edward Kay
> -Original Message- > From: Thijs Lensselink [mailto:[EMAIL PROTECTED] > Sent: 09 June 2008 13:43 > To: php-general@lists.php.net > Subject: Re: [PHP] imap_open() error. (Can't open mailbox) > > > Quoting Mathijs van Veluw <[EMAIL PROTECTED]>: > > > Thijs Lensselink wrote: > >> Quoting M

RE: [PHP] Escaping JavaScript strings

2008-05-29 Thread Edward Kay
> > This is a PHP function that escapes strings so you can output them as a > JS string. IIRC it assumes you're using single quotes to enclose your > strings. > > /** > * Function to appropriately escape a string so it can be output > * into javascript code. > * > * @p

[PHP] Escaping JavaScript strings

2008-05-29 Thread Edward Kay
Hello, I'm adding functionality to allow a user to copy data on a page to the clipboard using JS. This can be done simply with: window.clipboardData.setData('Text','String to copy to clipboard'); The string from PHP needs to contain line breaks when copied into the clipboard. This works when I

RE: [PHP] PHP debugger

2008-04-29 Thread Edward Kay
> -Original Message- > From: Jason Pruim [mailto:[EMAIL PROTECTED] > Morning, > > So looking at those scripts I realized that perl is nothing like php ;) > > Is there other info that the different places need? or is it just a > different URL? > > I'm wondering why you could do something li

RE: [PHP] Checking how many letters are in a string.

2008-03-20 Thread Edward Kay
> -Original Message- > From: tedd > Chapter 4 is all about l16n, L10n, and Unicode. Makes a good read. What's l16n? Did you mean i18n (internationasation)? (I'm not being a pedant; just wondered if I was missing something) :) Edward -- PHP General Mailing List (http://www.php.net/) T

RE: [PHP] algorithm of pages beaking

2008-03-19 Thread Edward Kay
> Hi, > > I am working in page breaking (dividing the result of > a select query in multiple pages). > > Now my problem is not with the php code, but with the > algorithm that organize the links to the pages. I want > to do something like google, the pages numbers at the > bottom of the page mus

RE: [PHP] Double click problem

2008-03-19 Thread Edward Kay
> Hi gang: > > I have a situation where users can purchase stuff online. > > In the last step in the process, the user clicks a "confirm purchase" > button and their credit card is checked and if it's valid, they are > awarded the product. Everything works, but it takes a little time to > check the

RE: [PHP] Double click problem

2008-03-19 Thread Edward Kay
> Hi gang: > > I have a situation where users can purchase stuff online. > > In the last step in the process, the user clicks a "confirm purchase" > button and their credit card is checked and if it's valid, they are > awarded the product. Everything works, but it takes a little time to > check the

RE: [PHP] Fastest way to get table records' number

2008-03-19 Thread Edward Kay
> > > At 10:35 AM -0400 3/19/08, Nathan Nobbe wrote: > > > >On Wed, Mar 19, 2008 at 9:42 AM, Andrew Ballard <[EMAIL PROTECTED]> > > wrote: > > > > > > > >> That works; I'm just wondering why you went with a count > on an 'ID' > > column > > > >> rather than COUNT(*). > > > > > > > > > > > >ouch,

RE: [PHP] Comparing files

2008-03-12 Thread Edward Kay
> -Original Message- > From: Andrés Robinet [mailto:[EMAIL PROTECTED] > Sent: 12 March 2008 12:33 > To: 'Edward Kay'; 'mathieu leddet'; php-general@lists.php.net > Subject: RE: [PHP] Comparing files > > > > -Original Message

RE: [PHP] Comparing files

2008-03-12 Thread Edward Kay
> -Original Message- > From: mathieu leddet [mailto:[EMAIL PROTECTED] > Sent: 12 March 2008 11:04 > To: php-general@lists.php.net > Subject: [PHP] Comparing files > > > Hi all, > > I have a simple question : how can I ensure that 2 files are identical ? > > How about this ? > > 8<

RE: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-03 Thread Edward Kay
>... for me one of the most useful > thing in Zend is (CTRL+D X,C or Apple+D , X, C) which > duplicates copies and paste lines in Studio , switching to > Eclipse I just miss those shortcuts so I am always finding > myself going back to Z. Studio To duplicate the current line in Eclipse, just u

RE: [PHP] How do you send stylized email?

2008-02-26 Thread Edward Kay
> > Ex's are the experience you need to get it to work. > > > > I've always said that everyone should go through at least one divorce > > before getting married. > > Marriage?? That's for backwards people stuck in ancient pointless > traditions >:) And moreso in today's culture... it's just a comme

RE: [PHP] Converting tab delimited file to CSV

2008-02-18 Thread Edward Kay
> On Mon, February 18, 2008 10:36 am, Jay Blanchard wrote: > > [snip] > > That's funny... MS defaults to tabs for a file whose extension is .csv > > which is an acronym for (C)omma (S)eparated (V)alues. > > [/snip] > > > > Welcome to Microsoftwhere do we want you to go today? > > I think it de

RE: [PHP] Converting tab delimited file to CSV

2008-02-18 Thread Edward Kay
> Now, I can replace the tabs with commas and opening the resulting > files in a basic text editor all looks fine. When you do this, ensure you escape any commas that may exist in the data. IIRC, Excel handles this be enclosing the whole field in "double quotes". Can remember how it handles esca

RE: [PHP] Recommended ORM for PHP

2008-02-06 Thread Edward Kay
> When creating a LAMP app, I always start by writing ORM myself. > It's fun but it usually takes a long time. > Besides, that always results in a toy-system, > I mean, that has not so many features, not so efficient non-bug-free. > > I started to think that now is the time to throw away my rubb

RE: [PHP] Re: how dod you get to do multiple mysql queries concurrently?

2008-01-25 Thread Edward Kay
> Per Jessen wrote: > > Colin Guthrie wrote: > > > >> Per Jessen wrote: > >>> I know how to do multiple queries - the key issue in my question was > >>> how to do them concurrently (i.e. in parallel). > >> So you want to make PHP multithreaded??? > > > > No, just the mysql queries. > If you'r

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

2007-12-18 Thread Edward Kay
> can you help me to export data to a ms excel file using php. i tried to > export them to an html format and change the extension to .xls that's work > but i have lost the formatting Save the data from PHP in comma separated value (CSV) format. Edward -- PHP General Mailing List (http://www.p

RE: [PHP] Convertig xml into array

2007-11-27 Thread Edward Kay
> -Original Message- > From: Dave Goodchild [mailto:[EMAIL PROTECTED] > Sent: 27 November 2007 08:36 > To: PHP General list > Subject: [PHP] Convertig xml into array > > > Hi guys. I have the following XML file which I want to convert into a > multidimensional array. I am using PHP5 so don

RE: [PHP] recommendation for a article manager

2007-11-15 Thread Edward Kay
> > Hi, > I'm looking for a recommendation for a small easy to use "free" article > manager.It must be able to fit in with existing site and be able > to include > a picture.It does not need an all singing editor a simple form > system will > do I can control the look by css. > I'm currently doing

RE: [PHP] Help securing a server : Owned by W4n73d H4ck3r

2007-11-09 Thread Edward Kay
> > I'd be interested in reading this thread. OK with me to keep it > on the list. > Ditto. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Fatal error when calling nested function

2007-10-26 Thread Edward Kay
> > function salestax($price,$tax) { > function convert_pound($dollars, $conversion=1.6) { > return $dollars * $conversion; > } > $total = $price + ($price * $tax); > echo "Total cost in dollars: $total. Cost in British pounds: " > .convert_pound($total); > } > salestax(15.00,.075); > echo "" . co

RE: [PHP] Fatal error when calling nested function

2007-10-26 Thread Edward Kay
> Here's the list : > > function salestax($price,$tax) { > function convert_pound($dollars, $conversion=1.6) { > return $dollars * $conversion; > } > $total = $price + ($price * $tax); > echo "Total cost in dollars: $total. Cost in British pounds: " > .convert_pound($total); > } > echo convert_po

RE: [PHP] window.open() and search engines

2007-10-23 Thread Edward Kay
> > Can anyone say for sure whether window.open() links get spidered by > search engines? > >From my experience they don't, but I use a custom Javascript function to open pop-ups. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Newbie: special characters in regex?

2007-09-25 Thread Edward Kay
> > I'm trying to modify a string so that it can be used as a Distinguished > Name in an LDAP operation. Distinguished Names must have special > characters, such as (, ), / and \ escaped with a backslash. For > instance, 'Kevin (Kev) Zembower, III" becomes 'Kevin \(Kev\) Zembower\, > III'. > > I

RE: [PHP] Merging PDF Documents

2007-09-24 Thread Edward Kay
> > Please can someone tell me if this is easy to do or whether I should > use a package already available... > > I want to upload a pdf file to a folder then for each subsequent > upload, I want it to be appended to the original file. Each pdf is a > timesheet, so I want to end up with one file fo

RE: [PHP] Very Large text file parsing

2007-09-20 Thread Edward Kay
> Paul Scott wrote: > > I have a very large text file that gets dumped into a directoory every > > now and then. It is typically around 750MB long, at least, and my > > question is: > > > > What is the best method to parse this thing and insert the data into a > > postgres db? > > > > I have tried

RE: [PHP] highlighting searchterms as bold text

2007-09-20 Thread Edward Kay
> > Hi everyone, > > > > I want to highlight (bold) searchterms in text. > > For example, for all words starting with "ethyl": > > a) replace "ethyl" by "ethyl" > > b) replace "Ethyl" by "Ethyl" > > c) replace "ethylene" by "ethylene" > > d) but not "methyl" by "methyl" > > > > Now I use: > > $pat

RE: [PHP] dynamic

2007-09-18 Thread Edward Kay
> >> thumb.php > >> >> header("Content-type: image/jpg"); > >> $file = "data/original/filename.jpg"; > >> readfile($file); > >> ?> Change header("Content-type: image/jpg"); to header("Content-type: image/jpeg"); Apparently IE doesn't like image/jpg [1]. [1] http://pear.php.net/bugs/bug.ph

RE: [PHP] Try to find a solution, when restart Apache with PHP Script

2007-09-17 Thread Edward Kay
> I'm facing a serious problem with my application. I have a script write > in PHP that starts in Internet Explorer, this script keep on running > until a varible value change on my MySQL database. > The problem is that when i restart Apache, the process child initalized > isn't kill... then the ap

RE: [PHP] PHP 5.2.3 - Segmentation fault (core dumped)

2007-09-12 Thread Edward Kay
> Dear all, > > I hope you can help me. I am running FreeBSD 6.2 and I decided to > upgrade from php 4.4.7_1 to php5-5.2.3_1. However, after removing php4 > and installing php5 and php5-extensions I am unable to start apache. What do the Apache error logs say? Edward -- PHP General Mailing Li

RE: [PHP] html to xml?

2007-09-12 Thread Edward Kay
> Slith wrote: > > > i need to parse an html page for tabular data which i can then import > > into mysql so i thought converting the html to xml might be a feasible > > thing to do, however, other than using tidy from the command line i > > can't find a way to do this from php. > > > > does any

Re: [PHP] Loosing session data between requests

2007-09-06 Thread Edward Kay
robert mena wrote: I've checked both /tmp and the session file sess_x in one server is empty and in another has the data. Both $_SESSION are ok (I've checked with a var_dump). Check the permissions on /var/lib/php/session Edward -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] IE Not Following Header("Location: /path/to/file.php");

2007-09-06 Thread Edward Kay
Scott Wilcox wrote: hey folks. I have a strange problem with IE sometimes. It doesn't seem to accept and follow a header sent to the browser. The action occurs when a user logs in, then is sent this header. Any hints/ideas appreciated. Scott. Get Microsoft's (free) Fiddler Tool and look at

RE: [PHP] Generating foldout menus in php

2007-09-06 Thread Edward Kay
> -Original Message- > From: Ken Kixmoeller -- reply to [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: 06 September 2007 16:48 > To: tedd; php-general@lists.php.net > Subject: Re: [PHP] Generating foldout menus in php > > > > On Sep 3, 2007, at 12:42 PM, tedd wrote: > > > > th

RE: [PHP] Heredocs

2007-08-29 Thread Edward Kay
> Are heredocs supported by PP 5.2.3 running in WinXP/Apache2.2.4 ? > I prrint via heredocs and its not working. Print with single quotes and > double quotes work. > > > string init method 3: heredocs > print <<< END >

RE: [PHP] Good php-news newsletter?

2007-08-24 Thread Edward Kay
> Well, I'm already subscribed to this one :) > > Too much noise, newbie questions and stuff that I already know about. > There's lots of valuable info but it needs to be plowed through. Also > too many individual emails, I was looking for a daily / weekly digest. > > But thanx for the answer anyw

RE: [PHP] Good php-news newsletter?

2007-08-24 Thread Edward Kay
>I was wandering if anyone knows a good php newsletter, one where you > would get a digest of interesting news & libraries etc in your mailbox. > You know, to keep you up-to-date and spark a few ideas without actively > searching the net for it. This list is the best resource I've found for th

RE: [PHP] mail() issue

2007-08-22 Thread Edward Kay
> -Original Message- > From: Dan Shirah [mailto:[EMAIL PROTECTED] > Sent: 22 August 2007 13:28 > To: Jay Blanchard > Cc: php-general > Subject: Re: [PHP] mail() issue > > > The "." (period) is simply the end of my sentance in the email. > > The "From" address is specified in the php.ini an

RE: [PHP] a DOM object in $_SESSION ?

2007-08-17 Thread Edward Kay
> Does anyone know if this works? I've been trying out a few things, and > it doesn't seem to work. I.e. the object is there, but the contents > aren't. I don't think it is possible due to the way PHP handles the XML data [1]. This is from 2002 / PHP 4.3 but a comment [2] in the PHP manual for

RE: [PHP] pecl in php5?

2007-08-16 Thread Edward Kay
> -Original Message- > From: Per Jessen [mailto:[EMAIL PROTECTED] > Sent: 16 August 2007 10:25 > To: php-general@lists.php.net > Subject: [PHP] pecl in php5? > > > I'm trying to install the pecl mailparse extension, but I'm not getting > very far: > > pecl install mailparse > pecl/mailp

RE: [PHP] Access parent property from child

2007-08-09 Thread Edward Kay
> -Original Message- > From: Suprie [mailto:[EMAIL PROTECTED] > Sent: 09 August 2007 11:13 > To: php-general@lists.php.net > Subject: [PHP] Access parent property from child > > > dear all ... > > i have question, i've tried look at google but still can't figured out > how to do it... > i

RE: [PHP] ORM framework suggestion

2007-08-09 Thread Edward Kay
> -Original Message- > From: Matt Arnilo S. Baluyos (Mailing Lists) > [mailto:[EMAIL PROTECTED] > Sent: 09 August 2007 00:35 > To: PHP-General > Subject: [PHP] ORM framework suggestion > > > Hello All, > > I'm thinking of using an ORM framework for a new project. From my > research, I've f

RE: [PHP] compose html body with variables

2007-08-06 Thread Edward Kay
> -Original Message- > From: Matt [mailto:[EMAIL PROTECTED] > Sent: 06 August 2007 15:38 > To: php-general@lists.php.net > Subject: [PHP] compose html body with variables > > > Hello, > > I'm trying to compose the body of an html email to use with the mail() > function. I'm running into pr

RE: [PHP] php SHOW

2007-08-03 Thread Edward Kay
> -Original Message- > From: Hulf [mailto:[EMAIL PROTECTED] > Sent: 03 August 2007 11:56 > To: php-general@lists.php.net > Subject: [PHP] php SHOW > > > Is there a way to output my data and tables using a php version of SHOW? > Doesn't have to be pretty HTML just output to screen > > Ta

Re: [PHP] Validating Email Conditional

2007-08-01 Thread Edward Kay
CK wrote: Hi, My script is working, but valid returns true even if the user is bogus. What needs changing so both conditions have to match, the following attempt returned "unexpected logical" if (getmxrr($domaintld,$mxrecords)) && if(fsockopen($domaintld,25,$errno,$errstr,30)) {

RE: [PHP] Parent Object

2007-08-01 Thread Edward Kay
> -Original Message- > From: Ralph Kutschera [mailto:[EMAIL PROTECTED] > Sent: 01 August 2007 13:19 > To: php-general@lists.php.net > Subject: [PHP] Parent Object > > > Hallo! > > class A { > ... > } > > class B extends A { > ... > $name = get_parent_class($this); // would be "A" >

RE: [PHP] if inside an echo.

2007-07-31 Thread Edward Kay
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Alan Milnes > Sent: 31 July 2007 12:41 > To: php-general@lists.php.net > Subject: Re: [PHP] if inside an echo. > > > On 31/07/07, Hulf <[EMAIL PROTECTED]> wrote: > > I am outputting a selectbox and want t

RE: [PHP] if inside an echo.

2007-07-31 Thread Edward Kay
> -Original Message- > From: Hulf [mailto:[EMAIL PROTECTED] > Sent: 31 July 2007 12:11 > To: php-general@lists.php.net > Subject: [PHP] if inside an echo. > > > I am outputting a selectbox and want to do the follwoing. How can > I add the > IF statement inside the the echo? > > > fo

RE: [PHP] No is_date() function?

2007-07-25 Thread Edward Kay
> Thanks Lars > > I saw that one already but unfortunately, it doesn't help as it > requires 3 inputs . What I'm shooting for is an 'is_date' function > that returns true or false with no prior knowledge of what a variable > might contain. > > Ken > > On Jul 25, 2007, at 10:08 AM, Lars Haßler wrot

RE: [PHP] multiple random items

2007-07-16 Thread Edward Kay
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 16 July 2007 15:40 > To: php-general@lists.php.net > Subject: [PHP] multiple random items > > > Hi I have this script which pulls 1 random item from a txt file. > How would I modify it to pull 10 random items

RE: [PHP] RE: Address book - LDAP or MySQL?

2007-06-29 Thread Edward Kay
> On 6/29/07, Jay Blanchard <[EMAIL PROTECTED]> wrote: > > > > [snip] > > As I understand it, LDAP and MySQL offer two different ways > > of setting up a networked address book. > > So I take it they can be compared as far as that is concerned. > > > > Actually, I normally run Linux, so Active Dire

RE: [PHP] Database administration framework

2007-06-26 Thread Edward Kay
> Hi, > > I just need a framework for administrating tables in a database. These are > simple add/edit/remove operations from tables. > > Can you suggest a framework for this kind of job? Cause there are a lot of > tables and I hope I can find a nice tool to work with. > Look at Qcodo (http://www.

RE: [PHP] open a file in a folder without knowing the filename

2007-06-21 Thread Edward Kay
> -Original Message- > From: Graham Shaw [mailto:[EMAIL PROTECTED] > > I'm probably missing something really obvious here but how would > I go about > opening a file or multiple files in a folder without knowing the filename > ahead of time? Read the files in the directory and place the na

RE: [PHP] Edinburgh, Scotland: PHP Developer Position

2007-06-18 Thread Edward Kay
> -Original Message- > From: Tijnema [mailto:[EMAIL PROTECTED] > Sent: 18 June 2007 14:25 > To: Colin Guthrie > Cc: php-general@lists.php.net > Subject: Re: [PHP] Edinburgh, Scotland: PHP Developer Position > > > On 6/18/07, Colin Guthrie <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Don't wan

RE: [PHP] generating an html intro text ...

2007-06-18 Thread Edward Kay
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: 18 June 2007 13:18 > To: tedd > Cc: [php] PHP General List > Subject: Re: [PHP] generating an html intro text ... > > > tedd wrote: > > At 11:39 AM +0200 6/14/07, Jochem Maas wrote: > >> original string: > >> > > .

RE: [PHP] Checking Phone Numbers

2007-06-14 Thread Edward Kay
> -Original Message- > From: Kevin Murphy [mailto:[EMAIL PROTECTED] > Sent: 14 June 2007 16:38 > To: php > Subject: [PHP] Checking Phone Numbers > > > I collect phone numbers via a web form that breaks the phone number > up into 3 parts (3-digit area, 3-digit prefix, etc). Occasionally, I >

RE: [PHP] Question on Connecting to Microsoft SQL Server from PHP

2007-06-12 Thread Edward Kay
> All: > > I can't seem to connect to a SQL Server database with PHP. I have read the > php.net documentation and so many other forums on the Internet that my > eyes were literally blood shot. Today I thought I would try this route. > > I have PHP and Apache installed on my local machine. They wor

RE: [PHP] Anyone scripted Crossover?

2007-06-06 Thread Edward Kay
> -Original Message- > From: George Pitcher [mailto:[EMAIL PROTECTED] > Sent: 06 June 2007 14:34 > To: php-general@lists.php.net > Subject: RE: [PHP] Anyone scripted Crossover? > > > Tijnema, > > > > Nothing found in the archive, so asking the question: has > > anyone done any > > > scrip

RE: [PHP] checking the aspect ratio of an images

2007-06-06 Thread Edward Kay
> -Original Message- > From: blueboy [mailto:[EMAIL PROTECTED] > Sent: 06 June 2007 11:41 > To: php-general@lists.php.net > Subject: [PHP] checking the aspect ratio of an images > > > I want to force users to insert landscape rather portrait images. I don't > want to be too pedantic about

RE: [PHP] Best way to convert Little-Endian DWORD to string

2007-05-30 Thread Edward Kay
> -Original Message- > From: Tijnema [mailto:[EMAIL PROTECTED] > Sent: 30 May 2007 15:20 > To: php > Subject: [PHP] Best way to convert Little-Endian DWORD to string > > > Hi, > > Maybe quite strange question and quite off topic, but there's PHP > involved :) > > I want to read out f

RE: [PHP] Return or not to return, that is the question

2007-05-30 Thread Edward Kay
> Just a quick straw-poll really: > > What is your take on using 'return' when you end a function, if you > don't actually need to return a value? > > If you have to return say a true/false as the result of an operation, > then it's an obvious choice. But what if all the function does is > perf

RE: [PHP] Include file questions

2007-05-25 Thread Edward Kay
> -Original Message- > From: Tijnema [mailto:[EMAIL PROTECTED] > > > > > > It's just the way you write script, my included files contain only > > > functions & variables, no executing code. 99% I have a class around > > > it. > > > If you write it like that, than there's no problem with ex

RE: [PHP] Include file questions

2007-05-25 Thread Edward Kay
> -Original Message- > From: Tijnema [mailto:[EMAIL PROTECTED] > Sent: 25 May 2007 15:00 > To: tedd > Cc: Kevin Murphy; Stephen; php > Subject: Re: [PHP] Include file questions > > > On 5/25/07, tedd <[EMAIL PROTECTED]> wrote: > > At 1:55 PM -0700 5/23/07, Kevin Murphy wrote: > > >.inc fi

RE: [PHP] two php scripts with same $_SESSION variables

2007-05-24 Thread Edward Kay
> Stut.. > I've only been here one day, and I think I'm right in saying that your > the one around here that gets annoyed really easy ;) I don't think Stut gets annoyed more than any of the others on this list. Please remember though that a) Stut's answers tend to be very high quality and b) Top

RE: [PHP] [CSS] help with a orizzotal menu

2007-05-24 Thread Edward Kay
> -Original Message- > From: Marco Sottana [mailto:[EMAIL PROTECTED] > Sent: 24 May 2007 11:32 > To: php-general@lists.php.net > Subject: [PHP] [CSS] help with a orizzotal menu > > > hi i have this > > Menu item > 1Menu item > 1.1Menu item > 1.2Menu item > 1.2.1Menu item 1.2.2 href="/item

RE: [PHP] Project Management

2007-05-24 Thread Edward Kay
> -Original Message- > From: Christian Haensel [mailto:[EMAIL PROTECTED] > Sent: 24 May 2007 10:27 > To: php-general@lists.php.net > Subject: [PHP] Project Management > > > Morning guys, > > this is not exactly a PHP question, but as I am sure that I am talking to > more or less professio

RE: [PHP] How to eject cd-rom with php code?

2007-05-23 Thread Edward Kay
> -Original Message- > From: Chetan Graham [mailto:[EMAIL PROTECTED] > Sent: 23 May 2007 12:23 > To: php-general@lists.php.net > Subject: [PHP] How to eject cd-rom with php code? > > > Hi all, > I am writing a script and need to eject the cd-rom drive at some point. > Does anyone have a

RE: [PHP] IE7 => end tag?

2007-05-18 Thread Edward Kay
> > The extra comma at the end of the array definition is still > > valid syntax in > > PHP. Try for yourself: > > > > php -r '$a = array("a" => "foo", "b" => "bar",); print_r($a);' > > Interesting. Do you mean 'Valid Syntax' in that it 'works without error', > or 'Valid Syntax' in that 'it was

RE: [PHP] stay logged in for session

2007-05-18 Thread Edward Kay
> > HTTP Location headers require the full hostname, i.e. > > > > header("Location: http://www.example.com/page_to/redirect/to.php";); > > that is true, but usually it works with relative url-s also > > greets > Zoltán Németh > Just because some user agents handle non-standard data doesn't ma

RE: [PHP] stay logged in for session

2007-05-18 Thread Edward Kay
> -Original Message- > From: Joshua [mailto:[EMAIL PROTECTED] > Sent: 18 May 2007 12:09 > To: Edward Kay > Subject: RE: [PHP] stay logged in for session > > > On Fri, 2007-05-18 at 11:53 +0100, Edward Kay wrote: > > > > > -Original Message

RE: [PHP] stay logged in for session

2007-05-18 Thread Edward Kay
> -Original Message- > From: Joshua [mailto:[EMAIL PROTECTED] > Sent: 18 May 2007 11:43 > To: PHP.net > Subject: [PHP] stay logged in for session > > > hey guys, i am trying to set up a session so that when a user logs in, > they will stay logged in until they close their browser. i have

RE: [PHP] Setting Up A Simple Shopping Cart

2007-05-18 Thread Edward Kay
> -Original Message- > From: revDAVE [mailto:[EMAIL PROTECTED] > Sent: 18 May 2007 01:33 > To: php php > Subject: Re: [PHP] Setting Up A Simple Shopping Cart > > > On 5/17/2007 7:05 AM, "revDAVE" <[EMAIL PROTECTED]> wrote: > > > Hello folks, > > > > I am a PHP NEWBIE. > > > > - I have the

RE: [PHP] IE7 => end tag?

2007-05-18 Thread Edward Kay
> -Original Message- > From: Jim Moseby [mailto:[EMAIL PROTECTED] > Sent: 17 May 2007 21:29 > To: 'rauhspund'; php-general@lists.php.net > Subject: RE: [PHP] IE7 => end tag? > > > > > > #-- .meta info > > include("../plugins/lib/pluginmetadata.php"); > > $_cached = !empty($_POST); > > ewi

RE: [PHP] Tipos about which CMS use

2007-05-18 Thread Edward Kay
> Hi there, > > I'd like to replace my 'intranet' site with a CMS system to speed up > the edit process. Some of my requirements are : > > - written in PHP :) > - mysql based > - documented/'well structured' - to allow development of customizations > - ability to define which pages or sections

RE: [PHP] PHP 5.2 array() == null

2007-05-15 Thread Edward Kay
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 15 May 2007 16:48 > To: php-general@lists.php.net > Subject: [PHP] PHP 5.2 array() == null > > > Hi people > > i was just curios to ask whether > > array() == null should always return true. and then why > > i

Re: [PHP] Need a new shared host with php

2007-05-10 Thread Edward Kay
Al wrote: I'm looking for a shared host with an up-to-date php5, and one who at least tries to keep it relatively current. Needs are modest. Just need good ftp access, cgi-bin, shell, etc. Any suggestions. I'm looking at Host Monster, anyone have experience with them? Thanks... Check out

RE: [PHP] Ajax Developer

2007-05-09 Thread Edward Kay
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > On Wed, 2007-05-09 at 10:23 -0500, Edward Vermillion wrote: > > On May 9, 2007, at 10:12 AM, Stut wrote: > > > > > Efrain Sarmiento wrote: > > >> AJAX Developer (Web Designer / Developer). MUST HAVE: 1 year AJAX >

RE: [PHP] Ajax?

2007-05-09 Thread Edward Kay
> -Original Message- > From: Emil Edeholt [mailto:[EMAIL PROTECTED] > Sent: 09 May 2007 16:05 > To: php-general@lists.php.net > Subject: [PHP] Ajax? > > > Hi! > > What do you guys use to develop ajax applications and do you have any > good articles on the subject? > > I've just about fini

RE: [PHP] Isset Errors

2007-05-09 Thread Edward Kay
> -Original Message- > From: Davide Bernard [mailto:[EMAIL PROTECTED] > Sent: 09 May 2007 15:18 > To: php-general@lists.php.net > Subject: [PHP] Isset Errors > > > Anyone got any suggestions on getting rid of these errors below? > > > [Wed May 09 08:59:05 2007] [error] [client 192.168

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Edward Kay
> -Original Message- > From: Fredrik Thunberg [mailto:[EMAIL PROTECTED] > Sent: 04 May 2007 15:31 > To: Edward Kay > Cc: php-general@lists.php.net > Subject: Re: [PHP] Selecting a special row from the database > > Edward Kay skrev: > > > >> -O

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Edward Kay
> -Original Message- > From: Alister Bulman [mailto:[EMAIL PROTECTED] > Sent: 04 May 2007 15:07 > To: php-general@lists.php.net > Subject: Re: [PHP] Selecting a special row from the database > > > On 04/05/07, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote: > > > I'm building a news display pag

RE: [PHP] Selecting a special row from the database

2007-05-04 Thread Edward Kay
> -Original Message- > From: Marcelo Wolfgang [mailto:[EMAIL PROTECTED] > Sent: 04 May 2007 14:37 > To: php-general@lists.php.net > Subject: [PHP] Selecting a special row from the database > > > Hi all, > > I'm building a news display page for a website, and since the user has 2 > ways to

RE: [PHP] passing GET via include

2007-05-04 Thread Edward Kay
> -Original Message- > From: Mark Smith [mailto:[EMAIL PROTECTED] > Sent: 04 May 2007 08:23 > Hello all, > Is there a way to allow the passing of variables to included scripts > using the GET method, for example include"file.php?name=person"; or is > there another method of including files

RE: [PHP] Re: What does "<<<" mean?

2007-05-01 Thread Edward Kay
<<< END some code END >> Bash redirection... :) > Syntax error ;) Key stuck on keyboardd :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Parsing CSV files

2007-04-27 Thread Edward Kay
> When I searched for "csv" against on php.net I got redirected to > http://us2.php.net/manual/en/function.gzeof.php. That isn't exactly > obvious is it? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > OK, sorry for being critica

RE: [PHP] Recursive function for array task?

2007-04-27 Thread Edward Kay
> -Original Message- > From: Stewart Macdonald [mailto:[EMAIL PROTECTED] > Sent: 27 April 2007 10:13 > To: php-general@lists.php.net > Subject: [PHP] Recursive function for array task? > > > Hi all, > > I've got a bit of a logic problem that I can't figure out. > > I've got an array: > >

RE: [PHP] Find a what class a variable is

2007-04-27 Thread Edward Kay
> -Original Message- > From: John Comerford [mailto:[EMAIL PROTECTED] > Sent: 27 April 2007 08:41 > To: php-general@lists.php.net > Subject: [PHP] Find a what class a variable is > > > Hi Folks, > > Is is possible to detect what class a variable is eg. > > $JC1 = new Button(); > $JC2 = new

Re: [PHP] Parsing CSV files

2007-04-26 Thread Edward Kay
Todd Cary wrote: Is there a function that can parse a comma delimited file into an array? Todd fgetcsv - http://uk.php.net/fgetcsv Did you even try looking in the manual? Edward -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] a little math

2007-04-20 Thread Edward Kay
> > maybe someone can figure why sometimes i get negative values for seconds.. > > $job['finished'] and $job['finished'] are both unix timestamp. > i subtract both to get how many seconds some thing took.. well you > should be able to read the rest. sometimes it works fine but other times > i get n

[PHP] Decoding from unknown charsets (inc. ks_c_5601-1987)

2007-04-10 Thread Edward Kay
I have an app that stores email messages in a database. The app and DB are UTF-8 but obviously the emails can be in a variety of character sets. Most can be converted easily using mb_convert_encoding or iconv but I have some emails encoded as ks_c_5601-1987, which neither of these two functions han

RE: [PHP] tabbed navegation PHP

2007-03-30 Thread Edward Kay
> -Original Message- > From: Dwayne Heronimo [mailto:[EMAIL PROTECTED] > Sent: 30 March 2007 14:06 > To: php-general@lists.php.net > Subject: [PHP] tabbed navegation PHP > > > Dear All, > > I have made a tabbed navegation with CSS. And if you set > class="active" to > one of the tabs, it

RE: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Edward Kay
> -Original Message- > From: Dwayne Heronimo [mailto:[EMAIL PROTECTED] > Dear All, > > I am very new to programming. I want to make a preview text that would > display only a part of the text that is a text field in a database. > > //Begin Make preview string > > $minitxt = $row_show_cat

RE: [PHP] POST a variable

2007-03-23 Thread Edward Kay
> -Original Message- > From: Németh Zoltán [mailto:[EMAIL PROTECTED] > 2007. 03. 23, péntek keltezéssel 10.45-kor Dan Shirah ezt írta: > > Okay, I feel like the correct answer to this is about 2mm back > in my grey > > matter. > > > > 1. I have a query that pulls the last row number when

RE: [PHP] read only texbox to html with php

2007-03-21 Thread Edward Kay
2007. 03. 21, szerda keltezéssel 11.51-kor Ross ezt írta: > I have a readonly textbox that gets mailed as a newsletter. The text is a > standard covering letter. The problem is when I try and convert it to html > it doesn't work It is inserted into a variable via a form textarea > $mail_text.

RE: [PHP] Running PHP on a windows server-your views

2007-03-19 Thread Edward Kay
> On 3/19/07, Edward Kay <[EMAIL PROTECTED]> wrote: > > > On 3/19/07, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > > > > HI all. > > > > > > > > I would like some honest answers and if you have any experience with >

RE: [PHP] Running PHP on a windows server-your views

2007-03-19 Thread Edward Kay
> On 3/19/07, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > > HI all. > > > > I would like some honest answers and if you have any experience with > > problems or no problems running PHP on a windows server. > > > > Basically we are interested to know if there are any problems/security > > issues/sta

  1   2   >