Re: [PHP] Installation for OS X

2003-06-30 Thread Joel Rees
> Does anyone know of a good installation kit like FoxServ, phpTriad, etc for > Mac OS X? I want a quick solution for adding MySQL, GD, phpLib support for > my mac. Well, if you're at least up to 10.1, it's already in there: http://www.macdevcenter.com/pub/a/mac/2002/01/04/apache_macosx_pt3.

[PHP] Re: Subtracting dates in php

2003-06-30 Thread Shivanischal A
try http://www.phpclasses.org -shiva "Mike Mannakee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyone know of an easy way to add or subtract dates in php the way you can > in mysql? Easier, that is, than coding the logic by hand? This seems like > a total pain. > > Mike >

[PHP] Zend

2003-06-30 Thread Gladk
Hi ALL! Can anybody give me direct link for downloading Zend Optimizer. I tried to do it a lot of times from the official site, but after accepting agreement nothing happens Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Subtracting dates in php

2003-06-30 Thread Mike Mannakee
Anyone know of an easy way to add or subtract dates in php the way you can in mysql? Easier, that is, than coding the logic by hand? This seems like a total pain. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
When I was asking this question, I wanted to do it on the server so the user didn't have to do anything. :-P With bubblegum in my shoe, Stephen Craton Senior Executive Web Developer Mophus.com, Inc. - Original Message - From: "James Hicks" <[EMAIL PROTECTED]> To: "Tom Rogers" <[EMAIL PR

Re: [PHP] IsSet() and $_SESSION - BUG?

2003-06-30 Thread Jason Wong
On Tuesday 01 July 2003 12:46, John Manko wrote: > Hello everyone. I was able to determine what was causing my problem > with session variables not being persitant across page requests. I want > to give you the full scope here, so I'm going to paste the code (and if > you have any code tips, plea

Re: [PHP] Forms

2003-06-30 Thread Jason Wong
On Tuesday 01 July 2003 06:51, Daevid Vincent wrote: > Additionally, you could put this in a header file or the top of your page: > > > reset ($_GET); > while (list ($key, $val) = each ($_GET)) { > //echo "$key => $val\n"; > $$key = $val; > } > > reset ($_POST); > while (list ($key, $val)

Re: [PHP] IsSet() and $_SESSION - BUG?

2003-06-30 Thread John Manko
Hello everyone. I was able to determine what was causing my problem with session variables not being persitant across page requests. I want to give you the full scope here, so I'm going to paste the code (and if you have any code tips, please let me know). I think the problem might be this (a

Re: [PHP] Refreshing

2003-06-30 Thread James Hicks
On Tuesday 01 July 2003 12:30 am, Tom Rogers wrote: > Hi, > > Tuesday, July 1, 2003, 3:41:56 AM, you wrote: > > JB> Also, this may not be PHP but...does anyone know how to stop the > JB> annoying click on Internet Explorer when something refreshes? > JB> [/snip] > > > control panel -> sounds -> se

Re[2]: [PHP] Refreshing

2003-06-30 Thread Tom Rogers
Hi, Tuesday, July 1, 2003, 3:41:56 AM, you wrote: JB> Also, this may not be PHP but...does anyone know how to stop the JB> annoying click on Internet Explorer when something refreshes? JB> [/snip] control panel -> sounds -> set select to 'none' -- regards, Tom -- PHP General Mailing List

[PHP] Re: need help w/ sql query - update and select at once

2003-06-30 Thread Shivanischal A
you probably cant ge this to work in MySQL. try creating a temporary table "Shivanischal A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > you probably cant ge this to work in PHP. try creating a temporary table > > -shiva > > > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PR

[PHP] Re: need help w/ sql query - update and select at once

2003-06-30 Thread Shivanischal A
you probably cant ge this to work in PHP. try creating a temporary table -shiva <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi i'm trying to get this sql query to work, i'm trying to update and > select at the same time, i'm not even sure if this is even possible > > update db

[PHP] Re: Small Error in Login Script

2003-06-30 Thread Shivanischal A
hi, this is what i found... -- "; if(!isset($_SESSION['validuser'])) $_SESSION['validuser'] = $_POST['validuser']; } else{ echo "Please try again later"; } } ?> ADMIN-LOGIN

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Rasmus Lerdorf
On Mon, 30 Jun 2003, John Manko wrote: > >Keep in mind that many people post without being subscribed to the list, > > This is false. In fact, I tried sending a message to the list from another account > that wasn't subscribed, and I got a reply stating the following: > > Because you are not sub

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread John Manko
Keep in mind that many people post without being subscribed to the list, This is false. In fact, I tried sending a message to the list from another account that wasn't subscribed, and I got a reply stating the following: Because you are not subscribed to "[EMAIL PROTECTED]" using the email addres

[PHP] need help w/ sql query - update and select at once

2003-06-30 Thread r-militante
hi i'm trying to get this sql query to work, i'm trying to update and select at the same time, i'm not even sure if this is even possible update db.tablename set field1='yes' where (select * from db.tablename,db.tablename2 where db.tablename.userid=db.tablename2.userid); basically i have a colum

Re: [PHP] if and...

2003-06-30 Thread Lars Torben Wilson
On Mon, 2003-06-30 at 18:09, Steve Marquez wrote: > I am trying to get php to use two conditions. > > > if ($biz = my_business and $id_num = "1"){ > > echo "stuff" > > } > > if ($biz = "my_business" and $id_num ="2"){ > > echo "other stuff" > > } > > ?> > > My question Is, I am n

Re: [PHP] Yahoo Stuff.

2003-06-30 Thread Rasmus Lerdorf
Someone had subscribed [EMAIL PROTECTED] to php-general. I got rid of it. -Rasmus On Mon, 30 Jun 2003, Jeremy Thibeaux wrote: > I am getting the same message, but I hadn't made the > connection. Is anyone else seeing this? > > Jeremy > > --- Daryl Meese <[EMAIL PROTECTED]> wrote: > > Does anyo

Re: [PHP] if and...

2003-06-30 Thread Ray Hunter
if( $biz == "my_business" && $id_num == 1 ) { echo "stuff..."; } if $biz is a string and $id_num is an int... -- BigDog On Mon, 2003-06-30 at 19:09, Steve Marquez wrote: > I am trying to get php to use two conditions. > > > if ($biz = my_business and $id_num = "1"){ > > echo "stuff"

[PHP] if and...

2003-06-30 Thread Steve Marquez
I am trying to get php to use two conditions. My question Is, I am not sure if the "and" is correct, it does not work. Is there another way to do this? I have tried a plus (+), a (,) and nothing seems to work. Could someone please help? Thanks! Steve Marquez Marquez Design [EMAIL PROTECTED]

Re: [PHP] Yahoo Stuff.

2003-06-30 Thread Jeremy Thibeaux
I am getting the same message, but I hadn't made the connection. Is anyone else seeing this? Jeremy --- Daryl Meese <[EMAIL PROTECTED]> wrote: > Does anyone know why I get an email from Yahoo > Groups everytime I submit to > this list? > > The email comes from: Yahoo! Grupos > [EMAIL PROTECTED]

Re: [PHP] Email troubles

2003-06-30 Thread Leif K-Brooks
Sparky Kopetzky wrote: I'm getting this error while sending email with mail(): Warning: mail(): SMTP server response: 550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied in (path to my program) How do I turn relaying on?? That has nothing to do with PHP, it's your SMTP server. I'm guessing you'r

RE: [PHP] php-general as REPLY TO

2003-06-30 Thread Miles Thompson
If snipping everything is v. rude, then I apologize. Please, everyone, get a grip -- how difficult is it to right click and select "Reply to All"? And if one has to cut and paste the "php-general ... " form cc: to to:, does it take that much time? More likely, if you start typing "php-" it aut

Re: [PHP] Installation for OS X

2003-06-30 Thread Larry E . Ullman
Does anyone know of a good installation kit like FoxServ, phpTriad, etc for Mac OS X? I want a quick solution for adding MySQL, GD, phpLib support for my mac. Follow Marc's instructions at http://www.entropy.ch/software/macosx/php/ He provides a compiled version of PHP that includes MySQL suppor

[PHP] web will not SUB, so I will try here

2003-06-30 Thread phpWalter
It seems the web page is not letting me subscribe, so I figured I'd try this route. phpWalter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installation for OS X

2003-06-30 Thread Rodney Davis
Does anyone know of a good installation kit like FoxServ, phpTriad, etc for Mac OS X? I want a quick solution for adding MySQL, GD, phpLib support for my mac. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Curl

2003-06-30 Thread Daryl Meese
Does anyone know if there are any special steps to get Curl to submit data in an iso-8859-1 format? Or, for that matter what the standard format for Curl is? Daryl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Yahoo Stuff.

2003-06-30 Thread Daryl Meese
Does anyone know why I get an email from Yahoo Groups everytime I submit to this list? The email comes from: Yahoo! Grupos [EMAIL PROTECTED] .com.br] and the body is: Olá [EMAIL PROTECTED], Recebemos sua solicitação para entrar no grupo BUNDAS2003 do Yahoo! Grupos, um serviço de comunidades onl

RE: [PHP] php-general as REPLY TO

2003-06-30 Thread Daryl Meese
Well, what we have here is a classic business example. If PHP (and this list) were operated commercially then it would behove them to consider examining what their customers percieve as an inconvenience and remove that situation from the relationship to the satisfaction of the majority of their ma

RE: [PHP] Forms

2003-06-30 Thread Daevid Vincent
Additionally, you could put this in a header file or the top of your page: reset ($_GET); while (list ($key, $val) = each ($_GET)) { //echo "$key => $val\n"; $$key = $val; } reset ($_POST); while (list ($key, $val) = each ($_POST)) { //echo "$key => $val\n"; $$key = $val;

[PHP] Email troubles

2003-06-30 Thread Sparky Kopetzky
I'm getting this error while sending email with mail(): Warning: mail(): SMTP server response: 550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied in (path to my program) How do I turn relaying on?? Robin E. Kopetzky Black Mesa Computers/Internet Services www.blackmesa-isp.net

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Rasmus Lerdorf
Guys, this will not change. Look back through the archives. It has been discussed a couple of times. If you don't like it, unsubscribe. Sorry to be blunt, but this is a waste of bandwidth. Keep in mind that many people post without being subscribed to the list, so only sending a reply to the l

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Doug Essinger-Hileman wrote: > Having said this, I suspect that you and I will continue to disagree, > which is perfectly okay. If this list changes the default I will be > happy. If it doesn't, I will learn to adjust. One request I make is > that folk, including you, Deric

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Doug Essinger-Hileman
On 30 Jun 2003 at 22:34, Derick Rethans wrote: > > I disagree with you Derick. In many (most? all?) programs, the > > reply- all function will send an email back to the list **and** one > > to the author. This wastes bandwidth needlessly, in my opinion. I > > receive the messages to the list and d

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Mike Migurski
>I just read this FAQ, and I still don't see a good reason why not to >change the REPLY-TO. The primary reason offered is that it will prevent >people from sending messages in private, but that is not really the case >(the FROM field will still contain the sender's address and it can simply >be cu

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Jeremy Thibeaux
I just read this FAQ, and I still don't see a good reason why not to change the REPLY-TO. The primary reason offered is that it will prevent people from sending messages in private, but that is not really the case (the FROM field will still contain the sender's address and it can simply be cut & p

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Wendell Brown
On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: >My concern is that a shell emulating PHP or >Perl script run as Apache can read or copy ANY PHP script used with PHP as >an Apache module. It seems to me like the safest way to handle this would be to create a function that opens the databa

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Wendell Brown wrote: > On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: > > > > > php_value mysql.default_user fred > > php_value mysql.default_password secret > > php_value mysql.default_host server.example.com > > > > H what about phpinfo()? It shows

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Mike Migurski
>> >> php_value mysql.default_user fred >> php_value mysql.default_password secret >> php_value mysql.default_host server.example.com >> > >H what about phpinfo()? It shows those settings in the clear. solution: don't leave stray phpinfo's on a production site. :) -

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Wendell Brown
On Mon, 30 Jun 2003 13:50:21 -0600, Peter Janett wrote: > > php_value mysql.default_user fred > php_value mysql.default_password secret > php_value mysql.default_host server.example.com > H what about phpinfo()? It shows those settings in the clear. -- PHP General Mailing List (

[PHP] configuring php (RPM RedHat) on apache

2003-06-30 Thread sacarde
Hi, when I try to configure httpd.conf I obtain error: at line "LoadModule php3_module modules/libphp3.so" invalid LoadModule, perhaps mis-spelled or defined by a module not included in the server configuration. but I found module libphp3.so in directory /modules/ can you help me? ---

[PHP] list() with unknown number of values

2003-06-30 Thread John Wulff
I want to write a function that manipulates each piece of data in an array (except for the first). Right now I'm using list as follows from this array: $cdata = array( array("Apr-03",12747.17,23486.55,319062.24,257828.73,0.00), array("Sep-02",12379.46,10246.92,482295.71,618131.35,14.99) ); forea

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Doug Essinger-Hileman wrote: > On 30 Jun 2003 at 21:23, Derick Rethans wrote: > > > > I'm wondering why the listed "Reply To" address is not > > > "[EMAIL PROTECTED]" > > > Thing would be so much easier to just reply than cut-n-paste when > > > reply to the entire list on a

Re: [PHP] PHP Web Based File Management and Security

2003-06-30 Thread Dean E. Weimer
> on 29/06/03 4:12 AM, Dean E. Weimer ([EMAIL PROTECTED]) wrote: > >>> What is the point of the web based file manager? >> To eliminate Local Accounts, and so that they don't have to upload files >> via ftp or ssh. >> Plain ftp is very unsecure, and using a secure ftp server can be very >> confusi

Re: [PHP] PHP5.0.0 b1 texts' misunderstandings (to those who haveproblems with install too)

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Ilja Polivanovas wrote: > Hi all, > > Would be fine if someone correct install.txt bundled with distribution. The > Apache install instruction's line > > --- >LoadModule php4_module c:/php/sapi/php4apache.dll > -- > > have at least be changed to

RE: [PHP] web site security: how to hide login info for mysql-connection

2003-06-30 Thread Peter Janett
This issue seems to be a huge issue, and I've been looking for a good solution for quite a long time. My concern is that a shell emulating PHP or Perl script run as Apache can read or copy ANY PHP script used with PHP as an Apache module. I setup Apache SuExe on my server, and use it with Perl, a

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Doug Essinger-Hileman
On 30 Jun 2003 at 21:23, Derick Rethans wrote: > > I'm wondering why the listed "Reply To" address is not > > "[EMAIL PROTECTED]" > > Thing would be so much easier to just reply than cut-n-paste when > > reply to the entire list on a subject (which is the norm). > > That's an evil thing, and mi

[PHP] PHP5.0.0 b1 texts' misunderstandings (to those who have problems with install too)

2003-06-30 Thread Ilja Polivanovas
Hi all, Would be fine if someone correct install.txt bundled with distribution. The Apache install instruction's line --- LoadModule php4_module c:/php/sapi/php4apache.dll -- have at least be changed to --- LoadModule php5_module c:/php/sapi/php4apache.

Re: [PHP] ftp_ssl_connect() Problem

2003-06-30 Thread Dean E. Weimer
I too am having problems getting ftp_ssl_connect() enabled, any help is very appreciated. What I am using is as follows, please let me know what it is I am missing.. PHP 4.3.0 installed as a Static Module with Apache 1.3.24 This is a re-configuration of an existing installation of PHP 4.3.0 I ha

Re: [PHP] MySQL Query ~~ SOLVED

2003-06-30 Thread Pushpinder Singh Garcha
Thanks to all you great ppl out there !!! have a great weekend ;-) for those in north america FYI : mine has just started ! cheers --Pushpinder On Monday, June 30, 2003, at 02:36 PM, Thorsten Körner wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Am Montag, 30. Juni 2003 20:10 sch

Re: [PHP] Piping print_r output to a variable

2003-06-30 Thread Jason Wong
On Tuesday 01 July 2003 03:35, Jay Blanchard wrote: > [snip] > > Is there a way I can pipe the output of print_r() into a variable for > further processing? > [/snip] > > $variable = print_r(); > > Then use $variable? With newer versions of php (check manual) you can specify an extra parameter li

Re: [PHP] Piping print_r output to a variable

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Mike Mannakee wrote: > Hi all, > > Is there a way I can pipe the output of print_r() into a variable for > further processing? Use var_Export and set the 2nd parameter to TRUE Derick -- "Interpreting what the GPL actually means is a job best left to those

RE: [PHP] Piping print_r output to a variable

2003-06-30 Thread Jay Blanchard
[snip] Is there a way I can pipe the output of print_r() into a variable for further processing? [/snip] $variable = print_r(); Then use $variable? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Piping print_r output to a variable

2003-06-30 Thread Mike Mannakee
Hi all, Is there a way I can pipe the output of print_r() into a variable for further processing? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Nothing to do with PHP

2003-06-30 Thread Edward Peloke
I believe you would achieve the same results by saying select top 10 * from system_users where lastnamelike "C%" Eddie -Original Message- From: Cesar Cordovez [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 3:21 PM To: [EMAIL PROTECTED] Subject: [PHP] Nothing to do with PHP But, I

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, John Manko wrote: > I'm wondering why the listed "Reply To" address is not > "[EMAIL PROTECTED]" > Thing would be so much easier to just reply than cut-n-paste when reply > to the entire list on a subject (which is the norm). That's an evil thing, and misusing e-mail. E-ma

[PHP] Nothing to do with PHP

2003-06-30 Thread Cesar Cordovez
But, I'm sure someone in this list have the answer to my question: I have written a lot of statements using the LIMIT clause in MySQL, like for example: SELECT * FROM system_users WHERE lastname like "C%" LIMIT 0,10 ...and I love it. specially when you are doing "next page", "previous page" kin

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Matt Matijevich
>>> John Manko <[EMAIL PROTECTED]> 06/30/03 02:08PM >>> Hello, I'm wondering why the listed "Reply To" address is not "[EMAIL PROTECTED]" Thing would be so much easier to just reply than cut-n-paste when reply to the entire list on a subject (which is the norm). Can the maintainer set this u

[PHP] php-general as REPLY TO

2003-06-30 Thread John Manko
Hello, I'm wondering why the listed "Reply To" address is not "[EMAIL PROTECTED]" Thing would be so much easier to just reply than cut-n-paste when reply to the entire list on a subject (which is the norm). Can the maintainer set this up? John -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Refreshing

2003-06-30 Thread Jeremy Thibeaux
The only problem I have with the image idea is that it is not particularly generic and a bit unusual (i.e. kindof a hack). The IFRAME would need only contain a simple JavaScript function call, so it would be pretty small (the data would probably be less than the HTTP header information), and thi

RE: [PHP] Query for MySQL

2003-06-30 Thread Jay Blanchard
[snip] I am looking to try and pull the last modified date out and display it. So lets say I have 1000 records. I want to only display the date of the last modified time, I dont care about the id or the name or anything. How do I query for that? [/snip] If you have a lst modified date column

[PHP] Query for MySQL

2003-06-30 Thread Didier McGillis
Question. I am looking to try and pull the last modified date out and display it. So lets say I have 1000 records. I want to only display the date of the last modified time, I dont care about the id or the name or anything. How do I query for that? __

RE: [PHP] Forms

2003-06-30 Thread Petre Agenbag
Most books, specially the older ones will use this type of coding. It relies completely on register_globals (and some other settings) to be enabled in your php.ini. However, many possible security risks has been identified with having register_globals=on, so newer versions come with that feature d

Re: [PHP] MySQL Query

2003-06-30 Thread Thorsten Körner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Am Montag, 30. Juni 2003 20:10 schrieb Pushpinder Singh Garcha: > Hello , > > Can someone tell me what is wrong with the following querys ? I am > pretty sure its got something to do with the quotes around $_POST[] > variables. > > $sql1 = "SELECT

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
The image should take care of the click, and also reduce the amount of information transmitted somewhat (although not necessarily, depending on what you send to your iframe). Cheers, Marco On Mon, 2003-06-30 at 14:09, Jeremy Thibeaux wrote: > > [snip] > > I have a chat script. I want it to refr

RE: [PHP] MySQL Query

2003-06-30 Thread Ford, Mike [LSS]
> -Original Message- > From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED] > Sent: 30 June 2003 19:10 > > Can someone tell me what is wrong with the following querys ? I am > pretty sure its got something to do with the quotes around $_POST[] > variables. > > $sql1 = "SELECT * from

Re: [PHP] Geting information from XML

2003-06-30 Thread Jeremy Thibeaux
Have you tried using the DOM XML functions? http://us3.php.net/manual/en/ref.domxml.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL Query

2003-06-30 Thread Jay Blanchard
[snip] $sql1 = "SELECT * from `admin` where `admin`.user = '"$_POST['validuser']"' AND `admin`.pwd = '"$_POST['password']"'"; $sql1 = "SELECT * from `admin` where user = "$_POST['validuser']" AND pwd = "$_POST['pass']""; [/snip] subtle differences $sql1 = "SELECT * from `admin` where `admi

[PHP] MySQL Query

2003-06-30 Thread Pushpinder Singh Garcha
Hello , Can someone tell me what is wrong with the following querys ? I am pretty sure its got something to do with the quotes around $_POST[] variables. $sql1 = "SELECT * from `admin` where `admin`.user = '"$_POST['validuser']"' AND `admin`.pwd = '"$_POST['password']"'"; $sql1 = "SELECT * f

Re: [PHP] Refreshing

2003-06-30 Thread Jeremy Thibeaux
> [snip] > I have a chat script. I want it to refresh the chat > display area > whenever there is a new message posted, but not > every 10 seconds or so. > How could I get the script to refresh only when > there is a new entry > into the database table? > [/snip] I have implemented something alon

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
On Mon, 2003-06-30 at 13:57, Stephen wrote: > Thank you for this method. I just have a few questions. > > 1. How could javascript reload the image? I'm not 100% familiar with > JavaScript really... Set a timeout to x seconds (where x is the time you want to wait between checks--say one or two sec

Re: [PHP] Geting information from XML

2003-06-30 Thread Stephen
There are a lot of classes that parse XML files. I can send you a few functions I made myself to parse a paticular type of XML file. It should help you get started. With bubblegum in my shoe, Stephen Craton Senior Executive Web Developer Mophus.com, Inc. - Original Message - From: )> To

[PHP] Geting information from XML

2003-06-30 Thread Denis C(ahuk
Can someone tell how to get information from an XML file, without the F* commands, in PHP? e.g.: Hello -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
Thank you for this method. I just have a few questions. 1. How could javascript reload the image? I'm not 100% familiar with JavaScript really... 2. How could I use PHP to find the width of the image? I was reading up on image manipulation last night but only got as far as creating an image. With

Re: [PHP] Refreshing

2003-06-30 Thread Marco Tabini
Try using Javascript to reload an image instead of an HTML file. Images don't click, and you can check whether new data is available by the size of the returned image (e.g.: 1 pixel, no new data, 2pixels, new data). You will need a small PHP script on the backend that generates the image based on w

Re: [PHP] Refreshing

2003-06-30 Thread Stephen
1. This way would probably end up sending out 500 little clicks every minute...so... Could any client side script do this like JavaScript? I doubt it could but just a question. With bubblegum in my shoe, Stephen Craton Senior Executive Web Developer Mophus.com, Inc. - Original Message -

RE: [PHP] Refreshing

2003-06-30 Thread Jay Blanchard
[snip] I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when there is a new entry into the database table? Also, this may not be PHP but...does anyone know how to stop

[PHP] Re: Refreshing

2003-06-30 Thread Alberto Ferrer
use pconnect? -- -- Alberto Ferrer [EMAIL PROTECTED] http://www.barrahome.org -- Syntax Error in KITCHEN.H: COFFEE not found. "Stephen" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL P

[PHP] Refreshing

2003-06-30 Thread Stephen
Hello, I have a chat script. I want it to refresh the chat display area whenever there is a new message posted, but not every 10 seconds or so. How could I get the script to refresh only when there is a new entry into the database table? Also, this may not be PHP but...does anyone know how to s

RE: [PHP] php5 and mysql licences

2003-06-30 Thread Rasmus Lerdorf
On Mon, 30 Jun 2003, Dan Joseph wrote: > Is the mysql client library going to be put back in for future betas? Or > are we mis-reading the change log and its still there? There will always be MySQL support in PHP of one kind or another. The only change in PHP5 is that we are no longer bund

RE: [PHP] php5 and mysql licences

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Dan Joseph wrote: > Is the mysql client library going to be put back in for future betas? Or > are we mis-reading the change log and its still there? No, we will not bundle the library with PHP 5 anymore. Derick -- "Interpreting what the GPL actually means is a job best l

[PHP] SQLyog 3.51 Released

2003-06-30 Thread Karam Chand
SQLyog v3.51 - The definitive Windows Front End for MySQL, has been released. SQLyog is a superfast, compact and easy to use Front End for MySQL. Some of the new features added in SQLyog 3.51 are - -- Complete support for MySQL 4.1. -- Improved SQL Editor. -- Improved ODBC Import Tool. -- BLOB

[PHP] PHP 5 and 4 Incompatibilities?

2003-06-30 Thread Reuben D. Budiardja
Hello, I tried to find this on the website but didn't find it. So, is there any known backward incompatibilities with PHP 4? If yes, anyone knows where we can find the list? or PHP 4 code will mainly just work with PHP 5 ? Thanks. RDB -- - /"\ A

RE: [PHP] php5 and mysql licences

2003-06-30 Thread Dan Joseph
Hi, Is the mysql client library going to be put back in for future betas? Or are we mis-reading the change log and its still there? -Dan Joseph > -Original Message- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 1:05 PM > To: Christopher Speer > C

Re: [PHP] php5 and mysql licences

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Christopher Speer wrote: > i just read the news on php.net and wondered what it says about php5 and > MySQL. > They say that the libs for using a mysql server are not implemented any > more,... so my question is: does that mean i (we) have to buy the licences > to be allowed t

[PHP] php5 and mysql licences

2003-06-30 Thread Christopher Speer
Hello, i just read the news on php.net and wondered what it says about php5 and MySQL. They say that the libs for using a mysql server are not implemented any more,... so my question is: does that mean i (we) have to buy the licences to be allowed to use the mysql libs for php? kind regards Chris

RE: [PHP] Variable from the form

2003-06-30 Thread Dan Joseph
Hi, > I'm getting result from the form. Are there any differences between > using these 2 forms: > > > $_POST['my_variable'] > > or just > > $my_variable > > Is it more safety to use the first one? You have to use the first one if you have register_globals set to off. If you have it on,

[PHP] Variable from the form

2003-06-30 Thread Gladk
Hi! I'm getting result from the form. Are there any differences between using these 2 forms: $_POST['my_variable'] or just $my_variable Is it more safety to use the first one? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Small Error in Login Script ~~SOLVED

2003-06-30 Thread Pushpinder Singh Garcha
Thanks ...I figured out something myself --Pushpinder On Monday, June 30, 2003, at 11:41 AM, Pushpinder Singh Garcha wrote: Hello All, I am trying to setup a simple login script on my development server running Mac OS Jaguar. I keep getting an error Parse error: parse error in /Users/psg

[PHP] Re: Concatenate

2003-06-30 Thread Ryan Vennell
lol, thanks guys. i'm a complete idiot. i've already used .= and such like 5 times in this very script. i honestly have no idea what i was thinking. a total brainfart (excuse the expression) -Ryan >>> Ryan Vennell<[EMAIL PROTECTED]> 06/30/03 10:31AM >>> how can i concatenate two strings?

RE: [PHP] enable/disable per directory

2003-06-30 Thread Micha Silver
Hello Jason: Thanks for the quick reply... > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 5:21 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] enable/disable per directory > > > On Tuesday 01 July 2003 00:12, Micha Silver wrote: > > Using

[PHP] Timezone functions?

2003-06-30 Thread Mark McCulligh
I am working on a project that I have to convert the date/time to different timezone include daylight saving time (DST). This project will be on a Windows server for a lot of the functions I have found on PHP.net don't work right. I am storing all the dates on the database in GMT time, thus I tak

Re: [PHP] Concatenate

2003-06-30 Thread Philip Olson
> how can i concatenate two strings? i cant seem to find the > function... thanks :) Read this: http://www.php.net/manual/en/language.operators.string.php And then this: http://www.php.net/manual/en/language.types.string.php Regards, Philip -- PHP General Mailing List (http://www.php.ne

[PHP] Small Error in Login Script

2003-06-30 Thread Pushpinder Singh Garcha
Hello All, I am trying to setup a simple login script on my development server running Mac OS Jaguar. I keep getting an error Parse error: parse error in /Users/psgarcha/Sites/CRM/ADMIN-LOGIN.php on line 2. I am at a complete loss ! Here is the source code. Please help. -

RE: [PHP] disabling functions

2003-06-30 Thread Daryl Meese
Ok, that being said how can I keep some functions available for use with my scripts and disable their use by others. Even while allowing the others to include my scripts into their own and still have the functions operate? For example, I write a script that calls exec(), my script needs to be abl

Re: [PHP] Concatenate

2003-06-30 Thread Chris Sherwood
you can do it by assigning them to a single string or by adding the second to the firsst $youroriginalfirststring .= $thestringyouwanttoadd; please note the . Chris - Original Message - From: "Derick Rethans" <[EMAIL PROTECTED]> To: "Ryan Vennell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED

Re: [PHP] Concatenate

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Ryan Vennell wrote: > how can i concatenate two strings? i cant seem to find the function... thanks :) With . Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." -

[PHP] Concatenate

2003-06-30 Thread Ryan Vennell
how can i concatenate two strings? i cant seem to find the function... thanks :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Connecting PHP to Jetty...

2003-06-30 Thread Rodrigo Reyes
Hi all Has someone been able to have PHP connected to Jetty? Thanx... Rodrigo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] disabling functions

2003-06-30 Thread Derick Rethans
On Mon, 30 Jun 2003, Daryl Meese wrote: > Can I edit the disabled_functions setting on a per directory bases. No, you can not do that. Due to performance reasons it won't be implemented either. Derick -- "Interpreting what the GPL actually means is a job best left to those

  1   2   >