Yes indeed, but not a good one. Beside, it appears to be the only solution
though. Someone told me to do this to solve the logout solution:
You do this for the login bit:
*
if (!isset($PHP_AUTH_USER) || $unauthorized)
$realm = "myrealm_".time();
Header("WWW-Authenticate: Basic
Hello Saquib,
Monday, July 30, 2001, 8:19:51 AM, you wrote:
SF> Hi all,
SF> can anybody tell how do i disable the user's "back" button, i mean
SF> that when he clicks the back button, in his browser, AFTER he has sigend
SF> out or finished a transaction, he will get a message saying that
Does anybody know any Sendmail Administration API for PHP?
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 PROTECTED]
>What's the deal with that NuShere stuff... I visited their website and
>download a Free version (40MB)...
>what are we paying for here?
I don't know.. Perhaps you pay for the tools.. or because of the fact they
seem to preconfigure the stuff.. I didn't check their website.
Must be quite
On Monday 30 July 2001 03:10, Ben Bleything wrote:
> I understand that the POST operation stores the data from the form in
> the message headers... I just need to know which headers, so I can use
> that information to write my own... I basically want to make it seem as
> if the $failure var was P
Hi! friend,
during login i posted 2
variables to authentication.php.
In authentication.php it will call one html which will inturn
contains frames and in one frame 4 links r there.
For every link i will call one php file. I want to get one
variable that is posted during login in thi
Hi all,
can anybody tell how do i disable the user's "back" button, i mean
that when he clicks the back button, in his browser, AFTER he has sigend
out or finished a transaction, he will get a message saying that the
session has expired ... just the way hotmail does it.
thanx in advance.
On 30-Jul-2001 Ben Bleything wrote:
> All I want to do is output "Authentication failed" above the form if
> they type in invalid credentials. I want to do it by passing a header
> that contains the same information as if there were a form submitted
> that contained a field name "failed" and val
THANK YOU. Finally.
Unfortunately, in brief tests, I can't get it to work, but I will
continue to beat on it. That's exactly what I was getting at.
I found some info on the internet regarding what the headers that POST
sends are... you can see it at http://opop.nols.com/write/HTTP.html.
Hope t
The way that I did it was by using sessions which if you have a login you
are probably using anyways. One of my session variables is "message". That
way I can pass messages back and forth to pages, reinitialize them after the
message has been received, etc etc etc. If you REALLY want to use hea
* Chris Aitken <[EMAIL PROTECTED]> [010729 19:44]:
> Something ive been working on and not having much success is this. I am
> writing a function, and I want to be able to feed it the following -
>
> function_name (
> array("Apple","Red","10","20"),
> array("Banana","Yellow","1
I don't know how to solve your problem, but I do know what you are talking
about.. People just aren't understanding.
All he wants is if you go to "login.php" in your browser, the Location will
show:
http://his.website.com/rams/login.php
Okay? Got it? NOW... If you attempt to log in and
All I want to do is output "Authentication failed" above the form if
they type in invalid credentials. I want to do it by passing a header
that contains the same information as if there were a form submitted
that contained a field name "failed" and value "true". Aside from this
one application,
what is the logic behind requiring the header?
for example, to avoid using cookies and yet ensuring security, we pass a
loginkey for all pages.
every page has
include('securitycheck.php');
which parses the loginkey, uncompresses/decode it to get the userid and
timestamp, and prompts for
Hi guys,
Something ive been working on and not having much success is this. I am
writing a function, and I want to be able to feed it the following -
function_name (
array("Apple","Red","10","20"),
array("Banana","Yellow","10","20")
);
now, basically what I want to
I _believe_ (not totally sure) that mysql_query() can only handle one
statement at a time, and if you need to execute multiple, you will need
to use more than one mysql_query() statements. It's a bummer => I have
all sorts of problems with it.
What's up with your return e-mail address? It's a
That seems much more complicated than I need.
I understand that the POST operation stores the data from the form in
the message headers... I just need to know which headers, so I can use
that information to write my own... I basically want to make it seem as
if the $failure var was POST'ed back t
> What I'm looking for is a way to do this such that the user does not see
> anything more than http://host.name.here/rams/login.php in their address
> bar when it failed...
Doesn't using a form with its method set to post send the variables through
headers? If that's the case, couldn't you manua
Quoting Ben Bleything <[EMAIL PROTECTED]>:
> I'm fully aware of that. The issue is not the refreshing (that works
> fine)...
>
> Here's a little more detail:
>
> if(!$login)
> {
> if($failure)
> // complain
>
> // show the form
> }
> else
> {
> if(user_is_good)
I'm fully aware of that. The issue is not the refreshing (that works
fine)...
Here's a little more detail:
if(!$login)
{
if($failure)
// complain
// show the form
}
else
{
if(user_is_good)
// take them to the next page
else
Phil, thats why you get the big bucks.
Dammit, I was messing around with this all day.
Thanks it works now.
Gerard
Philip Murray wrote:
> Quoting Gerard Samuel <[EMAIL PROTECTED]>:
>
>>Hey all, Im running freebsd 4.3, apache 1.3.20, mysq.3.23.39, php 4.0.6.
>>Im trying to figure out file u
"Ben Bleything" <[EMAIL PROTECTED]> wrote in message
01c11891$447271c0$0201a8c0@allegro">news:01c11891$447271c0$0201a8c0@allegro...
> Hey all,
>
> I want to craft a header such that it seems to the page that data has
> been POST'ed to it... Here's the situation: I'm writing a login page t
Hey all,
I want to craft a header such that it seems to the page that data has
been POST'ed to it... Here's the situation: I'm writing a login page to
my application, and if they log in incorrectly, I want the page to
redisplay, but I want it to throw out an error message. I'm currently
doing i
Quoting Gerard Samuel <[EMAIL PROTECTED]>:
> Hey all, Im running freebsd 4.3, apache 1.3.20, mysq.3.23.39, php 4.0.6.
> Im trying to figure out file uploading.
> If I echo $pic, $pic_name, $pic_size, $pic_type, after the form is
> submitted, everything echoes correctly.
>
> In my script I have =
Hi,
I'm using a table in my session to store my variable to generate later my
sql statements.
Until now... nothing very weird !
But when I want to generate my sql statement. I've got an error after the
first line where I put a comma
" ; " to make a difference within my statements.
this is a port
Hey all, Im running freebsd 4.3, apache 1.3.20, mysq.3.23.39, php 4.0.6.
Im trying to figure out file uploading.
If I echo $pic, $pic_name, $pic_size, $pic_type, after the form is
submitted, everything echoes correctly.
In my script I have ==>
$archive_dir = "/files/www/data/archive";
$filename
I am compiling php as a cgi but I get this error when I run make
It says it cant find the file errno.h but the file is in the
directory it is looking in. What can I do to fix this.
[root php-4.0.6]# make
Making all in Zend
make[1]: Entering directory `/home/tmp/php-4.0.6/Zend'
/bin/sh ../li
What's the deal with that NuShere stuff... I visited their website and
download a Free version (40MB)...
I just don't get what are they asking 200, 400, 500 and even 5.000 dollars for.
It's just a combo of PHP, MySQL and Apache pre-configured, some samples and
some tools... but other than that.
OK - a bit of a long shot, but I was just looking into the MS passport
service - they've got some
docs on how to interface to it from other platforms.
They ask you what server type, what OS, then what 'platform'. It's a
freeform box, but the examples they give are
interesting:
Platform Type
Yasuo Ohgaki wrote:
> It works fine.
> You probably need to specify libpq location explicitly.
> --with-pgsql=/your/pgsql-7.1.2/somewhere
I have, several times.
and I did a rm config.cache, reconfigure & make clean in between each one
too.
--
PHP General Mailing List (http://www.php.net/)
T
Well, you could try:
extract( $GLOBALS )
inside a function - that might work..
At 22:14 26/07/2001 -0400, [EMAIL PROTECTED] wrote:
>How can I read in all of the global variables and give them local
>scope? PLEASE HELP ME.
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscrib
It works fine.
You probably need to specify libpq location explicitly.
--with-pgsql=/your/pgsql-7.1.2/somewhere
Regards,
--
Yasuo Ohgaki
"Stuart Grimshaw" <"stuart[get"@smgsystems.co.uk wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Has anyone sucessfully used these two versio
On 29-Jul-2001 Mike Gifford wrote:
> Hello,
>
> I've got a number of press releases that I'd like to be able to order by
> year.
> I'd like everything from this now to a year ago (ie. July 29th, 2000) to be
> ordered together and then allow folks to scroll back to the previous year
> July
> 3
At 03:25 27/07/2001 -0700, CC Zona wrote:
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Brian White) wrote:
>
> > There are times when I would really like to be able to do:
> >
> > class A
> > {
> > function DoStuff()
> > {
> > .
> > }
> > }
> >
> > class B exte
Hello,
I've got a number of press releases that I'd like to be able to order by year.
I'd like everything from this now to a year ago (ie. July 29th, 2000) to be
ordered together and then allow folks to scroll back to the previous year July
30, 2000 to July 29th, 1999, etc.
Unfortunately I'm
Has anyone sucessfully used these two versions together?
I get the following error message from apache when I try & start it ...
Syntax error on line 224 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: un
http://www.f2s.com
its what im on but you can only use FTP which is a bitch to set up (no
ads no nutting)
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site
ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666
- Original Message -
From: "Philip Olson" <
How can I recompile Apache so that I can use PHP4 as a Dynamic Module (DSO).
This is a working server and I can not change the httpd.conf file so I do
not what to just do a compile and make install. Also there is not a copy
of apxs on the server where can I get a copy of this. The server is
runnin
"Manu Verhaegen" <[EMAIL PROTECTED]> wrote in message
E10E651CDD2DD5118912E8E8C70F53D6@COMPUVER01">news:E10E651CDD2DD5118912E8E8C70F53D6@COMPUVER01...
> I have the following question :
> I have a picture of a floor and the dimention are W=500 H=375
> I put this image on te screen by th
At 13:30 29-7-01 +0100, John Steele wrote:
>Kyle,
> http://www.php.net/manual/en/ref.mail.php is the correct URL, but the
> easiest way to access these sort of things is:
The link I send does gives you the manualpage for mail()
Both should work fine.
Bye,
B.
--
PHP General Mailing List
>Forbidden
>You don't have permission to access /manual/en/function.mail.php on this
>server.
>
>Additionally, a 403 Forbidden error was encountered while trying to use an
>ErrorDocument to handle the request.
2 options:
- you tried to get that file from your own server
- someone screwed up the
Check out PEAR. There is a class that do that for you.
-slowpork
> Hi,
>
> I've made a nice working skript for managing MySQL database of
> about 300 records (this is my first PHP script). But I don't know
> how to split search results on pages? Does anyone have an
> example of such script for
Hi,
I've made a nice working skript for managing MySQL database of
about 300 records (this is my first PHP script). But I don't know
how to split search results on pages? Does anyone have an
example of such script for me to work on it and understand how it
works?
My script is done as if: el
Kyle,
http://www.php.net/manual/en/ref.mail.php is the correct URL, but the easiest way to
access these sort of things is:
http://www.php.net/mail (substitute mail with any function name)
HTH,
John
>ummm... problem
>
>Forbidden
>You don't have permission to access /manual/en/function.mail.
ummm... problem
Forbidden
You don't have permission to access /manual/en/function.mail.php on this
server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
-legokiller666-
http://www.StupeedStudios.f2s.com
New address new site
You may want to use the predefined constant PHP_OS as described here :
PHP Manual : Predefined Constants
http://www.php.net/manual/en/language.constants.predefined.php
Regards,
Philip
Rainer Rosenberger wrote:
> I tried to detect the Web-Servers operating system. Under Windows it's
> e
See :
http://www.faqts.com/knowledge_base/view.phtml/aid/4058/
This faq needs to be updated soon but should help regardless. If anyone
has suggestions for this faq, please suggest or implement them.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [E
Define "not work" Some tips :
1. echo your query, make sure it appears as intended. In otherwords, make
sure the variables $table and $category contain proper data.
echo $sql;
2. make use of mysql_error() function as it can be useful.
echo mysql_error();
For example, you may want
* dan <[EMAIL PROTECTED]> [010729 11:11]:
> Problem is, the only new lines are at the end of paragraphs, so that, in
> effect, is limiting them to 55 paragraphs. I'm using a wrap=physical> which says that it adds a "%0A%0D" (carriage return/line
> feed) at the end of each line.
>
> Anyone kno
Thanks for the quick answers.
Problem is, the only new lines are at the end of paragraphs, so that, in
effect, is limiting them to 55 paragraphs. I'm using a which says that it adds a "%0A%0D" (carriage return/line
feed) at the end of each line.
Anyone know how to convert that to a "\n" ?
I have the following question :
I have a picture of a floor and the dimention are W=500 H=375
I put this image on te screen by the following command
I want to make this picture smaller
Now the whole picture is smaller and i want to see only the dimentions W=250
and H=100
and not the dim
Use the DirectoryIndex directive in your '.htaccess' file, as Ryan
states. You'll find more information at:
http://httpd.apache.org/
Nelson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To conta
Just so you know, you can also list them off in order you want them to
appear.
DirectoryIndex index.php index.html default.php
etc. etc.
Your Systems administrator for whomever you host with should be able to take
care of this, he probably should have already :)
- Original Message -
Fr
You wrote:
> I was wondering what I would have to do in order to have index.php
load up
> automatcially when someone went to my domain. IE if they go to
> www.mydomain.com and I have index.html or index.htm there then those
pages
> get loaded first. How could I do it so index.php, index.php3,
in
I was wondering what I would have to do in order to have index.php load up
automatcially when someone went to my domain. IE if they go to
www.mydomain.com and I have index.html or index.htm there then those pages
get loaded first. How could I do it so index.php, index.php3, index.phtml
were
php-general Digest 29 Jul 2001 14:21:49 - Issue 784
Topics (messages 60084 through 60100):
Re: Stripping single quotes
60084 by: Matt Stone
automatic deallocation
60085 by: Erick Calder
END block
60086 by: Erick Calder
60087 by: Philip Murray
VERY URGENT
Hi,
your call to abc_recurse returns the return value of the FIRST call. You
forgot to pass the result back to the calling funtions (below corrected
code).
Regards
--
Rainer Rosenberger
__
NetAktiv, Beratung & Realisierung
Dr. Rainer Ros
I tried to detect the Web-Servers operating system. Under Windows it's easy
to read the environment variable "OS" (or one of the relatet Server
Varaibles). Under Linux I found the following very strange behaviour:
system("echo \$OSTYPE") correctly returns "linux-gnu" whereas
getenv("OSTYPE") retu
maybe it is just me and my preferred syntax/style...
if ($i < 4) {
abc_recurse();
}
return 'xyz'; # NOTICE REMOVED ()'s
Did not look to closely at your shortcut symantics to verify legitimacy
Also, unless I am mistaken, people generally advise against hav
Hi,
How to get return value from a recursive function .. here is the test code
which I was trying
Its printing "123" where as I was expecting "123xyz"
what is happening to $returnvalue
TIA
Jaski
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hiya Dan,
If you're expecting new lines, you could do this:
$length = explode("\n", $message);
if (sizeof($length) > 55) {
// error
}
And also limit the number of characters, using strlen()
James
"Dan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
Hi,
I would like to run a variable of unlimited length through a filter that
would limit its length to 55 lines (ie limiting it's length to less than 1
printed page). Does anyone know of an easy way to do this?
thanks.
Regards,
Dan Barber
Mojolin
---
Mojolin: The Open Source/Lin
Change your output string to look like
&bAcquired=Y&
and you should be ok.
You may find as you get further into this that you need a delay loop to
make sure that flash has read all of your data, since it happens
asychronously (at least in Flash 4 it did) so you'll want a sentinel
value at the e
Hi all,
Apologies if this has been asked before, I'm new here. I've got a PHP
script that's returning a formatted string of variables to a Flash movie.
The string getting returned looks like so (currently it's just the 1 variable):
&bAcquired=Y
Flash's debugger seems to think that there is a t
At 01:37 29-7-01 -0700, you wrote:
>email the file
Read the manual:
http://www.php.net/manual/en/function.mail.php
Bye,
B.
>-legokiller666-
>http://www.StupeedStudios.f2s.com
>New address new site
>
>ICQ: 115852509
>MSN: [EMAIL PROTECTED]
>AIM: legokiller666
>
>
>- Original Messa
your code works for me. it would be helpful to know how your code doesn't
work. does it pop the window at all?
couple of suggestions: use "onClick" instead of "onclick" - if I recall
correctly case matters in Javascript event names depending on your browser.
also, you don't need to use the "java
I cannot figure out why this button does not work any suggestions
are appreciated. Thanks.
$table = "inventory";
$sql = "SELECT * FROM $table where category='$category'";
$result = mysql_query($sql);
while ($myrow = mysql_fetch_array($result))
{
printf("
\n", $myrow["product"], $myr
67 matches
Mail list logo