[PHP] Regex question: replacing incidences of character when not enclosed within HTML tags?

2005-05-28 Thread Murray @ PlanetThoughtful
Hi All, I have content that contains several lengthy hyphenated sentences, such as: This-is-a-sentence-in-which-all-the-words-are-hyphenated. I've noticed that some (maybe all?) browsers, particularly Firefox, will not wrap long strings of hyphenated words when they are contained in a DIV tag --

[PHP] CLI: unable to exec shell commands

2005-05-28 Thread Andy Pieters
Hi all I have several scripts that stoped working. All those scripts have in common that they call shell commands. To find out what was going on, I did a little test cat << "?>" | php exec test sh: /usr/local/php/bin/dir: No such file or directory As you can see it is trying to call sh with

[PHP] Questionary Development

2005-05-28 Thread ...helmut
I have a form that contains 100 questions. To make it easier on the user, I will divide it into 5 sections (20 questions per section), then all the information will be written to a db. What is the best way to carry along through the pages the information that has already been submitted? Cookies?

RE: [PHP] DOM: browse childnodes but not recursively

2005-05-28 Thread Jared Williams
> -Original Message- > From: Victor Spång Arthursson [mailto:[EMAIL PROTECTED] > Sent: 27 May 2005 17:25 > To: php-general@lists.php.net > Subject: [PHP] DOM: browse childnodes but not recursively > > Ciao! > > I really hope someone can help me on this, since I have been > putting in

[PHP] Questionary Development

2005-05-28 Thread ...helmut
I have a form that contains 100 questions. To make it easier on the user, I will divide it into 5 sections (20 questions per section), then all the information will be written to a db. What is the best way to carry along through the pages the information that has already been submitted? Cookies?

RE: [PHP] Sorting Objects in an array by object properties

2005-05-28 Thread Jared Williams
> Hello list, > > I have an array which holds some objects. Each object > represent elements from an email header in a given mailbox. > Each object has properties like "from", "sendtime", "subject" etc. > > I want to sort the order of the objects in the array by their > attribute "sendtime" i

[PHP] Questionary Development

2005-05-28 Thread ...helmut
I have a form that contains 100 questions. To make it easier on the user, I will divide it into 5 sections (20 questions per section), then all the information will be written to a db. What is the best way to carry along through the pages the information that has already been submitted? Cookies?

[PHP] Questionary Development

2005-05-28 Thread ...helmut
I have a form that contains 100 questions. To make it easier on the user, I will divide it into 5 sections (20 questions per section), then all the information will be written to a db. What is the best way to carry along through the pages the information that has already been submitted? Cookies? Wr

Re: [PHP] cybercash as a shared object

2005-05-28 Thread Bill Shupp
Bill Shupp wrote: I need to install the cybercash module on a Debian Sarge system. I really want to keep Debian's PHP packages, and just build this as a shared module. At least one post in the archives indicates that this is possible, as does one changelog entry. However, no specifics were o

[PHP] webmaster@jnsolutions.co.uk

2005-05-28 Thread Ryan A
Everytime I write to the list or reply to the list I get an email from this #%#"¤&! saying: --- We are currently away on holiday, until 16th June. I will respond with your email on my return. Thanks James Nunnerley --- Can someone unsub him please? Its reall

Re: [PHP] Re: Free penetration test

2005-05-28 Thread Ryan A
> > mostly in Swedish...I can give you a > "star > > account" (Star accounts are the > > paid accounts) for you to login and test the site, but do you think you > > could still test it since its mostly > > in Swedish? > Ja, jeg tror jeg kan klare det. Sproget er ret ligegyldigt, jeg checker > b

Re: [PHP] Re: Free penetration test

2005-05-28 Thread Rasmus Lerdorf
Ryan A wrote: > That is extremly generious of you as I didnt really think you would have the > time considering the > amount of projects,books etc you are involved with (yep, I read your CV on > your site :-D ), but > I would like to take you up on your offer as I am sure to learn something > from

Re: [PHP] Re: Free penetration test

2005-05-28 Thread Ryan A
Hi, > > Is it bad to give field names the same name as their database > > counterpart? i.e. In a database the first name column might be known as > > 'fname'. Should a form field called 'fname' NOT be created? I actually had the same question a little while ago and after doing some reading it lef

Re: [PHP] Copy sent mail in a mailbox folder PS

2005-05-28 Thread Reto
Hi again, Anyway, and that is the problem, after sending the mail I want to save a copy of the mail in an IMAP folder called "Sent". Just found the imap_append() which will solve the problem. If someone has experience with mail_append() in conjunction with PEAR Mail_Mime I would be please if

[PHP] Returned mail: see transcript for details

2005-05-28 Thread Mail Delivery Subsystem
ALERT! This e-mail, in its original form, contained one or more attached files that were infected with a virus, worm, or other type of security threat. This e-mail was sent from a Road Runner IP address. As part of our continuing initiative to stop the spread of malicious viruses, Road Runner s

[PHP] Copy sent mail in a mailbox folder

2005-05-28 Thread Reto
Hi list, I'm sending mails with PEAR::Mail / PEAR::Mail_Mime or with PHPMailer (http://phpmailer.sf.net). The final solution will implemented depending on which implementation better fits my needs. Anyway, and that is the problem, after sending the mail I want to save a copy of the mail in a

Re: [PHP] Compiling Phpcap

2005-05-28 Thread Paul Waring
On 5/28/05, Gary C. New <[EMAIL PROTECTED]> wrote: > I am trying to compile phpcap-0.2e with php-4.2.3 and get the following > configure error: Is there a *really* good reason why you're still running 4.2.3? It's over two years out of date and a lot of bugs and security holes have been fixed since

Re: [PHP] how to convert char into number

2005-05-28 Thread Burhan Khalid
Jeremy Reynolds wrote: What function do I use to convert an ASCII character into it's equivalent number? http://php.net/ord -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MESSAGE COULD NOT BE DELIVERED

2005-05-28 Thread Bounced mail
Message could not be delivered -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using require

2005-05-28 Thread Mike Bellerby
If your php is using a permanant connection then it will be the same connection otherwise it will be a new connection as the connection will be droped at the end of the thread. As I understand it anyway!! Hope this helps! Mike Cima wrote: hi all, i have my web site working something like

Re: [PHP] Getting parameters from the URL

2005-05-28 Thread Burhan Khalid
Richard Davey wrote: Hello Mário, Friday, May 20, 2005, 4:48:07 PM, you wrote: MG> http://www.bar.com/[EMAIL PROTECTED]&code=vu782 MG> for testing, but it does print nothing. So, i'm not getting the MG> parameters from the URL. I have register_globals=Off in php.ini Jumping in a bit late her