Re: [PHP] dynamically adding rows to same form.

2001-04-29 Thread Subodh Gupta
Hi Rahul A simple solution could be if(empty(num_of_rows)){num_of_rows=some_default_value ;} while (num_of_rows0){ tr what you want to do in that row /tr } form method=post action = $PHP_SELF?row=($num_of_row+1) input type=submit... /form Well, this is

[PHP] Syntax Needed in safe_mode_exec_dir

2001-04-29 Thread Mark Lo
Hi, I have turned on safe mode in PHP4. Now, I would like to exec something in home directory. What syntax should I use ?? etc. safe_mode_exec_dir= /home --- Thank you so much mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] php sucks

2001-04-29 Thread Christian Reiniger
On Sunday 29 April 2001 04:33, Chris Fry wrote: I guess the PHP Group has plenty of witnesses to support their case! Chris Jack Lauman wrote: After 25 years in the advertising business, I'd say the PHP Group has a hell of a good copyright infringement and defamation case here. idban

[PHP] Opening a page in the same window

2001-04-29 Thread Abdullah Al-Juaid
hello, How to open a page in the same window by means of PHP or JavaScript? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] php suck

2001-04-29 Thread Michael Hall
i found this when surfing this morning http://www.phpsucks.net/ Looks like someone just spent a fortune on getting and learning M$ products then lost work to a PHP/open source alternative, or maybe they just can't get Red Hat installed. Either way, who cares? Mick -- PHP General Mailing

[PHP] Handling the http location header/How to make a php browser - help needed

2001-04-29 Thread albawaba
I've been trying to read a page with fsockopen, that page returns a location header but when parsing the header and trying to read the page it points to I get a different result than when using my browser... Does any one have any suggestions how to get the same result as when using a browser? I

[PHP] Sessions

2001-04-29 Thread Jennifer
I have been doing a few test pages trying to figure out how sessions work. The SID is not being automatically added to my urls so I assume that means that php was not compiled with -enable-trans-sid (I'm on a virtual server so I can't access php.ini) So that means that I need to add ?=SID? to

[PHP] CGI version of php

2001-04-29 Thread Cameron
im playing with the cgi version of php for a change and im trying to work out how to set a different include path on each vhost but i cant work it out. TIA, Cameron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] MySQL capabilities

2001-04-29 Thread José León Serna
Hello: Since no one asks my question about access to InterBase from PHP, I'm considering MySQL ;-) I would like to know more about the reliability and functionality from PHP users, I'm going to make searchs on a database with big text in Blob fields. Right now, in my web (it's made in

php-general Digest 29 Apr 2001 11:15:15 -0000 Issue 656

2001-04-29 Thread php-general-digest-help
php-general Digest 29 Apr 2001 11:15:15 - Issue 656 Topics (messages 50775 through 50794): Content_Type is included in uploaded file! 50775 by: Siamak Amirghodsi php suck 50776 by: idban secandri 50779 by: Jack Lauman 50780 by: Kath 50790 by:

Re: [PHP] Opening a page in the same window

2001-04-29 Thread Johannes Rumpf
For PHP there's no command, just do it by Javascript, like this: print(script language=\Javascript\document.location.href=\ --- Fill in file location here --- \/script); The file you're linking to can be any file, a html, a php, a cgi, whatever you want Greetings from Austria,

[PHP] template solutions?

2001-04-29 Thread Steven Haryanto
Does anyone know a rather advanced template solution in PHP? At least one that supports loop and if (like HTML::Template), and directives/commands would be nice (like Perl's Template Toolkit). I am currently rolling my own, but still not happy with the result of the design. I'd be happy to use

Re: [PHP] MySQL capabilities

2001-04-29 Thread Steven Haryanto
This is perhaps more suited on mysql mailing list, but anyway... On 4/29/2001 06:18 PM, José León Serna wrote: Hello: Since no one asks my question about access to InterBase from PHP, I'm considering MySQL ;-) I would like to know more about the reliability and functionality from

RE: [PHP] Sessions

2001-04-29 Thread Taylor, Stewart
The SID will only be added automatically if -enable-trans-sid is set and your browser has cookies switched off. When cookies are on the session id is propagated using a cookie. So likewise the ?=SID? constant will only be expanded when cookies are switched off. Anyway, yes you will have to add

[PHP] getting sessions lifetime

2001-04-29 Thread Jens Kisters
Hi there! Is there a way to determine the session timeout of the currents servers PHP configuration, e.g. by reading values from the php.ini? i want to manage the timeout of the session myself, no matter what the server is set to, i want to try to hit a session page in a hidden frame just

[PHP] Apache+PHP(as apache module)+SSL under Windows

2001-04-29 Thread Daniel BI
Hi there! Anybody knows if possible to have PHP as an Apache module under Windows, with SSL enabled, too? Is there an 'openSSL' lib for Windows? thanx, Daniel BI -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] how to include() a string

2001-04-29 Thread Andi Gutmans
Do you mean eval()? It evaluates code which is a string, for example: eval ('print(2);'); If you can develop your application without using eval() you're better off as it is very slow. Andi At 11:29 AM 4/29/2001 +, ~~~i LeoNid ~~ wrote: require(?) -- PHP General Mailing List

Re: [PHP] Do You Like This Book?

2001-04-29 Thread Tym Rehm
I'm reading it now. I think it's a great book. It has good examples. At 05:49 PM 4/28/01 -0500, you wrote: Has anyone read this new book yet? PHP and MySQL Web Development by Luke Welling, Laura Thomson http://www.amazon.com/exec/obidos/ASIN/0672317842/ref=ase_hotscrcomyourgui/1

RE: [PHP] getting sessions lifetime

2001-04-29 Thread Taylor, Stewart
You can get the lifetime of a session cookie by calling the get_cookie_params function http://www.php.net/manual/en/function.session-get-cookie-params.php. How do you propose to hit a hidden frame just before the session times out? A better solution would be to increase the session cookie

[PHP] Comparison between template engines.

2001-04-29 Thread Subhrajyoti Moitra
Hi, Have any one benchmarked FastTemplate Template Engine, PHPLib Template Engine and Smarty Template engine? I wanted to know the pros and cons of these engines. Can anyone help me please. regards subhro _ Chat with your friends as soon as

RE: [PHP] getting sessions lifetime

2001-04-29 Thread Taylor, Stewart
Yes your right that would not work with cookies turned off. You might instead get the session timeout details from the php.ini file by using the http://www.php.net/manual/en/function.get-cfg-var.php function. And base you timeout settings on these values. -Stewart -Original Message-

Re: [PHP] Apache+PHP(as apache module)+SSL under Windows

2001-04-29 Thread ~~~i LeoNid ~~
On 29 Apr 2001 05:54:17 -0700 impersonator of [EMAIL PROTECTED] (Daniel BI) planted I saw in php.general: Hi there! Anybody knows if possible to have PHP as an Apache module under Windows, with SSL enabled, too? Is there an 'openSSL' lib for Windows? thanx, Daniel BI see, if you can find

[PHP] Browser Caching

2001-04-29 Thread Steve Haemelinck
Hi all I use sessions the authenticate users, but I seem to have a problem. This is what happens: 1) A user logs in on PC one with his username and password. (So far so good) 2) Another user logs in with his details on the same computer -- He is logged in with his details but the page

Re: [PHP] how to include() a string

2001-04-29 Thread Andi Gutmans
At 04:57 PM 4/29/2001 +0200, Luca wrote: Andi Gutmans [EMAIL PROTECTED] wrote: Do you mean eval()? It evaluates code which is a string, for example: eval ('print(2);'); If you can develop your application without using eval() you're better off as it is very slow. Unfortunately eval()

Re: [PHP] how to include() a string

2001-04-29 Thread Andi Gutmans
At 05:13 PM 4/29/2001 +0200, Luca wrote: Luca [EMAIL PROTECTED] wrote: Unfortunately eval() is not what I need. I was wrong. From a user contributed note in the online manual: To include HTML in the string passed to eval, precede it with a PHP closing tag. Once you have finished your HTML

Re: [PHP] how to include() a string

2001-04-29 Thread Andi Gutmans
At 06:42 PM 4/29/2001 +0200, Luca wrote: Andi Gutmans [EMAIL PROTECTED] wrote: Sometimes eval() is the right solution. I can't think of a solution if I don't know *exactly* what you are trying to do and why you need eval(). Yes, I'm sorry, I should have explained myself better. I'm just a

Re: [PHP] HELP!! Mail and attachments

2001-04-29 Thread Chris Anderson
Personally I haven't tried, but I know many people have written classes to allow this. Try searching most php sites. Chris Anderson aka Null PHP Developer / Nulltech PHP-GTK Contributer / gtk.php.net STA Administrator / www.stronger.org DOD Co-Owner

[PHP] Etags for emacs (Where?)

2001-04-29 Thread Yasuo Ohgaki
Does anyone know where to get etags program that works with php source? Looked around, couldn't find any tag program works with emacs. Thanks a lot. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Browser Caching

2001-04-29 Thread Chris Adams
On 29 Apr 2001 07:19:15 -0700, Steve Haemelinck [EMAIL PROTECTED] wrote: I thought this was because the page might be cached, but when I set the header(cache-control: no-cache) the meta tag http-equiv=Expires content=-1 it still produces the same effect. How can I solve this problem? Have

Re: [PHP] Messaging to a simple server?

2001-04-29 Thread Tormod Ravnanger Landet
[EMAIL PROTECTED] (Andy - Interlync) wrote in [EMAIL PROTECTED]: Could I cause PHP to send/receive simple text messages with that server? This has nothing to do with the Web. I'd just like to be able to 'talk' to that server with a PHP script. Tx! Look in the php.net under sockets one useful

[PHP] Reporting from Database

2001-04-29 Thread Tim Thorburn
Hi, I'm setting up an event calendar for an organization, and I'm running into several problems. Firstly, there seems to be no standardization in the event listings - by this I mean that some events are single days while others span several days - some events have only one start time during

[PHP] Loading PHP module on Win98

2001-04-29 Thread Benny
I have a problem on intializing PHP module. I've installed PHP on my windows 98 system. I used PWS. I placed php on c:/Php. My home directory is c:/Inetpub/myfolder. This is the php.ini, Paths and Directories section : doc_root = c:/Inetpub/myfolder extension_dir =

php-general Digest 30 Apr 2001 03:32:58 -0000 Issue 657

2001-04-29 Thread php-general-digest-help
php-general Digest 30 Apr 2001 03:32:58 - Issue 657 Topics (messages 50795 through 50823): Re: Opening a page in the same window 50795 by: Johannes Rumpf template solutions? 50796 by: Steven Haryanto Re: MySQL capabilities 50797 by: Steven Haryanto Re: integer

[PHP] Best Practice-HTML In Database

2001-04-29 Thread John Monfort
Hello everyone, I'm curious. Which is the better practice? 1) Insert the HTML page (...HTML code) in the database ? or 2) Insert a URL in the database field, that points to the HTML page? why? Any help will be appreciated. Btw, thank you all for helping with my previous

Re: [PHP] Best Practice-HTML In Database

2001-04-29 Thread Michael Hall
If you ever need to update the HTML, option 2 will be a lot easier. Mick On Sun, 29 Apr 2001, John Monfort wrote: Hello everyone, I'm curious. Which is the better practice? 1) Insert the HTML page (...HTML code) in the database ? or 2) Insert a URL in the database

Re: [PHP] Best Practice-HTML In Database

2001-04-29 Thread Donald Goodwill
Using an URL to point to an HTML page or file is better. Inserting the HTML page in the database would cause: a) more database requests and thus heavy load on the database b) large amount traffic between the database server and the web server At my previous company we even ended up removing the