RE: [PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net

2008-01-08 Thread Wolf
Looks like your cron job is set for every minute Don! Please disable it until you get the kinks worked out of it! -Original Message- From: Daniel Brown <[EMAIL PROTECTED]> Sent: Friday, January 04, 2008 7:24 PM To: PostTrack [Dan Brown] <[EMAIL PROTECTED]> Cc: php-general@lists.php.net S

RE: [PHP] client time zone?

2008-01-08 Thread Wolf
Sure, have a look on google for php: time zone class and you should be good to go! What code have you written so far to try using the data from the server? Wolf -Original Message- From: jekillen <[EMAIL PROTECTED]> Sent: Saturday, January 05, 2008 10:51 PM To: PHP General list Subject

Re: [PHP] MSSQL

2008-01-08 Thread Andrew Ballard
On Jan 8, 2008 8:58 PM, Shelley Shyan <[EMAIL PROTECTED]> wrote: > Did you check that you have enabled MSSQL extension? > That is, > On XP system, you should have this line 'extension=php_msql.dll' in php.ini > file and the leading ';' be removed. > On Ubuntu, you should also install mssql extensi

Re: [PHP] ereg help!

2008-01-08 Thread steve
On Tuesday 08 January 2008 20:30:29 Chris wrote: >I usually use preg_* functions so here's my go: >echo preg_replace('/\.php$/', '.com', $file); >The '$' at the end makes sure it's a .php file and won't cause problems >with files like xyz.php.txt . >(otherwise I'd just use a straight str_replac

Re: [PHP] ereg help!

2008-01-08 Thread Chris
steve wrote: I have a dir of html files that link to websites, i would like to read the dir and print a list of those files as a link. Which the script i have does. I would like to take this one step further and replace the ".html" extension with ".com" so it winds up being: website.com instea

Re: [PHP] ereg help!

2008-01-08 Thread Casey
On Jan 8, 2008, at 5:45 PM, steve <[EMAIL PROTECTED]> wrote: I have a dir of html files that link to websites, i would like to read the dir and print a list of those files as a link. Which the script i have does. I would like to take this one step further and replace the ".html" extension

[PHP] ereg help!

2008-01-08 Thread steve
I have a dir of html files that link to websites, i would like to read the dir and print a list of those files as a link. Which the script i have does. I would like to take this one step further and replace the ".html" extension with ".com" so it winds up being: website.com instead of website.ht

RE: [PHP] MSSQL

2008-01-08 Thread Shelley Shyan
Did you check that you have enabled MSSQL extension? That is, On XP system, you should have this line 'extension=php_msql.dll' in php.ini file and the leading ';' be removed. On Ubuntu, you should also install mssql extension, which is a little more complex. There should be no problem once you h

Re: [PHP] [FCK 2.5.1] - forbidden error 403 - XML request error

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 6:22 PM, Jim Lucas <[EMAIL PROTECTED]> wrote: > Could be a jailed apache install :) Touche, salesman. I was thinking too one-dimensionally. Good call. -- Daniel P. Brown Senior Unix Geek and #1 Rated "Year's Coolest Guy" By Self Since 1979. -- PHP General Mailing Lis

RE: [PHP] [FCK 2.5.1] - forbidden error 403 - XML request error

2008-01-08 Thread TS
Thanks Jim, Turned out to be mod security. Geezus Thanks again -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 08, 2008 6:23 PM To: Daniel Brown Cc: TS; php-general@lists.php.net Subject: Re: [PHP] [FCK 2.5.1] - forbidden error 403 - XML request error

Re: [PHP] Can't find .php3 files

2008-01-08 Thread Jim
Chris wrote: I think you misunderstood. I have lots of file with things like require "admin.php3" But there is no admin.php3 anywhere. There is however a file admin.php. Since this works on the old server then something on that system is translating a request for a .php3 file to .php I'm g

Re: [PHP] [FCK 2.5.1] - forbidden error 403 - XML request error

2008-01-08 Thread Jim Lucas
Daniel Brown wrote: On Jan 8, 2008 4:53 PM, TS <[EMAIL PROTECTED]> wrote: Hello, Any help would be immensely appreciated. Clicking on the Image upload button > browse server button I get Forbidden error 403 - XML request error - You don't have permission to access /fckeditor/editor/filemana

Re: [PHP] Can't find .php3 files

2008-01-08 Thread Jim Lucas
Jim wrote: Chris wrote: I'm trying to help a friend migrate his application to php 5 from another system. The problem seems to be that he references files (require, include, etc) that have a .php3 extension, however there are no files in those locations with the .php3. There are files with

[PHP] Can a php script authorize itself to a digest auth protected server?

2008-01-08 Thread Steven Stromer
Hi, I'm trying to edit a php application that generates postscript files from html pages pages, html2ps/pdf (http://www.tufat.com/ script19.htm), to automatically authenticate with an apache server using digest authentication. Conceptually, while any visiting client can interact with the a

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 5:18 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > > Silly Rabbit! 'die' is NOT function - it's a construct. In fact, > > it's an alias to 'exit'. > > Crap! I didn't mean it's an "alias"! It's "equivalent". Whatever that > means... Whew. Is it only Tuesday? Bite my shiny meta

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 5:04 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > I guess this ruins my impression of you being this 28 y/o > programmer... grandpa! ;) > > Hehehe No, they just start raising families at a very young age. Tedd is only about seven years older than his children. -- Daniel P

Re: [PHP] php form help...

2008-01-08 Thread tedd
At 4:04 PM -0600 1/8/08, Philip Thompson wrote: On Jan 8, 2008, at 11:52 AM, tedd wrote: As I tell my grand-kids, half the people you meet everyday are below average intelligence. Cheers, tedd I guess this ruins my impression of you being this 28 y/o programmer... grandpa! ;) Yeah, I'm a

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Philip Thompson
On Jan 8, 2008, at 4:16 PM, Philip Thompson wrote: On Jan 8, 2008, at 3:57 PM, Daniel Brown wrote: On Jan 8, 2008 4:40 PM, Jack Mays <[EMAIL PROTECTED]> wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missin

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Philip Thompson
On Jan 8, 2008, at 3:57 PM, Daniel Brown wrote: On Jan 8, 2008 4:40 PM, Jack Mays <[EMAIL PROTECTED]> wrote: funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) Actually, exit is

[PHP] MSSQL

2008-01-08 Thread Alexis
Hi, I am pulling my hair out trying to set up PHP to connect to SQL Server. The office server, running Server 2003, has SQL Server on it. One of my computers is running XP with Apache 2.2 and PHP 5.2.3. Another one has Ubuntu Gusty Gibbon, Apache 2.2 and PHP 5.2.3 Ideally I would like to get

Re: [PHP] php form help...

2008-01-08 Thread Philip Thompson
On Jan 8, 2008, at 11:52 AM, tedd wrote: At 11:17 AM -0600 1/8/08, Jack Mays wrote: > You think someone who didn't even know how to get post data in the first place knows how to properly sanitize it? :) One would think that the OP would lookup "sanitize" or some form of that search in goo

Re: [PHP] [FCK 2.5.1] - forbidden error 403 - XML request error

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 4:53 PM, TS <[EMAIL PROTECTED]> wrote: > Hello, > > Any help would be immensely appreciated. > > Clicking on the Image upload button > browse server button > > I get > > Forbidden error 403 - XML request error - > > You don't have permission to access > /fckeditor/editor/filemanager/

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 4:40 PM, Jack Mays <[EMAIL PROTECTED]> wrote: > > > > > funnily enough exit is even listed as a function. > > > > > > Sure it is: http://us2.php.net/manual/en/function.exit.php > > Unless I'm missing a point here or something. :) Actually, exit is never a function. It's a langu

[PHP] [FCK 2.5.1] - forbidden error 403 - XML request error

2008-01-08 Thread TS
Hello, Any help would be immensely appreciated. Clicking on the Image upload button > browse server button I get Forbidden error 403 - XML request error - You don't have permission to access /fckeditor/editor/filemanager/browser/default/browser.html on this server. Apache/1.3.39 Ben-SSL/1.

Re: [PHP] Can't find .php3 files

2008-01-08 Thread Chris
I think you misunderstood. I have lots of file with things like require "admin.php3" But there is no admin.php3 anywhere. There is however a file admin.php. Since this works on the old server then something on that system is translating a request for a .php3 file to .php I'm guessing. Apach

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jason Pruim schreef: > > On Jan 8, 2008, at 1:23 PM, Jochem Maas wrote: > >> Jason Pruim schreef: >>> Hi Everyone, >>> >>> Happy New Year a week late! :) >>> >>> I am trying to get more serious with my programming, I feel fairly >>> confident in my basic abilities except for one... Error checking

Re: [PHP] Can't find .php3 files

2008-01-08 Thread Jim
Chris wrote: I'm trying to help a friend migrate his application to php 5 from another system. The problem seems to be that he references files (require, include, etc) that have a .php3 extension, however there are no files in those locations with the .php3. There are files with .php exten

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jack Mays schreef: > >> >> funnily enough exit is even listed as a function. >> >> > > LOL, Ignore me, I read that message to fast and read "isn't" instead of > "is". It's time to go home and sleep :) er, too late - just pretend I ignored it ;-) > > -- > Jack Mays > -- PHP General Mailing

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jack Mays schreef: > >> >> funnily enough exit is even listed as a function. >> >> > > Sure it is: http://us2.php.net/manual/en/function.exit.php > > Unless I'm missing a point here or something. :) could you re-read that last sentence of my previous post :-) I believe your brain is injecting n

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jack Mays
funnily enough exit is even listed as a function. LOL, Ignore me, I read that message to fast and read "isn't" instead of "is". It's time to go home and sleep :) -- Jack Mays -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jack Mays
funnily enough exit is even listed as a function. Sure it is: http://us2.php.net/manual/en/function.exit.php Unless I'm missing a point here or something. :) -- Jack Mays -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Daniel Brown schreef: > On Jan 8, 2008 3:43 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: >> I wasn't able to make it work with mysqli_insert_id() but you did give >> me the idea of using mysqli_stmt_error() instead. Which doesn't return >> anything if it was successful... So a simple: >> >> $check =

Re: [PHP] Can't find .php3 files

2008-01-08 Thread Chris
I'm trying to help a friend migrate his application to php 5 from another system. The problem seems to be that he references files (require, include, etc) that have a .php3 extension, however there are no files in those locations with the .php3. There are files with .php extensions. It's r

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 3:43 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > I wasn't able to make it work with mysqli_insert_id() but you did give > me the idea of using mysqli_stmt_error() instead. Which doesn't return > anything if it was successful... So a simple: > > $check = mysqli_stmt_error(); > if($ch

Re: [PHP] Error sending email using php into one linux with postfix. S.O.S.

2008-01-08 Thread Chris
Jan 5 13:52:02 server postfix/qmgr[7450]: 20EB589B68: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable) Which means it's a postfix problem and has nothing to do with php at all. Ask on the post

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 1:31 PM, Daniel Brown wrote: On Jan 8, 2008 1:18 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote: On Jan 8, 2008 11:54 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: most of the time the script works perfectly, but on the occassion

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 1:23 PM, Jochem Maas wrote: Jason Pruim schreef: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :)

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 1:29 PM, Stephen Johnson wrote: From: Jason Pruim <[EMAIL PROTECTED]> Date: Tue, 8 Jan 2008 13:18:40 -0500 To: Jack Mays <[EMAIL PROTECTED]> Cc: php-general General List Subject: Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

[PHP] Error sending email using php into one linux with postfix. S.O.S.

2008-01-08 Thread Miren Urkixo
hello i have one great problem using php for sinding email across one email server (in the same machine) that is one Linux suse with postfix. it doesn't is sent, alwats appears one error into the mail log (bellow). Can you help me please? I am trying to solve this problem during several weeks

Re: [PHP] global address collection

2008-01-08 Thread Richard Heyes
tedd wrote: At 8:23 PM +0100 1/8/08, Per Jessen wrote: Richard Heyes wrote: Nathan Nobbe wrote: On Jan 8, 2008 2:04 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: this is not only convenient from a user perspective in the user interface, but also on the server side. It's not so conveni

[PHP] Can't find .php3 files

2008-01-08 Thread Jim
I'm sure this is a FAQ but I can't seem to come up with the right search keys to dig it out. I'm trying to help a friend migrate his application to php 5 from another system. The problem seems to be that he references files (require, include, etc) that have a .php3 extension, however there ar

Re: [PHP] global address collection

2008-01-08 Thread Nathan Nobbe
On Jan 8, 2008 2:23 PM, Per Jessen <[EMAIL PROTECTED]> wrote: > Richard Heyes wrote: > > > Nathan Nobbe wrote: > >> On Jan 8, 2008 2:04 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: > >> > > this is not only convenient from a user perspective in the user > > interface, but also > > on t

Re: [PHP] global address collection

2008-01-08 Thread tedd
At 8:23 PM +0100 1/8/08, Per Jessen wrote: Richard Heyes wrote: Nathan Nobbe wrote: On Jan 8, 2008 2:04 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: this is not only convenient from a user perspective in the user interface, but also on the server side. It's not so convenient when you

Re: [PHP] global address collection

2008-01-08 Thread Per Jessen
Richard Heyes wrote: > Nathan Nobbe wrote: >> On Jan 8, 2008 2:04 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: >> > this is not only convenient from a user perspective in the user > interface, but also > on the server side. >>> It's not so convenient when you consider Google (and pres

Re: [PHP] website tree

2008-01-08 Thread tedd
At 6:06 PM +0100 1/5/08, Alain Roger wrote: Hi, let's imaging we have the following thing : www.mywebsite.com/company/index.php www.mywebsite.com/company/profile.php www.mywebsite.com/services/index.php how can i detect in which address am i ? for example how to retrieve www.mywebsite.com/ser

Re: [PHP] global address collection

2008-01-08 Thread Richard Heyes
Nathan Nobbe wrote: On Jan 8, 2008 2:04 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: this is not only convenient from a user perspective in the user interface, but also on the server side. It's not so convenient when you consider Google (and presumably others) toolbars auto fill. fortunatel

Re: [PHP] Re: website tree

2008-01-08 Thread Richard Heyes
John Gunther wrote: Get the various parts from the $_SERVER superglobal variable: 1) scheme (e.g. http://) from $_SERVER['HTTPS'] (https if "on") 2) host:port (e.g. bucksvsbytes.com) from $_SERVER['HTTP_HOST'] 3) /path/page?query part (e.g. /catalog/index.php?pid=444) from $_SERVER['REQUEST_URI'

Re: [PHP] global address collection

2008-01-08 Thread Nathan Nobbe
On Jan 8, 2008 2:04 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: > >> this is not only convenient from a user perspective in the user > >> interface, but also > >> on the server side. > > It's not so convenient when you consider Google (and presumably others) > toolbars auto fill. fortunately i

Re: [PHP] global address collection

2008-01-08 Thread Richard Heyes
this is not only convenient from a user perspective in the user interface, but also on the server side. It's not so convenient when you consider Google (and presumably others) toolbars auto fill. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that

Re: [PHP] utf-8 in $_POST

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 1:31 PM, tedd <[EMAIL PROTECTED]> wrote: > Last night I read a chapter in the book "Core Web Application > Development with PHP and MYSQL" by Wandschneider who said basically > that -- a good read, btw. I'm guess it was his name which comprised the first chapter. -- Daniel P.

Re: [PHP] utf-8 in $_POST

2008-01-08 Thread tedd
At 11:57 AM +0200 1/8/08, Arvids Godjuks wrote: To author: You'r going the wrong way. Make your page utf-8, all text on it. Set utf-8 encoding and treat all incoming data as UTF-8. If some agent (definetly not some browser - they all know UTF-8) doesn't understand that (that could be some "hacke

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 1:18 PM, Jason Pruim <[EMAIL PROTECTED]> wrote: > On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote: > > On Jan 8, 2008 11:54 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > >> > >> most of the time the script works perfectly, but on the occassion it > >> doesn't like when jupiters third

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Stephen Johnson
> From: Jason Pruim <[EMAIL PROTECTED]> > Date: Tue, 8 Jan 2008 13:18:40 -0500 > To: Jack Mays <[EMAIL PROTECTED]> > Cc: php-general General List > Subject: Re: [PHP] New years resolution: To get serious with my programming! > Anyone wanna help? :) > > > > Actually, the problem isn't the quer

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jochem Maas
Jason Pruim schreef: > Hi Everyone, > > Happy New Year a week late! :) > > I am trying to get more serious with my programming, I feel fairly > confident in my basic abilities except for one... Error checking. That's > what I'm trying to get figured out :) > > I have a script, that I am using to

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 12:22 PM, Jack Mays wrote: Jason Pruim wrote: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I h

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
On Jan 8, 2008, at 12:06 PM, Daniel Brown wrote: On Jan 8, 2008 11:54 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: Hi Everyone, Happy New Year a week late! :) And to you, as well. most of the time the script works perfectly, but on the occassion it doesn't like when jupiters third moon a

Re: [PHP] PHTML files showing as blank pages

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 12:58 PM, tedd <[EMAIL PROTECTED]> wrote: > At 3:37 PM -0800 1/5/08, Brady Mitchell wrote: > >On Jan 5, 2008, at 639AM, A.smith wrote: > >> I'm having a problem getting .phtml files to display in a web browser. I > >>can successfully display a test.php page as per PHP install instru

Re: [PHP] PHTML files showing as blank pages

2008-01-08 Thread Eric Butera
On Jan 5, 2008 9:39 AM, A.smith <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a problem getting .phtml files to display in a web browser. I > can successfully display a test.php page as per PHP install instructions but > the phtml files show up blank > (in firefox or IE). > > I have added these

Re: [PHP] global address collection

2008-01-08 Thread tedd
At 12:56 PM -0500 1/8/08, Nathan Nobbe wrote: i agree, but rather than using spaces, or allowing them in the input string, i prefer to have several focused form fields that comprise a larger element. for example, a credit card number is 4 units of 4 digits. my preference for credit card number e

Re: [PHP] PHTML files showing as blank pages

2008-01-08 Thread tedd
At 3:37 PM -0800 1/5/08, Brady Mitchell wrote: On Jan 5, 2008, at 639AM, A.smith wrote: I'm having a problem getting .phtml files to display in a web browser. I can successfully display a test.php page as per PHP install instructions but the phtml files show up blank (in firefox or IE). A bla

Re: [PHP] global address collection

2008-01-08 Thread Nathan Nobbe
On Jan 8, 2008 10:42 AM, tedd <[EMAIL PROTECTED]> wrote: > At 10:18 AM -0500 1/8/08, Eric Butera wrote: > >On Jan 8, 2008 10:08 AM, tedd <[EMAIL PROTECTED]> wrote: > >> I just finished a credit card portion for a site where the programmer > >> before me required the customers to enter their cred

Re: [PHP] php form help...

2008-01-08 Thread tedd
At 11:17 AM -0600 1/8/08, Jack Mays wrote: > You think someone who didn't even know how to get post data in the first place knows how to properly sanitize it? :) One would think that the OP would lookup "sanitize" or some form of that search in google to become more familiar with the term

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jack Mays
Jason Pruim wrote: Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I have a script, that I am using to connect to my

Re: [PHP] php form help...

2008-01-08 Thread Jack Mays
> > You think someone who didn't even know how to get post data in the > first place knows how to properly sanitize it? :) > One would think that the OP would lookup "sanitize" or some form of that search in google to become more familiar with the term and what it means, but then again I probab

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 12:12 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > You think someone who didn't even know how to get post data in the > first place knows how to properly sanitize it? :) Maybe, maybe not, but the point is to mention that it should be done to allow further exploration and study t

Re: [PHP] php form help...

2008-01-08 Thread Eric Butera
On Jan 8, 2008 12:00 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Jan 8, 2008 11:56 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote: > > Daniel, > > > > Thanks...worked like a charm > > My pleasure. Just remember to sanitize the code as I said if > you're going to do anything other than

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 11:54 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > Happy New Year a week late! :) And to you, as well. > most of the time the script works perfectly, but on the occassion it > doesn't like when jupiters third moon aligns with uranus, I want the > user to be not

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 11:56 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote: > Daniel, > > Thanks...worked like a charm My pleasure. Just remember to sanitize the code as I said if you're going to do anything other than display it in the text box. Otherwise, a malicious user (or possibly even a ty

[PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Jason Pruim
Hi Everyone, Happy New Year a week late! :) I am trying to get more serious with my programming, I feel fairly confident in my basic abilities except for one... Error checking. That's what I'm trying to get figured out :) I have a script, that I am using to connect to my database, read,

Re: [PHP] php form help...

2008-01-08 Thread Daniel Brown
On Jan 8, 2008 11:19 AM, 2 Logic Studios <[EMAIL PROTECTED]> wrote: > I am trying to create this kind of form > http://www.12monthinternetmillionaire.com/affiliate.php > > a user inserts their clickbank id and its generated in the field > belowany pointers ? Yes. Hire a programmer. ;-P

[PHP] php form help...

2008-01-08 Thread 2 Logic Studios
I am trying to create this kind of form http://www.12monthinternetmillionaire.com/affiliate.php a user inserts their clickbank id and its generated in the field belowany pointers ?

Re: [PHP] global address collection

2008-01-08 Thread tedd
At 10:18 AM -0500 1/8/08, Eric Butera wrote: On Jan 8, 2008 10:08 AM, tedd <[EMAIL PROTECTED]> wrote: I just finished a credit card portion for a site where the programmer before me required the customers to enter their credit card number without spaces -- why? It's a simple matter to remove

Re: [PHP] global address collection

2008-01-08 Thread Lester Caine
Satyam wrote: Telephone stuff is comprehensive Also, it should be Province/County/State, and it should be optional since some cities are autonomous (usuall federal capital cities), just don't make it mandatory. And don't force anything on postal codes. Some countries have letters in them and

Re: [PHP] global address collection

2008-01-08 Thread Eric Butera
On Jan 8, 2008 10:08 AM, tedd <[EMAIL PROTECTED]> wrote: > I just finished a credit card portion for a site where the programmer > before me required the customers to enter their credit card number > without spaces -- why? It's a simple matter to remove spaces for > processing -- why throw that re

Re: [PHP] global address collection

2008-01-08 Thread Richard Heyes
The best design for a form comes from using it. To a certain extent, but I think the best design for a form stems from watching someone else use it. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support ** NOW OFFE

Re: [PHP] passing _GET values to _POST

2008-01-08 Thread Philip Thompson
On Jan 7, 2008, at 7:20 PM, Mary Anderson wrote: Hi all, I have a screen get_collection.php which is supposed to be used to select something called 'data sets'. My database (the postgres database is not the problem, PHP is) has an entity called 'data series' which has a child entity ca

Re: [PHP] global address collection

2008-01-08 Thread tedd
At 3:10 PM +0100 1/8/08, Satyam wrote: Also, it should be Province/County/State, and it should be optional since some cities are autonomous (usuall federal capital cities), just don't make it mandatory. And don't force anything on postal codes. Some countries have letters in them and the numbe

Re: [PHP] Byte Size of an array

2008-01-08 Thread Eric Butera
On Jan 7, 2008 3:45 AM, Sancar Saran <[EMAIL PROTECTED]> wrote: > Hello, > > I just wonder to how can I find a memory size of an array. > > Regards > > Sancar > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If you're wondering how m

Re: [PHP] global address collection

2008-01-08 Thread Satyam
Actually, phone numbers should not be prefixed with 00. The prefix for international dialing depends on the local phone regulations and it is different in different countries (for example, 011 in the USA). The recommendation from the telephone union (http://www.itu.int/) is to use a plus sign t

Re: SV: SV: [PHP] Mail system

2008-01-08 Thread Michelle Konzack
Am 2007-12-30 22:10:50, schrieb mattias: > Yes but i are newbie in php > I think i should use php exec but i dont know no more I use apache with php5 and su-php... Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant

Re: SV: [PHP] Mail system

2008-01-08 Thread Michelle Konzack
Am 2007-12-30 21:51:21, schrieb mattias: > First of all > If you have a bad day don't send to the list I think not, since ONLY you know your system and I guess, you are using some some webinterface (apache/php)... It is DEFINITIVLY up to you, to implement the solution for YOUR system. I have such

Re: [PHP] utf-8 in $_POST

2008-01-08 Thread Per Jessen
Olav Mørkrid wrote: > i specify iso-8859-1 in both header and body: > > accept-charset="iso-8859-1"> Have you checked 1) what the webserver sends in the header and 2) what the browser actually uses? I'm pretty certain I've had issues where the meta tags were fine, but the server overrode me s

Re: [PHP] utf-8 in $_POST

2008-01-08 Thread Arvids Godjuks
To author: You'r going the wrong way. Make your page utf-8, all text on it. Set utf-8 encoding and treat all incoming data as UTF-8. If some agent (definetly not some browser - they all know UTF-8) doesn't understand that (that could be some "hacker" writing it's own bot) - that's his problem. The

Re: [PHP] utf-8 in $_POST

2008-01-08 Thread [EMAIL PROTECTED]
Olav Mørkrid wrote: i specify iso-8859-1 in both header and body: if two different people post the norwegian phrase "Godt nytt år" (happy new year), it may appear in the following variations: [CONTENT_TYPE] => application/x-www-form-urlencoded;charset=iso-8859-1 $_POST["input"] = "Godt nytt

Re: [PHP] First stupid post of the year. [SOLVED]

2008-01-08 Thread Zoltán Németh
2008. 01. 7, hétfő keltezéssel 12.14-kor tedd ezt írta: > At 4:36 PM +0100 1/7/08, Zoltán Németh wrote: > >2008. 01. 7, hétf‘ keltezéssel 10.29-kor tedd ezt írta: > >however, on firefox with encoding auto-detection both page looks > >correctly and the same. > > > >greets > >Zoltán Németh > > Not t