Re: [PHP] Re: classes v. functions

2003-07-20 Thread Curt Zirzow
* Thus wrote Simon Fredriksson ([EMAIL PROTECTED]): [...] just got confused. Then, suddenly I got some class for something, checked out the code and my brain just snapped. aaah, THAT's how it's done!. It wasn't well documented, just nicely structured and easy to read and understand. I

Re: [PHP] Re: classes v. functions

2003-07-20 Thread Andu
--On Sunday, July 20, 2003 07:53:20 +0200 Simon Fredriksson [EMAIL PROTECTED] wrote: I've been working like that for about two years and just recently I got enlighted in the use of classes. The main reason I started this thread is that since I'm just beginning with php I thought I might as

[PHP] list server problem

2003-07-20 Thread Andu
Is it just me getting some messages 3 times? I also noticed that there is no Reply-To in the headers so every time I want to reply to the list I have to copy/paste the list's address, clicking the Reply button would send my message to the poster, not the list. I guess others are having the same

Re: [PHP] list server problem

2003-07-20 Thread Curt Zirzow
* Thus wrote Andu ([EMAIL PROTECTED]): Is it just me getting some messages 3 times? I also noticed that there is no Reply-To in the headers so every time I want to reply to the list I have to copy/paste the list's address, clicking the Reply button would send my message to the poster, not

[PHP] Coding Question

2003-07-20 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I am currently trying to think of how I want to solve an issue, and im looking for some input. I have a page that will query information from a database and then properly display it on the screen. Now the thing I want to set up is the

Re: [PHP] Forms and PHP

2003-07-20 Thread Jason Wong
On Sunday 20 July 2003 12:37, Jason Giangrande wrote: I have a question about forms and PHP. Here's what I'm looking to do. I'm trying to set up a spell checker that checks text entered in a form, but I want the check results to show up in a different window so that the user can change the

Re: [PHP] list server problem

2003-07-20 Thread Jason Wong
On Sunday 20 July 2003 14:42, Andu wrote: Is it just me getting some messages 3 times? I also noticed that there is no Reply-To in the headers so every time I want to reply to the list I have to copy/paste the list's address, clicking the Reply button would send my message to the poster, not

Re: [PHP] Still problem with files

2003-07-20 Thread Jason Wong
On Monday 21 July 2003 00:23, Beauford.2005 wrote: These files were already done from last year, so I figured I would just carry on with them. Last year they did not have to be manipulated - so it wasn't a big deal. I have since changed the whole thing and am now using a database (took me a

[PHP] FREE PHP HOSTING

2003-07-20 Thread Bang Dodi
FREE PHP MySQL Hosting ! http://cmax.port5.com Film TV Extras urgently required in your area - See Yourself in major Films TV? Call 0907 1512440 to Register. calls cost 150pm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] creating rs2 newsfeeds

2003-07-20 Thread Merlin
Hi there, I was searching on the net for a while on how to create dynamic newsfeeds from my web portal. Somehow I did not find what I was looking for. Can anybody give me a good start on how to write a newsfeed service which is dynamic? The goal is whenever a member publishes a story on the

[PHP] Preserving session vars over multiple windows

2003-07-20 Thread Thomas Hochstetter
Hi there. How can i preserve var's of session 's' over more than one window without loosing them? Thomas -- +++ GMX - Mail, Messaging more http://www.gmx.net +++ Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern! -- PHP General Mailing List (http://www.php.net/) To

[PHP] hi

2003-07-20 Thread David Kelso
Hi there, My name is Dave, and no ya don't know me, but I wanna tell ya about something. I'll admit I got your info off a website somewhere while searching around for addys on Yahoo, but this isn't spam, and i'm not adding you to any sort of list. This email is between *me* and *you* and if you

[PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread John Manko
I'm having a little trouble understanding how to accomplish this. Should the entire browsing session be HTTPS after login, or just for important functions like login and checkout If noly for those function, who should I design to jump back an forth. I know DB should be used for cart items, but

Re: [PHP] Coding Question

2003-07-20 Thread Justin French
Retrieving the results can be LIMITed to X results starting at row Y using mysql's LIMIT function. Check the MySQL manual, but basically, this will limit the result to 10 rows, starting with row 5. SELECT name FROM customers LIMIT 5,10 By taking your values for the starting point and row

Re: [PHP] URL correctimizer ... how to make one?

2003-07-20 Thread Justin French
On Sunday, July 20, 2003, at 03:26 PM, Curt Zirzow wrote: I know this isn't your code but... yes, it wasn't mine, but i should have checked it out more thoroughly regardless. btw, the above code is copyrighted so dont use it. *sigh*... so why contribute it to the list? Just to prove your

[PHP] Auto session timeout

2003-07-20 Thread Tan Ai Leen
Hi, Can someone confirm that php does not have a auto timeout feature? Meaning something like session will auto expire irregardless of whether the browser is close or not? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] The 'Unable to create Java Virtual Machine' Again

2003-07-20 Thread Tan Ai Leen
Hi, I know there are already a lot of posting regarding this bug. But I can't find a solution for this problem. There is no problem with my installation, I think. I can call java classes. But the Unable to create Java Virtual Machine error will occur if I would to constantly refresh the page. I

Re: [PHP] HOW TO -- ARRAY UPDATE MYSQL

2003-07-20 Thread Suresh Babu.A [Support]
Hi ALL, I just want to validate each row values of a and load the same in MYSQL Table. Suresh A. On Sat, 19 Jul 2003, Curt Zirzow wrote: Suresh Babu.A [Support] [EMAIL PROTECTED] wrote: HI ALL, I want to update a mulitple row from a HTML Table to MYSQL Database. L1 V1 T1 L2

[PHP] The 'Unable to create Java Virtual Machine' Again

2003-07-20 Thread Tan Ai Leen
Hi, I know there are already a lot of posting regarding this bug. But I can't find a solution for this problem. There is no problem with my installation, I think. I can call java classes. But the Unable to create Java Virtual Machine error will occur if I would to constantly refresh the page. I

Re: [PHP] Auto session timeout

2003-07-20 Thread John W. Holmes
Tan Ai Leen wrote: Hi, Can someone confirm that php does not have a auto timeout feature? Meaning something like session will auto expire irregardless of whether the browser is close or not? If you're using the default session handler and storing the session files in the location specified in

RE: [PHP] URL correctimizer ... how to make one?

2003-07-20 Thread Randum Ian
And even if it is copyrighted as soon as you change variable names and so on that copyright does not apply. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: 20 July 2003 14:00 To: Curt Zirzow Cc: php Subject: Re: [PHP] URL correctimizer ... how to make one? On

Re: [PHP] URL correctimizer ... how to make one?

2003-07-20 Thread Mike Morton
Tell me Curt, where is it copyrighted? US/Canada/Worldwide? Where is it registered? What do you intended to do to protect your copyright? What makes this code unique that it can be copyrighted to you? Do you understand copyrighting and intellectual property? You just made that code public on

Re: [PHP] Re: classes v. functions

2003-07-20 Thread Robert Cummings
On Sun, 2003-07-20 at 02:28, Andu wrote: One shouldn't apply industrial theories to just everything. Object Oriented Design is not an industrial theory. It's a tried and true practice with over a decade of computer science and practical use behind it. Procedural programming is a subset of

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Aquarion
On Sun, 20 Jul 2003 12:28:55 +0200, [EMAIL PROTECTED] (Merlin) wrote: Hi there, I was searching on the net for a while on how to create dynamic newsfeeds from my web portal. Somehow I did not find what I was looking for. Can anybody give me a good start on how to write a newsfeed service which

[PHP] Forms and PHP

2003-07-20 Thread Yasir Malik
I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir -- PHP General Mailing List

Re: [PHP] Forms and PHP

2003-07-20 Thread John Nichel
Yasir Malik wrote: I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something wrong? Yasir Submit your form

[PHP] mail function

2003-07-20 Thread Peda
I put this PHP script on web server: ?php if (mail([EMAIL PROTECTED], brati, peda, From: Peda)== TRUE) print(U redu je); else print(Greska); ? But It seems that mail function doesn't work. I don't get any e-mail. Can anyone tell me what is wrong. Greetings. -- PHP General Mailing List

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Merlin
ok, I get the idea how to create those newsfeeds. Looks pretty staigh forward. How do you implement them on the client site. I read about news agregator programms (like newsreaders for newsgroups). But I do want to integrate them into another website without having php on that site. Do I have to

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Manuel Lemos
Hello, On 07/20/2003 07:28 AM, Merlin wrote: I was searching on the net for a while on how to create dynamic newsfeeds from my web portal. Somehow I did not find what I was looking for. Can anybody give me a good start on how to write a newsfeed service which is dynamic? The goal is whenever a

Re: [PHP] Re: A new FREE web server can do PHP faster than Apache's mod_php

2003-07-20 Thread Mark Clarkstone
I can't find the windows downloads? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Merlin
Can anybody give me a good start on how to write a newsfeed service which is dynamic? The goal is whenever a member publishes a story on the site, it should be included into the newsfeed. You may want to try this class that does exactly what you ask: http://www.phpclasses.org/rsswriter

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread Curt Zirzow
* Thus wrote John Manko ([EMAIL PROTECTED]): I'm having a little trouble understanding how to accomplish this. Should the entire browsing session be HTTPS after login, or just for important functions like login and checkout If noly for those function, who should I design to jump back an

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread Curt Zirzow
I'm curious as to why your email has these headers: References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] My email program thinks your discussing db sized and how you can get it into a variable in php. Curt -- I used to think I was indecisive, but now

Re: [PHP] URL correctimizer ... how to make one?

2003-07-20 Thread Curt Zirzow
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]): btw, the above code is copyrighted so dont use it. Sorry, i shouldn't and try and make jokes in the furture... I was a little tired last night and kinda needed to lighten up my email a little (but it backfired on me).. Again, sorry for the

Re: [PHP] list server problem

2003-07-20 Thread Andu
--On Sunday, July 20, 2003 16:35:46 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Sunday 20 July 2003 14:42, Andu wrote: Is it just me getting some messages 3 times? I also noticed that there is no Reply-To in the headers so every time I want to reply to the list I have to copy/paste the list's

[PHP] Re: creating rs2 newsfeeds

2003-07-20 Thread Manuel Lemos
Hello, On 07/20/2003 01:07 PM, Merlin wrote: Can anybody give me a good start on how to write a newsfeed service which is dynamic? The goal is whenever a member publishes a story on the site, it should be included into the newsfeed. You may want to try this class that does exactly what you ask:

Re: [PHP] Auto session timeout

2003-07-20 Thread Curt Zirzow
* Thus wrote Tan Ai Leen ([EMAIL PROTECTED]): Hi, Can someone confirm that php does not have a auto timeout feature? Meaning something like session will auto expire irregardless of whether the browser is close or not? two php ini variables that effect this: ; Lifetime in seconds of cookie

php-general Digest 20 Jul 2003 17:09:02 -0000 Issue 2187

2003-07-20 Thread php-general-digest-help
php-general Digest 20 Jul 2003 17:09:02 - Issue 2187 Topics (messages 155942 through 155982): Re: Forms and PHP 155942 by: Jason Giangrande 155951 by: Jason Wong 155970 by: Yasir Malik 155971 by: John Nichel Re: Setting total db size to a variable.

Re: [PHP] Forms and PHP

2003-07-20 Thread Curt Zirzow
* Thus wrote Yasir Malik ([EMAIL PROTECTED]): I'm working with forms using PHP and HTML. I've noticed that there is a limit of the length of a URL that can sent to browser (I'm passing many many things as arguments across pages). Is there a way to get across the limit or am I doing something

Re: [PHP] list server problem

2003-07-20 Thread Jason Wong
On Monday 21 July 2003 00:39, Andu wrote: The executive summary is that there is nothing to be fixed. If you're using a less than adequate mail client which does not understand the mailing list info contained in the headers then you should either change clients or, even easier, just

Re: [PHP] mail function

2003-07-20 Thread Curt Zirzow
* Thus wrote Peda ([EMAIL PROTECTED]): I put this PHP script on web server: ?php if (mail([EMAIL PROTECTED], brati, peda, From: Peda)== TRUE) print(U redu je); else print(Greska); ? But It seems that mail function doesn't work. I don't get any e-mail. Can anyone tell me what is wrong.

Re: [PHP] mail function

2003-07-20 Thread Jason Wong
On Sunday 20 July 2003 23:00, Peda wrote: I put this PHP script on web server: ?php if (mail([EMAIL PROTECTED], brati, peda, From: Peda)== TRUE) print(U redu je); else print(Greska); ? But It seems that mail function doesn't work. I don't get any e-mail. Can anyone tell me what is

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread Jason Wong
On Monday 21 July 2003 00:30, Curt Zirzow wrote: I'm curious as to why your email has these headers: References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] My email program thinks your discussing db sized and how you can get it into a variable in

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread John W. Holmes
Curt Zirzow wrote: On and advanced note, there are ways to protect a users password on a normal http connection. The authentication program I helped developed and use has the abilty to make a hash of the password on the client side then send the hash value to the authentication script. The

Re: [PHP] list server problem

2003-07-20 Thread Andu
--On Monday, July 21, 2003 01:34:11 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Monday 21 July 2003 00:39, Andu wrote: The executive summary is that there is nothing to be fixed. If you're using a less than adequate mail client which does not understand the mailing list info contained

Re: [PHP] Mail From option in PHP.ini

2003-07-20 Thread Lowell Allen
From the php website, it appears that the [EMAIL PROTECTED] can be put in the fifth parameter of the mail() function: Example 3. Sending mail with extra headers and setting an additional command line parameter. mail([EMAIL PROTECTED], the subject, $message, From: [EMAIL PROTECTED],

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread Curt Zirzow
* Thus wrote John W. Holmes ([EMAIL PROTECTED]): Curt Zirzow wrote: On and advanced note, there are ways to protect a users password on a normal http connection. The authentication program I helped developed and use has the abilty to make a hash of the password on the client side then send

Re: [PHP] Mail From option in PHP.ini

2003-07-20 Thread Curt Zirzow
* Thus wrote Lowell Allen ([EMAIL PROTECTED]): return-path for emails is something like Return-Path: [EMAIL PROTECTED]. I had accepted that I could not change the return-path value with PHP, but reading about this fifth parameter renewed my hope that I could. I tried adding a fifth

[PHP] Serial Port and PHP Login

2003-07-20 Thread Dev
Hello All, I have asked before about serial port programing with PHP and have gotten great advice and now I am stuck again. Okay here is my problem. I want to have a php app executed upon a modem connection. Currently the /sbin/login is what is executed. Does anyone have any clues on this

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread John Manko
You dont need to touch any php code, just modify the html so the properlinks point to https where needed. I tried that. However, the session is different when going from 80 to 443. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-20 Thread John W. Holmes
John Manko wrote: You dont need to touch any php code, just modify the html so the properlinks point to https where needed. I tried that. However, the session is different when going from 80 to 443. You'll have to pass the SID through the form or URL when switching from HTTP to HTTPS. --

Re: [PHP] mail function

2003-07-20 Thread Peda
sendmail_path = /usr/sbin/sendmail OS is Linux -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto session timeout

2003-07-20 Thread Hardik Doshi
Hi, I have implemented the Auto session timeout after the specific period of time. What i am doing is..At the time of login to the system, my script is storing the current unix time into the session and later on at every user click, It (my script) is checking the stored unix time with the

Re: [PHP] redirecting to a url..

2003-07-20 Thread Louie Miranda
yes, got it working. thanks a lot.. i did use header -- Thank you, Louie Miranda ([EMAIL PROTECTED]) - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Louie Miranda [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:45 PM Subject: Re: [PHP] redirecting to

RE: [PHP] Still problem with files

2003-07-20 Thread Beauford.2005
I've kept the code in a temp file so when I get some time I will delve into it further. Certainly more of a pain than I expected. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: July 20, 2003 4:45 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Still problem with files

[PHP] Error - when trying to connect to postgresql

2003-07-20 Thread Paul Tun
When I try to connect to postresql with my php script below I got hhis eror: I can insert into the table from psql. Please help Thanks, --- Warning: pg_exec() query failed: ERROR:

Re: [PHP] Auto session timeout

2003-07-20 Thread John W. Holmes
Hardik Doshi wrote: Hi, I have implemented the Auto session timeout after the specific period of time. What i am doing is..At the time of login to the system, my script is storing the current unix time into the session and later on at every user click, It (my script) is checking the stored

[PHP] Howto list Mysql Table Headers using PHP

2003-07-20 Thread Ow Mun Heng
Hi, Got a quick question.. How do I get the table headers also printed/retrieved by PHP for 'echo'?? eg : 1 +--+--+-++ 2 | Drive SN | HSA DCM | Family | Media Supplier | 3

Re: [PHP] Howto list Mysql Table Headers using PHP

2003-07-20 Thread John W. Holmes
Ow Mun Heng wrote: Hi, Got a quick question.. How do I get the table headers also printed/retrieved by PHP for 'echo'?? mysql_field_name() Next time, check the manual. :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP

[PHP] on preview, loosing data using post/session..

2003-07-20 Thread Louie Miranda
hello, im am making a business card preview program. im passing data using.. post and session. i did use a redir on my index because i use 2 diff layout. when it redir it goes to a index site that dont have a post yet. after the users enters the data when they preview the data is ok, but when they

RE: [PHP] Howto list Mysql Table Headers using PHP

2003-07-20 Thread Ow Mun Heng
Whoops.. Missed that.. Thanks.. ( sorry..) Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 9:45 AM To: Ow Mun Heng Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Howto

[PHP] POSIX seteuid and similar

2003-07-20 Thread David Goodchild
Hi, I am trying to create a small php program where I can control users processes. As far as I see I require Apache to run as root in order to do this (Note: I wish to access it via a webpage run through a browser). At the moment all pages are executed as user 'apache' (UID #48 in this case).

[PHP] POSIX seteuid and similar

2003-07-20 Thread David
Hi, I am trying to create a small php program where I can control users processes. As far as I see I require Apache to run as root in order to do this (Note: I wish to access it via a webpage run through a browser). At the moment all pages are executed as user 'apache' (UID #48 in this case).

RE: [PHP] redirecting to a url..

2003-07-20 Thread Ow Mun Heng
Me, I have 2 functions. 1 I call - immediate and other refresh.. the difference is one as the name implies is immediate - (like chris pointed out below ) - header('Location: http://yoursite.org/us/index.php'); The other is more of a refresh kind, waits a default of 2 secs (for me so

[PHP] RE: Something to watch look for when getting HEADER Warnings

2003-07-20 Thread Ow Mun Heng
Been There.. Was a REAL pain to figure that out one.. Have a look through PhpMyAdmin's (source) scripts, I see there's a bash shell code that actually searches through some of it's php files for sanitation for the exact same purpose. (Haven't played with it yet though) Cheers, Mun Heng, Ow

[PHP] computing 2 value and adding it..

2003-07-20 Thread Louie Miranda
I have a 2 form value on 500/pcs and 1000/pcs And i was hoping how will i compute this when i comes to this code.. --- start $final_price_usmail = ( $bcard_price + $usmail_price ); $final_price_courier = ( $bcard_price + $courier_price ); if ($v_sendvia === 'USMail') { echo

RE: [PHP] computing 2 value and adding it..

2003-07-20 Thread Ralph Guzman
if($pcs_1000){ $total = $amount * 2; } -Original Message- From: Louie Miranda [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 7:53 PM To: [EMAIL PROTECTED] Subject: [PHP] computing 2 value and adding it.. Importance: High I have a 2 form value on 500/pcs and 1000/pcs And i was

Re: [PHP] POSIX seteuid and similar

2003-07-20 Thread Curt Zirzow
* Thus wrote David Goodchild ([EMAIL PROTECTED]): Hi, I am trying to create a small php program where I can control users processes. As far as I see I require Apache to run as root in order to do this (Note: I wish to access it via a webpage run through a browser). At the moment all pages

Re[2]: [PHP] running a php script in /cgi from /web

2003-07-20 Thread Tom Rogers
Hi, Sunday, July 20, 2003, 12:30:30 AM, you wrote: DW Thanks for the response Tom. Unfortunately, that won't work either. A DW little background I'm using Dreamweaver and their template feature. DW for the site. I want to read some info out of a text file and format it DW into the

php-general Digest 21 Jul 2003 05:39:40 -0000 Issue 2188

2003-07-20 Thread php-general-digest-help
php-general Digest 21 Jul 2003 05:39:40 - Issue 2188 Topics (messages 155983 through 156013): Re: Forms and PHP 155983 by: Curt Zirzow Re: list server problem 155984 by: Jason Wong 155989 by: Andu Re: mail function 155985 by: Curt Zirzow 155986 by:

Re: [PHP] list server problem

2003-07-20 Thread Lars Torben Wilson
On Sun, 2003-07-20 at 11:04, Andu wrote: --On Monday, July 21, 2003 01:34:11 +0800 Jason Wong [EMAIL PROTECTED] wrote: On Monday 21 July 2003 00:39, Andu wrote: The executive summary is that there is nothing to be fixed. If you're using a less than adequate mail client which does

[PHP] free hosting

2003-07-20 Thread Bang Dodi
http://cmax.port5.com __ Mau ringtones yang gaya ? -- http://www.ponselgaya.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php