php-general Digest 4 Feb 2006 12:56:13 -0000 Issue 3944

2006-02-04 Thread php-general-digest-help
php-general Digest 4 Feb 2006 12:56:13 - Issue 3944 Topics (messages 229858 through 229870): Re: Truncate words in multiple paragraphs 229858 by: php-mail Re: Passing Credentials 229859 by: Richard Lynch Re: Till Drawers 229860 by: Kevin Waterson Re: Other than

[PHP] Re: [Off] Cheap SSL certificates?

2006-02-04 Thread John Nichel
Richard Lynch wrote: And in the real world, where browsers just blindly chase down CAs and the basic Security Model is you pay us $200, and we make sure you are who you say you are, and then we trust you what real difference does it make? Users can remove untrustworthy CA certs from

[PHP] Serious bug ?

2006-02-04 Thread Bogdan Ribic
Hi all, I've found a strange bug with extract($GLOBALS, EXTR_REFS), and it only shows up if you try to access a non-existent variable or array member before that. Here's a demo script: // Uncomment this line to see the problem // $return = @$_GET['xx']; function extr_globals() {

Re: [PHP] xml to array

2006-02-04 Thread Brian V Bonini
On Fri, 2006-02-03 at 16:23, Richard Lynch wrote: I've got my money on the XML spec REQUIRING an alphabetic start to tagnames, and subsequent characters can be alphanumeric... In other words, it doesn't work because 0 is not a valid XML tag. Yeah, that was my instinct too... Just could not

Re: [PHP] REGEX query

2006-02-04 Thread phplists
Thanks for the options David. I think I'll go for the last option as I'm determined to get to grips with REGEX, and your first choice of REGEX won't work for me as the 'RV-6' bit can be too variable with what it contains, whereas the \(EX\) bit IS more constant...it's only the EX bit that

[PHP] system('bell'); ?

2006-02-04 Thread tedd
I simple wrote a small C program that basically sent a bell, 0x07 and it opened my cash drawer. In php I just did system('bell'); and it worked fine. Kevin Hi: Interesting! The statement system('bell'); is new to me. If I'm writing code on a hosted domain, and using that statement, who's

[PHP] Using API in other languages

2006-02-04 Thread Eli
Hi, I have a class in PHP which offers some API functions. I want to access this API with other languages (such as C/C++, Java, Perl, etc), so the functions will run from PHP. How can I do that? -thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] system('bell'); ?

2006-02-04 Thread Gerry Danen
bell is his C program... :) Outputs an ascii 7 (bell) at the machine where it runs. It basically outputs a character to stdout or stderr. He probably has that machine next to his cash drawer... Gerry On 2/4/06, tedd [EMAIL PROTECTED] wrote: I simple wrote a small C program that basically

[PHP] Arrays

2006-02-04 Thread Philip W.
Sorry if this question seems stupid - I've only had 3 days of PHP experience. When using the following string format, I get an error from PHP. $text['text'] = String Text ; Can someone help me? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] system('bell'); ?

2006-02-04 Thread Dan Harrington
Ask not for whom the bell tolls, it tolls for thee! -Original Message- From: Gerry Danen [mailto:[EMAIL PROTECTED] Sent: Saturday, February 04, 2006 12:00 PM To: tedd Cc: php-general@lists.php.net Subject: Re: [PHP] system('bell'); ? bell is his C program... :) Outputs an ascii 7

RE: [PHP] system('bell'); ?

2006-02-04 Thread php-mail
Suppose someone had to :) -Original Message- From: Dan Harrington [mailto:[EMAIL PROTECTED] Sent: 04 February 2006 19:50 To: php-general@lists.php.net Subject: RE: [PHP] system('bell'); ? Ask not for whom the bell tolls, it tolls for thee! -Original Message- From: Gerry

[PHP] Re: Arrays

2006-02-04 Thread Eli
Philip W. wrote: Sorry if this question seems stupid - I've only had 3 days of PHP experience. When using the following string format, I get an error from PHP. $text['text'] = String Text ; Can someone help me? This seems ok and should not give any error. Mabye the error is of something

Re: [PHP] Arrays

2006-02-04 Thread Paul Novitski
At 11:12 AM 2/4/2006, Philip W. wrote: When using the following string format, I get an error from PHP. $text['text'] = String Text ; Hi Philip, If that's literally a line from your script, my guess is that text is a reserved word and can't be used as a variable name. Try $sText or

[PHP] need help to update a mysql table from dynamic form

2006-02-04 Thread Patrick Aljord
could someone please help me on that one? http://hashphp.org/pastebin?pid=6156 basically this is how I do: I display a mysql table in an html table and I put each value in an input text box. At the bottom I put a submit button to update changes. My question is how do I update everything knowing

Re: [PHP] Using API in other languages

2006-02-04 Thread Rory Browne
I could be wrong on this, but I think your best hope is something using web services like SOAP, or XML-RPC. On 2/4/06, Eli [EMAIL PROTECTED] wrote: Hi, I have a class in PHP which offers some API functions. I want to access this API with other languages (such as C/C++, Java, Perl, etc), so

Re: [PHP] system('bell'); ?

2006-02-04 Thread Kevin Waterson
This one time, at band camp, tedd [EMAIL PROTECTED] wrote: Interesting! The statement system('bell'); is new to me. If I'm writing code on a hosted domain, and using that statement, who's bell am I ringing? The server bell, not the client. I used this method because the cash drawer was

Re: [PHP] PHP hosting with multiple domains?

2006-02-04 Thread Peter Hoskin
Russell Jones wrote: Host-Gator has a fantastic, cheap reseller program, although you aren't sharing space within 1 account. My real recommendation would be ServerPronto though. $29.95/mo for a dedicated with 40gig space. Lovely cogent bandwidth too... you get what you pay for, which in this

Re: [PHP] need help to update a mysql table from dynamic form

2006-02-04 Thread Sumeet
Patrick Aljord wrote: could someone please help me on that one? http://hashphp.org/pastebin?pid=6156 basically this is how I do: I display a mysql table in an html table and I put each value in an input text box. At the bottom I put a submit button to update changes. My question is how do I

Re: [PHP] Arrays

2006-02-04 Thread Hugh Danaher
Philip, You'll often get an error call on a line when there is a problem on the previous line. Say, you forgot to end a line with a semicolon, then it will error the next line. Hugh - Original Message - From: Philip W. [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday,

[PHP] Re: Using API in other languages

2006-02-04 Thread Eli
Is there any other way of doing this without technology like web services? mabye a glue extension between those languages? Rory Browne wrote: I could be wrong on this, but I think your best hope is something using web services like SOAP, or XML-RPC. On 2/4/06, Eli [EMAIL PROTECTED] wrote:

[PHP] Reverse Engineering of Smarty

2006-02-04 Thread Zareef Ahmed
Hi All, Accidentally I got deleted all of my php code in one of my application, I was using smarty and its compiled directory has the code in its native format. Is there any way so I can do some type of reverse engineering to bring back my original code? Any suggestion? Thanks in advance.