Re: [PHP] header function, I'm stumped

2003-12-09 Thread Jon Kriek
-- Jon Kriek www.phpfreaks.com www.jonkriek.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Operator question

2003-12-09 Thread Jon Kriek
Assignment Operators http://www.php.net/manual/en/language.operators.assignment.php Incrementing/Decrementing Operators Arithmetic Operators http://www.php.net/manual/en/language.operators.increment.php Arithmetic Operators http://www.php.net/manual/en/language.operators.arithmetic.php Operator

Re: [PHP] echo or print

2003-11-21 Thread Jon Kriek
quot;); but you would simply write this as: echo "howdy","partner"; if you wanted to use two expression. Putting the brackets in there serves no purpose since there is no operator precendence issue with a single expression like that." -- Jon Kriek www.phpfreaks.com Wout

[PHP] Re: IRC

2003-10-31 Thread Jon Kriek
server: irc.freenode.net channels: #phpfreaks, #php, #binaryphp -- Jon Kriek http://phpfreaks.com "Jonathan Villa" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Are there any PHP IRC that anyone is aware of? -- PHP General Mailing List (http://www.php.n

[PHP] Re: Undefined Index - is this how you "declare" get & post?

2003-10-29 Thread Jon Kriek
settype(), isset(), and empty() checks will all bypass this, but there is no need to have error reporting set that high ... error_reporting(2047); -- Jon Kriek http://phpfreaks.com "Terence" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi List, > &

Re: [PHP] Redirect

2003-10-25 Thread Jon Kriek
exit(); } ob_end_flush(); ?> ------- -- Jon Kriek http://phpfreaks.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php|cruise - do unto others...

2003-10-20 Thread Jon Kriek
Done ;) Happy sailing John! -- Jon Kriek http://phpfreaks.com "Becoming Digital" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Anyone who's been on these lists for a few days is already familiar with CPT John W. Holmes. He's probably helped each and

[PHP] Re: php|cruise - do unto others...

2003-10-20 Thread Jon Kriek
Done ;) Happy sailing John! -- Jon Kriek http://phpfreaks.com "Becoming Digital" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Anyone who's been on these lists for a few days is already familiar with CPT John W. Holmes. He's probably helped each and

Re: [PHP] Is anybody else getting these??

2003-10-20 Thread Jon Kriek
>> Fabio Farinelli keeps sending me a note whenever I post. Indeed, same here. -- Jon Kriek http://phpfreaks.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is anybody else getting these??

2003-10-20 Thread Jon Kriek
The amount of spam and returned mail in the last few days is horrible. -- Jon Kriek http://phpfreaks.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: $PHP_SELF

2003-10-20 Thread Jon Kriek
No, you seem to be misunderstanding the point. http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server "David Otton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 20 Oct 2003 09:11:37 -0400, you wrote: > > >"Boris Sagadin" <[EMAIL PROTECTED]> wrote i

[PHP] Re: $PHP_SELF

2003-10-20 Thread Jon Kriek
This is expected behavior, always use the $_SERVER or $_ENV superglobal arrays. -- Jon Kriek http://phpfreaks.com "Boris Sagadin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm having problems with $PHP_SELF variable. Mostly it works, other > t

[PHP] Re: addslashes() vs. magic_quotes_gpc

2003-10-20 Thread Jon Kriek
Compare mysql_escape_string() to addslashes() http://www.php.net/mysql_escape_string -- Jon Kriek http://phpfreaks.com "Jake McHenry" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] If you have magic_quotes_gpc = On in your php.ini file, which it is by default, doe

[PHP] Re: Getting spam from manual notes email address...

2003-10-17 Thread Jon Kriek
Same issue here. -- Jon Kriek http://phpfreaks.com "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I added a note to a manual page yesterday with a unique address that > hasn't been used anywhere else and it took one day to receive a sp

[PHP] Re: Weird results for 2 lines of damn code

2003-10-17 Thread Jon Kriek
Don't mention it =) -- Jon Kriek http://phpfreaks.com >Hey, >Thanks, it works!! >Replace %G _with_ %Y >cheers, >-Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Weird results for 2 lines of damn code

2003-10-17 Thread Jon Kriek
Don't mention it =) -- Jon Kriek http://phpfreaks.com >Hey, >Thanks, it works!! >Replace %G _with_ %Y >cheers, >-Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: $_POST in MySQL query issue...

2003-10-16 Thread Jon Kriek
I concur, assign the superglobal array to a variable ... $table= 'elements'; $Name = mysql_escape_string($_POST['elementName']); $sql = "INSERT INTO $table SET Name= '$Name'"; ... then use that opportunity to run a check on the output. -- Jon Kri

[PHP] Re: Weird results for 2 lines of damn code

2003-10-16 Thread Jon Kriek
Replace %G _with_ %Y -- Jon Kriek http://phpfreaks.com "Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everyone, > This "very simple" program is driving me nuts, heres what i am doing: > 1.making a timestamp with the current time.

[PHP] Re: PHP Notice: Undefined variable

2003-10-04 Thread Jon Kriek
TICE) -- Jon Kriek http://phpfreaks.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: What's the difference ?

2003-10-01 Thread Jon Kriek
related to the execution environment of the current script -- Jon Kriek http://phpfreaks.com "X-Virus" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] What's the difference between : $_SERVER["COMPUTERNAME"] and $_ENV["COMPUTERNAME"] ? -- PHP Gene

[PHP] Re: regex/preg_replace() difficulty

2003-10-01 Thread Jon Kriek
You need to escape the period "." twice with backslashes "\\" -- Jon Kriek http://phpfreaks.com "Jonas_weber @ Gmx . Ch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Regular Expressions: How can I indicate that the contents of a term >

Re: [PHP] Re: retrieving information about state of a function

2003-09-30 Thread Jon Kriek
So why not subscribe to the php.dev list and propose it there? -- Jon Kriek http://phpfreaks.com "Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well I already do so, but I think it would be more smooth having a > function > provide

[PHP] Re: retrieving information about state of a function

2003-09-30 Thread Jon Kriek
get_defined_functions() http://www.php.net/get_defined_functions function_exists() http://www.php.net/function_exists -- Jon Kriek http://phpfreaks.com "Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello all, > > Wouldn't it b

Re: [PHP] date() is hours behind

2003-09-30 Thread Jon Kriek
putenv('TZ=Europe/London'); OR putenv('TZ=GMT'); -- Jon Kriek http://phpfreaks.com "Php Webmaster" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm in London and and my timezone is GMT, so what should I use? -- PHP General Maili

Re: [PHP] date() is hours behind

2003-09-29 Thread Jon Kriek
Well I meant just putenv('TZ=US/Eastern'); But you get the idea. -- Jon Kriek http://phpfreaks.com "Jon Kriek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > See the putenv() function. For example to get the correct Eastern Standard > Ti

Re: [PHP] date() is hours behind

2003-09-29 Thread Jon Kriek
See the putenv() function. For example to get the correct Eastern Standard Time http://www.php.net/putenv -- Jon Kriek http://phpfreaks.com "Php Webmaster" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I currently use: > > date(&q

Re: [PHP] PHP coders spare time [OT}

2003-09-29 Thread Jon Kriek
Very nice! -- Jon Kriek http://phpfreaks.com "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Curt Zirzow <mailto:[EMAIL PROTECTED]> on Sunday, September 28, 2003 6:50 PM said: > And what they do with it... > > http://zirzow.dyn

Re: [PHP] General .htaccess question

2003-09-28 Thread Jon Kriek
*nods at Justin* Utterly nothing to do with php.general at all. -- Jon Kriek http://phpfreaks.com "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This is the perfect candidate for a question on an apache list, don't > you think?

[PHP] Re: register_globals won't turn off!

2003-09-27 Thread Jon Kriek
What does it say at script level? $register_globals = (bool) ini_get('register_gobals'); "Damon Kohler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, it does turn off. At least phpinfo() says that it's off. However, PHP > is acting as though it's still turned on. The source

Re: [PHP] IIS Ports

2003-09-27 Thread Jon Kriek
The point is get a "good" firewall, doesn't matter which one. Personally I prefer Sygate Personal Firewall PRO http://smb.sygate.com/products/pspf/pspf_ov.htm -- Jon Kriek http://phpfreaks.com "Jason Sheets" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

[PHP] php.general on your desktop

2003-09-27 Thread Jon Kriek
Serence KlipFolio http://www.serence.com/site.php?action=ser_products,prod_klipfolio php.general Klip http://www.klipfarm.com/farm.php?page=info&klip=1767 Pulling from the experimental web interface http://news.php.net/group.php?group=php.general -- Jon Kriek http://phpfreaks.com --

Re: [PHP] IIS Ports

2003-09-27 Thread Jon Kriek
LMAO! -- Jon Kriek http://phpfreaks.com "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > But mostly, I was trolling. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache logs reset at midnight

2003-09-27 Thread Jon Kriek
Rob is aspsoletly correct; this has to be a rotation called from crontab. Jon Kriek http://phpfreaks.com "Robert Cummings" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You sure you don't have a cron that run every night and rotates the log > f

Re: [PHP] Please visit my php program

2003-09-27 Thread Jon Kriek
On samplePost.php simply lower your error reporting level. If you do not have access to your php.ini (not everyone does), then can you can amend this directive in either .htaccess or even on a per script basis by using the error_reporting() function like so. error_reporting(2039); (Equivalent to

Re: [PHP] Re: GD tut

2003-09-27 Thread Jon Kriek
al www.becomingdigital.com - Original Message - From: "Jon Kriek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, 27 September, 2003 13:11 Subject: [PHP] Re: GD tut GD Library Tutorial http://www.phpfreaks.com/tutorials/105/0.php Thumbnail Creation Using GD LIBR

[PHP] Re: Back function with php

2003-09-27 Thread Jon Kriek
Also in a link Go Back Jon Kriek http://phpfreaks.com "Jon Kriek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > More of a JavaScript question > > > history.back(1) > > "Karina S" <[EMAIL PROTECTED]> wrote in message > news:[

[PHP] Re: Back function with php

2003-09-27 Thread Jon Kriek
More of a JavaScript question history.back(1) "Karina S" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > how can I go back to the previous php page from where the actual page was > called? I want to know not only the file name but the parameter list too. > (I mean I want

[PHP] Re: GD tut

2003-09-27 Thread Jon Kriek
GD Library Tutorial http://www.phpfreaks.com/tutorials/105/0.php Thumbnail Creation Using GD LIBRARY http://www.phpfreaks.com/tutorials/111/0.php Hope this helps! Jon Kriek http://www.phpfreaks.com/ "Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > He