[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 t

[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 Genera

Re: [PHP] good ide?

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

Re: [PHP] good ide?

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

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

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 your

[PHP] PostgreSQL vs InterBase

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

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 relationa

[PHP] logout and clean up session and cookies

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

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 [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

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 sess

[PHP-CVS] cvs: php4 / TODO

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

[PHP-CVS] cvs: php4 / TODO

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

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-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 200

[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 ... Tim Ward Senior Systems Engin

[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, b

[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" ap

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

[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 PROTECTED

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 "ERRORYou must enter a correct username and password in order to proceed\n"; exit; } else {

[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] In

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 h

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

[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 void

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 Staun-

[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

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

2001-02-27 Thread Markus H. Maussner
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

[PHP] Stream Content

2001-02-27 Thread Karl J. Stubsjoen
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

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 serv

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

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 error

[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 quality

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. 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

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 server

Re: [PHP] Best browser

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

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

[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 http

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 s

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 y

[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: Where, myphpcode.php returns a valid image. I've done this before, but it is not fresh in my brain. Any help

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. n

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 varia

[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 - http://www.pacifier

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 "somevalue"

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 PR

[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 The lines containing the functions like createImage(), or ImagecolorAllocate() return error messa

[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 whe

[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 Genera

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: [EMAI

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 addi

Re: [PHP] GD installed but imageFUNCTIONS dont work

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

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/. [snip]-

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 mo

[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 t

[PHP] while loop and modulus?

2001-02-27 Thread James, Yz
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

[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 PROTECT

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: 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

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 lin

[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] Fopen image and print as binary/Image

2001-02-27 Thread Karl J. Stubsjoen
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

[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: - Pointe

[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 administrat

[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] T

[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: Mat

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 h

Re: [PHP] while loop and modulus?

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

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 [m

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 string

Re: [PHP] Stream Content

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

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 > f

  1   2   >