Re: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Stut
]). NOTE: I would prefer the E-Book Version if it is Available. Thanks. Darren. AFAIK this title is not available electronically, but it's readily available from Amazon or any other reputable bookseller. Is there a particular reason why you want it electronically? -Stut -- http

Re: [PHP] PHP Oracle Ebook Request.

2007-10-23 Thread Stut
Please include the list in replies. Dare Williams wrote: Dear Stut, Thanks for your message, With regard to your message, the main reason why I want it Electronically is because, Am a PHP Student Who has no enough Cash to buy from Amazon or any bookseller and more over, the book

Re: [PHP] cant send mail

2007-10-25 Thread Stut
to allow the machine you're running PHP on to send mail. This is not a PHP problem - speak to your mail server administrator. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Executing PHP

2007-10-25 Thread Stut
I do this that I am using the php.exe. Thoughts? I've searched the PHP manual, but have had no luck. You're not running any exe file. IIS uses php5isapi.dll instead of an exe file - they essentially do the same job but the dll is designed to be loaded into another application. -Stut -- http

Re: [PHP] cant send mail

2007-10-26 Thread Stut
this is not the place to find it. -Stut -- http://stut.net/ - Original Message - From: Stut [EMAIL PROTECTED] To: Diana [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, October 26, 2007 1:48 AM Subject: Re: [PHP] cant send mail Diana wrote: Using windows XP, when I try to send mail

Re: [PHP] Executing PHP

2007-10-26 Thread Stut
Philip Thompson wrote: On 10/25/07, Stut [EMAIL PROTECTED] wrote: Philip Thompson wrote: Hi. Feel free to tell me this is a duh question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install

Re: [PHP] Threads

2007-11-01 Thread Stut
that the majority of PHP usage is in the context of web requests. There are a great many issues the crop up when you consider adding threading to an Apache module, and I'm sure the same is true of most of the other SAPIs. Hope that helps. -Stut -- http://stut.net/ -- PHP General Mailing List

Re: [PHP] Function return

2007-11-02 Thread Stut
the date in the format I want. :) Client-side limits are not an effective defense against dangerous inputs. Server-side validation is a must regardless of any client-side checking that goes on. -Stut -- http://stut.net/ On 11/2/07, Nathan Nobbe [EMAIL PROTECTED] wrote: On 11/2/07, Dan

Re: [PHP] what is better way to write the query

2007-11-02 Thread Stut
that there is a limit on the size of queries MySQL will accept. Look up the MySQL max_packet_size for details. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what is better way to write the query

2007-11-02 Thread Stut
afan pasalic wrote: Stut wrote: Jim Lucas wrote: afan pasalic wrote: hi, it's maybe more question for mysql list, but since php is involved too... :-) I have php script that inserts into mysql table couple hundreds of records. usually, it looks like: ?php // 1st record $query = INSERT

Re: [PHP] what is better way to write the query

2007-11-02 Thread Stut
afan pasalic wrote: Stut wrote: afan pasalic wrote: Stut wrote: Jim Lucas wrote: afan pasalic wrote: hi, it's maybe more question for mysql list, but since php is involved too... :-) I have php script that inserts into mysql table couple hundreds of records. usually, it looks like: ?php

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Stut
['table']['name']. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Stut
Jochem Maas wrote: Stut wrote: Jônata Tyska Carvalho wrote: Im having a big problem because the name of one input type text that is ' table.name' in my html, becomes 'table_name' in php, it is a kind of bug?? =S form method=post input type=text nametable.name /form in PHP we have: $_POST

Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Stut
and nothing else. Really bad idea. -Stut -- http://stut.net/ -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 3:44 PM To: Brad Subject: Re: [PHP] Cannot send a hyperlink this will help: http://phpmailer.sourceforge.net/ Brad wrote: I am

Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Stut
knowledge of PHP. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 4:55 PM To: Brad Cc: 'Jochem Maas'; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: I am not sure that would help. Just

Re: [PHP] Re: functions versus includes

2007-11-12 Thread Stut
issues you can imagine. Performance optimisation should be driven by performance problems. Write your app, test it, find bottlenecks and then optimise those. Time spent saving 0.001 seconds per request is better spent elsewhere. -Stut -- http://stut.net/ Frank Lopes [EMAIL PROTECTED] wrote

Re: [PHP] How to query google pagerank from PHP

2007-11-12 Thread Stut
mvh wrote: I found some code in perl at CPAN how to do that in PHP anyone know ? give a clue pls Port the Perl code. Won't be too hard. Where's the Perl code? -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scrape?

2007-11-12 Thread Stut
page you're looking at you can get a variety of formats including XML, CSV and TSV. Not sure if you can get at it without going through the login process. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scrape?

2007-11-12 Thread Stut
Daniel Brown wrote: On Nov 12, 2007 12:20 PM, Stut [EMAIL PROTECTED] wrote: tedd wrote: I have a Google Analytics account covering one of my web sites and I was wondering if it's possible to extract data from it? If it can be done, then how would one do it? Not really PHP-related

Re: [PHP] Scrape?

2007-11-12 Thread Stut
Daniel Brown wrote: On Nov 12, 2007 12:26 PM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 12, 2007 12:20 PM, Stut [EMAIL PROTECTED] wrote: tedd wrote: I have a Google Analytics account covering one of my web sites and I was wondering if it's possible to extract data from

Re: [PHP] file_exists

2007-11-14 Thread Stut
this is not a piece of production code. If it is then you might want to think very hard about what it's doing. If you still can't see a problem let me know! -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_exists

2007-11-15 Thread Stut
. Take this for example $page = $_GET['page']; if (file_exists ($page.php)) { include ($page.php); } ? I really hope this is not a piece of production code. If it is then you might want to think very hard about what it's doing. If you still can't see a problem let me know! -Stut -- http

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
) complicated stuff is already implemented for you. Either that or spend a few days learning about the structure of emails by following the links Daniel Brown sent you a few emails ago. PHPMailer can be found here: http://phpmailer.sf.net/ -Stut -- http://stut.net/ -Original Message

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
on right now. Seriously. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:46 AM To: Brad Cc: 'Daniel Brown'; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: Beginning with $headers

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
Daniel Brown wrote: On Nov 15, 2007 11:10 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 15, 2007 9:41 AM, Brad [EMAIL PROTECTED] wrote: Beginning with $headers .= --.$htmlalt_mime_boundary.$eol; It starts to read it as text and not html?? Could this be a server side problem

Re: [PHP] IDE

2007-11-15 Thread Stut
' archives. This topic has been covered numerous times over the past week or so. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
... THIS CODE IS NOT SECURE. It's easily used as a mail relay script, so please don't use it in production or $DEITY will kill a bunch of kittens. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:16 AM To: Brad Cc: php

Re: [PHP] file_exists

2007-11-15 Thread Stut
is in the right directory. I suggest you read the code I posted again. -Stut I meant if $page evaluates to /home/stut/phpstuff/inc/../../../../../../../../../../../../home/evil-user-home-dir/evil-payload.php which it does not. However I don't think your if (substr($page, 0, strlen($expecteddir

Re: [PHP] file_exists

2007-11-15 Thread Stut
this is not a piece of production code. If it is then you might want to think very hard about what it's doing. If you still can't see a problem let me know! -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Called like

Re: [PHP] file_exists

2007-11-15 Thread Stut
around that I'd be interested in hearing about it. -Stut -- http://stut.net/ Good points about (.php, evil-payload, and evil-payload.php?). Although I'll defer to a security expert, your modification looks good to not include a remote site's code. But on a shared host, what about

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
email address. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:46 AM To: Brad Cc: 'Daniel Brown'; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: Beginning with $headers

Re: [PHP] Foreach question

2007-11-15 Thread Stut
++; } -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot send a hyperlink

2007-11-15 Thread Stut
exception between the chair and keyboard. Usually abbreviated to PEBKAC if I'm not mistaken. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_exists

2007-11-16 Thread Stut
tedd wrote: At 11:06 PM + 11/15/07, Stut wrote: The realpath function will reduce your definition of $page to /home/evil-user-home-dir/evil-payload.php $expecteddir is set to /home/stut/phpstuff/inc The if takes the first strlen($expecteddir) characters of the reduced $page and compares

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread Stut
they would remove a way for their users to introduce new people to the service. Removing that ability wouldn't make sense to me. It might make more sense if they changed the wording, but the feature does no harm and so is definitely worth them keeping it in. -Stut -- http://stut.net/ -- PHP General

Re: [PHP] Gmail Account Invites (Want One?)

2007-11-16 Thread Stut
Daniel Brown wrote: On Nov 16, 2007 9:47 AM, Stut [EMAIL PROTECTED] wrote: Daniel Brown wrote: On Nov 16, 2007 9:36 AM, tedd [EMAIL PROTECTED] wrote: At 5:00 PM -0500 11/15/07, Daniel Brown wrote: Yay! I got to say my stupid thing for the day. Last I had even looked at the signup

Re: [PHP] bank query and curl

2007-11-17 Thread Stut
too many failed requests. You may want to pick another site while you learn how curl works. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] bank query and curl

2007-11-19 Thread Stut
Zoltán Németh wrote: 2007. 11. 17, szombat keltezéssel 23.15-kor Stut ezt írta: [EMAIL PROTECTED] wrote: WHY! Would you even want to pull that data first off? It would be out dated as of the next transaction anyway. Secondly if you can curl the data from the server, and get your account

Re: [PHP] bank query and curl

2007-11-19 Thread Stut
# -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Saturday, November 17, 2007 5:15 PM To: [EMAIL PROTECTED] Cc: 'Ronald Wiplinger'; 'PHP General list' Subject: Re: [PHP] bank query and curl

Re: [PHP] freeing resourses after the end of the session

2007-11-19 Thread Stut
traffic is high. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two small issues with php mail

2007-11-19 Thread Stut
free book!'; $body = 'a href=http://www.zoneofsuccessclub.com/freePDF/autopilotebook.pdf;Click ME/a Here is your FREE autopilot book'; Click ME indeed. I'm guessing this isn't an HCI course you're doing. mail($email, $subject, $body, $headers); ? Try the veal. -Stut -- http

Re: [PHP] two small issues with php mail

2007-11-19 Thread Stut
those I think deserve it. If you don't like it feel free to ignore me or add me to your kill list, but don't ask me to stop. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 3:43 PM To: Brad Cc: php-general@lists.php.net

Re: [PHP] two small issues with php mail

2007-11-19 Thread Stut
assistance on methods to solve my issue would be duly appreciated! Once again... my reply contained everything you needed to get your code to work properly. Please read it again. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19

Re: [PHP] two small issues with php mail

2007-11-19 Thread Stut
Brad wrote: Well, since http://forums.hostmysite.com/about1171.html states $headers .= CC: [EMAIL PROTECTED]; Which does not work for me AT ALL and Stut called me a [EMAIL PROTECTED] for doing it, I am assuming that all this key wording on google is not going to and the problem appears

Re: [PHP] two small issues with php mail

2007-11-19 Thread Stut
PROTECTED]'; This should work. However, because you're assigning this to $headers rather than concatenating it you're trampling over the From line above. BTW, Bcc usually has a capital letter. Probably wouldn't cause any problems but has the potential to stop it working. Fin. -Stut -- http

Re: [PHP] two small issues with php mail

2007-11-19 Thread Stut
regarding when this was added for Windows on the mail manual page. -Stut -- http://stut.net/ -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 5:18 PM To: Brad Cc: 'Wolf'; php-general@lists.php.net

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
the Cc header element and was case-sensitive). So if you're using = 4.3.0 on Windows the Bcc header will be parsed. For unix-based servers where mail uses sendmail the Bcc header is supported by that and therefore does not need to be supported by PHP. -Stut -- http://stut.net/ -- PHP General

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
, bcc and all. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Jim Lucas wrote: Stut wrote: Brad wrote: ? $email = $_REQUEST['email']; $fromaddress = '[EMAIL PROTECTED]'; $fromname = 'Zone of success Club'; $eol = \r\n; $headers = 'From: '.$fromname.' '.$fromaddress.''.$eol; // $headers = 'bcc: '[EMAIL PROTECTED]'; $headers .= 'Reply

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stut
Børge Holen wrote: OMG the top posting on this freakin' issue is a headache Whereas removing all of the previous message is like a sensual massage. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Concurrency in a multi-user environment

2007-11-21 Thread Stut
actually contains a copy of all the steps again, but before you start you update the stored copy with the latest data you fetched in step 2. Locking is bad, m'kay! Hope that makes sense. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Concurrency in a multi-user environment

2007-11-21 Thread Stut
Stut wrote: Don Proshetsky wrote: I'm been googling to see if I can find information on how programmers handle concurrency in a multi-user PHP/MySQL environment. Here's a snippet of my app. I have a form where users can maintain client information such as Name, Address, telephone, email

Re: [PHP] quicktime new window php

2007-11-23 Thread Stut
kNish wrote: How is it possible to have a hyper link open a new quicktime window You can't guarantee it because it's a client-side decision that you have no control over. You basically link to a file and the browser decides what app to open it with. You don't get a choice. -Stut -- http

Re: [PHP] Nested include/require not working in 5.2

2007-11-27 Thread Stut
to contain the root directory for your scripts. That way you can reference all include files as relative to that directory without worrying about where the initial script is/was. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Stut
to log in, but you don't need to pass things like database names between sites via the browser (which is insecure). -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Stut
Jason Pruim wrote: On Nov 27, 2007, at 3:48 PM, Stut wrote: Jason Pruim wrote: The subject might be a little misleading... But I couldn't think of how better to describe it in a small sentence :) What I'm wondering is, I have a program that accesses a database and displays the info

Re: [PHP] Question about authenticating people...

2007-11-27 Thread Stut
, that's why I avoid using 'sessions' wherever possible - IMHO there are better ways to achieve the same goal for most applications. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Stut
Jason Pruim wrote: On Nov 27, 2007, at 6:01 PM, Stut wrote: Jason Pruim wrote: Just for my own curiosity, why do you think sessions are evil? I haven't found a better way to store my variables between different pages... Other then always posting them in either $_POST or $_GET each time

Re: [PHP] Question about authenticating people...

2007-11-28 Thread Stut
Jason Pruim wrote: On Nov 28, 2007, at 12:07 PM, Stut wrote: Jason Pruim wrote: One of the things I have in a session variable, is a search function through the database, and then an export to excel option. Would I be better to store that in a cookie rather then a session variable

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread Stut
into a negligible time. Worry about the structure and maintainability of your app rather than thinking about how fast it is. Once you have the app doing something useful you can start to think about how to make it do it quickly. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread Stut
Jo chem baas wrote: Stut wrote: Jochem Maas wrote: [EMAIL PROTECTED] wrote: I got different portions of code only used for certain purposes (who don't ;-)?). But what, in your opinion (better: in your experience) would be the best regarding script-performance: Putting each code-portion

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread Stut
Jochem Maas wrote: Stut wrote: Jo chem baas wrote: Stut wrote: Jochem Maas wrote: [EMAIL PROTECTED] wrote: I got different portions of code only used for certain purposes (who don't ;-)?). But what, in your opinion (better: in your experience) would be the best regarding script-performance

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread Stut
Jochem Maas wrote: Stut wrote: Jochem Maas wrote: Stut wrote: Jo chem baas wrote: ^- wtf happened here? :-) it's quite funny if you know dutch :-) Pass. Looking back it looks like it happened one of the times I replied. Didn't do it on purpose, honest! ;) Whether

Re: [PHP] Structured Code vs. Performance

2007-11-29 Thread Stut
Robert Cummings wrote: On Thu, 2007-11-29 at 12:13 +, Stut wrote: Not ;). There is no such thing as a compile-time definition in PHP. There certainly is... ?php if( !function_exists( 'file_put_contents' ) ) { $def = _ function file_put_contents

Re: [PHP] Mysqli support - test or complain? [SOLVED]

2007-12-11 Thread Stut
to extension_loaded is pretty cheap, but if you really feel the need to cache it between requests the best place to store it would be in a file on the server. However, I'd expect a stat on that file will be more expensive than calling extension_loaded. -Stut -- http://stut.net/ -- PHP General Mailing

Re: [PHP] Mysqli support - test or complain? [SOLVED]

2007-12-11 Thread Stut
to add/remove modules and a restart of the web server. It's probably not likely to happen but that could seriously break your application. However this is just my opinion. You're free to implement your application in whatever way you choose. -Stut -- http://stut.net/ -- PHP General Mailing

Re: [PHP] Mysqli support - test or complain? [SOLVED]

2007-12-11 Thread Stut
less what your domain name is, you're still advocating a poor choice IMHO. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ham marked as Spam with BAYES_99 - PhpMailer to old?

2007-12-18 Thread Stut
they contain? If so try adding more text. It's also worth noting that this score comes from a system that's capable of learning: http://en.wikipedia.org/wiki/Bayesian_spam_filtering -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Just to confirm...

2007-12-18 Thread Stut
. Depends on the nature of the failure. Some will cause a bounce to be generated immediately. Others will cause delivery to be retried periodically for a while and then generate a bounce. Some mail servers generate delivery delay warnings (usually after 4 hours). -Stut -- http://stut.net/ -- PHP

Re: [PHP] Select Box CSS

2007-12-18 Thread Stut
: 1px solid #c9c9c9 } this code but it only works in firefox How can I make this work in IE? And also I want to change the selected color. AFAIK this can't be done without some very nasty code due to the way IE renders select elements. Google has the answer if you really want it. -Stut -- http

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-19 Thread Stut
would say is that just because you can use global variables in this manner it doesn't mean they're not evil and IMHO they really should be avoided at all costs. I'm yet to come across a *good* reason to use a global variable. -Stut -- http://stut.net/ -- PHP General Mailing List (http

Re: [PHP] Just to confirm...

2007-12-19 Thread Stut
; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506) All IE browsers since the beginning of time have sent a user agent containing mozilla. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-19 Thread Stut
Zoltán Németh wrote: 2007. 12. 19, szerda keltezéssel 10.25-kor Richard Lynch ezt írta: On Wed, December 19, 2007 10:14 am, Stut wrote: Richard Lynch wrote: On Wed, December 19, 2007 4:13 am, Sancar Saran wrote: I want know to you opinions about using $GLOBALS directly. like $GLOBALS

Re: [PHP] Change case of HTML tags

2007-12-20 Thread Stut
converting $1 to lowercase and passing that through. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Which file called the function?

2007-12-20 Thread Stut
from debug_backtrace but I figured there might be a better/easier way. There isn't. The backtrace is the only thing that can get the call stack. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there any Open Source Mailing List Manager that works good

2007-12-20 Thread Stut
Mailman over it any day of the week and twice on Christmas day! -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Opinion about the using $GLOBALS directly

2007-12-21 Thread Stut
Richard Lynch wrote: On Wed, December 19, 2007 11:22 am, Stut wrote: well, if you have a long and complex function declaration which begins with global $whatever, and then all over the function $whatever is used, some dozens of lines later when looking for something in the code you might

Re: [PHP] email authentication

2007-12-22 Thread Stut
php.ini) requires authentication. The built-in mail function doesn't support that so you'll need to use something like PHPMailer (Google for it). -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail system

2007-12-30 Thread Stut
a go, then come back if you have problems. The manual will help, as will Google. There's a good chance someone has already done this, so I'd start with Google. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: SV: [PHP] Mail system

2007-12-30 Thread Stut
harsh, but that's the way it is. -Stut -- http://stut.net/ -Ursprungligt meddelande- Från: Stut [mailto:[EMAIL PROTECTED] Skickat: den 30 december 2007 21:46 Till: mattias Kopia: php-general@lists.php.net Ämne: Re: [PHP] Mail system mattias wrote: If i run coureir and postfix I want

Re: SV: SV: [PHP] Mail system

2007-12-30 Thread Stut
mattias wrote: Yes but i are newbie in php I think i should use php exec but i dont know no more GOOGLE GOOGLE GOOGLE GOOGLE GOOGLE http://postfixadmin.sourceforge.net/ was the first result I got. Seems to fit the bill from where I'm sitting. -Stut -- http://stut.net/ -Ursprungligt

Re: [PHP] mysql date question

2008-01-03 Thread Stut
Adam Williams wrote: select date_format('contract.length_start', '%m-%d-%Y') as length_start from contract where user_id = 1; This has nothing to do with PHP, but the first parameter to date_format should not be in quotes. -Stut -- http://stut.net/ -- PHP General Mailing List (http

Re: [PHP] PHPInfo - the application

2008-01-09 Thread Stut
the best starting point when you know what you are looking for! Did you actually read my email? The subject is a rather good hint too. Do you mean phpsysinfo? http://phpsysinfo.sf.net/ -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] uh oh, I defined a resoruce

2008-01-10 Thread Stut
a secure site with register_globals enabled, but it needs to be done with due care and attention. The same goes for globals. They are not inherently evil but they are easily abused so you need to be careful when you use them. -Stut -- http://stut.net/ -- PHP General Mailing List (http

Re: [PHP] SMTP vs mail()

2008-01-11 Thread Stut
a socket connection to the local SMTP server. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] calling java within php setup?

2008-01-15 Thread Stut
Janet N wrote: I've wrote a Basic java within php, but I get error: Fatal error: Class 'Java' not found. What am I missing? Can I import java in php? Have you installed it? From the manual page for the Java extension... This » PECL extension is not bundled with PHP. -Stut -- http

Re: [PHP] Re: Question About Blocking Email Addresses in Forms

2008-01-18 Thread Stut
the form and ends up in the email headers needs to be checked in this way. The answer to your question is only if you can define the format precisely enough. -Stut -- http://stut.net/ Javier Huerta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am wondering if there is a way

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

2008-01-19 Thread Stut
an important email address that's your problem. And no, I won't remove your address from the recipient list. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-01-20 Thread Stut
in continuing the conversation. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2008-01-20 Thread Stut
On 20 Jan 2008, at 18:02, David Powers wrote: Stut wrote: You seem unable to accept that you are the one that put your email address out there for anyone to collect. If you can't understand that then there is indeed no point in continuing the conversation. I do understand it. What I object

Re: [PHP] More frustration with MySQL and PHP

2008-01-22 Thread Stut
. No I don't care. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] are email address could be spammed

2008-01-24 Thread Stut
between Thunderbird (IMAP) or Webmail (Gmail), and I still have a complete archive of all my mail since 1996. I have no complaints at all. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about functions

2008-01-24 Thread Stut
? Functions are internal to PHP, there is no way to address them from a web page. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I do this -- method chaining

2008-01-29 Thread Stut
exactly do you think you're saving by not putting the instance in a variable? I can't think of one good reason to do this. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I do this -- method chaining

2008-01-29 Thread Stut
On 29 Jan 2008, at 20:08, Nathan Nobbe [EMAIL PROTECTED] wrote: On Jan 29, 2008 3:02 PM, Stut [EMAIL PROTECTED] wrote: Why? What exactly do you think you're saving by not putting the instance in a variable? I can't think of one good reason to do this. its an esthetic thing; and besides

Re: [PHP] How can I do this -- method chaining

2008-01-30 Thread Stut
Nathan Nobbe wrote: On Jan 29, 2008 7:27 PM, Stut [EMAIL PROTECTED] wrote: Personally I'd use a static method in this instance. thats what i recommended. If you need to create an instance of the class you can do so in the static method and that way it will get destroyed when the function

Re: [PHP] How can I do this -- method chaining

2008-01-30 Thread Stut
Jochem Maas wrote: Stut schreef: Nathan Nobbe wrote: On Jan 29, 2008 7:27 PM, Stut [EMAIL PROTECTED] wrote: Personally I'd use a static method in this instance. thats what i recommended. If you need to create an instance of the class you can do so in the static method and that way

Re: [PHP] How can I do this -- method chaining

2008-01-30 Thread Stut
Nathan Nobbe wrote: On Jan 30, 2008 10:46 AM, Stut [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Nathan Nobbe wrote: Actually no, I mean I would *just* use a static method. If there is no reason to instantiate an object, why would you? http://stut.net/ you realize you

Re: [PHP] How can I do this -- method chaining

2008-01-30 Thread Stut
would you? -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I do this -- method chaining

2008-01-30 Thread Stut
Nathan Nobbe wrote: On Jan 30, 2008 10:53 AM, Stut [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Nathan Nobbe wrote: I never said I wasn't creating an instance in the example I posted. then what exactly did you mean by this? Actually no, I mean I would *just* use a static

  1   2   3   4   5   6   7   8   9   10   >