Re: [PHP] File Manager

2009-02-05 Thread Yannick Mortier
2009/2/5 Sn!per : > 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: http://phpfm.sourceforge.net/ -

Re: [PHP] Clarity needed

2009-02-05 Thread metastable
Yannick Mortier wrote: > 2009/2/4 tedd : > >> 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 wh

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 internet

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 fi

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 i

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 w

[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: default_

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 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 regu

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: http://www.php.net/unsub.

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 afic

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 wrote: > [snip] > can anybody tell me the benefits

[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. $host = 'xxx'; $user = 'xxx'; $password = 'xxx'; $dbName = '

Re: [PHP] Email configuration

2009-02-05 Thread Thodoris
2009/2/5 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

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 varia

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 wrote: [snip] can anybody tell me the benef

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) But

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 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 have a V

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 w

Re: [PHP] Email configuration

2009-02-05 Thread Yannick Mortier
2009/2/5 Thodoris : > > 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 you just hav

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 wrote: [snip] can any

[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 ou

Re: [PHP] Garbage Collection

2009-02-05 Thread Eric Butera
On Thu, Feb 5, 2009 at 11:06 AM, tedd 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

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 tu

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 wa

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 t

Re: [PHP] Garbage Collection

2009-02-05 Thread Bastien Koert
On Thu, Feb 5, 2009 at 11:10 AM, Eric Butera wrote: > On Thu, Feb 5, 2009 at 11:06 AM, tedd 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-tuto

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 Shak

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

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

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 c

Re: [PHP] Clarity needed

2009-02-05 Thread Daniel Brown
On Thu, Feb 5, 2009 at 07:56, Jochem Maas 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. What the hell are y

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.

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 General

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 > sea

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

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 sel

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

2009-02-05 Thread VamVan
On Thu, Feb 5, 2009 at 9:16 AM, Terion Miller wrote: > On Mon, Feb 2, 2009 at 4:18 PM, Chris wrote: > > > Edmund Hertle wrote: > > > >> 2009/2/1 Terion Miller > >> > >> This is how it was originally written: > > if (empty($_SESSION['AdminLogin']) || $_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 wrote: > > > Edmund Hertle wrote: > > > >> 2009/2/1 Terion Miller > >> > >> This is how it was originally written: > > if (empty($_SESSION['AdminLogin']) || $_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 > > On Thu, 2009-02-05 at 12:22 -0500, Paul M Foster w

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 e

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 loc

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: php-general@l

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

2009-02-05 Thread Alpár Török
2009/2/5 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 t

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 > > > 2009/2/5 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. >>

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 > >> >> 2009/2/5 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

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://

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 relat

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...

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

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 - coldfu

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) w

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

Re: [PHP] DB Comparisons

2009-02-05 Thread Larry Garfield
On Thu, 05 Feb 2009 12:36:02 -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

[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 d

[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 either

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread Stuart
2009/2/5 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 p

Re: [PHP] DB Comparisons

2009-02-05 Thread Chris
Larry Garfield wrote: On Thu, 05 Feb 2009 12:36:02 -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 imagi

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

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 th

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 t

Re: [PHP] Preserving History

2009-02-05 Thread Stuart
2009/2/5 tedd : > 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] 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 scalabil

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)

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. I

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 comm

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 att

Re: [PHP] Re: DB Comparisons

2009-02-05 Thread revDAVE
On 2/5/2009 1:03 PM, "Nathan Rixham" wrote: Nathan - Thanks so much for your detailed info - much appreciated! On 2/5/2009 1:19 PM, "Robert Cummings" wrote: > Isn't Yahoo using PHP? I thought Facebook too? Doesn't seem like they > moved away from a scripting language. And BTW - it seems as t

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 li

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 Whe

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 t

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 ve

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 Ver

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 ;-) ö etc. If it's a literal ? in the source, it's PHP and you might need to

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 > ;-) ö 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 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] 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 wrote: 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

[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 par

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 wrote: > From: Yannick Mortier > Subject: Re: [PHP] Email configuration > To: t...@kinetix.gr > Cc: itmaqu...@yahoo.com, php-general@lists.php.net > Date: Thursd

Re: [PHP] Clarity needed

2009-02-05 Thread Jochem Maas
Daniel Brown schreef: > On Thu, Feb 5, 2009 at 07:56, Jochem Maas 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

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 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 you can rename y

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 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

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-Tut

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

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 ou

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

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

  1   2   >