I have php site that user is required to login, but I don't have logout function yet.
Is there anyone know the most practical way of logout method that people use
nowadays?, in php I mean. There is no session or cookies used in this site.
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding t
Does anyone know of a good PHP ide? I've tried PHP-Coder, but it has bugs
stem to stern, not the least of which mysteriously deleted an entire page of
code... PHP Script editor I've also tried, but it is barren and in German...
If only there were a Sun Forte for php :(
Luke
--
PHP Genera
try ultraedit32...
http://www.ultraedit.com
john
Luke Loeffler wrote:
> Does anyone know of a good PHP ide? I've tried PHP-Coder, but it has bugs
> stem to stern, not the least of which mysteriously deleted an entire page of
> code... PHP Script editor I've also tried, but it is barren and in
A good ide specifically for PHP is being developed rather rapidly. It's
called PHP Studio and once version 2.0 is complete (should be within 2
weeks) an announcement will be posted to this list. Good luck until then
Dan Cleveland
PHP Studio Programmer
--
PHP General Mailing List (http://www
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Jacky@lilst <[EMAIL PROTECTED]>
To: Yamin Prabudy <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 3:49 PM
Subject: Re: [PHP] logout
In article <05d201c0a069$4877e0c0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Clayton Dukes") wrote:
> $row = mysql fetch array($sth);
>
> if ($row[0] != "") {
> echo $row[0];
>
> prints the data, but some of the results are long strings of text that don't
> wrap in the browser, how can I
Sorry, it was my mistake. There is session used to store userID and password
after the successful login. I don't under stand what you mean about to clean
up variables, how?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
No offend but can anyone please remove this subscriber : [EMAIL PROTECTED] ? His
mail box is full and I got the message to tell me that everytime I post the message to
the list, this time included :-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for your
I hve heard a great deal about InterBase. Please comment on which is
better:
1. Speed
2. Data Reliability
3. Compatibility with PHP
Thanks for your comments.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Hi
We have been using Interbase for all our php development and have not
experienced problems. The oprational database is 4gigs and if we execute
large queries on it we recieve sub-second responses so speed is definetly
not a problem
Interbase is a good way to go if you have need for a relationa
Hi
Can anyone guide me how to do the logout function that can get rid off session and
cookies? Both are used to store userID and password through the site.
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
if you are using session
session_destroy might do the trick...
"Jacky@lilst" wrote:
> Sorry, it was my mistake. There is session used to store userID and password
> after the successful login. I don't under stand what you mean about to clean
> up variables, how?
> Jack
> [EMAIL PROTECTED]
So what do I do? make it like link to the logout file like this? : logout and at the logout file, can I do this?
http://www.homepage.com");
?>
I forgot to mention that It also had cookies to, is there any way to do the
same with cookies?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than
for cookie...
just setcookie() of the same cookiename to null;
"Jacky@lilst" wrote:
> I have php site that user is required to login, but I don't have logout function
>yet. Is there anyone know the most practical way of logout method that people use
>nowadays?, in php I mean. There is no sess
stasTue Feb 27 01:07:01 2001 EDT
Modified files:
/php4 TODO
Log:
Add UNC in the "todo" list
Index: php4/TODO
diff -u php4/TODO:1.116 php4/TODO:1.117
--- php4/TODO:1.116 Wed Feb 14 02:12:29 2001
+++ php4/TODO Tue Feb 27 01:07:01 2001
@@ -14,6
sbergmann Tue Feb 27 01:11:56 2001 EDT
Modified files:
/php4 TODO
Log:
Daniel told me he is working on this one, and he is pretty close to finishing the
job.
Index: php4/TODO
diff -u php4/TODO:1.117 php4/TODO:1.118
--- php4/TODO:1.117 Tue Feb 2
Dan Cleveland wrote:
>
> A good ide specifically for PHP is being developed rather rapidly. It's
> called PHP Studio and once version 2.0 is complete (should be within 2
> weeks) an announcement will be posted to this list. Good luck until then
>
> Dan Cleveland
> PHP Studio Programmer
>
> --
stasTue Feb 27 01:15:03 2001 EDT
Modified files:
/php4 TODO
Log:
ws fix
Index: php4/TODO
diff -u php4/TODO:1.118 php4/TODO:1.119
--- php4/TODO:1.118 Tue Feb 27 01:11:56 2001
+++ php4/TODO Tue Feb 27 01:15:02 2001
@@ -14,7 +14,7 @@
but
sbergmann Tue Feb 27 01:16:49 2001 EDT
Modified files:
/php4 TODO
Log:
PHP3_TLS_*() macros are no longer used in ext/dav/dav.c, ext/ldap/ldap.c.
Index: php4/TODO
diff -u php4/TODO:1.119 php4/TODO:1.120
--- php4/TODO:1.119 Tue Feb 27 01:15:02 200
essentially, no.
PHP runs server side and the action of a form is generated client-side. To
run a PHP function the page needs to be resubmitted. The code you have
written will run the function before the page is submitted. try something
like ...
Tim Ward
Senior Systems Engin
Hello Listers,
I wish to print a file on a remote printer that is a queue on a Novell
server.
The print command is coming from an exec() function in a php3 script running
under IIS on an NT 4 server.
If I run the script from a dos prompt at the server, the file is printed to
the Novell queue, b
This script works properly under PHP 3.0.18, but in PHP 4.0.4pl1 is the
result file empty. When I add commented line #2 instead of calling MyEcho,
it works correctly. When I add lines #1, it works somehow strange. After
fwrite and fclose is file empty and after second fopen (and no fwrite) "OK"
ap
On Tue, Feb 27, 2001 at 03:12:17PM +0700, Yamin Prabudy wrote:
> Hi there I had a problem here
> I got a database in mysql that contains the date format like this "Mar 12
> 2001"
> now i try to sort the database and find out how many data in my MySQL that
> had a date > "Mar 12 2001"
>
> how can
Is there any equivalent to Java's try-catch or Perl's eval{BLOCK}if($@)
structure in PHP?
--
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
Try this, it works for me.
Mike
if(!isset($PHP_AUTH_USER)) {
Header("WWW-Authenticate: Basic realm=\"User Database\"");
Header("HTTP/1.0 401 Unauthorized");
echo "ERRORYou must enter a correct username and password
in order to proceed\n";
exit;
}
else {
joostersTue Feb 27 05:29:22 2001 EDT
Modified files:
/php4/sapi/isapiphp4isapi.c
Log:
Added PHP_AUTH_USER, PHP_AUTH_PW and PHP_AUTH_TYPE environment variables
for Zeus/ISAPI, so basic authenication works.
Submitted by: [EMAIL PROTECTED]
In
Jason,
Thanks for the reply, and you confirmed that I'm caught between the devil
and the deep! At the same time, it's good to know that permissions work!
As my client is real twitchy about changing directories, etc. I guess I'll
write a little script to do all this and he can run it from his h
Just remember that not everyone surfs with their browser window
maximised.
IIRC there's a window.innerheight and .innerwidth in NN's model, but not in
IE's
Cheers
Jon
-Original Message-
From: Todd Kerpelman [mailto:[EMAIL PROTECTED]]
Sent: 26 February 2001 19:03
To: PHP
Subject: R
I have not programmed in Java in awhile. I keep getting an error: when I
invoke the JVM java Welcome.
Exception in thread "main" java.lang.NoClassDefFoundError: Welcome
It compiles fine. javac Welcome.java
import java.lang.*;
public class Welcome {
//main method
public static void
> I have not programmed in Java in awhile. I keep getting an error: when I
> invoke the JVM java Welcome.
Which mailinglist did you think you posted this to? This is a PHP list.
Take a look at http://www.php.net/ for more information on our favourite
scripting language.
Regards,
Soeren Staun-
andrei Tue Feb 27 06:56:43 2001 EDT
Modified files:
/CVSROOTavail gen_acl_file.m4 loginfo
Log:
PHP Gtk web stuff.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.104 CVSROOT/avail:1.105
--- CVSROOT/avail:1.104 Mon Feb 26 11:34:09 2001
+++ CVSROOT/avail
hi..
i have the problem that i need to connect to a database on a server wich
is quiet often offline.
how can i connect to this database (mysql) and can check if the server is
online.
like.. if server is online -> fine we work as normaly
if server is NOT online -> print out message and say "ser
Does anyone know how to stream information to a browser (without the client
having to hit refresh)? What do I need to get started? We want to have 2
numbers we want to display on the browser, we want these numbers to change
as the data changes in the table, but done "streaming".
* I am coding t
"Markus H. Maussner" wrote:
>
> hi..
>
> i have the problem that i need to connect to a database on a server wich
> is quiet often offline.
>
> how can i connect to this database (mysql) and can check if the server is
> online.
> like.. if server is online -> fine we work as normaly
> if serv
> i have the problem that i need to connect to a database on a server wich
> is quiet often offline.
>
> how can i connect to this database (mysql) and can check if the server is
> online.
> like.. if server is online -> fine we work as normaly
> if server is NOT online -> print out message and
mysql_connect does not have a timeout option :(
I wonder if your timeout is not because of mysql_connect but more a dns
problem, try putting the IP in, see if it times out at a more reasonable
speed. if not try fsockopen
http://php.net/manual/en/function.fsockopen.php
open the port, if no error
I am developing a PHP application for a client that allows
users at remote locations to access and update a database.
I would like to standardize on one www browser so that the
help desk people only have to be knowledgeable about one
browser. The users all have MS Win 95, 98, or NT. The
quality
looks like it might. I do a simple isset() to see if it is set.
works for me.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
[EMAIL PROTECTED]
"John LYC" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> does se
It's been my experience that Netscape doesn't support mistakes as well as IE
(example...forgetting a close td tag or close table, stuff like that), so
usually if I build a page, I use Netscape to check it and it almost always
works the same in IE. As far as php and ssl goes, isn't that all server
J-,
I have tested netscape communicator 4.76 with ssl extensively. no problems
what so ever.
Take a look at www.modssl.org for some of the common problems that are
associated with Internet Explorer
and ssl.
>The users all have MS Win 95, 98, or NT. The
> quality (ie. the 'bug-free-ness") of t
At 10:39 AM 2/27/2001, Jason Jacobs wrote:
he's probably referring to the SSL code that the browser uses. In that
aspect - it doesn't matter. i'd personally choose netscape because of
their good track record and conformity to standards. M$ does things their
way or the hiway. Both browsers
- Original Message -
From: Kurth Bemis <[EMAIL PROTECTED]>
To: Jason Jacobs <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 9:43 AM
Subject: Re: [PHP] Best browser
> At 10:39 AM 2/27/2001, Jason Jacobs wrote:
>
> he's probably referring to the SSL code that the
I've got a page that I'm currently working on that grabs a couple of
variable from $PATH_INFO and uses them for db queries. The page is currently
called content.php. My question is this, when I replace my index file with
this will
http://www.mydomain.com/somevar/someothervar
be the same as
http
Karl,
Your demanding a lot of a stateless device. I seem to remember reading
something, somewhere in Goodman's JavaScript Bible about sending output
after the page had "finished".
Your other option may be to use frames and have the frame contain the
values you want refreshed. You're going to s
Hello Yasuo,
On 27-Feb-01 01:37:30, you wrote:
>Hello all,
>I would like to know if anyone already wrote FORM module (not PHP
>class/function) that handles HTML forms (elements, validation, etc).
>I searched freashmeat, I couldn't find one.
You did not search enough! :-)
It seems that what y
Hello,
I'd like the source of an image tag to point to PHP code. I'd like that PHP
code to generate an image (accordingly) and print/output the results back to
the calling image. So:
Where, myphpcode.php returns a valid image.
I've done this before, but it is not fresh in my brain.
Any help
as per sourceforge:
http://sourceforge.net/account/login.php
Internet Explorer users will have intermittent SSL problems, so they should
leave SSL after login. Netscape users should stay in SSL mode permanently
for maximum security. Visit Microsoft for more information about this known
problem.
n
php-general Digest 27 Feb 2001 17:27:09 - Issue 537
Topics (messages 41795 through 41847):
Can't find php.ini on my Linux/Apache module install
41795 by: Ken
41803 by: Ben Peter
41804 by: Ben Peter
Re: redirect pages
41796 by: Yasuo Ohgaki
how to keep varia
how do I select the first space after some alpha-numeric characters?
I can ^\D\s to get the characters and the space, but how can I select
the space only?
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier
I would have to be inclined to say that you couldn't do that. None of the
examples that I have ever seen do it that way, and from a perspective of
how a URL is built, how would the browser ever know that you are trying to
access index.php/somevar/somevalue as opposed to thinking that "somevalue"
I already know that the second example works, I just wanted to know if the
first would before I try it on a live site.
Data Driven Design
PO Box 1084
Holly Hill, Florida 32117
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: "Sam Masiello" <[EMAIL PR
Hi,
hopefully somebody can help to solve this miracle.
My phpinfo
My provider (and phpinfo) says GD <=1.62 is installed.
But when I run scripts using the php-imagefunctions
that require gd like
The lines containing the functions like createImage(), or ImagecolorAllocate() return
error messa
Hi Folks,
I have run into a problem using the dir() function.
The following code behaves properly on linux and does not using irix:
Contents of the dir (only folders) are:
CH104/
CH105/
CH120/
ABCDEFGHIJKL/
abcdefghijkl/
When I execute the following code:
chdir("$dir_path");
echo ("Dir Path
Hi!
I have a page in wich i register and fill the value of some session
varibles:
session_start();
session_register("vehiculesess");
session_register("hotelsess");
session_register("riadsess");
session_register("transfertsess");
session_register("excursionsess");
include "sessions.inc";
bit whe
I have PHP 4.0.4 running on my Win 2K with IIS5 - no problem! When I
try to install the same PHP on a NT4 with SP6 and IIS5 I cannot get the
Isapi filter to work - the status comes up as failed.
Am I overlooking some simple?
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP Genera
May I suggest the Zend IDE, at the moment it is the only one to really be a
full IDE with Debugger support etc. you can get a demo of it from
http://www.zend.com/store/.
James
> -Original Message-
> From: Luke Loeffler [mailto:[EMAIL PROTECTED]]
> Sent: 27 February 2001 08:32
> To: [EMAI
Addressed to: kevin1 <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from kevin1 <[EMAIL PROTECTED]> Tue, 27 Feb 2001 08:10:05 -0500
>
> Is there any equivalent to Java's try-catch or Perl's eval{BLOCK}if($@)
> structure in PHP?
No.
There has been some discussion about addi
i am getting similar errors when trying to run a script that requires GD.
It is installed, supposedly but i get:
Call to unsupported or undefined function imagettfbbox()
any and all advice is helpful
thanks
dale
On Tue, 27 Feb 2001, Helmut Ott wrote:
> Hi,
> hopefully somebody can help to s
At 20:14 27.02.2001, James Moore said:
[snip]
>May I suggest the Zend IDE, at the moment it is the only one to really be a
>full IDE with Debugger support etc. you can get a demo of it from
>http://www.zend.com/store/.
[snip]-
Ouch!
At $250.00, I'll stick to using Vim for free :-)
- Original Message -
From: "James Moore" <[EMAIL PROTECTED]>
To: "Luke Loeffler" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 2:14 PM
Subject: RE: [PHP] good ide?
> May I suggest the Zend IDE, at the mo
Hi,
Is it possible to send a file to a browser?
I would like to allow people to download a file, but I don't want to give away the
path to the file, so a normal link wouldn't work.
I am hoping there is a way to use php to send the file using code, rather than trying
to first copy the file to a t
OK, using this code:
\n";
echo "\n";
$photocount = 0;
while($row = mysql_fetch_array($result)) {
$smallpic = $row['smallpic'];
echo "$smallpic\n";
if (($photocount % 3) == 2) {
echo "\n\n";
}
$photocount++;
}
echo "\n";
echo "";
?>
And 8 photos in the table, I'm getting
could anybody help with links to a good search and sitemap script written in
php. Thanks
Ali
--
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 PROTECT
I'm not 100% sure this works, but maybe try something like this:
If that doesn't work, you can always have the php generate the entire
tag
$image = "myimagefile.gif"; // What ever you need
print "";
?>
Hope this helps :-)
"Karl J. Stubsjoen" wrote:
Hello,
I'd like the source of an image
Try DGS Search, very easy and works great!
http://www.digitalgenesis.com/software/dgssearch.html
- Original Message -
From: "Ali" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 2:22 PM
Subject: [PHP] search + sitemap scripts
> could anybody help with lin
Is there a qq operator like Perl's in PHP?
--
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]
Is anyone here framiliar with Solaris/libtool issue's?
thanks,
evan
--
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]
Hello,
this:
prints this:
Resource id #1
I'm trying to print the image as binary or as an image. Have I missed a
step? Hope i'm not being too confusing.
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
Hi all,
I've a prob. using the imap functions ... with a simple code that retrieve a
multipart mail,
$struttura=imap_fetchstructure($link,2);//2 is the msg nr
$pezzi=0;
foreach($struttura as $key=>$val){
//some code
if($key=="parts"){
foreach($val as $w){
andiTue Feb 27 12:16:36 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c
/php4/ext/readline readline.c
/php4/ext/sablotsablot.c
/php4/ext/session mod_user.c
/php4/ext/standard assert.c
/php4/ext/xml xml.c
Log:
- Pointe
Could somebody show me an example of a script that will find out the date of
each upcoming Friday, thanks.
Adam Plocher
--
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 administrat
if i have a GIF file, how can i convert this to a JPG file through php?
p.s.: ill do anything as long as i dont have to recompile php/apache
- noah
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
T
This is the wrong mailing list for this information.
try:
news://comp.lang.javascript (newsgroup)
http://www.javascript.com/ (website)
http://www.obscure.org/javascript/ (javascript mailing list homepage)
-Original Message-
From: Mat
I've been doing some similar with images. I've been executing ImageMagick
utils from php. You could do it as follows:
if (exec("convert image.gif image.jpeg")) { some error code }
ImageMagick I believe comes with most Linux distributions, but can also
be found at www.imagemagick.org
I hope this h
"James, Yz" wrote:
OK, using this code:
echo "\n";
echo "\n";
$photocount = 0;
while($row = mysql_fetch_array($result)) {
$smallpic = $row['smallpic'];
echo "$smallpic\n";
if (($photocount % 3) == 2) {
echo "\n\n";
}
$photocount++;
}
This should fill in the remaining cells yo
by default, HTML browsers, according to spec, will handle the rendering of
any and all empty cells at the end of a row.
even netscape ;)
so, this is technically not a bug.
my question is how it works when you have 7 photos in a row, or 4?
DanO
-Original Message-
From: James, Yz [m
I don't believe php uses any type of Perl quoting conventions such as qq.
If you do need to use quotes within quotes you can use the '\' to remove
the quotes value, such as:
$text = "The following text is \"quoted\"";
Or if that doesn't work (like adding the return value of a function
to a string
If php is reading or generating the numbers, I'd almost say your out of
luck. But you might be able to work around this with some JavaScript. If
you can have JavaScript read the values and do the math, it can update
you totals within a form quite simply:
the e-mail was sent
>
> if $sent==0 --> problem when sending e-mail??
>
> how this works? When the function mail will have a problem?
>
> if the "to" mail are wrong?
If you are sending "local" mail, with no "@" in it, y
> What are some methods for persistant user tracking?
>
> I need to limit the number of times a person can search for certain
material without forcing them to create a login.
>
> Currently I am using cookies to limit the number of searches a person can
do but, quiting and removing the cookie
> f
1 - 100 of 166 matches
Mail list logo