At 12:08 17-5-01 +0700, Kittiwat Manosuthi wrote:
In a virtual hosting environment, even though a directory permission is
set to 751, but you still need to leave world-readable permission on
individual php file that is to be read from a browser. In a scenario
where there's another user in the
and then on another note, why do you have users on a webserver who
aren't developers???
Cause most people aren't.. but they want to create their own apps.. they
think it's a computer and it's software so anyone can do it.. right?? Most
of us know it's a bit harder then that.. oh well.. let
Hello people!!!
I'm looking for a comparative table between PHP, ASP y PERL or another
script languages. Where can I find one???
Hello everybody!
I have a problem that a script is not working with netscape. The script is
shown here:
echo a href=\$php_self?add\goto add/a;` //Link
if ($argv[0] == add;//The Link jumps to this point of the script
[do something]
It's perfectly working with the internet explorer.
Hello All,
I am sure this is simple, but I really cant figure it out by myself.. at
least not tonight :)
This simple script gives : Parse error: parse error in
/var/www/html/test.php on line 2
# cat /var/www/html/test.php
?php
$user = root ;
echo hello $user;
?
If I comment (//) line 2, it
Hi again,
Ok, I wasnt that tired after all :) and had the belliant idea of loading
my script in vi and lo and behold here is what I saw:
$user| =| 'root' ;
Nice, huh? This was generated by this cute editor called BlueFish.. no
more bluefish for me.
Mohamed~
Mohamed LRHAZI wrote:
dunno...never had problems with phpself
actually try $PHP_SELF instrad of $php_self...
-elias
Jaeggi David [EMAIL PROTECTED] wrote in message
D1F288E2CBFAD411B5480008C7281B9908B23A@lnminf0a">news:D1F288E2CBFAD411B5480008C7281B9908B23A@lnminf0a...
Hello everybody!
I have a problem that a
For an example of the speed of this in a semi-production enviroment
checkout:
http://www.secure.binarylogic.com.au/~chained
Let me know your thoughts etc...
Oh and also check out the unknown error on line 12 hmm suspect...
Thanks,
Joseph
--
PHP General Mailing List
gracias!! it was exactly the problem to write the it with capitals. i
thought first the var is parsed by php so it makes no difference what
browser you use but as proved it makes.
Dave
-Original Message-
From: elias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 7:36 PM
Joseph Blythe wrote:
For an example of the speed of this in a semi-production enviroment
checkout:
http://www.secure.binarylogic.com.au/~chained
Let me know your thoughts etc...
Oh and also check out the unknown error on line 12 hmm suspect...
Thanks,
Joseph
Doh!
hehe;)
Mohamed LRHAZI [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi again,
Ok, I wasnt that tired after all :) and had the belliant idea of loading
my script in vi and lo and behold here is what I saw:
$user| =| 'root' ;
Nice, huh? This was generated
On Wed, May 16, 2001 at 06:35:32PM -0700, Ryan Christensen wrote:
Take a machine down, knowing it's uptime? (I.e., it's easier to hack a box
that's been up for 5 months.. as opposed to one that hasn't been??)
By knowing the uptime and the version of the OS (e.g. kernel-version)
you know to
Yes you are right. You need to do a chgrp or chown
on the directory where the tables are located. Did you
run the mysql_install_db script in the /scripts directory?
Are you compiling mysql to run as the mysql user?
( --with-mysqld-user=mysql ) Is mysql a valid user in
the passwd file?
Answering
Hello All,
I have a app that is used to track stats, it was designed to be used on the
smae server that the website being tracked is, it uses an include and a
path statement to register a hit in the page being displayed.
Does anyone know of a method where I could get the remote website to
Hello al,
Another question, if retrieving records from a database, I can use LIMIT
tolimit the records, however does someone have some examples on sites or
otherwise that would show clearly how I could limit the records per page
and dynamically produce a hyperling in the HTML result that would
Hi Laurie,
If the data to be displayed was in a database, and each row of data
corresponded to an auto incrementing id, you could reference by id number,
which is a much better way of doing things via the GET method than messing
around with long names. Assuming that you have two tables, one
i have a php script that has three variables that could be set to 1
depending on the values of a form being sent to the .php file.
$add
$remove
$view
i need to do some error control in my script to make certain that one and
only one of these is set to 1. i am coming up with a very long
control
please try this :
OCIFetchInto ($stmt, $row, OCI_ASSOC);
usually i also use a second modifier
OCI_ASSOC+OCI_RETURN_NULLS
sebastian
I'm tryibg to execute a simple query on Oracle:
$cn=OCILogon($DB_USER, $DB_PASSWORD, $DB_NAME);
$stmt=OCIParse($cn,select *
Easy, ...
Use JavaScript
or simple HTML...
javascript:
script Language=JavaScript
src=yousite/yourscripts/statcounter.php/script
Now you've just been called from another server!
Now from within your script you can get lots of informations like:
$HTTP_REFERER ...
-elias
How about
if (($add + $remove + $view) 1)
{
//error
}
-Stewart
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2001 09:45
To: php-gen
Subject: [PHP] group comparision
i have a php script that has three variables that could be set to 1
depending
I understand that you want to check if:
i need to do some error control in my script to make certain that one and
only one of these is set to 1. i am coming up with a very long
control structure:
One and Only One
okay, ...
if ($add == 1) { // do the add job }
elseif ($remove == 1) { // }
This is really bugging me. I don't see any reason why it shouldn't work, yet it
doesn't.
?
$date = date (d);
$math = 24 - $date;
if ($date = 24); {
echo FONT SIZE=4 FACE=ARIAL COLOR=#808080SCHOOL'S OUT FOR SUMMER!!! *guitar
ballad*/font;
} else {
echo FONT SIZE=4 FACE=ARIAL
Hi,
If I want to test if a variable exists (or has been passed) then I just do:
if($var) {
// variable is here
}
But I've noticed that a lot of people do:
if(isset($var)) {
// variable is here
}
What's the difference and which is the best way?
TIA,
Jord
--
Jordan Elver
?
$date = date (d);
$math = 24 - $date;
if ($date == 24); { '=' shoud be '=='
echo FONT SIZE=4 FACE=ARIAL COLOR=#808080SCHOOL'S OUT FOR SUMMER!!!
*guitar ballad*/font;
} else {
echo FONT SIZE=4 FACE=ARIAL COLOR=#808080Only $math days until
school's out!!! w00p w00p!/font;
}
?
You might also want to check the xor logical op:
http://www.php.net/manual/en/language.operators.logical.php
Mohamed~
[EMAIL PROTECTED] wrote:
i have a php script that has three variables that could be set to 1
depending on the values of a form being sent to the .php file.
$add
$remove
I don't think this is quite what I am looking for because I am hoping to
issue an error message if more than one variable has a value of one. Sorry
for not including this as a stipulation.
Thanks -Charles
On Thu, 17 May 2001, elias wrote:
I understand that you want to check if:
i need to
Jordan,
http://www.php.net/manual/en/function.isset.php
When you do: if ($var)
you are saying if $var is boolean true
which is not what you say you want:
Hi,
If I want to test if a variable exists (or has been passed) then I just do:
Mohamed~
Jordan Elver wrote:
Hi,
If I want to
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Jordan Elver) wrote:
if($var) {
// variable is here
}
But I've noticed that a lot of people do:
if(isset($var)) {
// variable is here
}
What's the difference and which is the best way?
Turn up error reporting to E_ALL,
I have configured mod_auth_pam for Apache and secured a directory with an
.htaccess file:
AuthType Basic
AuthName Secure Area
require group staff
require user chris
Now, I would like to control the local browser window's authentication cache
via PHP. For example, how do I clear the
Ok here is a simple IF statement I am messing around with, yet the parser is
sending back an error message of which I cannot see the cause:
Code:
?php
if ($name == tarrant $username == costtar $password ==
password);
{
print(Your are now logged in $name, thank you.);
}
else
{
Hi,
How I can save the below string???
I try concatenate, but when I try with echo or print not display
nothing.
Best Regards
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
sorry, this is the string...
?xml version=1.0 encoding=ISO8859-1?
LLISTA id=CatalecServeis DataSrc=DAT$CATALEC_SERVEIS Localitzador=Id
Titol=Catalogos de servicios
COLUMNA Id=Nom Titol=Nombre Tipus=Text Tamany=50 Field=NOM/
/LLISTA
And this not function:
$str = '?xml version=1.0
Loose the ; after the if
Jeroen
Tarrant Costelloe [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Ok here is a simple IF statement I am messing around with, yet the parser
is
sending back an error message of which I cannot see the cause:
Code:
?php
Thanks to all who replied.
I am really confused as to why, at teh very top of my page, I have told the
cookie to set to null.
and then in the last part of my php, just before my head tag, I re-set teh
cookie.
but the old value still remains.
What am I doing wrong???
Thanks you guys, I'll get
How exactly is it that you parse variables from one page to another without
using a form. I have heard you can do it by using the URL?
Taz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Hello,
I've got a little problem - which I frankly don't get. When using the win32 binaries
for PHP (yeah - i know - unix is better) and do a pg_close on a postgres database, it
always displays the following in the output, even before any
headers are sent:
pg_close -1
followed by the
LOOK at the manual!!!
a cookie new cookie value is just accessible on the next page
sebastian
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 17. Mai 2001 11:56
An: [EMAIL PROTECTED]
Betreff: Re: AW: [PHP] Kill a cookie
here's a tip:
page1:
a href=page2.php?hello=world
page2:
?
echo $hello;
// prints 'world'
?
try to guess the answer :-)
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original
Cookie is a file sent by a browser to the server.
If you set a cookie, you will be still unable to read it on your page,
unless you give the browser a chance to resend it to you.
To do so you'll need the user to hit or refresh a page on your site. Then,
and only then the browser will be sending
Neither will work. Think about it.. If you did 17 - 3 (17th May - 3rd
June) - you get 14. But if you add 14 days from today, you get 31st May,
which is clearly wrong. What if there are 30 days in the month instead of
31? Or 28? Or even more obscurely 29? You cannot rely on this method
Hi!
Could anybody explain to me what the error Fatal error: out of dynamic
memory in yy_create_buffer() in Unknown on line 0 means, and how i should
deal with it?
Thanks in advance,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Do you have extension=mysql.so in your php.ini?
- Kath
- Original Message -
From: John Monfort [EMAIL PROTECTED]
To: Enrique Ivorra Gómez [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, May 16, 2001 9:05 AM
Subject: Re: [PHP] I have a problem with phpMySqlAdmin
Is your
In addition - if you did 3rd June as the end date - 17th May as today, 3 -
17, the original $days_to_go would be a minus number (What I meant to
say in the first place
Also, this would be better:
if ($date_today $school_out) {
echo We're already on holiday!;
$new_difference =
Hello!
What's the PHP equivalent to this:
Application.Lock
Application(key) = value;
Application.UnLock
--
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:
Yeh i have noticed this before. If for example a variable (in your case
$PHP_SELF) is not set and the url just becomes ?blah... instead of
index.html?blah... (for example) ie will work fine but netscape spits the
dummy. Its one of those probs that I recognise straight away now but the
first time
I am creating a function called login, I have a main file called index.php
.. which has my login form , it calls a login.php file, and in that
login.php there is file include statement which calls config.php and that is
where the function lie. This is my function , now if i don't set this as a
When I start a script like this :
$fp = fsockopen($host, $port, $errno, $errstr, 30);
if ($fp) {
$fputs_str = GET .$path. HTTP/1.1\r\n;
$fputs_str .= Host: .$host.\r\n;
$fputs_str .= \r\n;
fputs($fp, $fputs_str);
fclose($fp);
}
The script will run for some time. But
Hi All,
I need help with a small problem. My website has many users from around the
world, and they need to submit a form at a certain time (UK Time).
Because of this, I need to display the UK Time on my website.
I do this by putting this code:
?php echo gmdate(F jS Y, h:ia); ?
There is
Hello all,
Another question, if retrieving records from a database, I can use LIMIT
tolimit the records, however does someone have some examples on sites or
otherwise that would show clearly how I could limit the records per page
and dynamically produce a hyperling in the HTML result that would
Hello All,
I have a app that is used to track stats, it was designed to be used on the
smae server that the website being tracked is, it uses an include and a
path statement to register a hit in the page being displayed.
Does anyone know of a method where I could get the remote website to
what you could do is something like get the unix time, and add an hour to
that, and then use the date function to output the date.
$today = (time() + 3600);
$output = date(F jS Y, h:ia, $today);
hope that helps!
/sunny
-Original Message-
From: Good Fella [mailto:[EMAIL PROTECTED]]
Hello Greg,
Try http://www.knowledgeisland.com/inet/php/php.php
Look for Rod Kreisler in the PHP Databases section
HTH
Regards
- Original Message -
From: Greg Wright [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 17, 2001 1:20 PM
Subject: [PHP] Limit hyperlinking
Hello all. Forgive for offtopic, but somebody can knows where it is
possible to find work for volunteer. I well know and I have experience of work
with PHP, SQL, but I have not the projects except for amateur and
consequently it would be desirable to work free-of-charge. Beforehand
thank.
I'm trying to use set_error_handler with a function name (in the global
scope -- not a class method), and I'm getting a seg-fault in PHP. I'm
wondering if it's a scope problem.
Here's an abbreviation of what I have:
(Main.php)
include_once('Error.php');
class Main {
function main() {
you can also run like:
php -q myfile.php
-elias
midget2000x [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I apologize if this has already been covered...I can't seem to find it in
the
archives...
can PHP be coded and run as a stand-alone program? If so,
Hi,
Does anyone know how to go about drawing a barcode in PDFLIB?
Regards,
Keith Ng
___
Co-founder
K-Designs Incorporated
[EMAIL PROTECTED]
http://www.k-designs.com.sg/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Sorry, PHP doesn't support application variables natively. You can get
classes that emulate this behaviour at http://0x00.org/ or use shared memory
or a database.
elias [EMAIL PROTECTED] wrote in message
9e0aqb$8vv$[EMAIL PROTECTED]">news:9e0aqb$8vv$[EMAIL PROTECTED]...
Hello!
What's the PHP
be forewarned that a bash fan is writing this message with little to no
perl/c++ experience.
i have a file $file that is full of usernames and descriptions, one per
line. i have another variable $username that i would like to compare against
each line in the file and remove the line that matches
Eek. Nevermind.
The problem, for anyone who is interested, is that you cannot specify that
any parameters in the error-handler function to be passed by reference.
Dean.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Sending variables in url:
newpage.php?variable1=valuevariable2=value2variable3=value
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
The world is waiting, are you ready?
*oops!*
Sorry about the double ampersands...
newpage.php?variable1=value1variable2=value2...
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
The world is waiting, are you ready?
On Thursday 17 May 2001 13:58, [EMAIL PROTECTED] wrote:
i would think that a while loop could do this and possibly write the
output, minus the line i want to take away to a temp file and then copy
it over. in bash i would use a statement like:
while read i; do
blah
done $filename
Alex Tretjakov [EMAIL PROTECTED] wrote:
Hello all. Forgive for offtopic, but somebody can knows where it is
possible to find work for volunteer. I well know and I have experience of
work
with PHP, SQL, but I have not the projects except for amateur and
consequently it would be desirable to
[EMAIL PROTECTED] wrote:
i have a file $file that is full of usernames and descriptions, one per
line. i have another variable $username that i would like to compare
against
each line in the file and remove the line that matches the
username field identically.
$filename
charles routers
Hi There,
I had a similar problem because of BST (British Sumer Time). Have a look on
Yahoo / Google etc for a site about Greenwich Mean Time, and find out the
dates that the schemes take effect - I think it is March 25th to beginning
or end of October. Then use a simple if statement.
?
Hi!
ftp_pwd does always return 1 (That is, True?) ?!?
What am I doing wrong?
,[ This Code outputs '1'... ]
| $Stream = ftp_connect($Server, $Port);
| ftp_login($Stream, $Nutzer, $Passwort) || die(Fehler beim Einloggen auf
|dem FTP-Server!\n);
Sadly no, shm isn't available on Win32. Sorry if you had posted in
php.windows, I would have realized that you meant windows immediately.
elias [EMAIL PROTECTED] wrote in message
9e0ela$tdt$[EMAIL PROTECTED]">news:9e0ela$tdt$[EMAIL PROTECTED]...
The Shared Memory functions doesn't work somehow
Hello All,
I have a app that is used to track stats, it was designed to be used on the
smae server that the website being tracked is, it uses an include and a
path statement to register a hit in the page being displayed.
Does anyone know of a method where I could get the remote website to
When using:
?php if (!$submit)
{
// First html page containing login form
}
else
{
// Results of login form, including login failed or successful print()
}
?
I get an error on line one, due to it at first not recognising the variable
$submit. If I ignore this and continue to fill in the form,
Hello!
Sorry for offtopic.
I'm developing PHP page for the displaying some kind of statistic.
It displays graphics for the selected user. Pictures updates every 5 minutes
by external program. I've form with submit button. If I press this button
with different user selected, everything is OK.
Two suggestions:
Use
if (!isset($submit))
OR
change the order around
?php
if ($submit)
{
// Results of login form, including login failed or successful print()
}
else
{
// First html page containing login form
}
?
kind regards,
bill hollett
Tarrant Costelloe wrote:
When
Hello,
I have a question about recompiling PHP to add some options. I am a newbie
to linux and compiling. Let give a background on my processes.
I compiled MySQL -- got it working.
I compiled isntalled Openssl
Configured PHP 4.0.5
Installed Apache with SSL and PHP.
Everything was up and and
Take out that first bit with the ?xml in it and I think you'll find that it
will work.
My guess is that you have short-tags enabled in your configuration, and PHP
could be acting screwy there...try sticking an escape character in front of
it like:
\?xml
And see if that works. It might not, but
The reason you're getting the undefined variable warning level is because
your error reporting level which is set in php.ini or explicitly in your
code is set to spit out warning, so you'll want to change that before doing
anything other than just testing.
Plutarck
Tarrant Costelloe [EMAIL
Define how index.php calls the login.php file. I assume you mean index.php
include() login.php, which has include() on config.php? If so, be sure that
the path to config.php as included in login.php is right. Use the fully
qualified path to ensure it works right.
Other than that, as long as the
Andrew Kirilenko wrote:
Hello!
Sorry for offtopic.
I'm developing PHP page for the displaying some kind of statistic.
It displays graphics for the selected user. Pictures updates every 5 minutes
by external program. I've form with submit button. If I press this button
with different
Hi
I have a simple mail command which I can see my SMTP (IIS5) server is picking up but
its not sending the email out anywhere - So thought my server was configured wrong -
I spent several hours playing with it and got nowhere so I installed a different SMTP
server (mercury) onto the same
this exact question was talked about yesterday. 'barcode font' in google comes up with
a hole list of fonts to use. use them in conjunction with pdflib to make barcodes.
--
Chris Lee
[EMAIL PROTECTED]
Keith Ng [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL
this seems to make my browsers not cache.
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT);
header(Cache-Control: no-cache, must-revalidate);
header(Pragma: no-cache);
then add
header(WWW-Authenticate: Basic realm='$SERVER_NAME'
On Thu, 17 May 2001, Angerer, Chad wrote:
I compiled MySQL -- got it working.
I compiled isntalled Openssl
Configured PHP 4.0.5
Installed Apache with SSL and PHP.
Everything was up and and running.
Now I want to add gd support and a few other options to PHP. Can I just
recompile PHP and it
How do I remove PHP from my server? I need to do a fresh install.
Joseph
--
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 PROTECTED]
I have tried to reset the $PHP_AUTH_USER and/or $REMOTE_USER from within my
php scrips to force a user re-login to apache's ht authentication, but I cant
seem to set it from inside a php script
I've tried putenv($REMOTE_USER = '');
and
$PHP_AUTH_USER = ;
and several other variations of the two
I have tried to reset the $PHP_AUTH_USER and/or $REMOTE_USER from within my
php scrips to force a user re-login to apache's ht authentication, but I cant
seem to set it from inside a php script
I've tried putenv($REMOTE_USER = '');
and
$PHP_AUTH_USER = ;
and several other variations of the
On Thu, 17 May 2001, Joseph Bannon wrote:
How do I remove PHP from my server? I need to do a fresh install.
What server? Debian ? RH? Win ? packet (e.g. rpm) ? source+compile (tgz)?
Fresh install of what? OS ? Apache ? Win?
bye
--
FERMI TUTTI: E' UNA RAPINA! NON GLI CREDONO E LO PICCHIANO.
maybe you could be a bit more specific about what kind of server your
referring to.
Wieger
Joseph Bannon wrote:
How do I remove PHP from my server? I need to do a fresh install.
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I'm submitting a form to a search page that performs different searches
based on what engine was selected. One of these searches is restricted, and
runs a function that checks for a cookie. If the user has no cookie, they
are redirected to a login page.
I've used echo tests to make sure the
I'm using Red Hat. I installed the source. I want to do a fresh install of
PHP becaue no one will tell me how to upgrade 4.0.4 to 4.0.5 -lol.
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Its OK gang I have solved it - It was a mail-relay problem !
Mike
@toye.php.net sexygeek ) nospam (sexygeek @btinternet.com wrote in
message 9e0mtb$pqn$[EMAIL PROTECTED]">news:9e0mtb$pqn$[EMAIL PROTECTED]...
Hi
I have a simple mail command which I can see my SMTP (IIS5) server is
picking up
On Thu, 17 May 2001, Joseph Bannon wrote:
I'm using Red Hat. I installed the source. I want to do a fresh install of
PHP becaue no one will tell me how to upgrade 4.0.4 to 4.0.5 -lol.
Do you have installed for apache (--with-apxs or --with-apache) or for
exec cgi (without --with-apxs or
I did --with-apache. For some reason, when I install 4.0.5, it doesn't
catch. It still says 4.0.4. Is there a main file(s) I can remove to make
sure 4.0.5 catches?
T,
Joseph
-Original Message-
From: Michel 'ZioBudda' Morelli [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 12:24
look in the manual for md5
~kurth
On Thu, 17 May 2001, Troy Moreland wrote:
All,
I am currently using sessions to store a user's ID, password and current
login status. All works fine. The only issue is that the session file on
the server is storing the password in plain text. How do I
Try setting the timeout to some high setting, beyond how long you need it to
run.
Often PHP just won't run for a really long time, for reasons I don't know.
It just occassionally decides it's done, but I know it can go for longer
than 3 days (phpIRC often lives that long and longer) so that
Hi,
Im currently running many scripts myself and other staff members wrote in
PHP for the university. Certain others want to eliminate PHP and make
everything Java based. It is now in the 'debate meeting' stage, so I need
some help. I have done a handful of research already, but im looking
Can anyone advise on a performance issue: which is gonna take longer,
gzcompress()ing a html page (eg phpinfo output) and writing to disk or
writing the uncompressed version to disk?
Thanks!
--
Richard Heyes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
What I do is md5() encrypt the password and store it in the text file or
database. Md5 is a one way algorithm, though, so you can never decrpyt the
password. What you do, is when you want to authenticate a user, you md5
encrypt the text they typed in and compare that to the md5 hash in your
Hello,
I usually use Linux as my OS so I am not to familure with Windows as a web
server. The problem I am facing now is the mail function in windows. It
doesn't seem to work. Does anyone know what I need to do to use the mail()
function on a Win2k advanced server box? PHP 4.0.5
Thanks
Add an exit(); immediately following all the header() calls. Hitting a
header() does not end execution of the script, so without the exit() the
last header() that gets called is the one that actually occurs.
Kirk
-Original Message-
From: Chad Day [mailto:[EMAIL PROTECTED]]
Sent:
ohhh...
i thought he wanted to know how to do a
simple redirect... not how to make
'start.php' the index...
i agree it's an odd request. why not just
name it 'index.php', or specify 'start.php'
with apache?
-Original Message-
From: B. van Ouwerkerk [mailto:[EMAIL PROTECTED]]
Sent:
Hi,
I just created a script that imports data from one data base,
reformats it and then saves the data to csv files. Now when i run the
script it sometimes outputs the following error:
php in free(): warning: recursive call
I tried searching the php web site but have had no luck in
Sweet, thanks! Fixed it .. learn something new every day ..
Chad
-Original Message-
From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 12:19 PM
To: Php-General@Lists. Php. Net
Subject: RE: [PHP] help with header/cookies ..
Add an exit(); immediately following
1 - 100 of 217 matches
Mail list logo