On Fri, 2003-10-17 at 01:43, Nagib Abi Fadel wrote:
Hi,
i have been using php for 1 year till now, and i never
felt the need to use an object.
Can some one tell me where and why should i use the
object oriented coding in PHP ?
I meen i have been able to do all the things i want
without
Hi all,
Having a slight problem with dynamic tables here.
I am trying to create a timetable using PHP, HTML, and MySQL, where all the
cells in the table are coloured and that the colour of the cells can be changed
using a drop down menu. Here's a snip of the code that I have done:
td
First of all, Hi!
I just started getting into php a week ago, but already ran into a problem I
can't seem to solve.
The issue is this : I code 2 different websites, each has it's own mySQL-DB.
Website A has a login-section, each time you successfully log in, a key is
generated which stays only
Hello
If you are using PHP as an Apachemodule you also have the option of using
a url like
http://example.com/index.php/test/test.html
Apache will see that test.html is not available and will travel down the
directory path til it gets to the index.php (which should exist BTW) and
call that
Hello,
Is there any way to restrict the user not to go back once he
submitted the html form ??
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 17 Oct 2003 08:54:23 +0200 (MEST), you wrote:
I have a php file in website A's directory, which, when given a key value,
will check whether it is valid or not. Is there any way I can treat this
website like a function and have it give me a return value after it has run
through ?
Yes;
There may be, but it would almost certainly be handled client-side. Try looking into
Javascript stuff that clears the browser cache or otherwise prohibits back navigation.
Edward Dudlik
Those who say it cannot be done
should not interrupt the person doing it.
wishy washy |
On Fri, 17 Oct 2003 14:50:21 +0530 (IST), you wrote:
Is there any way to restrict the user not to go back once he
submitted the html form ??
Javascript, but that can't be relied on.
Are you're trying to avoid the This page has expired, resubmit? warning in
IE?
Use header (Location:) to
Jake McHenry wrote:
John W. Holmes wrote:
I
think just upgrading PHP and still using Apache2 will fix this bug,
though, and it should still work (it'll be dependent upon what
extensions you use and whether they are supported with Apache2).
Extensions.. As in file name extensions?
No, John means
Hi,
I am getting a one column table as a result for a select statement. Now I
want to pass obtained values dynamically to invoke another query in a new
page. I tried to pass the values with sessions. But every time I get the
last value of the previous result.
Any suggestions as how I could pass
Some XML would do the trick
pete
[EMAIL PROTECTED] wrote:
First of all, Hi!
I just started getting into php a week ago, but already ran into a problem I
can't seem to solve.
The issue is this : I code 2 different websites, each has it's own mySQL-DB.
Website A has a login-section, each time you
You need to create an array in the session and assign the values:
$_SESSION['values']=array();
while( $v=/* get single value */ ) {
$_SESSION['values'][]=$v; // notice the []
}
Then on the other page loop the array.
Rashini Jayasinghe wrote:
Hi,
I am getting a one column table as a result
i guess, it would be better to use loops, if i understand your problem, the
way it is.
Nitin
- Original Message -
From: Rashini Jayasinghe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:12 PM
Subject: [PHP] Passing values dynamically
Hi,
I am getting a one
Hi there,
quote
I would like to implement direct credit card payment on my site with a
gateway (SET).
Can somebody recommend low price gateway companies. It seems to me that
prices verry a lot.
PayQuake has the best rates I've seen. They can be a PITA when
setting up, but otherwise
I was afraid that was the case.
You've nothing to fear but fear itself. Sessions are your friend.
Edward Dudlik
Those who say it cannot be done
should not interrupt the person doing it.
wishy washy | www.amazon.com/o/registry/EGDXEBBWTYUU
- Original Message -
From: Al [EMAIL
I'm re-coding a fairly large multi step form which was written with PHP's
register globals turned on. Since upgrading PHP this form has stopped
working and needs editting.
Rather than manually changing each var -
$foo to$_POST['foo']
(there are simply too many) i'd like to do something
Hi Al
Sessions and objects are quite easy to use in the latest version of PHP, and
would be my personal recommendation. I have a coupleof test scripts that I
regularly
mangle when trying to see if something is doable...if you like, you can
contact me offlist and I will mail these to you and you
Rather than manually changing each var -
$foo to$_POST['foo']
(there are simply too many)
Why not simply use Find and Replace in a text editor, if you only need to
change one form?
Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Joseph --
...and then Joseph Bannon said...
%
% Are there any sites I can post a bid request for programmers and graphic designers?
While I'm happy to hear of the sites mentioned by others (though
itmoonlighter has never gotten anything for me), I agree that a post
here describing what sort of
On Fri, 17 Oct 2003 14:42:34 +0800, you wrote:
Right now, I am able to change the colour of cells using a drop down menu, and
when I clicked on Reload it still remains the colour that I have changed, but
when I open the page in another browser, as I echoed the value colour, the
browser displayed
Hi all,
My session is not getting destroyed once i close the browser. Problem is only in IE 5
as IE 6+ its getting destroyed. I don't know what is the problem. I looked at the
session settings parameters in php.ini file but couldn't figure it out.
I am using php 4.2.3
and
Hi i read many thing on sql injection but i just cant sumarize all the
information.
Most site (PHPadvisory.com, phpsecure.info, other found on google) dont
talk to mutch on how to prevent SQL injection.
One of the things I tend to do to limit any damage is tell the backend SQL
server to not
On Fri, 17 Oct 2003 10:11:57 +, you wrote:
I'm re-coding a fairly large multi step form which was written with PHP's
register globals turned on. Since upgrading PHP this form has stopped
working and needs editting.
Rather than manually changing each var -
$foo to$_POST['foo']
On Fri, 17 Oct 2003 15:58:36 +0530, you wrote:
My session is not getting destroyed once i close the browser. Problem is only in IE 5
as IE 6+ its getting destroyed. I don't know what is the problem. I looked at the
session settings parameters in php.ini file but couldn't figure it out.
I am
Hi PHP-gurus :-)
I'd like to count the lines within a file and store the result within a
variable. Every line begins with the char %. Would it be easier to count
these chars and how could I do that?
Thanks for your help. markus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I guess you could do something like :
?php
function countLines($filename) {
if(file_exists($filename)) {
$linecount=0;
$fs = file($filename);
while (list ($linenum, $linec) = each($fs)) {
$linecount++;
}
return $linecount;
}
}
$local_file =
Markus wrote:
Hi PHP-gurus :-)
I'd like to count the lines within a file and store the result within a
variable. Every line begins with the char %. Would it be easier to count
these chars and how could I do that?
Thanks for your help. markus
Maybe this way:
$file = file( '/some/file.ext' );
Yes its showing 0 only..
Its a weird kind of problem for me ..
- Original Message -
From: David Otton [EMAIL PROTECTED]
To: Binay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:16 PM
Subject: Re: [PHP] Session not getting destroyed !
On Fri, 17 Oct 2003
?header('Content-Disposition:attachment; filename=nnn.txt')?
Ryan A [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
this has been discussed before on the list but am unable to find it on
http://marc.theaimsgroup.com/?l=php-general
If anybody can point me to the correct URL or
Binay [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yes its showing 0 only..
Its a weird kind of problem for me ..
- Original Message -
From: David Otton [EMAIL PROTECTED]
To: Binay [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:16 PM
fputs ($sp, POST /path/to/script.php HTTP/1.0\r\n);
fputs ($sp, Host: $host\r\n);
Sorry. That should be HTTP/1.1, of course.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 17 Oct 2003 16:46:45 +0530, you wrote:
Yes its showing 0 only..
Its a weird kind of problem for me ..
Is the browser really being closed? SID caught in a bookmark? Broken cache?
Try starting from bare - delete all IE cookies and run the tests again.
Check the cookie on the client
Don't you have an old cookie in your IE 5? Try clearing all cookies.
Binay wrote:
Hi all,
My session is not getting destroyed once i close the browser. Problem is only in IE 5 as IE 6+ its getting destroyed. I don't know what is the problem. I looked at the session settings parameters in
Louie Miranda [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
And here's the error
[Fri Oct 17 10:52:20 2003] [error] PHP Fatal error: Call to undefined
function: imagegif() in /Volumes/WWW_Root/louie/test.php on line 6
-- -
Louie Miranda
http://www.axishift.com
-
try extract($_POST)
pete
Javier . wrote:
I'm re-coding a fairly large multi step form which was written with
PHP's register globals turned on. Since upgrading PHP this form has
stopped working and needs editting.
Rather than manually changing each var -
$foo to$_POST['foo']
(there
That tags? It should not be used anyway...
Comex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED]
Comex:
[EMAIL PROTECTED]
Bas:
Yes, thanx. I always wanted to make a version where you can use
multiple tags of one type. And, what do you find of it? Please rate
How can i print out all of the files in a directory?
I want some output as this:
index.php
login.php
image1.gif
image2.jpg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bas,
I think the following should work though it might need some tweaking as it's some
weeks since I did:
$dir = directoryname;
$dp = opendir($dir);
$filenames = array();
while($file = readdir($dp))
{
array_push($filenames, $file);
}
// Compile an array of the
how can I format the current date and time so that I can insert it into a
mysql table with an insert query?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have discovered a very strange thing.
The problem is that session management fails when I stop the browser while a PHP page is loading.
As soon as the browser requests a file with a session_start or session_register command the browser gets in a
kinda endless loop and the session file stay
hi
please see if this is what you need:
http://www.raditha.com/php/dir.php
Bas wrote:
How can i print out all of the files in a directory?
I want some output as this:
index.php
login.php
image1.gif
image2.jpg
--
Raditha Dissanayake.
Diana,
Have a look at the getdate() function.
This will return an associative array of a time which you can then use to create the
date in the format you wish.
Regards,
Michael Egan
-Original Message-
From: Diana Castillo [mailto:[EMAIL PROTECTED]
Sent: 17 October 2003 14:29
To:
insert into table (date_created) values( now() )
;-)
pete
Diana Castillo wrote:
how can I format the current date and time so that I can insert it into a
mysql table with an insert query?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Oct 17, 2003 at 03:28:50PM +0200, Diana Castillo wrote:
:
: how can I format the current date and time so that I can insert it into a
: mysql table with an insert query?
That depends on the column type of your MySQL table. Is it a DATETIME?
DATE? TIMESTAMP? TIME? Or just a YEAR?
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
Sorry, but we are not able to help you without any code from you.
Greetz
Kristin Schesonka
Christian Tischler [EMAIL PROTECTED] schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these
Post some code.
christian tischler wrote:
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
--
PHP General
On Fri, 17 Oct 2003 14:51:54 +0100, you wrote:
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
Reduce
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
Some code I use
.
.
.
$messagepart1 = '
html head
On Fri, 17 Oct 2003 15:09:48 +0100, you wrote:
I would like to use a form in a html page to pass the variables to a php
page, which sends an mail including these variables.
All I get in the mail though is a 1 rather than the string that I put into
the form???
Can anyone help please!
Some code
christian tischler wrote:
$messagepart2 = (echo $salutation);
$messagepart2 = $salutation;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have my second program:
Filemanager!!!
It contains 2 files(this files are in the admin directory of the folder
meant in the showindex.php file($dir)):
showindex.php
---
?php
$dir = /pub/publicfiles/; // Change this to your situation
$dp = opendir($dir);
$filenames = array();
Hello list,
I was just sitting here thinking how to secure my php code and
thought I would run it by the pros. I don't know what the standard
practice is to secure against sql injection and malformed information
passed from forms. This probably has been done several times I just
would like
If you are using PHP as an Apachemodule you also have the option of using
a url like
http://example.com/index.php/test/test.html
Apache will see that test.html is not available and will travel down the
directory path til it gets to the index.php (which should exist BTW) and
call that script.
This
Heh yes umm i know this. But how i could i catch this before is spits out
to an ugly error page so i can send to a custom error page.
Why would anyone but you ever see a parse error? It's the sort of thing
you fix before setting up custom error handling. :)
I make a site where I list data from a mysql database. I want to divide the
task into 2 parts. The 1. php is the logic.php an the 2. is the html table
(html.php) with field values.
I plan that the form action in the html.php file call the logic.php but the
logic.php includes the html.php.
I mean:
--- Jeremy Russell [EMAIL PROTECTED] wrote:
I was just sitting here thinking how to secure my php code and
thought I would run it by the pros. I don't know what the standard
practice is to secure against sql injection and malformed information
passed from forms. This probably has been done
This has been working for me...
just pass the function the path to the directory you
want the listing for.
function getDirFiles($dirPath){
if ($handle = opendir($dirPath)) {
while (false !== ($file = readdir($handle))) {
if ($file != . $file != ..) {
Bas wrote:
I have my second program:
Filemanager!!!
It contains 2 files(this files are in the admin directory of
the folder meant in the showindex.php file($dir)):
showindex.php
---
?php
$dir = /pub/publicfiles/; // Change this to your situation
$dp = opendir($dir);
On Fri, Oct 17, 2003 at 09:38:12AM -0500, Jeremy Russell wrote:
:
:I was just sitting here thinking how to secure my php code and
: thought I would run it by the pros. I don't know what the standard
: practice is to secure against sql injection and malformed information
: passed from forms.
I hope this question is not too stupid! When I have an error in my script,
it seems to me that the web server, or in my case the php CGI module I am
using for testing, should send something back to my browser displaying an
error message. Instead, I can write any garbage I would like in my php
On Fri, 17 Oct 2003 11:29:41 -0400, you wrote:
I hope this question is not too stupid! When I have an error in my script,
it seems to me that the web server, or in my case the php CGI module I am
using for testing, should send something back to my browser displaying an
error message. Instead, I
take a look at this
http://phpinsider.com/php/code/SafeSQL/
pete
Jeremy Russell wrote:
Hello list,
I was just sitting here thinking how to secure my php code and
thought I would run it by the pros. I don't know what the standard
practice is to secure against sql injection and malformed
Karina S mailto:[EMAIL PROTECTED]
on Friday, October 17, 2003 8:02 AM said:
Question:
Is it a right way to do this task or this reqursive calls overloads
the server?
Maybe I'm misunderstanding you but I didn't see anything wrong with the
example you gave. Maybe someone else will
you can use simply
exec(ls -l 21;, $output) : if on linux OR
exec(dir 21;, $output): if on windows
Enjoy
Nitin
- Original Message -
From: Craig Lonsbury [EMAIL PROTECTED]
To: Bas [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 17, 2003 8:40 PM
Subject: RE:
Yeah, that did it, thanks
David Otton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 17 Oct 2003 11:29:41 -0400, you wrote:
I hope this question is not too stupid! When I have an error in my
script,
it seems to me that the web server, or in my case the php CGI module I am
Ryan A mailto:[EMAIL PROTECTED]
on Thursday, October 16, 2003 6:35 PM said:
Has this crap from hanmir started again?
Yes.
Am I the only one who is getting these damn messages?
And no.
One thing that's strange though is that my sendmail /etc/mail/access
rule does not work for these
But *why* does logic.php need html.php?
There is no recursion issue, or endless nesting of includes, because
html.php refers to logic.php as an action for a form... this does not
include the logic.php code into the html.php page.
Rich
Karina S [EMAIL PROTECTED] wrote in message
news:[EMAIL
Eugene Lee mailto:[EMAIL PROTECTED]
on Friday, October 17, 2003 8:20 AM said:
If you're using MySQL, you can use mysql_real_escape_string(). If
you're using another database, hopefully there is a similar function.
Doesn't MySQL automatically protect against attacks like SQL injection?
Or
--- Chris W. Parker [EMAIL PROTECTED] wrote:
Doesn't MySQL automatically protect against attacks like SQL
injection? Or maybe it's that it automatically applies addslashes()?
Nope and nope.
What you might be thinking of is that mysql_query() only allows a single query
to be executed. This
If you're using MySQL, you can use mysql_real_escape_string(). If
you're using another database, hopefully there is a similar function.
Doesn't MySQL automatically protect against attacks like SQL injection?
Or maybe it's that it automatically applies addslashes()? I can't
remember exactly.
Greetings everyone,
We have just launched a new product called codeSECURE and would like you to
check it out.
codeSECURE is a PHP obfuscator.
Basically codeSecure is a small collection of scripts to obfuscate or
garble up php code so that PHP developers can protect their intellectual
property,
Mike Migurski mailto:[EMAIL PROTECTED]
on Friday, October 17, 2003 9:15 AM said:
There is a magic quotes feature,
which adds slashes to request variable. You may be thinking of that:
Whoops! Yeah, that's what I'm talking about.
Chris.
--
Don't like reformatting your Outlook replies? Now
You announced this already on Wednesday. So re-announcing the same
version seems kinda redundant.
Cheers,
Rob.
On Fri, 2003-10-17 at 12:19, John Black wrote:
Greetings everyone,
We have just launched a new product called codeSECURE and would like you to
check it out.
[--CLIPITTY CLIP
oops sorry.
We had a small problem, we sent this to most of the php lists like
SMART,announce etc and we made the mistake of BCCing it there, php.net sent
it back to us as BCCing is not allowed to the list/s
so we were unsure if we posted it here.
Our apologies to everyone.
-JB
You announced
Don't mention it =)
--
Jon Kriek
http://phpfreaks.com
Hey,
Thanks, it works!!
Replace %G _with_ %Y
cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't mention it =)
--
Jon Kriek
http://phpfreaks.com
Hey,
Thanks, it works!!
Replace %G _with_ %Y
cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want a login system with sessions and without mysql.
I have tried to make one but that one is without sessions(i don't know
anything about sessions) and with mysql...
Regards,
Bas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2003-10-17 at 12:57, Bas wrote:
I want a login system with sessions and without mysql.
I have tried to make one but that one is without sessions(i don't know
anything about sessions) and with mysql...
InterJinn supports file based sessions, but you'll hafta write your own
login since
Yes sorry, but i don't use such things like your interjin...
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 2003-10-17 at 12:57, Bas wrote:
I want a login system with sessions and without mysql.
I have tried to make one but that one is without sessions(i
That's seems contradictory. It's pre-written code and you appear to be
requesting pre-written code. *shrug*. I think silently ignoring my post
would have sufficed, but you appear to be making a statement :/
Cheers,
Rob.
On Fri, 2003-10-17 at 13:04, Bas wrote:
Yes sorry, but i don't use such
On Fri, Oct 17, 2003 at 07:04:27PM +0200, Bas wrote:
: Robert Cummings [EMAIL PROTECTED] wrote:
: On Fri, 2003-10-17 at 12:57, Bas wrote:
:
: I want a login system with sessions and without mysql.
:
: I have tried to make one but that one is without sessions (i don't
: know anything
Okay, what are the very very basic functions to make a session?
Eugene Lee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, Oct 17, 2003 at 07:04:27PM +0200, Bas wrote:
: Robert Cummings [EMAIL PROTECTED] wrote:
: On Fri, 2003-10-17 at 12:57, Bas wrote:
:
: I want a
Okay, here is what i want:
* Login system
* No mysql
* Sessions
* Easy adjustable register page(copy generic files to dir of user)
Eugene Lee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, Oct 17, 2003 at 07:04:27PM +0200, Bas wrote:
: Robert Cummings [EMAIL PROTECTED] wrote:
I want to try that InterJinn out but... is it free?
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
That's seems contradictory. It's pre-written code and you appear to be
requesting pre-written code. *shrug*. I think silently ignoring my post
would have sufficed, but
On Fri, 2003-10-17 at 13:31, Bas wrote:
I want to try that InterJinn out but... is it free?
It is free for non-revenue generating purposes.
http://www.interjinn.com/licenses/public.phtml
Otherwise there's an inexpensive license.
Cheers,
Rob.
Robert Cummings [EMAIL PROTECTED] wrote in
Do you mean non-commercial? i plan to use it at home to test some websites
and showing them to my friends
Robert Cummings [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 2003-10-17 at 13:31, Bas wrote:
I want to try that InterJinn out but... is it free?
It is free for
Bas,
I think a suggested reading would be www.php.net/man. It's the PHP
manual and can answer many, if not all, of your questions related to
sessions. Yes, even questions like what are the basic functions to
make a session. I am usually not one of the people that get uptight
about certain types
Okay, here is what i want:
[snip!]
Forget about what you want. Here's what you need:
http://www.php.net/manual/en/ref.session.php
http://www.phpclasses.org/goto/browse.html/class/21.html
http://www.devarticles.com/art/1/639
Almost everyone needs to use sessions and user authentication
[snip]
Okay, here is what i want:
* Login system
* No mysql
* Sessions
* Easy adjustable register page(copy generic files to dir of user)
[/snip]
Let's see, bas releases not one, but two applications this week and then
condemns another'swhoa. Bas, RTFM at
http://us4.php.net/session
--
PHP
On Fri, 2003-10-17 at 13:39, Bas wrote:
Do you mean non-commercial? i plan to use it at home to test some websites
and showing them to my friends
The term non-commercial was purposefully not used in the license
because it is too narrow of a definition. The license should be quite
clear on what
Which one does not use mysql and is free?
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Okay, here is what i want:
[snip!]
Forget about what you want. Here's what you need:
http://www.php.net/manual/en/ref.session.php
http://www.phpclasses.org/goto/browse.html/class/21.html
What I do is make a PHP page/template with php variables in place.
Then do something like this...
$report = path/to/mytemp.php;
$today = date();
ob_start();
include($report);
$message = ob_get_contents();
ob_end_clean();
//echo $message;
[snip]
Which one does not use mysql and is free?
Forget about what you want. Here's what you need:
http://www.php.net/manual/en/ref.session.php
http://www.phpclasses.org/goto/browse.html/class/21.html
http://www.devarticles.com/art/1/639
[/snip]
**slaps forehead**
All of them.
--
PHP
Hi, all --
It appears that the change from 4.2.3 to 4.3.4rc1 was not something that
got broken but instead something that got fixed. Oh, yay. But what do I
do now? Hmmm...
The code
?php
session_name('name') ;
session_start ;
session_register('pw') ;
$pwc = realpass ;
if
[snip]
Which one does not use mysql and is free?
Forget about what you want. Here's what you need:
http://www.php.net/manual/en/ref.session.php
http://www.phpclasses.org/goto/browse.html/class/21.html
http://www.devarticles.com/art/1/639
[/snip]
**slaps forehead**
All of them, with
Hey peeps.
Let me be quick (or try to at least).
Here is a snippet of my db class.
function query($sql, $current_line)
{
$this-Result = mysql_query($sql)
or die($this-stop($current_line));
// the following two lines work if they are in the next
// method
Hi, all --
Well, now that I have to change my code around, I suppose I should learn
the best way, if there is one in particular, to manage sessions.
Should I use $_SESSION for everything or should I use session_start and
session_register and friends instead? Is there a clear win with either
On Fri, 2003-10-17 at 14:02, Jay Blanchard wrote:
[snip]
Which one does not use mysql and is free?
Forget about what you want. Here's what you need:
http://www.php.net/manual/en/ref.session.php
http://www.phpclasses.org/goto/browse.html/class/21.html
Bas,
Based on your (somewhat limited) requirements, I recommend that you look at
using Uma.
http://sourceforge.net/projects/uma/
It's easy to use, and you can drop it into your application without any
trouble.
Chris
-Original Message-
From: Bas [mailto:[EMAIL PROTECTED]
Sent: Friday,
1 - 100 of 184 matches
Mail list logo