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
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
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
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
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
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
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
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:
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 - 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:
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,
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
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
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
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
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:
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
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
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
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
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-
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
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
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()
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
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
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
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:
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
[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
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
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 - 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
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
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
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
36 matches
Mail list logo