Re: [PHP] Running Apache in one machine and php in another

2004-02-05 Thread Mrs. Geeta Thanu
Thank you Jason and Adam for your quick and valuable replies. Putting Apache and PHP in one machine and high end computation in another machine will be good solution for my problem. Can I know any good URL which says about php's stream,curl,socket functions. Thanks once again Geetha On Fri, 6 F

RE: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-05 Thread Adam Bregenzer
On Thu, 2004-02-05 at 18:57, Chris W. Parker wrote: > Yeah this list seems to be the worst when it comes to messages of this > sort. I suggest you just get used to it. :) > > Also understand that EVERYONE else gets the same stuff. (At least I > think everyone else gets them...) What makes these m

Re: [PHP] Running Apache in one machine and php in another

2004-02-05 Thread Jason Wong
On Saturday 07 February 2004 03:35, Mrs. Geeta Thanu wrote: > This is an requirement in bioinformatics lab where they want to submit a > huge genome sequence as a input to a program ( say in c) and get the > result and display. > > Now i want this c program in another high end machine because it n

Re: [PHP] Running Apache in one machine and php in another

2004-02-05 Thread Adam Bregenzer
On Fri, 2004-02-06 at 14:55, Mrs. Geeta Thanu wrote: > I feel the PHP script and the C program should be in one machine > and apache in another. > > When a user click the link the php script should upload a form get the > input and show the result. > > So apache should support running PHP in ano

Re: [PHP] Running Apache in one machine and php in another

2004-02-05 Thread Mrs. Geeta Thanu
Hi , This is in addition to my previous mail. I feel the PHP script and the C program should be in one machine and apache in another. When a user click the link the php script should upload a form get the input and show the result. So apache should support running PHP in another machine.Is it p

Re: [PHP] Running Apache in one machine and php in another

2004-02-05 Thread Mrs. Geeta Thanu
Hi Jason, Thank you for your reply. This is an requirement in bioinformatics lab where they want to submit a huge genome sequence as a input to a program ( say in c) and get the result and display. Now i want this c program in another high end machine because it needs lot of computations, which is

Re: [PHP] Running Apache in one machine and php in another

2004-02-05 Thread Jason Wong
On Saturday 07 February 2004 02:57, Mrs. Geeta Thanu wrote: > I have configured Apache webserver executing PHP scripts on sun machine > and everything is working fine. > > Now I want the web server to pass on the PHP executions to > another machine and once done should get the result and display

[PHP] Running Apache in one machine and php in another

2004-02-05 Thread Mrs. Geeta Thanu
Hi all, I have configured Apache webserver executing PHP scripts on sun machine and everything is working fine. Now I want the web server to pass on the PHP executions to another machine and once done should get the result and display it. Is it possible . If so can anybody help me, what confi

Re: [PHP] boolean search class

2004-02-05 Thread daniel
databased php scripts ? > > Lucene works with files itself. If your data is in a database then i > would use the database to handle it for me...mysql offers full-text > search and postgresql offers full-text with some modifications. > > However, if you dont have a database, i would recommend using

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 21:26, [EMAIL PROTECTED] wrote: > > On Thu, 2004-02-05 at 21:09, [EMAIL PROTECTED] wrote: > >> > > >> > I have used lucene (Jakarta-Apache) for doing searchs that is > >> > outstanding. > >> > > >> What does it use ? > > > > > > Lucene is actually a Jakarta-Apache (java) proje

Re: [PHP] boolean search class

2004-02-05 Thread daniel
> On Thu, 2004-02-05 at 21:09, [EMAIL PROTECTED] wrote: >> > >> > I have used lucene (Jakarta-Apache) for doing searchs that is >> > outstanding. >> > >> What does it use ? > > > Lucene is actually a Jakarta-Apache (java) project. I have used it to > implement site searches, search keyword highlig

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 21:09, [EMAIL PROTECTED] wrote: > > > > I have used lucene (Jakarta-Apache) for doing searchs that is > > outstanding. > > > What does it use ? Lucene is actually a Jakarta-Apache (java) project. I have used it to implement site searches, search keyword highlighting for var

Re: [PHP] boolean search class

2004-02-05 Thread daniel
> > I have used lucene (Jakarta-Apache) for doing searchs that is > outstanding. > What does it use ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] recursive direcotry listing

2004-02-05 Thread Ray Hunter
On Wed, 2004-02-04 at 22:36, Binay wrote: > is there function which scans a particual directory recurisly and stores the content > in array or other way? Listing of files should be in alphabetical way and > directories should come on top. > Currently there is not a function that will go down re

Re: [PHP] Japanese Language

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 19:39, KidLat Ngayon wrote: > my problem is the language from my database, they > inputted some english and japanese language > > whenever i've open the file in staroffice, it can read > the nihongo, however when i open it in microsoft > office, it turns out that the niho

Re: [PHP] boolean search class

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 20:46, David T-G wrote: > Hi, all -- > > I'm implementing a search and would like to move beyond accepting > > this that other > > for simple any-word searching to a real boolean search. Has anyone seen > any good classes or even functions for such? [No, the source cont

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 20:42, [EMAIL PROTECTED] wrote: > > > > Not sure about that, i have only got the windows to login by using php > > ldap functions and active directory. > > Yeh thats what i meant how is this possible ? http://builder.com.com/5100-6387-5032010.html?tag=search That should get

Re: [PHP] boolean search class

2004-02-05 Thread David T-G
Daniel, et al -- ...and then [EMAIL PROTECTED] said... % % Mysql 4 MATCH AGAINST Thanks for the reply, but how will this help me when a database is not involved? HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not suffi

Re: [PHP] boolean search class

2004-02-05 Thread daniel
Mysql 4 MATCH AGAINST > Hi, all -- > > I'm implementing a search and would like to move beyond accepting > > this that other > > for simple any-word searching to a real boolean search. Has anyone > seen any good classes or even functions for such? [No, the source > contents are not in a database

[PHP] boolean search class

2004-02-05 Thread David T-G
Hi, all -- I'm implementing a search and would like to move beyond accepting this that other for simple any-word searching to a real boolean search. Has anyone seen any good classes or even functions for such? [No, the source contents are not in a database, so I won't be passing SQL code off

Re: [PHP] Novell and PHP

2004-02-05 Thread daniel
> > Not sure about that, i have only got the windows to login by using php > ldap functions and active directory. Yeh thats what i meant how is this possible ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 20:25, [EMAIL PROTECTED] wrote: > > > > This is a project that allows for PHP integration on Novell NetWare > > systems. > > I dont particularly know what exact netware systems we have but would this > mean i could create sessions in my projects that will sync up the windows

[PHP] Re: xml posts

2004-02-05 Thread Manuel Lemos
Hello, On 02/04/2004 12:59 PM, Diana Castillo wrote: does anyone know why some xml applications that work when sent with active-x objects dont work when I send the xml with php instead? what can I do to make them arrive in the same way as they do when sent with active-x objects? What are you talki

Re: [PHP] Novell and PHP

2004-02-05 Thread daniel
> > This is a project that allows for PHP integration on Novell NetWare > systems. I dont particularly know what exact netware systems we have but would this mean i could create sessions in my projects that will sync up the windows login system with the databased one ? Like i could personlise a s

Re: [PHP] Novell and PHP

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 20:09, [EMAIL PROTECTED] wrote: > Can someone explain what this all means then > > http://forge.novell.com/modules/xfmod/project/?php > > Are they supporting php or are they planning to take over something that is > impossible ? > > We have novell systems at work, if this m

[PHP] Novell and PHP

2004-02-05 Thread daniel
Can someone explain what this all means then http://forge.novell.com/modules/xfmod/project/?php Are they supporting php or are they planning to take over something that is impossible ? We have novell systems at work, if this means easier intergration with php on unix with novell products like ld

Re: [PHP] thumbnail script

2004-02-05 Thread Jason Wong
On Friday 06 February 2004 10:42, Ryan A wrote: >2. This creates > the thumb dynamically via an img tagbut does not save it...so everytime > a visitor opens up the "portfolio" > it generates the thumbwhich will be a load on the server in the long > run, something that would be cut down > a

Re: [PHP] CVS style project system

2004-02-05 Thread daniel
> I would search around and see if there is anything out there that does > what you want. CVS and repository systems are quite complex to write > and for performance you probably dont want to write the system in php. > > The first thing down that long road would be to gather all the > requirements

[PHP] thumbnail script

2004-02-05 Thread Ryan A
Hi, Anybody know of a thumbnail script which does either one of the following: 1.Support GIF,JPG,PNG, when called the first time it should show/create the thumbnail "on the fly" and save it. or 2.Support GIF,JPG,PNG and thumbnail image any new files uploaded, and save the thumb to another director

[PHP] Japanese Language

2004-02-05 Thread KidLat Ngayon
Greetings i would just like to ask a favor regarding on php-mysql-excell format i'm using the php as my programming language with the following information: System SunOS repair-c 5.9 PHP Version 4.3.2 and for mysql as my database, its: mysqladmin Ver 8.23 Distrib 3.23.58 below is the p

Re: [PHP] re: multilingual website

2004-02-05 Thread Tom Rogers
Hi, Friday, February 6, 2004, 7:44:15 AM, you wrote: EG> For some great information on how to internationalize a PHP EG> application, I would suggest checking out: EG>http://us3.php.net/manual/en/ref.gettext.php My template class (yes another one) has the ability to use gettext for transla

Re: [PHP] CVS style project system

2004-02-05 Thread Ray Hunter
On Thu, 2004-02-05 at 18:21, [EMAIL PROTECTED] wrote: > Hi there, i have been asked to build a system for a project file space, > where a list of users of different groups can start new projects for their > group, add files for that project of the group and/or revise current files > with different

[PHP] CVS style project system

2004-02-05 Thread daniel
Hi there, i have been asked to build a system for a project file space, where a list of users of different groups can start new projects for their group, add files for that project of the group and/or revise current files with different versions. It will be a cvs like system, but i dont think cvs w

Re: [PHP] Re: Need a way to automate user logout

2004-02-05 Thread Robby Russell
Ben Ramsey typed this on 02/05/2004 01:55 PM: Write the script in perl and chmod it to 755. Then use cron to schedule it. Here's a tutorial to show you how: http://www.unixgeeks.org/security/newbie/unix/cron-1.html Why not do this in PHP cmdline instead? This is a PHP list right? :-p -- #-

RE: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-05 Thread Chris W. Parker
Adam Bregenzer on Thursday, February 05, 2004 1:45 PM said: > I get one of these for almost every message I send, usually with a > delay of a few days and always the same error. I see my posts come > from the list to me and I see people replying to my messages so th

Re: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-05 Thread Adam Bregenzer
On Thu, 2004-02-05 at 17:50, Luke wrote: > Me too, and im using the newsgroup, not even the mailing list!! :/ Hmm, that leads me to think this is a problem not related to php's mail server at all. (/me stops filling out a bug report) I sent a message to [EMAIL PROTECTED] If I find a solution I'

Re: [PHP] Website Architecture

2004-02-05 Thread joel boonstra
On Thu, Feb 05, 2004 at 05:42:54PM -0500, joel boonstra wrote: > # ini_set(): > ini_set('include_path', "{$_SERVER['DOCUMENT_ROOT']}:."); Replying to myself, it appears that PHP >= 4.3.0 has a family of functions specifically for tweaking include_path: http://www.php.net/manual/en/function

Re: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-05 Thread Luke
Me too, and im using the newsgroup, not even the mailing list!! :/ -- Luke "Craig" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I get one of these for almost every message I send, usually > with a delay > of a few days and always the same error. I see my posts come from

Re: [PHP] Website Architecture

2004-02-05 Thread joel boonstra
On Thu, Feb 05, 2004 at 04:35:14PM -0600, John Nichel wrote: > And if document root is different from include path? What if the > include path is outside of document root? You CANNOT rely on > include_path to accomplish this. Sorry, I should have been more specific. I was implying that you w

Re: [PHP] Website Architecture

2004-02-05 Thread John Nichel
joel boonstra wrote: On Thu, Feb 05, 2004 at 09:48:22PM +, Stuart wrote: Eric Gorr wrote: A solution I found was in dirA/index.php, to chdir( ".." ); before the require_once, which moves the current directory to SiteRootDir and allows otherfuncs.php to be found ... is this the best way to s

RE: [PHP] php-general list question - [Fwd: Delivery Report (failure) forphp-general@lists.php.net]

2004-02-05 Thread craig
> I get one of these for almost every message I send, usually > with a delay > of a few days and always the same error. I see my posts come from the > list to me and I see people replying to my messages so the > list seems to > be processing my posts. It's annoying however to keep getting these.

Re: [PHP] Website Architecture

2004-02-05 Thread joel boonstra
On Thu, Feb 05, 2004 at 09:48:22PM +, Stuart wrote: > Eric Gorr wrote: > >A solution I found was in dirA/index.php, to chdir( ".." ); before > >the require_once, which moves the current directory to SiteRootDir and > >allows otherfuncs.php to be found ... is this the best way to solve this >

[PHP] Re: Need a way to automate user logout

2004-02-05 Thread Christian Calloway
awesome, thanks for the quick replies guys "Christian Calloway" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Damn stateless nature of HTTP, hey everyone, can someone point me or give me > an idea on how I would automatically log out (destroy user sessions and make > note of it in

Re: [PHP] Need a way to automate user logout

2004-02-05 Thread Christian Calloway
I am already doing this, but the problem is is if the user closes their browser and then comes back 2 days later, I have no choice but to debit that time. "Lucas Gonze" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > One way is to save the time of last access every time a user requ

Re: [PHP] Need a way to automate user logout

2004-02-05 Thread John Nichel
Christian Calloway wrote: Damn stateless nature of HTTP, hey everyone, can someone point me or give me an idea on how I would automatically log out (destroy user sessions and make note of it in the database) on some type of schedule. I have designed a security system that depends upon people loggi

RE: [PHP] Need a way to automate user logout

2004-02-05 Thread craig
> I can write a script in > perl, php, java, u name it, but how do I have it run on a set > schedule? > Thanks > > Christian you will want to use the cron command. run 'man cron' at a shell prompt to get the manual page that will explain the finer points. =) HTH, Craig > -- > PHP General Mailing

[PHP] Re: Need a way to automate user logout

2004-02-05 Thread Ben Ramsey
Write the script in perl and chmod it to 755. Then use cron to schedule it. Here's a tutorial to show you how: http://www.unixgeeks.org/security/newbie/unix/cron-1.html Christian Calloway wrote: Damn stateless nature of HTTP, hey everyone, can someone point me or give me an idea on how I wou

Re: [PHP] Need a way to automate user logout

2004-02-05 Thread Lucas Gonze
One way is to save the time of last access every time a user requests a page, then poll to find users for whom now() - last_access_time > TIMEOUT. - Lucas On Thu, 5 Feb 2004, Christian Calloway wrote: > Damn stateless nature of HTTP, hey everyone, can someone point me or give me > an idea on ho

Re: [PHP] Website Architecture

2004-02-05 Thread Stuart
Eric Gorr wrote: A solution I found was in dirA/index.php, to chdir( ".." ); before the require_once, which moves the current directory to SiteRootDir and allows otherfuncs.php to be found ... is this the best way to solve this problem? Qualify relative paths by prepending $_SERVER['DOCUMENT_ROOT

[PHP] Need a way to automate user logout

2004-02-05 Thread Christian Calloway
Damn stateless nature of HTTP, hey everyone, can someone point me or give me an idea on how I would automatically log out (destroy user sessions and make note of it in the database) on some type of schedule. I have designed a security system that depends upon people logging out to determine the amo

RE: [PHP] Website Architecture

2004-02-05 Thread Shaunak Kashyap
The best way, IMHO, is to use absolute paths (from docroot, of course) whenever you include or require files. The same logic can be applied to the related problem of links. Shaunak > -Original Message- > From: Eric Gorr [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 05, 2004 4:35 PM

[PHP] php-general list question - [Fwd: Delivery Report (failure) for php-general@lists.php.net]

2004-02-05 Thread Adam Bregenzer
I get one of these for almost every message I send, usually with a delay of a few days and always the same error. I see my posts come from the list to me and I see people replying to my messages so the list seems to be processing my posts. It's annoying however to keep getting these. Anybody els

Re: [PHP] Re: Using sessions with register globals off

2004-02-05 Thread James Kaufman
On Thu, Feb 05, 2004 at 02:32:49PM -0500, Phillip Jackson wrote: > it's this easy with register_globals off: > > $_SESSION['order'] = "someValue"; > > no need to name the session. > > ~Phillip > > > "John Nichel" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Randall Perry w

[PHP] re: multilingual website

2004-02-05 Thread Eric Gorr
For some great information on how to internationalize a PHP application, I would suggest checking out: http://us3.php.net/manual/en/ref.gettext.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] multilingual website

2004-02-05 Thread Vail, Warren
the PHPNuke (Portal software used all over the world, http://phpnuke.org/) code uses selectable including of php files containing define statements; in a directory call language (usually) there are files named lang-.php where is the name of the language; the current language selection is

[PHP] Website Architecture

2004-02-05 Thread Eric Gorr
I've got a directory structure similar to this: SiteRootDir index.php dirA index.php dirB funcs.php otherfuncs.php In the SiteRootDir/index.php, I've got: require_once( dirB/funcs.php ); in funcs.php, I've got: require_once( otherfuncs.php ); which works because SiteRoot

Re: [PHP] multilingual website

2004-02-05 Thread John W. Holmes
From: "Shaunak Kashyap" <[EMAIL PROTECTED]> > > My inclination would be to just use the DB, have linked tables with > > languages and pieces of text in various languages. A single query could > > get a full language preference setting for a site, and a little array > > munging could turn it into a

RE: [PHP] multilingual website

2004-02-05 Thread Robert Cummings
On Thu, 2004-02-05 at 15:46, Shaunak Kashyap wrote: > > My inclination would be to just use the DB, have linked tables with > > languages and pieces of text in various languages. A single query could > > get a full language preference setting for a site, and a little array > > munging could turn it

RE: [PHP] multilingual website

2004-02-05 Thread Shaunak Kashyap
> My inclination would be to just use the DB, have linked tables with > languages and pieces of text in various languages. A single query could > get a full language preference setting for a site, and a little array > munging could turn it into a usable set of key/value pairs, where the key > is th

Re: [PHP] multilingual website

2004-02-05 Thread Michal Migurski
>i'm looking here for some help with the design of a multilingual website. >Everything in that website needs to change from a language to an other. > >I've made search on the web to find some examples but i couldn't find very >interesting things about how to manage that, using php. >What's best ? >

[PHP] multilingual website

2004-02-05 Thread julien dufourcq
hi, i'm looking here for some help with the design of a multilingual website. Everything in that website needs to change from a language to an other. I've made search on the web to find some examples but i couldn't find very interesting things about how to manage that, using php. What's best ? -

[PHP] performance of classes vs. functions for database connections

2004-02-05 Thread Phillip Jackson
i have a function that does authentication of a user, whose user/pass are stored in an md5($var ) fashion. i query these from the mysql db in an authentication (if !$user || !pass) function checking against md5($pass). my thinking is that classes would be better suited to grab object properties, s

Re: [PHP] Re: Using sessions with register globals off

2004-02-05 Thread Phillip Jackson
it's this easy with register_globals off: $_SESSION['order'] = "someValue"; no need to name the session. ~Phillip "John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Randall Perry wrote: > > > Ok, with register globals on, this works ('order' being a php object): > > >

RE: [PHP] MySQL: Order by

2004-02-05 Thread John Taylor-Johnston
Thanks all. That solved the problem. I should have realised it. Still learning ... :) -- John Taylor-Johnston http://compcanlit.ca/ > Sounds like your 'number' column is not actually a number but a string. > Change it to type INT and that should fix it. > Chris. -- PHP General Mailing List (h

[PHP] Re: Check to remove file that are older than 1 week

2004-02-05 Thread Eric Bolikowski
Hi Here's a little function I made up for this: $time_limit){ unlink($file); } } } closedir($df); } } delete_old_files('.'); ?> Hope that's what you need. Eric "Yc Nyon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I want to delete files than are o

Re: [PHP] problem identifying $_SERVER['HTTP_REFERER']

2004-02-05 Thread Lucas Gonze
First thing to do is figure out whether the problem is with the referrer var or with your code. Try adding a logger to dump all environment vars to a log file, then check it the next time one of these errors comes up. good luck. - Lucas On Thu, 5 Feb 2004, Pablo Gosse wrote: > Hi all. I've g

[PHP] problem identifying $_SERVER['HTTP_REFERER']

2004-02-05 Thread Pablo Gosse
Hi all. I've got a simple mailer script that I wrote a few years ago that has been acting up over the past week. The problem is with the following check I perform at the very top of the script: if (!stristr($_SERVER['HTTP_REFERER'],"unbc.ca")) { die("You can't access this script outside of our

Re: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 05/02/2004 at 10:46 Adam Bregenzer wrote: >On Thu, 2004-02-05 at 08:13, Harry Sufehmi wrote: >> So there's a reasonably easy way to decrypt those encoded files then ? >(despite those vendors' claim...) >There isn't a program to revert encoded files to their original state, >but there is a disass

[PHP] Re: No tutorials/examples to be found on using PHP dbm-style functions with apache's mod_auth_db

2004-02-05 Thread Colm Ward
Thanks for you reply. You were right, I went back to the Apache manual, where there are links to tutorials on setting this up. It seems that the tricky bits are more in the configuration of apache rather than the php code you use. I ended up switching to mod_auth_mysql instead just because of my

[PHP] Strange results on Printer Friendly page

2004-02-05 Thread Alex Hogan
Hi, I have a printer friendly page that is passed a url param from the detail page. On the detail page I have a series of questions that appear as they should. However when I go to the printer friendly page I'm missing the first question. I get all the others. I can't seem to find a reason

[PHP] Re: Selling PHP Code? PHP Careers?

2004-02-05 Thread omer katz
Never self-employ urself(aka don't work alone) - alote of mess and nobody is coming to buy your great stuff :) Work on a big compeny or start your own. But NEVER EVER work alone. "Galen" <[EMAIL PROTECTED]> ??? ??:[EMAIL PROTECTED] > Hi PHP list, > > I seem to have a knack for really powerful,

[PHP] How can I run php 5 beta 3 on windows?

2004-02-05 Thread omer katz
Can I update PHPTraid's php files? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Using sessions with register globals off

2004-02-05 Thread Jason Wong
On Friday 06 February 2004 01:16, Randall Perry wrote: > Get the errors: > PHP Notice: Undefined variable: _SESSION > PHP Fatal error: Call to undefined function: print_something() > Meaning the _SESSION arr is not recognized and the $order obj variable has > not been passed. > > What

Re: [PHP] Re: Using sessions with register globals off

2004-02-05 Thread John Nichel
Randall Perry wrote: Ok, with register globals on, this works ('order' being a php object): session_name('name'); session_register('order'); $order->print_something(); With with register globals off, this fails: session_name('name'); $order = $_SESSION['order']; $order->

Re: [PHP] Re: authentication using /etc/passwd

2004-02-05 Thread Jason Wong
On Friday 06 February 2004 01:13, Jas wrote: > Adam Williams wrote: > > Hi, is there a way to authenticate a username/password someone enters in > > a form with what is in /etc/passwd? > Yep, do a search on .htaccess from http://google.com I'm afraid you may be sending the OP on a wild goose chas

Re: [PHP] Re: Using sessions with register globals off

2004-02-05 Thread Randall Perry
Ok, with register globals on, this works ('order' being a php object): session_name('name'); session_register('order'); $order->print_something(); With with register globals off, this fails: session_name('name'); $order = $_SESSION['order']; $order->print_something(); G

[PHP] Re: authentication using /etc/passwd

2004-02-05 Thread Jas
Adam Williams wrote: Hi, is there a way to authenticate a username/password someone enters in a form with what is in /etc/passwd? Thanks! Yep, do a search on .htaccess from http://google.com Cheers, jas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

RE: [PHP] MySQL: Order by

2004-02-05 Thread Chris W. Parker
John Taylor-Johnston on Wednesday, February 04, 2004 9:48 PM said: > When I order by number, it echoes 1,2,3,4,5,6,7,8,9,10 and hten jumps > to 100...199 before it comes back to 11-19. Any way of ordering that > differently? Sounds like your 'number' column is not a

Re: [PHP] Dynamic vs Static Builds

2004-02-05 Thread Jason Wong
On Friday 06 February 2004 00:44, John McKerrell wrote: > > 2. Why are the servers being restarted once a day ? There shouldn't be a > > need to restart unless something is going wrong. > > For cycling the logs, we've got scripts setup to sort them out each day > - backing them up and suchlike, wh

Re: [PHP] Dynamic vs Static Builds

2004-02-05 Thread John McKerrell
On Thu, 2004-02-05 at 16:12, vidyut luther wrote: > Hi John, > A couple of questions.. > 1. Define high load. Er.. that's quite a personal question, apparently we get 58 million hits a month but some days will be much busier than others (we're a soccer site, match days are busiest). The load is sp

Re: [PHP] RE: Check to remove file that are older than 1 week

2004-02-05 Thread Michal Migurski
>I want to delete files than are older than 1 week from a specific >directory. Anyone mind to share their code? Can't anything on phpbuilder >on this. If you're running PHP under unix: http://marc.theaimsgroup.com/?l=php-general&m=106002263306528&w=2 --

[PHP] authentication using /etc/passwd

2004-02-05 Thread Adam Williams
Hi, is there a way to authenticate a username/password someone enters in a form with what is in /etc/passwd? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to search for a date

2004-02-05 Thread John McKerrell
apologies * scurries away and hides in a hole ;) John On Thu, 2004-02-05 at 16:16, John W. Holmes wrote: > From: "John McKerrell" <[EMAIL PROTECTED]> > > > > INSERT INTO mytable (dateField) VALUES (CURRENT_DATE); > > > For MySQL you're still going to need NOW() instead of CURRENT_DATE > > thoug

[PHP] RE: Check to remove file that are older than 1 week

2004-02-05 Thread YC Nyon
Hi, I want to delete files than are older than 1 week from a specific directory. Anyone mind to share their code? Can't anything on phpbuilder on this. Regards Nyon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to search for a date

2004-02-05 Thread John W. Holmes
From: "John McKerrell" <[EMAIL PROTECTED]> > > INSERT INTO mytable (dateField) VALUES (CURRENT_DATE); > For MySQL you're still going to need NOW() instead of CURRENT_DATE > though surely? No. He has a DATE column, so why use NOW() which includes time informatin. Quote: CURRENT_DATE and CURREN

Re: [PHP] How to search for a date

2004-02-05 Thread Duncan Hill
On Thursday 05 February 2004 15:45, Brian Dunning wrote: > Sorry this is such a basic question - but I couldn't find it online. > > I have a date field in MySQL: -00-00. I'm trying to insert or > search for the current date, and I can't find the way to state that in > the SQL. This is wrong, ca

Re: [PHP] Re: PHP5: __call() implementation EXAMPLE

2004-02-05 Thread Vivian Steller
John W. Holmes wrote: > From: "Vivian Steller" <[EMAIL PROTECTED]> > >> Vivian Steller wrote: >> ... >> >> > class MyClass { >> function __call($method, $params) { >> // $params = Array(mixed var, mixed var, ...); >> print("

Re: [PHP] PHP5: __call() implementation

2004-02-05 Thread Adam Bregenzer
On Thu, 2004-02-05 at 09:22, Vivian Steller wrote: > i want this function simply call the method of another class with > "SomeClass::$method(...)" but i'm getting into trouble (bit heavy > programming!:) passing the arguments (stored as Array in $params) to the > "SomeClass::$method([arguments])" m

Re: [PHP] How to search for a date

2004-02-05 Thread John McKerrell
For MySQL you're still going to need NOW() instead of CURRENT_DATE though surely? John On Thu, 2004-02-05 at 15:57, John W. Holmes wrote: > From: "Brian Dunning" <[EMAIL PROTECTED]> > Subject: [PHP] How to search for a date > > A date? Well, you could try Friendster or orkut to find date, or...

Re: [PHP] How to search for a date

2004-02-05 Thread John W. Holmes
From: "Brian Dunning" <[EMAIL PROTECTED]> Subject: [PHP] How to search for a date A date? Well, you could try Friendster or orkut to find date, or... oh wait... > Sorry this is such a basic question - but I couldn't find it online. > > I have a date field in MySQL: -00-00. I'm trying to inser

[PHP] Re: PHP5: __call() implementation EXAMPLE

2004-02-05 Thread Vivian Steller
Vivian Steller wrote: ... > class MyClass { >function __call($method, $params) { > // $params = Array(mixed var, mixed var, ...); > print("request for " . $method . "()\n"); > > // how to get objects in this string?! > // do i have to implement "

Re: [PHP] Re: PHP5: __call() implementation EXAMPLE

2004-02-05 Thread John W. Holmes
From: "Vivian Steller" <[EMAIL PROTECTED]> > Vivian Steller wrote: > > > Hello, > > > > as you know there is a new callback function __call($method, $params) in > > php5. the __call() method of an object is called, if the method named > > $method is not declared in this class. > > > > i want this

Re: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Adam Bregenzer
On Thu, 2004-02-05 at 08:13, Harry Sufehmi wrote: > So there's a reasonably easy way to decrypt those encoded files then ? (despite > those vendors' claim...) There isn't a program to revert encoded files to their original state, but there is a disassembler[1]. However, assuming your encryption

[PHP] How to search for a date

2004-02-05 Thread Brian Dunning
Sorry this is such a basic question - but I couldn't find it online. I have a date field in MySQL: -00-00. I'm trying to insert or search for the current date, and I can't find the way to state that in the SQL. This is wrong, can someone please tell me what's correct? INSERT INTO mytable

RE: [PHP] Recommendation on PHP encoder please

2004-02-05 Thread Harry Sufehmi
On 05/02/2004 at 13:17 Ford, Mike [LSS] wrote: >On 05 February 2004 13:10, Harry Sufehmi wrote: >> On 05/02/2004 at 11:48 Ford, Mike [LSS] wrote: >> > On 05 February 2004 11:30, Harry Sufehmi wrote: >> > > As you can see, the content will be secured, but the script >> >

[PHP] Re: PHP5: __call() implementation EXAMPLE

2004-02-05 Thread Vivian Steller
Vivian Steller wrote: > Hello, > > as you know there is a new callback function __call($method, $params) in > php5. the __call() method of an object is called, if the method named > $method is not declared in this class. > > i want this function simply call the method of another class with > "So

[PHP] Dynamic vs Static Builds

2004-02-05 Thread John McKerrell
Hi, I've been working with a PHP for a few years now. I've always thought that on production servers, to have them working at peak efficiency, I should have the Apache and PHP compiled as a static build. I recently got into a debate with someone over whether this had any worthwhile savings. Can

[PHP] Re: Anyone have any ideas on a upload progress bar???

2004-02-05 Thread Doru Petrescu
see my message (and patch) on this topic. try http://pdoru.from.ro -- Best regards, Doru Petrescu Senior Software Engineer Astral Telecom Bucuresti -- PHP General Mailing List (http://www.

Re: [PHP] PHP5: __call() implementation

2004-02-05 Thread John W. Holmes
From: "Vivian Steller" <[EMAIL PROTECTED]> > i want this function simply call the method of another class with > "SomeClass::$method(...)" but i'm getting into trouble (bit heavy > programming!:) passing the arguments (stored as Array in $params) to the > "SomeClass::$method([arguments])" method..

[PHP] PHP5: __call() implementation

2004-02-05 Thread Vivian Steller
Hello, as you know there is a new callback function __call($method, $params) in php5. the __call() method of an object is called, if the method named $method is not declared in this class. i want this function simply call the method of another class with "SomeClass::$method(...)" but i'm getting

  1   2   >