Re: [PHP] File Manager

2009-02-05 Thread Yannick Mortier
2009/2/5 Sn!per sni...@home.net.my: What would you guys recommend as a good and free opensource file management system? TIA. -- Sign Up for free Email at http://ureg.home.net.my/ I haven't use any up to now. But a quick google search turned out decent results:

Re: [PHP] Clarity needed

2009-02-05 Thread metastable
Yannick Mortier wrote: 2009/2/4 tedd t...@sperling.com: Hi gang: I need some fog removed. I have a problem where I have an unlimited number of tutors teaching an unlimited number of courses. When I call upon a tutor, I want to see all the courses they teach. In my old days, I would

[PHP] Where does the sendmail() function come from?

2009-02-05 Thread Per Jessen
A while back someone mentioned that I could use the sendmail() function like this: sendmail(envelope-from,envelope-to,mailtext) I'm now in the process of moving a site to a new webserver, and for some reason I haven't got a sendmail() any more. I can't find a reference to it in the manual, so

Re: [PHP] Reg-ex help

2009-02-05 Thread Jochem Maas
Craige Leeder schreef: Hey guys, I'm trying to write a regular expression to match a tag for my frameworks template engine. I seem to be having some trouble. The expression should match: {:seg 'segname':} {:seg 'segname' cache:} What I have is... $fSegRegEx = #\{:seg

[PHP] Email configuration

2009-02-05 Thread It flance
Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal computer. I am a regular person connected to

Re: [PHP] Where does the sendmail() function come from?

2009-02-05 Thread Per Jessen
Richard Heyes wrote: A while back someone mentioned that I could use the sendmail() function like this: sendmail(envelope-from,envelope-to,mailtext) I'm now in the process of moving a site to a new webserver, and for some reason I haven't got a sendmail() any more. I can't find a

Re: [PHP] Where does the sendmail() function come from?

2009-02-05 Thread Richard Heyes
Hi, A while back someone mentioned that I could use the sendmail() function like this: sendmail(envelope-from,envelope-to,mailtext) I'm now in the process of moving a site to a new webserver, and for some reason I haven't got a sendmail() any more. I can't find a reference to it in the

Re: [PHP] function_exists question

2009-02-05 Thread Thodoris
Is there a way to check not only if a function exists, but also to check that the number and types of parameters desired match a function definition? The reason being that additional options have been added in php 4 and 5 to various standard function calls, but I'm still running a php3 and

RE: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-05 Thread TS
I thought the question was pretty straight forward. Sorry about that. As someone mentioned, yes I'm just trying to hide the var from the user. What I meant by I don't want it to stick with the session, is that I don't want it to be available from page to page. I want my script to run and redirect

[PHP] German characters Ö,Ä etc. show up as ?

2009-02-05 Thread Merlin Morgenstern
Hi there, I recently upgraded on my prod system from php 4.x to the newest php version. Now german characters lik Ö show up as ?. I have the same setup running on a test server, where the characters show up OK. After searching on Google I found that there is an entry in the php.ini:

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal

Re: [PHP] Where does the sendmail() function come from?

2009-02-05 Thread Richard Heyes
think I shouldve stayed in bed today. I feel like that most days... -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.org (Updated January 31st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] why does a html mail send as text ?

2009-02-05 Thread Richard Heyes
Hi, The From header shouldn't have in at all, not even escaped as you've done. It should be a valid email address only, and I'm not entirely sure that in email addresses are allowed in most email systems/clients, so it will cause problems. Sure it can. It denotes a quoted string. Like

RE: [PHP] cgi vs php

2009-02-05 Thread Jay Blanchard
[snip] can anybody tell me the benefits of php over cgi or vice versa? i need to compare both? [/snip] CGI is a gateway to be used by languages PHP is a language -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Clarity needed

2009-02-05 Thread Jochem Maas
tedd schreef: Hi gang: I need some fog removed. does HARPP have anything for that? what about this? : http://www.postcard.org/fog.mp3 and the answer to you Q, like everyone else said: yup :-) PS - given you unlimited resources you might consider doing a charitable donation to FoxNews

Re: [PHP] cgi vs php

2009-02-05 Thread Vikas Sharma
Y In cgi i can use perl ,c etc suppose i use perl now how efficiency differs? How cgi written in perl and php is differ in working in context of web service? other difference?. but their differ. On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard jblanch...@pocket.com wrote: [snip] can anybody

[PHP] cgi vs php

2009-02-05 Thread Vikas Sharma
can anybody tell me the benefits of php over cgi or vice versa? i need to compare both? -- vikas sharma

Re: [PHP] Sometime the code works and sometimes doesn't

2009-02-05 Thread Thodoris
Hi, Here is a code for PHP password sending. There is some strange thing happening. This code DOES WORK but not always. So I might be able to get the password in my mailbox once but not always. What could be wrong. ? // database information $host = 'xxx'; $user = 'xxx';

Re: [PHP] Email configuration

2009-02-05 Thread Thodoris
2009/2/5 It flance itmaqu...@yahoo.com: Hi all, I've installed php and mysql in fedora. Now i am able to create php programs. But when I am unable to use email in my programs. I am wondering what is the easiest way to use email in my php programs. Can i send email from my personal

RE: [PHP] Is it possible to send POST vars through a header redirect?

2009-02-05 Thread tedd
At 2:52 AM -0700 2/5/09, TS wrote: I want my script to run and redirect with the var to another page without the user seeing it. Currently, I am using GET and header(Location: http://domain/?somevar=somevalue;) That would, by definition, allow the user to see it. If you want to pass a

Re: [PHP] cgi vs php

2009-02-05 Thread Thodoris
Y In cgi i can use perl ,c etc suppose i use perl now how efficiency differs? How cgi written in perl and php is differ in working in context of web service? other difference?. but their differ. On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard jblanch...@pocket.com wrote: [snip] can

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Thodoris
Is there a certain thing that should be suspected and looked at first when getting the php blank page of hell I have errors on and nothing is being output anywhere to lead me in the right direction, I have a VariableReveal script (one of you provide and THANK YOU IT HAS BEEN A LIFESAVER)

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Eric Butera
On Mon, Feb 2, 2009 at 12:51 PM, Jim Lucas li...@cmsws.com wrote: Terion Miller wrote: Is there a certain thing that should be suspected and looked at first when getting the php blank page of hell I have errors on and nothing is being output anywhere to lead me in the right direction, I

Re: [PHP] kadm5 Library

2009-02-05 Thread Thodoris
Sorry, I could have been a little clearer: I can't recompile PHP. It's against our general policy to use custom compiled software on the grounds that there are too many sysadmins managing a lot of these machines and if some software is custom compiled and others not, it gets too confusing

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 Thodoris t...@kinetix.gr: I think that the OP mentioned the word fedora somewhere above... Oh sorry, I'm so stupid... Anyways, if you want to send mail to large providers you'll need to use a relay. I found a nice tutorial about how to set it up with google apps. It was for Ubuntu but

Re: [PHP] cgi vs php

2009-02-05 Thread Martin Zvarík
Thodoris napsal(a): Y In cgi i can use perl ,c etc suppose i use perl now how efficiency differs? How cgi written in perl and php is differ in working in context of web service? other difference?. but their differ. On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard jblanch...@pocket.com

[PHP] Garbage Collection

2009-02-05 Thread tedd
Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I want to find out

Re: [PHP] Garbage Collection

2009-02-05 Thread Eric Butera
On Thu, Feb 5, 2009 at 11:06 AM, tedd t...@sperling.com wrote: Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches

RE: [PHP] Garbage Collection

2009-02-05 Thread Boyd, Todd M.
-Original Message- From: tedd [mailto:t...@sperling.com] Sent: Thursday, February 05, 2009 10:07 AM To: php-general@lists.php.net Subject: [PHP] Garbage Collection Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a

Re: [PHP] Garbage Collection

2009-02-05 Thread Dan Shirah
Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I want to find

Re: [PHP] kadm5 Library

2009-02-05 Thread Tim Gustafson
Did you try to install krb5-devel. Try yum search krb5 to see all the available packages that CentOS includes. In case your yum doesn't find something you may add more repos like Dag's: I did. The krb5-devel package is the one that installed krb5/krb5.h, but as I mentioned that seems to be

Re: [PHP] Garbage Collection

2009-02-05 Thread Bastien Koert
On Thu, Feb 5, 2009 at 11:10 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Feb 5, 2009 at 11:06 AM, tedd t...@sperling.com wrote: Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a course table (showing all the

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Terion Miller
Better yet, use a IDE the does code highlighting. This would point you to the problem rather quickly. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare

Re: [PHP] Re: More questions about SESSION use

2009-02-05 Thread Terion Miller
On Mon, Feb 2, 2009 at 4:18 PM, Chris dmag...@gmail.com wrote: Edmund Hertle wrote: 2009/2/1 Terion Miller webdev.ter...@gmail.com This is how it was originally written: if (empty($_SESSION['AdminLogin']) || $_SESSION['AdminLogin'] != true){ header (Location: LogOut.php);

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 11:11:03AM -0600, Terion Miller wrote: Speaking of IDE, which do people on here prefer, I have been using Dreamweaver CS3 just because as originally a designer I was/am used to it... I did finally find the problem but moving an echo(damnit); from line to line

Re: [PHP] Clarity needed

2009-02-05 Thread Daniel Brown
On Thu, Feb 5, 2009 at 07:56, Jochem Maas joc...@iamjochem.com wrote: and the answer to you Q, like everyone else said: yup :-) PS - given you unlimited resources you might consider doing a charitable donation to FoxNews aficionados :-) Or reminding you how to speak English, Jochem.

Re: [PHP] Garbage Collection

2009-02-05 Thread Nathan Rixham
Dan Shirah wrote: Hi gang: A related question to my last Clarity needed post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I

Re: [PHP] Is it possible to send POST vars through a headerredirect?

2009-02-05 Thread Shawn McKenzie
tedd wrote: At 2:52 AM -0700 2/5/09, TS wrote: I want my script to run and redirect with the var to another page without the user seeing it. Currently, I am using GET and header(Location: http://domain/?somevar=somevalue;) That would, by definition, allow the user to see it. If you

Re: [PHP] Is it possible to send POST vars through a headerredirect?

2009-02-05 Thread tedd
At 1:18 PM -0600 2/5/09, Shawn McKenzie wrote: tedd wrote: At 2:52 AM -0700 2/5/09, TS wrote: I want my script to run and redirect with the var to another page without the user seeing it. Currently, I am using GET and header(Location: http://domain/?somevar=somevalue;) That would, by

[PHP] Connect local app to a web app

2009-02-05 Thread Jônatas Zechim
Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web app writen in php. The database is MySql, and i need to do this connection every 3s to check data, get the data back and save into localhost database. -- PHP

Re: [PHP] German characters Ö,Ä etc. show up as ?

2009-02-05 Thread Ashley Sheridan
On Thu, 2009-02-05 at 13:37 +0100, Merlin Morgenstern wrote: Hi there, I recently upgraded on my prod system from php 4.x to the newest php version. Now german characters lik Ö show up as ?. I have the same setup running on a test server, where the characters show up OK. After searching

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Ashley Sheridan
On Thu, 2009-02-05 at 12:22 -0500, Paul M Foster wrote: On Thu, Feb 05, 2009 at 11:11:03AM -0600, Terion Miller wrote: Speaking of IDE, which do people on here prefer, I have been using Dreamweaver CS3 just because as originally a designer I was/am used to it... I did finally find the

Re: [PHP] Garbage Collection

2009-02-05 Thread tedd
At 7:03 PM + 2/5/09, Nathan Rixham wrote: IMHO forget the active flag, replace it with a field deleted which is a timestamp, then you've got an audit trail of when the it was removed :) infact often seen three fields on every table, inserted, updated and deleted all timestamps and self

Re: [PHP] Re: More questions about SESSION use

2009-02-05 Thread VamVan
On Thu, Feb 5, 2009 at 9:16 AM, Terion Miller webdev.ter...@gmail.comwrote: On Mon, Feb 2, 2009 at 4:18 PM, Chris dmag...@gmail.com wrote: Edmund Hertle wrote: 2009/2/1 Terion Miller webdev.ter...@gmail.com This is how it was originally written: if (empty($_SESSION['AdminLogin'])

Re: [PHP] Re: More questions about SESSION use

2009-02-05 Thread Ashley Sheridan
On Thu, 2009-02-05 at 11:16 -0600, Terion Miller wrote: On Mon, Feb 2, 2009 at 4:18 PM, Chris dmag...@gmail.com wrote: Edmund Hertle wrote: 2009/2/1 Terion Miller webdev.ter...@gmail.com This is how it was originally written: if (empty($_SESSION['AdminLogin']) ||

Re: [PHP] Blank page of hell..what to look for

2009-02-05 Thread Bruno Fajardo
Maybe X-Debug (http://www.xdebug.org/) could help you find bugs in your code, and for development environments it's recommended to use the most sensitive level of messages (turn on E_STRICT and E_NOTIVE, for example). 2009/2/5 Ashley Sheridan a...@ashleysheridan.co.uk On Thu, 2009-02-05 at

Re: [PHP] Garbage Collection

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 02:48:14PM -0500, tedd wrote: At 7:03 PM + 2/5/09, Nathan Rixham wrote: IMHO forget the active flag, replace it with a field deleted which is a timestamp, then you've got an audit trail of when the it was removed :) infact often seen three fields on every table,

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Jim Lucas
Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web app writen in php. The database is MySql, and i need to do this connection every 3s to check data, get the data back and save into

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web app writen in php. The database is MySql, and i need to do this connection every 3s to check

RE: [PHP] Connect local app to a web app

2009-02-05 Thread bruce
hi... can you describe in psuedocode what you're trying to accomplish? might be able to help if i have a better understanding of where you're trying to go. -Original Message- From: Jônatas Zechim [mailto:zechim@gmail.com] Sent: Thursday, February 05, 2009 11:25 AM To:

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Alpár Török
2009/2/5 Paul M Foster pa...@quillandmouse.com On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web app writen in php. The database is MySql,

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Alpár Török
2009/2/5 Alpár Török torokal...@gmail.com 2009/2/5 Paul M Foster pa...@quillandmouse.com On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or php-gtk to a web

Re: [PHP] Connect local app to a web app

2009-02-05 Thread Jim Lucas
Alpár Török wrote: 2009/2/5 Alpár Török torokal...@gmail.com 2009/2/5 Paul M Foster pa...@quillandmouse.com On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: Hi there, i'm here again, but now with another doubt. What's the best way to connect a local app write in php or

RES: [PHP] Connect local app to a web app

2009-02-05 Thread Jônatas Zechim
Ok, i have a app running on a website writen in php that insert data into a database(web) every 3s all day long, and I need to get this data(every 3s too) and save into local database, both are mysql database, but I don't know the best way to do it, with socks, XML, XML-RPC. Thanks Zechim.

Re: [PHP] Is it possible to send POST vars through aheaderredirect?

2009-02-05 Thread Shawn McKenzie
tedd wrote: At 1:18 PM -0600 2/5/09, Shawn McKenzie wrote: tedd wrote: At 2:52 AM -0700 2/5/09, TS wrote: I want my script to run and redirect with the var to another page without the user seeing it. Currently, I am using GET and header(Location: http://domain/?somevar=somevalue;)

Re: [PHP] Re: More questions about SESSION use

2009-02-05 Thread Terion Miller
Just use a session_start() before any output to the server, and the sessions array will be available to your code. Ash www.ashleysheridan.co.uk Ah ha...and now I know why my O'reilly book Web Database Applications with PHP was so inexpensive... :) it's outdated...oops...

Re: RES: [PHP] Connect local app to a web app

2009-02-05 Thread Jim Lucas
Jônatas Zechim wrote: Ok, i have a app running on a website writen in php that insert data into a database(web) every 3s all day long, and I need to get this data(every 3s too) and save into local database, both are mysql database, but I don't know the best way to do it, with socks, XML,

[PHP] DB Comparisons

2009-02-05 Thread revDAVE
Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle - coldfusion etc I imagine that most middleware like php / asp / coldfusion is relatively good fast

[PHP] Re: DB Comparisons

2009-02-05 Thread Nathan Rixham
revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle - coldfusion etc I imagine that most middleware like php / asp / coldfusion is

Re: RES: [PHP] Bad words [SQL, database, txt, whatever]

2009-02-05 Thread Shawn McKenzie
Ashley Sheridan wrote: On Wed, 2009-02-04 at 18:34 -0200, Jônatas Zechim wrote: Thank you, but i thought one of you had the .sql or .txt, .xls, etc. I had already find that results. But it's ok now.. zechim -Mensagem original- De: Andrew Ballard [mailto:aball...@gmail.com]

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Robert Cummings
On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote: revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle - coldfusion etc

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Nathan Rixham
Robert Cummings wrote: On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote: revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle -

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Ashley Sheridan
On Thu, 2009-02-05 at 16:19 -0500, Robert Cummings wrote: On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote: revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other

Re: RES: [PHP] Bad words [SQL, database, txt, whatever]

2009-02-05 Thread Ashley Sheridan
On Thu, 2009-02-05 at 15:07 -0600, Shawn McKenzie wrote: Ashley Sheridan wrote: On Wed, 2009-02-04 at 18:34 -0200, Jônatas Zechim wrote: Thank you, but i thought one of you had the .sql or .txt, .xls, etc. I had already find that results. But it's ok now.. zechim -Mensagem

Re: [PHP] DB Comparisons

2009-02-05 Thread Larry Garfield
On Thu, 05 Feb 2009 12:36:02 -0800, revDAVE c...@hosting4days.com wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle - coldfusion etc I

[PHP] Preserving History

2009-02-05 Thread tedd
Hi gang: To further the Garbage Collection thread on to another level (i.e., preserving history) please consider this: Okay, let's say we have a table containing all the instances of tutors teaching courses. A record might look like this: Course-to-Tutor table course_id = 123 tutor_id = 7

[PHP] CLI not obeying php.ini

2009-02-05 Thread Philip Thompson
In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I get a lot of notices even when I said I don't want them. Also, in my script, I specified error_reporting(E_ERROR) in attempts to explicitly tell it what I want. It doesn't work

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Stuart
2009/2/5 Nathan Rixham nrix...@gmail.com: Robert Cummings wrote: On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote: revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other

Re: [PHP] DB Comparisons

2009-02-05 Thread Chris
Larry Garfield wrote: On Thu, 05 Feb 2009 12:36:02 -0800, revDAVE c...@hosting4days.com wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle -

Re: [PHP] Preserving History

2009-02-05 Thread Dan Shirah
Hi gang: To further the Garbage Collection thread on to another level (i.e., preserving history) please consider this: Okay, let's say we have a table containing all the instances of tutors teaching courses. A record might look like this: Course-to-Tutor table course_id = 123 tutor_id

Re: [PHP] DB Comparisons

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 12:36:02PM -0800, revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with php) with other technologies like MS sequel server oracle - coldfusion etc I imagine that

Re: [PHP] Preserving History

2009-02-05 Thread Chris
tedd wrote: Hi gang: To further the Garbage Collection thread on to another level (i.e., preserving history) please consider this: Okay, let's say we have a table containing all the instances of tutors teaching courses. A record might look like this: Course-to-Tutor table course_id = 123

Re: [PHP] Preserving History

2009-02-05 Thread Stuart
2009/2/5 tedd t...@sperling.com: To further the Garbage Collection thread on to another level (i.e., preserving history) please consider this: Okay, let's say we have a table containing all the instances of tutors teaching courses. A record might look like this: Course-to-Tutor table

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Robert Cummings
On Thu, 2009-02-05 at 21:28 +, Nathan Rixham wrote: Robert Cummings wrote: On Thu, 2009-02-05 at 21:03 +, Nathan Rixham wrote: revDAVE wrote: Hi Folks, I¹m curious if there are any previous discussions / Articles / URL¹s that compare the power and scalability of MySQL (with

Re: [PHP] CLI not obeying php.ini

2009-02-05 Thread Ashley Sheridan
On Thu, 2009-02-05 at 15:45 -0600, Philip Thompson wrote: In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I get a lot of notices even when I said I don't want them. Also, in my script, I specified error_reporting(E_ERROR) in

Re: [PHP] CLI not obeying php.ini

2009-02-05 Thread Chris
Philip Thompson wrote: In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I get a lot of notices even when I said I don't want them. Also, in my script, I specified error_reporting(E_ERROR) in attempts to explicitly tell it what I want.

Re: [PHP] CLI not obeying php.ini

2009-02-05 Thread Philip Thompson
On Feb 5, 2009, at 4:17 PM, Ashley Sheridan wrote: On Thu, 2009-02-05 at 15:45 -0600, Philip Thompson wrote: In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I get a lot of notices even when I said I don't want them. Also, in my script,

RE: [PHP] CLI not obeying php.ini

2009-02-05 Thread Boyd, Todd M.
-Original Message- From: Philip Thompson [mailto:philthath...@gmail.com] Sent: Thursday, February 05, 2009 3:45 PM To: PHP General list Subject: [PHP] CLI not obeying php.ini In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I

Re: [PHP] CLI not obeying php.ini

2009-02-05 Thread Philip Thompson
On Feb 5, 2009, at 4:10 PM, Chris wrote: Philip Thompson wrote: In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I get a lot of notices even when I said I don't want them. Also, in my script, I specified error_reporting(E_ERROR) in

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread revDAVE
On 2/5/2009 1:03 PM, Nathan Rixham nrix...@gmail.com wrote: Nathan - Thanks so much for your detailed info - much appreciated! On 2/5/2009 1:19 PM, Robert Cummings rob...@interjinn.com wrote: Isn't Yahoo using PHP? I thought Facebook too? Doesn't seem like they moved away from a scripting

Re: [PHP] Preserving History

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 04:38:25PM -0500, tedd wrote: Hi gang: To further the Garbage Collection thread on to another level (i.e., preserving history) please consider this: Okay, let's say we have a table containing all the instances of tutors teaching courses. A record might look like

Re: [PHP] CLI not obeying php.ini

2009-02-05 Thread Philip Thompson
On Feb 5, 2009, at 4:20 PM, Boyd, Todd M. wrote: -Original Message- From: Philip Thompson [mailto:philthath...@gmail.com] Sent: Thursday, February 05, 2009 3:45 PM To: PHP General list Subject: [PHP] CLI not obeying php.ini In my php.ini, I have error_reporting = E_ALL ~E_NOTICE

Re: [PHP] Sometime the code works and sometimes doesn't

2009-02-05 Thread German Geek
I would also suggest that you hash the passwords at least (better even with a salt value) and then reset the password to something random before sending it to the user. Email can be sniffed relatively easily and this would expose a possible carefully chosen password by the user and then they have

Re: [PHP] function_exists question

2009-02-05 Thread German Geek
Why can't you update to Version 5? I might be a bit anal about trying to always get the newest version of everything, but seriously version 3 has surely more known security issues as well as performance costs. What's the cost of upgrading compared to the cost of writing code that works in every

RE: [PHP] function_exists question

2009-02-05 Thread Boyd, Todd M.
-Original Message- From: th.he...@gmail.com [mailto:th.he...@gmail.com] On Behalf Of German Geek Sent: Thursday, February 05, 2009 5:02 PM To: t...@kinetix.gr Cc: Matt Pagel; php-general@lists.php.net Subject: Re: [PHP] function_exists question Why can't you update to Version 5?

Re: [PHP] function_exists question

2009-02-05 Thread Chris
How about this PHP developers: You could make a global variable (or constant) the user can set like define('PHP_COMPATIBLE_VERSION', '5.0.1'); or something to tell PHP 6 to interpret it like PHP 5.x . That way, at least you are guaranteed that the code will work like on that version. It might

Re: [PHP] German characters Ö,Ä etc. show up as ?

2009-02-05 Thread German Geek
Do they show up as ? just in the web page or in the source returned? Did you check the source of the page? I had this problem before and as far as i remember, i just needed to encode them like oe (have an american keyboard ;-) ouml; etc. If it's a literal ? in the source, it's PHP and you might

Re: [PHP] German characters Ö,Ä etc. show up as ?

2009-02-05 Thread Ashley Sheridan
On Fri, 2009-02-06 at 12:23 +1300, German Geek wrote: Do they show up as ? just in the web page or in the source returned? Did you check the source of the page? I had this problem before and as far as i remember, i just needed to encode them like oe (have an american keyboard ;-) ouml; etc. If

Re: [PHP] German characters Ö,Ä etc. show up as ?

2009-02-05 Thread Eric Butera
On Thu, Feb 5, 2009 at 7:37 AM, Merlin Morgenstern merli...@fastmail.fm wrote: Hi there, I recently upgraded on my prod system from php 4.x to the newest php version. Now german characters lik Ö show up as ?. I have the same setup running on a test server, where the characters show up OK.

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Phpster
Asp(.net) has no real problems connecting to mysql. But it's slower than php. Bastien Sent from my iPod On Feb 5, 2009, at 16:39, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2009-02-05 at 16:19 -0500, Robert Cummings wrote: On Thu, 2009-02-05 at 21:03 +, Nathan Rixham

[PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Daevid Vincent
Is there a way to use the default values of a function without specifying every single one until the parameter you want to modify in PHP5 ? I don't see it here, but feel this would be very useful indeed. http://www.php.net/manual/en/functions.arguments.php So given a function that takes seven

Re: [PHP] Email configuration

2009-02-05 Thread It flance
Thanks guys, I'm gonna read all this staff, and let you know if have some issues. Thanks a lot --- On Thu, 2/5/09, Yannick Mortier mvmort...@googlemail.com wrote: From: Yannick Mortier mvmort...@googlemail.com Subject: Re: [PHP] Email configuration To: t...@kinetix.gr Cc:

Re: [PHP] Clarity needed

2009-02-05 Thread Jochem Maas
Daniel Brown schreef: On Thu, Feb 5, 2009 at 07:56, Jochem Maas joc...@iamjochem.com wrote: and the answer to you Q, like everyone else said: yup :-) PS - given you unlimited resources you might consider doing a charitable donation to FoxNews aficionados :-) Or reminding you how to

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Daniel Brown
On Thu, Feb 5, 2009 at 18:50, Daevid Vincent dae...@daevid.com wrote: Is there a way to use the default values of a function without specifying every single one until the parameter you want to modify in PHP5 ? Daevid, Check out func_get_args(): http://php.net/func_get_args Then

Re: [PHP] Clarity needed

2009-02-05 Thread Shawn McKenzie
Jochem Maas wrote: Daniel Brown schreef: On Thu, Feb 5, 2009 at 07:56, Jochem Maas joc...@iamjochem.com wrote: and the answer to you Q, like everyone else said: yup :-) PS - given you unlimited resources you might consider doing a charitable donation to FoxNews aficionados :-) Or

Re: [PHP] Preserving History

2009-02-05 Thread Jochem Maas
Dan Shirah schreef: Hi gang: To further the Garbage Collection thread on to another level (i.e., preserving history) please consider this: Okay, let's say we have a table containing all the instances of tutors teaching courses. A record might look like this: Course-to-Tutor table

Re: [PHP] CLI not obeying php.ini

2009-02-05 Thread Micah Gersten
Philip Thompson wrote: In my php.ini, I have error_reporting = E_ALL ~E_NOTICE When I run a script from the command line, I get a lot of notices even when I said I don't want them. Also, in my script, I specified error_reporting(E_ERROR) in attempts to explicitly tell it what I want.

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread German Geek
I've thought about this problem before but couldn't think of a solution either. How does func_get_args() solve this? You could make a wrapper function without that. How would u (php) know which parameter u mean in a particular case? I think it would just be useful to have an IDE that can write

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Jim Lucas
Daevid Vincent wrote: Is there a way to use the default values of a function without specifying every single one until the parameter you want to modify in PHP5 ? I don't see it here, but feel this would be very useful indeed. http://www.php.net/manual/en/functions.arguments.php So given

Re: [PHP] How can I use a function's default arguments but change one of the end ones in the list?

2009-02-05 Thread Shawn McKenzie
German Geek wrote: I've thought about this problem before but couldn't think of a solution either. How does func_get_args() solve this? You could make a wrapper function without that. How would u (php) know which parameter u mean in a particular case? I think it would just be useful to

  1   2   >