[PHP] logout

2001-02-27 Thread [EMAIL PROTECTED]
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

[PHP] good ide?

2001-02-27 Thread Luke Loeffler
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

Fw: [PHP] logout

2001-02-27 Thread [EMAIL PROTECTED]
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

Re: [PHP] How to wrap output of formatted text

2001-02-27 Thread CC Zona
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 force

Re: [PHP] logout

2001-02-27 Thread [EMAIL PROTECTED]
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

[PHP] can anyone please remove this subscriber:kia01@jnd.terra.com.br?

2001-02-27 Thread [EMAIL PROTECTED]
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

Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread Wade Halsey
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

Re: [PHP] logout

2001-02-27 Thread John LYC
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]

Re: [PHP] logout

2001-02-27 Thread John LYC
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

Re: [PHP] good ide?

2001-02-27 Thread Gustavo Vieira Goncalves Coelho Rios
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 -- PHP

[PHP-CVS] cvs: php4 / TODO

2001-02-27 Thread Stanislav Malyshev
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

[PHP-CVS] cvs: php4 / TODO

2001-02-27 Thread Sebastian Bergmann
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

[PHP] RE: forms functions

2001-02-27 Thread Tim Ward
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 ... ? function myfunction() {

[PHP] remote printing from php script

2001-02-27 Thread Kim Prisk Joyce Fennell
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,

[PHP] fwrite in PHP4

2001-02-27 Thread Otakar Nejezchleb
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"

Re: [PHP] help on select

2001-02-27 Thread Jason Stechschulte
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 i

[PHP] Exception Handling in php

2001-02-27 Thread kevin1
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

RE: [PHP] User Authentication

2001-02-27 Thread Krznaric Michael
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 "H1ERROR/H1You must enter a correct username and password in order to proceed\n"; exit; }

[PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c

2001-02-27 Thread Ben Mansell
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]

Re: [PHP] Copying Files to the Web Directory

2001-02-27 Thread Miles Thompson
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

RE: [PHP] Screen Size?

2001-02-27 Thread Jon Haworth
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 sigh Cheers Jon -Original Message- From: Todd Kerpelman [mailto:[EMAIL PROTECTED]] Sent: 26 February 2001 19:03 To: PHP

[PHP] Java Question

2001-02-27 Thread Conover, Ryan
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

Re: [PHP] Java Question

2001-02-27 Thread Soeren Staun-Pedersen
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

[PHP-CVS] cvs: CVSROOT / avail gen_acl_file.m4 loginfo

2001-02-27 Thread Andrei Zmievski
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

Re: [PHP] how do i check if a server is online ?

2001-02-27 Thread Robert Vetter
"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 server is NOT

RE: [PHP] how do i check if a server is online ?

2001-02-27 Thread Marc Swanson
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

Re: [PHP] how do i check if a server is online ?

2001-02-27 Thread Chris Lee
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

[PHP] Best browser

2001-02-27 Thread Ide, Jim
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

Re: [PHP] simple session question

2001-02-27 Thread Chris Lee
looks like it might. I do a simple isset() to see if it is set. ?php session_start(); if (!isset($HTTP_SESSION_VARS['count'])) { $count = 5; session_register('count'); } ? works for me. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL

Re: [PHP] Best browser

2001-02-27 Thread Jason Jacobs
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

Re: [PHP] Best browser

2001-02-27 Thread Kurth Bemis
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

Re: [PHP] Best browser

2001-02-27 Thread Christopher Allen
- 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 browser

[PHP] $PATH_INFO

2001-02-27 Thread Data Driven Design
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

Re: [PHP] Stream Content

2001-02-27 Thread Miles Thompson
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

Re: [PHP] FORM module/extention for PHP4??

2001-02-27 Thread Manuel Lemos
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 you

[PHP] Return Image for PHP Link

2001-02-27 Thread Karl J. Stubsjoen
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: img src="myphpcode.php" Where, myphpcode.php returns a valid image. I've done this before, but it is not

Re: [PHP] Best browser

2001-02-27 Thread Matt \TrollBoy\ Wiseman
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.

php-general Digest 27 Feb 2001 17:27:09 -0000 Issue 537

2001-02-27 Thread php-general-digest-help
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

[PHP] regex help

2001-02-27 Thread Jerry Lake
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 -

Re: [PHP] $PATH_INFO

2001-02-27 Thread Sam Masiello
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

Re: [PHP] $PATH_INFO

2001-02-27 Thread Data Driven Design
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

[PHP] GD installed but imageFUNCTIONS dont work

2001-02-27 Thread Helmut Ott
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 ?php Header ("Content-type: image/jpeg"); $im = imagecreate (400, 30); $black = ImageColorAllocate

[PHP] dir() only works with file/dir names = 6 chars? (irix)

2001-02-27 Thread Dean Waldow
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

[PHP] session problem

2001-02-27 Thread kaab kaoutar
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

[PHP] PHP/NT4/IIS5 problem

2001-02-27 Thread Todd Cary
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

RE: [PHP] good ide?

2001-02-27 Thread James Moore
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: [EMAIL

Re: [PHP] Exception Handling in php

2001-02-27 Thread php3
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 adding it

RE: [PHP] good ide?

2001-02-27 Thread Ernest E Vogelsinger
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/.

Re: [PHP] good ide?

2001-02-27 Thread Clayton Dukes
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 moment

[PHP] File sending?

2001-02-27 Thread Chris
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

[PHP] while loop and modulus?

2001-02-27 Thread James, Yz
OK, using this code: ? echo "table border=\"0\"\n"; echo "tr\n"; $photocount = 0; while($row = mysql_fetch_array($result)) { $smallpic = $row['smallpic']; echo "td$smallpic/td\n"; if (($photocount % 3) == 2) { echo "/tr\ntr\n"; } $photocount++; } echo "/tr\n"; echo

[PHP] search + sitemap scripts

2001-02-27 Thread Ali
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

Re: [PHP] Return Image for PHP Link

2001-02-27 Thread Ron Wills
I'm not 100% sure this works, but maybe try something like this: img src="? include 'myphpcode.php'; ?>"> If that doesn't work, you can always have the php generate the entire tag ? $image = "myimagefile.gif"; // What ever you need print "img src=\"$image\">"; ?> Hope this helps :-) "Karl J.

Re: [PHP] search + sitemap scripts

2001-02-27 Thread Clayton Dukes
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 links

[PHP] quoting issues in PHP

2001-02-27 Thread kevin1
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]

[PHP] Solaris and libtool

2001-02-27 Thread Montgomery-Recht, Evan
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]

[PHP] imap prob.

2001-02-27 Thread n e t b r a i n
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){

[PHP-CVS] cvs: php4 /ext/oci8 oci8.c /ext/readline readline.c /ext/sablot sablot.c /ext/session mod_user.c /ext/standard assert.c /ext/xml xml.c

2001-02-27 Thread Andi Gutmans
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: -

[PHP] finding Friday's date

2001-02-27 Thread Adam Plocher
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

[PHP] convert GIF to JPEG with PHP

2001-02-27 Thread Student Center
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]

[PHP] RE: [PHP-DB] Resolution detect and redirect

2001-02-27 Thread Michael Geier
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:

Re: [PHP] convert GIF to JPEG with PHP

2001-02-27 Thread Ron Wills
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

RE: [PHP] while loop and modulus?

2001-02-27 Thread DanO
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

Re: [PHP] quoting issues in PHP

2001-02-27 Thread Ron Wills
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

Re: [PHP] PostgreSQL vs InterBase

2001-02-27 Thread Ron Wills
I know this isn't one of the databases that you;re inquiring about, but we've been using MySQL (www.mysql.com) and it has been working beautifully. We have an email server with a MySQL db that's about 4 Gigs now a it's still running strong. MySQL is free and might be worth looking into :-)

[PHP] mySQL table joins are slow, need rebuild?

2001-02-27 Thread Jason
hi, i have a query that is comparing a table with 1235 rows with another that has 635 rows. The query looks like this: $res = mysql_query("select cust_info.ID, cust_info.first_name, cust_info.last_name, cust_info.address, cust_info.datestamp from cust_info, cust_order_info where

Re: [PHP] mySQL table joins are slow, need rebuild?

2001-02-27 Thread Joe Stump
You need to remember a few things when it comes to joins: the joined fields must be the EXACT same definition - example: a join on id int(9) and id int(3) will NOT be optimized - more: a join on id char(9) and id int(9) is REALLY NOT optimized :O) We have an accounts table with

[PHP] Direction Help!

2001-02-27 Thread Web master
Hello Php Gurus, Need help on direction. I am using PHP for a while now, I was able to develop very nice sites using PHP/MySql. Now I very comfortable in using PHP and I want to learn more advanced features of PHP. Can anyone tell me go from here?? I have used PHP for tradtional query based

[PHP] File downloading?

2001-02-27 Thread Chris
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

RE: [PHP] File downloading?

2001-02-27 Thread Jason Murray
Is it possible to send a file to a browser? Sure. file(); 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. In that case: Header("Content-type: application/octet-stream"); file("whatyouwanttosend"); (

[PHP] good ide?

2001-02-27 Thread Jay Brown
I really like NEdit for XWindows. Grabbed a file for PHP highlighting off the site. http://nedit.org -- 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:

Re: Fw: [PHP] logout

2001-02-27 Thread Reuben D Budiardja
Bassically what you wanna do is to delete all the variables you set up when the user log in. So, if you gave the session ID when a user log in, delete if from the database when user log out. Reuben D. B At 03:52 PM 2/27/01 -0600, Jacky@lilst wrote: Jack [EMAIL PROTECTED] "There is nothing

[PHP] good ide?

2001-02-27 Thread Jay Brown
I really like NEdit for XWindows. Picked up a PHP syntax file from the site. http://nedit.org -- 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

[PHP] parse error on line after last one???

2001-02-27 Thread Jaxon
Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does this actually mean anything, or is it

Re: [PHP] Direction Help!

2001-02-27 Thread Joe Stump
I've, I guess, graduated to more complex PHP programs mainly through projects at work. I'd challenge myself to do EVERYTHING in PHP. I've created everything from large scale, targeted, mailing lists to search engines based on DMOZ with PHP - with great results. I suppose the best way to move on

[PHP] Help with a very small array problem

2001-02-27 Thread YoBro
Hello, I have a problem getting this to work right. I have two variables that store the name of a Link and the actual link. I am trying to display them on the page but it doesn't do it like i would have hoped. I want it to appear like this [Link1] [Link2] [Link3] ? foreach ( $blink as

Re: [PHP] parse error on line after last one???

2001-02-27 Thread Chris Aitken
At 06:31 PM 27/02/2001, Jaxon wrote: Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does

Re: [PHP] parse error on line after last one???

2001-02-27 Thread Simon Garner
From: "Jaxon" [EMAIL PROTECTED] Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does

Re: [PHP] PHP not proccessing input?

2001-02-27 Thread Richard Lynch
I am trying to post some info to my php script using the microsoft internet control: strurl = http://www.myserver.com/test.asp strdata = "lah=sddta=test You're not really missing the quote here, are you?... Inet1.Execute strurl, "POST", strdata PHP returns HTTP_POST_VARS as being

Re: [PHP] Upload --Permission denied simple error...

2001-02-27 Thread Richard Lynch
You need to be copying files to a directory that the user PHP runs as has write-access to. Windows NT file permissions are accessed by using right-click. Other Windows versions, only Bill Gates knows. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a

Re: [PHP] function mail

2001-02-27 Thread Richard Lynch
$sent=mail("[EMAIL PROTECTED]", $subject, $msg, $from); if $sent==1 -- 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, you'd

Re: [PHP] persistant user tracking

2001-02-27 Thread Richard Lynch
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 file

Re: [PHP] Detecting if JavaScript is enabled

2001-02-27 Thread Richard Lynch
Who can give me a PHP-Script to detect if JavaScript is enabled? It should work with both, IE and NN! --- yoursite.com/nojavascript.htm HTML HEAD SCRIPT LANGUAGE=JavaScript document.location="yoursite.com/javascript.htm"; /SCRIPT /HEAD BODY

Re: [PHP] Implode?

2001-02-27 Thread Richard Lynch
What is the best way to pull data from one table and insert into another? insert into newmembers(name, email, whatever) select name, email, whatever from oldmembers How can I delete entries from a table with a php document? The same way you select entries. mysql_query() can send *ANY* query

Re: [PHP] session_start

2001-02-27 Thread Richard Lynch
do we have to use in each page using the data of a session the session-start()? cause in the manual it says that session_start -- Initialize session data and session_start() creates a session ?! thanks You want session_start() at the top of every page that uses session data. It initializes

Re: [PHP] How do I submit a POST form?

2001-02-27 Thread Richard Lynch
Search for "Rasmus Lerdorf" and "posttohost" in your fave PHP code archive or search engine. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Original

Re: [PHP] register stop working with a site

2001-02-27 Thread Richard Lynch
Log every time they take an action in your database, and if they are inactive after a certain time limit, force re-login. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time:

Re: [PHP] forms functions

2001-02-27 Thread Richard Lynch
Can i call a function from the action line of a form? No. PHP lives on the web-server. What you describe, I think, is executing a PHP function inside the browser. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm

Re: [PHP] Sessions question

2001-02-27 Thread Richard Lynch
You probably need to "unset" the cookie PHP is using to store the session ID when you destroy the session. Change your cookie handling in your browser to the "warn me before every cookie" and play around a bit maybe. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like

Re: [PHP] mod_php4

2001-02-27 Thread Richard Lynch
Does anyone know the difference between the cgi version of php4 (php.exe) as opposed to setting up php4 as a server's module? I have both versions installed its just that I do not know what is the difference when it comes to functionality. Does the cgi version execute faster then the

Re: [PHP] Another question about using shmop!

2001-02-27 Thread Richard Lynch
I read about the php manual, I find that, shmop function can let me use to store information directly on a shared segment memory. However, I have some question about these! Does it provide a faster performance, if I use these rather than store things in mysql DB, I know this might be

Re: [PHP] image file prob

2001-02-27 Thread Richard Lynch
For starters, PHP throws away any uploaded files when the script finishes to avoid a denial of service attack where somebody can overflow your /tmp by uploading over and over. You have to copy the files in the first script, and pass *those* locations on to your next page. -- Visit the Zend

Re: [PHP] logout and clean up session and cookies

2001-02-27 Thread Richard Lynch
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. session_destroy(); SetCookie("SID", ""); -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD:

Re: [PHP] File sending?

2001-02-27 Thread Richard Lynch
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 temp

Re: [PHP] Fopen image and print as binary/Image

2001-02-27 Thread Richard Lynch
? header( "Content-type: image/gif" ); $img = fopen($DOCUMENT_ROOT . "/store/include/TestingImage.gif","rb"); print($img); ? 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. $img is a "file

Re: [PHP] mail() question

2001-02-27 Thread W.D.
just the info in the .txt file did you want to actually send the .txt file or just the info in the .txt file?? -Original Message- From: W.D. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: [PHP] mail() question I want to

[PHP] Full mailbox

2001-02-27 Thread Simon Garner
Can some moderator please do something about this guy - every post to the list gets an autoresponse: - Your message with subject [Re: [PHP] parse error on line after last one???] was not delivered to the following recipient: [kia01]. This recipient's mailbox is full. Sua mensagem

Re: [PHP] mySQL table joins are slow, need rebuild?

2001-02-27 Thread Mark Maggelet
On Tue, 27 Feb 2001 15:04:09 -0800, Joe Stump ([EMAIL PROTECTED]) wrote: You need to remember a few things when it comes to joins: the joined fields must be the EXACT same definition - example: a join on id int(9) and id int(3) will NOT be optimized - more: a join on id char(9) and

Re: [PHP] File downloading?

2001-02-27 Thread Chris
Great, thanks. I looked at the file(), but it sounded like is was just for local file use. Is it possible to send a file to a browser? Sure. file(); 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

RE: [PHP] mail() question

2001-02-27 Thread Peter Houchin
Set your mail script up something like //open the file $myfile= file("data.txt"); //put file contents into one string $myfile = implode($myfile, ""); $mailTo = "[EMAIL PROTECTED]"; // if its going to more than one use a comma after " $mailSubject = "some subject"; // subject of email

  1   2   >