php-general Digest 18 Sep 2005 20:10:27 -0000 Issue 3689

2005-09-18 Thread php-general-digest-help
php-general Digest 18 Sep 2005 20:10:27 - Issue 3689 Topics (messages 222588 through 222599): Re: email validation regex 222588 by: bruce Re: A dumb question - Regarding a php cms 222589 by: Dragan Stanojevic - Nevidljivi Re: monthly statistics 222590 by: John

Re: [PHP] scrolling the table

2005-09-18 Thread viraj
this is not a php question.. why don't you google a little bit before make any posts to the list? http://www.google.com/search?hl=enq=DIV+tags anyway, try CSS, you can achieve it using DIV and SPAN tags. do a little RD work. happy scrolling! ~viraj. On 9/16/05, R. Vijay Daniel [EMAIL

Re: [PHP] It's A Windows World

2005-09-18 Thread viraj
no! it's not a Windows World anymore.. ;-) http://news.netcraft.com/archives/web_server_survey.html ~viraj. On 9/16/05, Jay Blanchard [EMAIL PROTECTED] wrote: Howdy group! As many of you may or may not know, I made the switch to another company recently and it is a Windows shop

Re: [PHP] imap_open

2005-09-18 Thread viraj
did you tried telneting to host's 143 port? if you are getting a response from the IMAP server you better go through the php-imap requirements, it's here.. http://www.php.net/imap ? I have got the address and the port to the imap server right, but I think that the imap server requires some

[PHP] mysql table row updation based on user input.

2005-09-18 Thread babu
Hi, i have a form for the user input with checkboxes and table rows for the user. The user can select the checkboxes which correspond to table rows in database. Depending on the selection of checkboxes i want to update the fields. For example:

Re: [PHP] It's A Windows World

2005-09-18 Thread Greg Donald
On 9/18/05, viraj [EMAIL PROTECTED] wrote: no! it's not a Windows World anymore.. ;-) http://news.netcraft.com/archives/web_server_survey.html And for those who need a second opinion: http://www.securityspace.com/s_survey/data/200508/index.html Not to mention it's very much a PHP world:

Re: [PHP] It's A Windows World

2005-09-18 Thread Ryan A
no! it's not a Windows World anymore.. ;-) http://news.netcraft.com/archives/web_server_survey.html And for those who need a second opinion: http://www.securityspace.com/s_survey/data/200508/index.html I would like to think I helped a bit in the above, I always tell my clients to go

[PHP] E-Mail

2005-09-18 Thread All PTC
Hi, Ive recently installed the php script on my website. It all works perfectly well except e-mails don't get through. E-mails don't ever get sent to new members, and when I try sending messages from my admin section they don't send either. Ive set-up the correct e-mail accounts and all details

Re: [PHP] It's A Windows World

2005-09-18 Thread Robert Cummings
On Sun, 2005-09-18 at 03:18, viraj wrote: no! it's not a Windows World anymore.. ;-) http://news.netcraft.com/archives/web_server_survey.html As much as I dislike Microsoft and its practices I bring bad news. The above only indicates that it's not an IIS world. There's no breakdown of

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-18 Thread Chris Shiflett
Robert Cummings wrote: I don't agree with your position that the above code is incorrect I think notices are fine for situations where you've probably screwed up. I'd rather PHP let me know than do nothing. I see this situation as being very similar to the following: ?php function

[PHP] Javscript embedding problem

2005-09-18 Thread Iggep
I realize this isn't exactly a PHP problem, but I'm hoping someone here can see whatever it is I'm evidently missing. The script works just fine in normal html, but refuses to run when I attempt to embed this in one of my php pages. Which leads me to believe I've made a formatting mistake of

RE: [PHP] Quick Poll: PHP 4 / 5

2005-09-18 Thread Carl Furst
Chris, You probably are aware that this comes from a C/C++ standard the '' before the variable means that you are passing by reference and not by value. If you are passing by reference, you are passing the address of a variable instead of the value of that variable. By passing the value of 3 the

[PHP] Re: E-Mail

2005-09-18 Thread John Taylor-Johnston
Show me your example.. I think you have to assign your smtp server in your php.ini too. All PTC wrote: Hi, Ive recently installed the php script on my website. It all works perfectly well except e-mails don't get through. E-mails don't ever get sent to new members, and when I try sending

[PHP] Re: Javscript embedding problem

2005-09-18 Thread John Taylor-Johnston
Try \countdown.js\ instead of single quotes ? //INCLUSION OF COUNTDOWN TIMER .trtd colspan=2SCRIPT language='JavaScript' SRC='countdown.js'/SCRIPTcenterscript type='text/javascript'countdown_clock(05, 11, 19, 08, 00, 1);/script/center/td/tr\n ./table\n -- PHP General Mailing List

[PHP] Re: mysql table row updation based on user input.

2005-09-18 Thread John Taylor-Johnston
Me thinks you have to name the checkboxes differently, otherwise the post variable will only take the last value it found, overwriting previous values. Otherwise they act like radioboxes. print TD style='border: 1pt solid black cell-padding: 3px'input type='checkbox' name=\id[]\

Re: [PHP] E-Mail

2005-09-18 Thread darren kirby
quoth the All PTC: Hi, Ive recently installed the php script on my website. It all works perfectly well except e-mails don't get through. E-mails don't ever get sent to new members, and when I try sending messages from my admin section they don't send either. Ive set-up the correct e-mail

Re: [PHP] Re: Javscript embedding problem

2005-09-18 Thread Iggep
John Taylor-Johnston wrote: Try \countdown.js\ instead of single quotes ? //INCLUSION OF COUNTDOWN TIMER .trtd colspan=2SCRIPT language='JavaScript' SRC='countdown.js'/SCRIPTcenterscript type='text/javascript'countdown_clock(05, 11, 19, 08, 00, 1);/script/center/td/tr\n ./table\n

Re: [PHP] Re: mysql table row updation based on user input.

2005-09-18 Thread Jasper Bryant-Greene
John Taylor-Johnston wrote: Me thinks you have to name the checkboxes differently, otherwise the post variable will only take the last value it found, overwriting previous values. Otherwise they act like radioboxes. print TD style='border: 1pt solid black cell-padding: 3px'input

[PHP] Way for script to discover it's path?

2005-09-18 Thread Ken Tozier
I'm working on an auto-include mechanism for some complex scripts and rather than have all the paths to the various components hard coded, I'd like to have the script walk up the hierarchy looking for it's specified includes. Is it possible to do this? I looked at the various file related

Re: [PHP] Way for script to discover it's path?

2005-09-18 Thread Jordan Miller
Hey Ken, The variable you want is already a superglobal known as $_SERVER ['SCRIPT_FILENAME']. See: http://www.php.net/reserved.variables Do something like this to get started: echo $_SERVER['SCRIPT_FILENAME']; Good luck. Jordan On Sep 18, 2005, at 4:58 PM, Ken Tozier wrote: I'm

Re: [PHP] Way for script to discover it's path?

2005-09-18 Thread Ken Tozier
Thanks Jordan, that did the trick! Ken On Sep 18, 2005, at 6:40 PM, Jordan Miller wrote: Hey Ken, The variable you want is already a superglobal known as $_SERVER ['SCRIPT_FILENAME']. See: http://www.php.net/reserved.variables Do something like this to get started: echo

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-18 Thread Robert Cummings
On Sun, 2005-09-18 at 16:10, Chris Shiflett wrote: Robert Cummings wrote: I don't agree with your position that the above code is incorrect I think notices are fine for situations where you've probably screwed up. I'd rather PHP let me know than do nothing. I see this situation as being

[PHP] Re: headers .vs javascript location.href

2005-09-18 Thread Tim Van Wassenhove
On 2005-09-17, bruce [EMAIL PROTECTED] wrote: need to talk to someone to figure out how/what i need to do to use the php 'headers' function, as opposed to the javascript 'location.href'. i've tried to implement the buffering functions, but still get the same error... Now, if you read the

[PHP] Re: [php]: monthly statistics

2005-09-18 Thread Tim Van Wassenhove
On 2005-09-18, John Taylor-Johnston [EMAIL PROTECTED] wrote: Hi, Where could I find a monthly statistic plugin that can take my `StampDate` field and generate monthy graphs of my primary key `id`? I'm sure I,m not the first to ask? ;-) CREATE TABLE `counter` ( `id` int(10) NOT NULL

Re: [PHP] Re: php guru!!!!!

2005-09-18 Thread André Medeiros
OK, this might sound a bit harsh, but try using Smarty or other templating engine. Really. It will help you a lot in this sittuation. If you decide to run through that path, let me know so I can help you. If not, we'll figure something else :) On 9/18/05, bruce [EMAIL PROTECTED] wrote: andre..

[PHP] Re: Way for script to discover it's path?

2005-09-18 Thread Tim Van Wassenhove
On 2005-09-18, Ken Tozier [EMAIL PROTECTED] wrote: I'm working on an auto-include mechanism for some complex scripts and rather than have all the paths to the various components hard coded, I'd like to have the script walk up the hierarchy looking for it's specified includes. Is it

Re: [PHP] Re: headers .vs javascript location.href

2005-09-18 Thread Jasper Bryant-Greene
Tim Van Wassenhove wrote: On 2005-09-17, bruce [EMAIL PROTECTED] wrote: need to talk to someone to figure out how/what i need to do to use the php 'headers' function, as opposed to the javascript 'location.href'. i've tried to implement the buffering functions, but still get the same error...

Re: [PHP] Encoding or obfuscating tool

2005-09-18 Thread Terence
ioncube or Turck MMCache (free) Anas Mughal wrote: We need to protect our intellectual property. We wish to encode or obfuscate our PHP code before delivering it to a client. Could someone recommend an free PHP encoder or obfuscating tool. (This is a very small project so we can NOT justify

Re: [PHP] Encoding or obfuscating tool

2005-09-18 Thread Rory Browne
On 9/17/05, Anas Mughal [EMAIL PROTECTED] wrote: We need to protect our intellectual property. We wish to encode or obfuscate our PHP code before delivering it to a client. Wishing to, and needing to are two different things. Could someone recommend an free PHP encoder or obfuscating tool.

[PHP] Re: [php]: monthly statistics

2005-09-18 Thread John Taylor-Johnston
Tim Van Wassenhove wrote: On 2005-09-18, John Taylor-Johnston [EMAIL PROTECTED] wrote: Hi, Where could I find a monthly statistic plugin that can take my `StampDate` field and generate monthy graphs of my primary key `id`? I'm sure I,m not the first to ask? ;-) CREATE TABLE `counter` (

Re: [PHP] Encoding or obfuscating tool

2005-09-18 Thread J B
On 9/18/05, Rory Browne [EMAIL PROTECTED] wrote: Personally I would be more interested in hearing how you can justify obfuscating code before delivering it to a client. For the same reasons that most commercial software houses that distribute compiled software in binary form don't include the

RE: [PHP] Re: headers .vs javascript location.href

2005-09-18 Thread bruce
regardless... i've tried to resolve my issue using the buffering functions and still get the same error... if someone wants to look/examine my code, i'm more than willing to let you see it... it's a test app so there's nothing of critical importance. -bruce -Original Message- From:

Re: [PHP] Re: headers .vs javascript location.href

2005-09-18 Thread Jasper Bryant-Greene
bruce wrote: i've tried to resolve my issue using the buffering functions and still get the same error... if someone wants to look/examine my code, i'm more than willing to let you see it... it's a test app so there's nothing of critical importance. Please don't top-post. Fire the

Re: [PHP] headers .vs javascript location.href

2005-09-18 Thread Chris Shiflett
bruce wrote: need to talk to someone to figure out how/what i need to do to use the php 'headers' function, as opposed to the javascript 'location.href'. i've tried to implement the buffering functions, but still get the same error... is there someone that i can talk to about this, who ha

Re: [PHP] Quick Poll: PHP 4 / 5

2005-09-18 Thread Chris Shiflett
Carl Furst wrote: Chris, You probably are aware that this comes from a C/C++ standard the '' before the variable means that you are passing by reference and not by value. You are probably not aware that I'm not asking a question. :-) Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy

[PHP] Mail-format...

2005-09-18 Thread Gustav Wiberg
Hi there! I wonder why I get get these kind of mails (look down below in this mail) I recieve them sometimes... ...I have a code like this... $name = $_POST[frmNamn]; $email = $_POST[frmEpost]; //Send mail that there is a new member // mail([EMAIL PROTECTED],Ny medlem - Stammis

Re: [PHP] Re: headers .vs javascript location.href

2005-09-18 Thread Gustav Wiberg
- Original Message - From: bruce [EMAIL PROTECTED] To: 'Jasper Bryant-Greene' [EMAIL PROTECTED]; php-general@lists.php.net Sent: Monday, September 19, 2005 6:14 AM Subject: RE: [PHP] Re: headers .vs javascript location.href regardless... i've tried to resolve my issue using the

Re: [PHP] [Off] How much time should this take?

2005-09-18 Thread Rory Browne
I must admit that this seems a little excessive to me. I don't work much with RH, but what is involved: - install a minimal redhat(I've installed other distros in as little as 15 mins. An hour seems reasonable) - configure/install apache ( assuming he is using RPM's, which I'd recommend for