I created a static link from my dev site to your referer2.php script,
and your phpinfo listed a HTTP_REFERER as expected.
Jason k Larson
John Nichel wrote:
Is this something that can be turned on/off in the .ini file or via the
webserver itself? Neither my test servers, nor the ISP which host
Is this something that can be turned on/off in the .ini file or via the
webserver itself? Neither my test servers, nor the ISP which hosts my
sites show any REDIRECT variables. They don't show HTTP_REFERER either,
but I only expect to see that when a link is clicked from another page
(I could
Can I do that on the fly?
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why not just get the query times from the mysql general query log?
>
> On Tue, 24 Dec 2002, Noodle Snacks wrote:
>
> > Is there a built in php function for mysql that I c
Sure, but his phpinfo() does show REDIRECT_* vars as it is the server
doing the redirect. An external redirect (HTTP Location header) is not
going to show anything as it has nothing to do with the server.
-Rasmus
On Tue, 24 Dec 2002, John Nichel wrote:
> He's looking to see if there is a redire
He's looking to see if there is a redirect. The thing I'm seeing is
that if the redirect comes from a php header call, or a url rewrite from
the server, nothing is set for REDIRECT_URL or HTTP_REFERER. This is
the $_SERVER output I get on my machine from a url rewrite and php header
Array
(
All session.referer_check does is make sure that the referering page is
from within your host, and from what I'm reading, it seems that
HTTP_REFERER would have to contain something. Couldn't hurt to try, but
I don't think it will help you achieve the desired results.
John Taylor-Johnston wrote
Isn't the question about REMOTE_HOST? Why are you talking about referer
stuff at all? The two have nothing to do with each other. REMOTE_HOST is
the resolved version of REMOTE_ADDR and is rarely set as it is way too
time consuming to do a reverse DNS lookup on each ip that connects to your
web serv
You can't use REMOTE_PORT reliably for this purpose, it will always be
different, until they get recycled by the server.
How are you performing the redirect? via PHP, or maybe with Apache and
a Rewrite rule or something?
Jason k Larson
John Taylor-Johnston wrote:
>[SERVER_PORT] => 80
Serv
John,
CC: a copy of your next posts. I'll be back on Friday. Jingle Bells and all.
Thanks for thinking about it. What about turning on: session.referer_check =
Or soemthing else in php.ini
John
John Nichel wrote:
> Well, that won't help then. I saw that REMOTE_PORT was different in
> your last
Well, that won't help then. I saw that REMOTE_PORT was different in
your last two emails, but if it's ever changing
I'm doing a little testing here on my end and have discovered that
REFERER isn't set if the server is doing a redirect. I made a simple
little two page script. The first pa
> [SERVER_PORT] => 80
Server port does not change.
Will it do anything to change my php.ini?
session.referer_check =
It is set to nothing at the moment, copied and pasted.
How do I check for the port number? My redirects come through:
>[REMOTE_PORT] => 1070
>[REMOTE_PORT] => 1074
They are al
Like John said, REFERER isn't always set, and that looks to be the case
here. One thing I did notice is that the redirect comes thru on a
different port. If this is consistant, you may be able to use this.
John Taylor-Johnston wrote:
echo ( "\n" );
print_r ( $_SERVER );
echo ( "\n" );
On th
Finally got it working, but I have no idea how. I rewrote the script
changing a few if's and elseif's so there weren't as many, but still calling
the functions from the if/else statements. The format of the new script is
the same as the old one, and other than a few modifications, I still can't
see
>echo ( "\n" );
>print_r ( $_SERVER );
>echo ( "\n" );
On the redirect from http://compcanlit.ca/, I get:
Array
(
[DOCUMENT_ROOT] => /var/www/html2
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
[HTTP_ACCEPT_CHARSET] => iso-8859-1,*,utf-8
[H
>What do you get with this...
>echo ( "\n" );
>print_r ( $_SERVER );
>echo ( "\n" );
>From a blank HTML page, I get:
Array
(
[DOCUMENT_ROOT] => /var/www/html2
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png,
*/*
[HTTP_ACCEPT_CHARSET] => iso-8859-1,*,ut
What do you get with this...
echo ( "\n" );
print_r ( $_SERVER );
echo ( "\n" );
John Taylor-Johnston wrote:
But something does appear when you click on the links in this post, but not on a blank page nor from the server redirect?? Oh well.
Any other avenues? I thought something would appear fro
> REFERRER isn't always set, so that may be the problem.
>
> Try just a simple HTML page that has a link to a PHP page that echo's
> out $_SERVER['HTTP_REFERRER'].
>
> Does that work?
No.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Interestingly, the referred page displayed when you click on this link
http://compcanlit.ca/ when referred to http://compcanlit.usherbrooke.ca/ is the same.
So I can't detect the server redirect? Bummer?
> But something does appear when you click on the links in this post, but not on a
>blank
REFERRER isn't always set, so that may be the problem.
Try just a simple HTML page that has a link to a PHP page that echo's
out $_SERVER['HTTP_REFERRER'].
Does that work?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com
But something does appear when you click on the links in this post, but not on a blank
page nor from the server redirect?? Oh well.
Any other avenues? I thought something would appear from a link from a blank .htm file
to the site??
John
> John,
> John,
>
> Nothing.
>
> echo $_SERVER['HTTP_RE
John,
John,
Nothing.
echo $_SERVER['HTTP_REFERER'].'';
echo getenv('REMOTE_HOST').'';
Try looking at: http://compcanlit.usherbrooke.ca/
or
http://compcanlit.ca/ which will redirect to http://compcanlit.usherbrooke.ca/
I even made a link on a blank page on my desktop and from an email message.
Did you try $_SERVER['HTTP_REFERER'] ?
John Taylor-Johnston wrote:
What happened when you tried that?
Nothing. Nothing showed. In fact nothing for getenv('REMOTE_HOST') in the else either.
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://ww
> What happened when you tried that?
Nothing. Nothing showed. In fact nothing for getenv('REMOTE_HOST') in the else either.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In that case, check out
www.devshed.com
www.phpbuilder.com
www.zend.com
www.webmonkey.com
Those sites have very good tutorials on a variety of PHP topics.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Origina
It's PHP problem because I can include any number of files with other
extensions. only PHP which I can not include more than one file at a page...
maybe there is something wrong with php.ini
notice that I faced with this problem just after I upgraded to (PHP 4.2.1),
(Apache2), everything was great
John W. Holmes wrote:
http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=php+
mysql+tutorial
---John W. Holmes...
John, I am grateful for the suggestion and I will pass it along. I have
already given some insight as to how to find tutorials on the web and
the like. What I was
Try...
$_SERVER['HTTP_REFERER']
John Taylor-Johnston wrote:
The deal is my ISP does a redirect from www.delete.compcanlit.ca to www.delete.compcanlit.usherbrooke.ca. I'm trying to if statement the redirect. Again, I find no variable in phpinfo().
John
--
By-Tor.com
It's all about the Rush
h
Why not just get the query times from the mysql general query log?
On Tue, 24 Dec 2002, Noodle Snacks wrote:
> Is there a built in php function for mysql that I can use to time the last
> query?
>
> or do I have to take the microtime before and after then substract the first
> from the last?
>
>
Is there a built in php function for mysql that I can use to time the last
query?
or do I have to take the microtime before and after then substract the first
from the last?
I want to time how long my queries take
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
> I have a friend who has asked me about some sites she's working on.
She
> maintains multiple sites on different servers. Each of these sites
runs
> a different contest, currently handled by formmail.pl and then some
hand
> entry by her part.
>
> I've suggested she use MySQL, her own host allows
> I think this is perl? REMOTE_HOST
>
> How can I do this? I want to check the referer. If A do Aa, else Bb
> I can't find a variable in phpinfo()
>
> $appareil = getenv('REMOTE_HOST');
>
> if(strpos($appareil, "www.foo.ca"))
> {
> echo "found $appareil";
> }else{
> echo "did not find $appareil
The deal is my ISP does a redirect from www.delete.compcanlit.ca to
www.delete.compcanlit.usherbrooke.ca. I'm trying to if statement the redirect. Again,
I find no variable in phpinfo().
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think this is perl? REMOTE_HOST
How can I do this? I want to check the referer. If A do Aa, else Bb
I can't find a variable in phpinfo()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 24 Dec 2002 04:01:39 - Issue 1781
Topics (messages 129198 through 129239):
Richiesta collaborazioni
129198 by: Armando
Re: Configuring printer output for a POS printer --> Admin Configuring Printer Drivers
or a Select Driver Menu
129199 by: Chris Hewitt
I have a friend who has asked me about some sites she's working on. She
maintains multiple sites on different servers. Each of these sites runs
a different contest, currently handled by formmail.pl and then some hand
entry by her part.
I've suggested she use MySQL, her own host allows it, and m
Hello,
my problem is that I can't use more than one SSI INCLUDE in a page
Please access this test page to check the problem yourself:
http://www.sport4ever.com/test/hello.shtml
The first INCLUDE will appear correctly and prints "HELLO World, include #1" which is
the output of "hello.php"
Wh
I don't know. I just got that from reading the manual. The very first
user comment on the preg_match page.
chrisbolt at home dot com
12-Mar-2000 03:23
If you want to use some of PHP's special characters in your expression,
such as $, you must escape it twice. For example:
$matchme = "\$e
That worked perfectly! The problem is fixed. Thank you so much.
Luke
Chris Wesley wrote:
On Mon, 23 Dec 2002, Luke Sneeringer wrote:
That doesn't seem to work. This might be because my require tags also
send variables (e.g. common.php?variable=1)--would this make a call to
a non-PHP extentio
okay, this is just me thinking out loud... none of this is tested...
basically,
- take the string
- get rid of the last 3 chars (eg .75)
- split on ' days, '
- split the 2nd half on ':'
- multiply each bit (days, hrs, mins) by the appropriate no of seconds
- add it all together to get a number
As far as I know, there is no mcrypt windows version. You´ll have to try to
compile it yourself. And don´t ask me how because I don´t know:-)
A sugestion: If you can, change to linux. It´s better and it´s Free.
Regards
Alex
At 18:33 23/12/2002 -0500, Ysrael Guzmán wrote:
Hi, my server is win
Hi, my server is win 2000 server and IIS 5.0
i wnat to work to MCRYPT, but i don't know...
help me please.
Por favor yo estoy trabajando con windows 2000 server, y mi servidor web
es un Internet Information Service, trabajo con PHP y Mysql...
deseo encriptar con MCRYPT, pero no viene insta
Hi would any one know what the following error's are for/mean
I am using gd 2.0.7 with gif support and php4.2.3.
I am using the exact same gd version and php version as I used on another
machine and it compiled with only minor problems, but these errors are
different to the errors I got on the othe
I don't think you can use strtotime in that case. However, assuming that
your data is properly formatted every time, you can use a simple
function like this (I'm doing it from memory, so it might not actually
work):
Hope this helps.
Cheers,
Marco
--
php|architect - The Magazine
Hi people,
Thanks for all the reply`s. I found the tuturials very usefull and much
better then the most tutorials i have found so far, usualy with an
example class car or something not very usefull
Thanks,
Davy Obdam
mailto:[EMAIL PROTECTED]
Davy Obdam wrote:
Hi people,.
I have to build
I have two periods in time from a Cisco router that I would like to find the
difference in seconds. I am not sure the best way to do this since it is not
a date, but rather an amount of time since last reset.
Here is the numbers
181 days, 7:11:06.66
//stands for 181 days, 7 hours, 11 minutes, 6.6
Hokay, that works, but what's with the triple backslashes?
>> preg_match ("/^.*_\%split\%_$(\d*\.\d*)/", $data, $match);
>
> Should be
>
> preg_match ("/^.*_\%split\%_\\\$(\d*\.\d*)/", $data, $match);
>
> ---John W. Holmes...
>
> PHP Architect - A monthly magazine for PHP Professionals. Get y
> preg_match ("/^.*_\%split\%_$(\d*\.\d*)/", $data, $match);
Should be
preg_match ("/^.*_\%split\%_\\\$(\d*\.\d*)/", $data, $match);
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
--
PHP General Mailing List (http:
maybe someone would like to report it , my reports either get ignored or are
false alarms , i am creating a function to get the line upload_max_filesize
and change its value in .htaccess its the only way , and this is everytime i
load the uploader page
-Original Message-
From: Ford, Mike [
Here's my expression:
$data = "xyz_%split%_$10.21";
preg_match ("/^.*_\%split\%_$(\d*\.\d*)/", $data, $match);
Returns nothing (escaping the $ with a \ does the same), but this returns
10.21:
preg_match ("/^.*_\%split\%_\D*(\d*\.\d*)/", $data, $match);
How is it done?
--
Randall Perry
sysTame
php.ini can be in several different locations, the best way to identify
its location is to ask PHP where it is at (I have seen it in
/usr/local/etc, /etc, /usr/local/lib, /usr/local/conf, among others).
Construct a php file with phpinfo() like:
Then visit the page in your browser, now look for:
I have no idea what you have done wrong. I am simply telling you how it
works. Create a small test script that reproduces the problem and we can
help you. What you have provided so far does not give us anything to work
with.
Try this, for example:
When you run this you will see that it print
Try defining them at the top instead...
Beauford.2002 wrote:
Then based on the one below that doesn't work, what is the problem with it?
As I said, the functions are at the bottom of the script. The only thing
after them is the closing ?>. I also said that they work if I don't call
them from wit
On Monday 23 December 2002 11:11 am, Beauford.2002 wrote:
> Then based on the one below that doesn't work, what is the problem with it?
your example wasn't runnable (since parts of it were is the
attached a fair example of what you're trying to do? i don't
have any problem with it. it works as e
Jan Schneider wrote:
Second question: Since iconv's output buffering charset conversions
doesn't seem to work quite well, I tried to use mbstring's one. But
afaics it doesn't support converting into utf-8. Is there any other
preferred method to convert to utf-8?
Sorry, not converting _to_ uft-
Then based on the one below that doesn't work, what is the problem with it?
As I said, the functions are at the bottom of the script. The only thing
after them is the closing ?>. I also said that they work if I don't call
them from within an if/else. This tells me it is not where it is defined but
Hi,
I'm currently playing a bit with the iconv and mbstring extensions and
have some problems.
First question: Is there any place where I can find information about
the current status of these extensions and their functions?
Second question: Since iconv's output buffering charset conversions
Don wrote:
$condition = CustCode = "$HTTP_SESSION_VARS['logoncustcode']";
$queryID = mysql_query("SELECT * FROM CustTariff WHERE " . $condition . "
ORDER BY CustCode");
Not sure about the multiple assignment (I have not looked it up in the
manual), but otherwise the principle is right, yes. D
Is it possible to use socket_select() on STDIN with the socket extension?
If not, consider this a feature request.
I know about fopen('php://stdin', 'r') and this is not what I want unless I
can socket_select() on that socket (which I cant).
Please cc as I am not subscribed to this list.
--
G
> I have an application I've written for a pet sitting service. So
someone
> calls and says they need a pet sit and we take their info and pick a
> sitter.
> We call that sitter to see if they can take the job, but if they say
no,
> then we have to change it to a new sitter who can take the job. I
Not usre how your db is designed but I would probably just add a table that
links to the sitter and job tables. As people are called a row is put into
this table with the sitter and job ids and an 'accepted' column is set to 0,
or 1 or Y or N. Then you can query the job table and join the sitter
I have an application I've written for a pet sitting service. So someone
calls and says they need a pet sit and we take their info and pick a sitter.
We call that sitter to see if they can take the job, but if they say no,
then we have to change it to a new sitter who can take the job. I want to
ke
What happened when you experimented with this code? You did try, right?
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 11:57 AM
Subject: [PHP] Are there macros in PHP?
> Hi,
>
> I need to search a MySQL table bas
Hi,
I need to search a MySQL table based on a condition that can change at
runtime.
Example
==
$condition = CustCode = "$HTTP_SESSION_VARS['logoncustcode']";
$queryID = mysql_query("SELECT * FROM CustTariff WHERE " . $condition . "
ORDER BY CustCode");
Will the above work?
Thanks,
Don
-
And remember that if you alter the php.ini file once you have found it, that
you MUST restart apache in order for the changes to take place.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "Johannes Schlueter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECT
On Monday 23 December 2002 17:30, John Nichel wrote:
> How did you install php? RPM, from source? Check in /etc, or do a...
>
> find / -name php.ini
Or run a script
and look what "Configuration File (php.ini) Path" tells you. On the output ob
this comamnd you can see the settin of register_g
Rick Emery wrote:
For my Linux (RedHat 7.1), it's at /etc/php.ini
If its not there, check phpinfo(), this will specifiy where that
particular installation of php requires it to be.
HTH
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
For my Linux (RedHat 7.1), it's at /etc/php.ini
- Original Message -
From: "Vicente Valero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 10:25 AM
Subject: [PHP] Forms
I'm having problems using variables from a html form. I've been reading, and it seems
tha
Axis Computers wrote:
Yes, but in my application's case the server and the client are on the same
computer, because the server will act as localhost, so you are saying there
is no way to dump any printer output ?
Ah, you do mean the server. OS dependent. If linux then probably call
lpr via an
How did you install php? RPM, from source? Check in /etc, or do a...
find / -name php.ini
as root.
Vicente Valero wrote:
I'm having problems using variables from a html form. I've been reading, and it seems that I have register_globlas=off in php.ini. But I've tried to find this file in my Li
I'm having problems using variables from a html form. I've been reading, and it seems
that I have register_globlas=off in php.ini. But I've tried to find this file in my
Linux, but I haven't been able to locate it. Could someone tell me where is it?
Thank you
Like I said, where you define your function is important, not where you
call it. If you are defining and calling it all in the same place, then
yes, obviously it makes a difference.
-Rasmus
On Mon, 23 Dec 2002, Beauford.2002 wrote:
> I have a function at the bottom of my script which is called
Miro, et al --
...and then Miro Kralovic said...
%
% Hi,
Hello!
%
% I'm just deciding which DB to use for my projects and I'm not clear with one
% thing... When considering a database for web, is MySQL good enough? I read
% it only supports table locking, which is not very satisfying in such
Another good PHP/mySQL calendar application. Group scheduling, etc. Does not have
extraneous things such as web-mail. Cost is $35
http://abledesign.com/demo/calendar/
rick
"People will forget what you said. People will forget what you did.
But people will never forget how you made them feel."
I have a function at the bottom of my script which is called from withing an
if/else statement. If I take it out of the if/else and just call the
function it works fine (except I don't get the results I want). So it
appears where you are calling it from does matter. See the examples below.
This isn
Axis Computers wrote:
I'm developing a Pizza delivery application which uses printer output, and I
want to know which is the better way to format the output to the printer,
and how can I design a select printer menu (communicate with printer
drivers), so the user can select from a number of POS
Salve,
A chiunque possa interessare, cerco persone su Napoli con cui avere scambi
di pareri e info circa PHP/MySQL, eventualmente ci sarebbero opportunità
lavorative.
Saluti
--
Armando Alario
ICQ# 172677921
--
Armando Alario
ICQ# 172677921
--
PHP General Mailing List (http://www.php.ne
php-general Digest 23 Dec 2002 15:29:16 - Issue 1780
Topics (messages 129136 through 129197):
Undefined Functions
129136 by: Beauford.2002
129137 by: Rasmus Lerdorf
Re: fwrite() blank-line Quirk?
129138 by: Jason Wong
Re: \Z characters
129139 by: Jason Wong
Can anyone suggest how to detect is there a device connected on serial port,
using Direct IO functions? Can a timeout be set on dio_open() ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you are looking for a complete solution (calendar, contact, to do,
webmail, etc.), there is a nice open source project at:
http://www.moregroupware.org/
I downloaded it and started playing with it about 2 weeks and like what
I see. Totally overkill if you just want a Calendar.
On Monday, Dec
You accidentally published this to the wrong email list. I assume you meant to send
this
to the MySQL email list.
- Original Message -
From: "Miro Kralovic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 9:10 AM
Subject: [PHP] MySQL vs PostgreSQL
> Hi,
>
>
Do you know JavaScript? If not, start there.
print "open(\"url\",\"window_name\",\"width=400,height=300menubar=no,status=no\")";
- Original Message -
From: "Jody Cleveland" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[EMAIL PROTECTED]>; "Php-General (E-mail)"
<[EMAIL PROTECTED]>
Sent: Monday,
Hi,
I'm just deciding which DB to use for my projects and I'm not clear with one
thing... When considering a database for web, is MySQL good enough? I read
it only supports table locking, which is not very satisfying in such a
multiuser environment as the internet..
Based on your experience, what
> Use PHP print/echo statements to create the JavaScript code,
> just as you would HTML code.
Um... How would you go about doing that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm developing a Pizza delivery application which uses printer output, and I
want to know which is the better way to format the output to the printer,
and how can I design a select printer menu (communicate with printer
drivers), so the user can select from a number of POS printers (45 columns
Use PHP print/echo statements to create the JavaScript code, just as you would HTML
code.
- Original Message -
From: "Jody Cleveland" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[EMAIL PROTECTED]>; "Php-General (E-mail)"
<[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 8:41 AM
Subject: RE:
> You can, however, use PHP to generate
> JavaScript that will set the window parameters when executed.
How would I do that?
Jody
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can't do this with PHP, which is server-side. You can, however, use PHP to generate
JavaScript that will set the window parameters when executed.
- Original Message -
From: "Jody Cleveland" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002
Hello,
I'm wondering, without the use of javascript, how to specify browser
parameters for pop up windows. Such as window size and whether there's a
toolbar. This would be for a popup when users would click on a link.
Is this possible?
-Jody Cleveland
Winnefox Library System
Computer Support Sp
Hello All,
I know that in PHP-GTK development there is gtk-launcher php_gtk wich
runs php-gtk scripts without terminal window. Is something like it for
usually php.exe?
I mean I was to execute php.exe from other application and don't want
to see that ugly terminal window...
--
Best regards,
Ale
On Mon, 23 Dec 2002, 1LT John W. Holmes wrote:
> Better yet, take the time to write an Image Abstraction Layer that'll
> function just like a Database Abstraction Layer. You use the same functions
> no matter what and depending on the config, either GD, Imagemagik, Netpbm,
> or whatever is used to
> This all works fine except I want each empty field of the alert box to be on
> it's own line. I try adding \n to the lines of the alert string but it
> prints out the \n. How can I format this string so that it shows correctly
> in the alert box?
Just you use '\n' but you have to do something
Tariq Murtaza wrote:
Hi all,
I am looking for a good calendar system for a group of people. (PHP /Mysql)
any idea??
Help/Comments will be appreciated.
Try http://www.horde.org/kronolith/
The newest version from CVS supports shared calendars and a fine
granulated permission system based on use
Thanks Johannes and Chris! That is what I will do.
Eddie
-Original Message-
From: Johannes Schlueter [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 23, 2002 8:36 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] md5()
On Monday 23 December 2002 14:38, Edward Peloke wro
On Monday 23 December 2002 14:38, Edward Peloke wrote:
> [...] Can I reverse md5()?
No. You could only send the user a new password wich must be activated.
johannes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edward Peloke wrote:
I don't want to store my users passwords in the db as clear text so I know I
can use md5(). But, what do I do when a user has forgotten his/her password
and I need to send it to them? Can I reverse md5()?
No. You send them a new password. Ideally, the only person who shou
> The only problem is once the cookie is set, it never seems to go away. This
> one should have expired in 30 minutes right? I can still go in and get to
> the other pages without it telling me to log in. What did I do wrong?
Mayby your pages are cached.
Do you send no-cache headers ?
--
Krz
Peter Lavender wrote:
OK this is lame, but I'm posting a reply straight after the message hits
my box...
I'm running debian and have apt-get php and openldap. openldap works,
as does php. I'm now working with the ldap functions and here is where
I'm stuck.
apt-cache search php4
what turn
> I am using a javascript alert box in one of my php pages to tell the user
> they didn't fill out all the required fields. As I check each field, if
it
> is blank I am adding to the alert string:
>
> $alertstring="Missing Mandatory Fields";
> if ($fname==''){
> $alertstring=$alertstring."F
You reset the password to something new... either manually (a person) or
with a self-help script.
md5 is one way encryption.
Justin
on 24/12/02 12:38 AM, Edward Peloke ([EMAIL PROTECTED]) wrote:
> I don't want to store my users passwords in the db as clear text so I know I
> can use md5(). B
I don't want to store my users passwords in the db as clear text so I know I
can use md5(). But, what do I do when a user has forgotten his/her password
and I need to send it to them? Can I reverse md5()?
Thanks,
Eddie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
1 - 100 of 127 matches
Mail list logo