Re[2]: [PHP] assignment operator works for comparison??

2001-04-11 Thread Maxim Derkachev
Hello Dan, Wednesday, April 11, 2001, 1:29:22 AM, you wrote: >> >> > if($shiny = 0){ >> This does not compare anyting, it assigns 0 to $shiny D> yes i know, but shouldnt this operation return true? No. This operator returns the value assigned (0 in this case, which is false). This expression

Re: [PHP] shared memory

2001-04-11 Thread Rasmus Lerdorf
One of the things you have to realize is that Apache-1.3.x is is single-threaded pre-forking multi-process web server. That means that you have many processes handling requests. You never know which process will take a request, so storing any sort of data in a process won't do much good as the n

[PHP] Are calling COM applications a trojan?

2001-04-11 Thread Zeus
I'm sure many of you seasoned developers have used COM before (not necessary with PHP) but if PHP is a server-side language, how can it call a program on the client to open. Isn't it as deadly as a hacker opening your computer? Lets see some sides :) --

Re: [PHP] assignment operator works for comparison??

2001-04-11 Thread Harshdeep S Jawanda
Hi, Dan wrote: > > > if($shiny = 0){ > > This does not compare anyting, it assigns 0 to $shiny > > yes i know, but shouldnt this operation return true? No, it doesn't return true. The "=" operator returns the value of the expression on its right hand side. Therefore, the statement given above

[PHP] *** HTML Programming question *** no php at all...

2001-04-11 Thread David Diaz i Torrico
Sorry if someone takes that as an offtopic but, I can't find good HTML/Javascript programming lists, if someone can point it out any I'd apreciate it a lot.And haven't been able to find any reference to my problem even searching for hours in google. And the question here it goes, I've got a pag

Re: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Zeus
Then, how can it open a words document on the client side? - Original Message - From: Delbono <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]> Sent: Wednesday, 11 April, 2001 4:32 PM Subject: Re: [PHP] Are calling COM applications a trojan? > Com Apps, are not called on a client side.

[PHP] Can't redeclare already declared function

2001-04-11 Thread kenny.hibs
Anyone help with this Fatal error: Can't redeclare already declared function in header.php3 on line 233 The troubl is that there is no line 233 so it must be looking at another page? header.php3 * Grupo Aguila http://www.aguila.f2s.com */

[PHP] Mail Function

2001-04-11 Thread RealGM
Hi, Tonight was my first attempt at using the mail() function, and running the script I had no problems with execution. Everything seemed to go smoothly, except for one thing. I never received an email. I have consulted the manual and found nothing on the questions I am about to ask. Is t

Re: [PHP] Mail Function

2001-04-11 Thread Zeus
Try adding a if (!mail(blah blah, balh blah )) { echo "Mail not sent"; } if (mail(blah bal.)) { echo "Mail sent"; } Try these and subsitute what ever is in the mail() with your relevant information. - Original Message - From: RealGM <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP] TTF Support

2001-04-11 Thread maatt
> Is there something that I can check to see if the FreeType > library is there when I only have a virtual server? Put phpinfo() on a page - look under the gd library section. > And if it wasn't installed, is there any way that I can do this > locally without having root access? Don't think so.

[PHP] Problem with writing text with GD

2001-04-11 Thread Johan Holst Nielsen
Hi I have a problem with GD library. Then I write some text with the GD library TTF function I get a very unreadable text :o( The problem comes then the font is in size 9 and under! Some know how to solve this problem? /Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Mail Function

2001-04-11 Thread RealGM
Thanks for the reply... It comes back mail sent, but nothing is actually arriving.. - Original Message - From: Zeus <[EMAIL PROTECTED]> To: RealGM <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 7:29 PM Subject: Re: [PHP] Mail Function > Try adding a > > if

[PHP] PHPemPT

2001-04-11 Thread Carlos Serrão
Hi all, just to announce that a new PHP local users list is born. It is called PHPemPT and it is dedicated to Portuguese users. This list is useful both for new users as well as for advanced users too. You can find this list at: http://groups.yahoo.com/group/phpempt Best regards, __

Re: [PHP] Mail Function

2001-04-11 Thread Zeus
Check your SMTP settings. Its not a PHP problem anymore :) See if the mail that its sending is your email address and if the Sendmail\SMTP is properly configured. - Original Message - From: RealGM <[EMAIL PROTECTED]> To: Zeus <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday,

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h dbx_pgsql.c dbx_pgsql.h php_dbx.h

2001-04-11 Thread Marc Boeren
mboeren Wed Apr 11 01:14:57 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h dbx_pgsql.c dbx_pgsql.h php_dbx.h Log: Added a database member to the dbx_link object. Since e.g. mysql reuses c

[PHP] a simple diary / news system for download

2001-04-11 Thread Sandeep Hundal
hi all, just wanted to say thanks to everyone for helping me out with my php enquires over the last few months. in the general free spirit ofcourse, i'm going to try and make all the code that i write available for free download. anyway, for starters, i've made a simple diary / news system on my

Re: [PHP] upload problem (uid)

2001-04-11 Thread b0ld b0lb
here is the error: Warning: SAFE MODE Restriction in effect. The script whose uid is 522 is not allowed to access /tmp/phpupload/phptQdi31 owned by uid 0 in upload_in_imgs.php3 on line 127 >From: Rasmus Lerdorf <[EMAIL PROTECTED]> >To: b0ld b0lb <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]> >Su

Re: [PHP] .htpasswd encryption

2001-04-11 Thread Hervé PARISSI
Brandon Orther wrote: > Hello, > > I am trying to make a script that creates .htpasswd files. Does anyone > know what encryption is used? > > Thanks > Brandon > It can be crypt() or MD5 or SHA, you could call htpasswd. See man htpasswd under *nix. -- PHP General Mailing List (http://www.php

Re: [PHP] assignment operator works for comparison??

2001-04-11 Thread Renze Munnik
Dan wrote: > > This confused me for awhile, because the single equal sign seemed to work > for comparison, but created inexplicable errors in my programs. It seems > strange to me that a successful variable value assignment does not return > true. > > example: > > > $shiny = 1; > if($shiny

[PHP] install LONG_MAX

2001-04-11 Thread Plamen Slavov
Hi all, i try to install e php-4.0.4pl1 on a redhat 6.0 with apache_1.3.19, but when i try to make php i get the following error message: make[1]: Entering directory `/home/plamen/www/php-4.0.4pl1/Zend' /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DXML_BYT

[PHP] string comparsion "inf"

2001-04-11 Thread marco . banaj
Hi all, I got a problem comparing the string "inf" with another in PHP3. It is used as File-Extention for information-files on our system. When comparing the following all works fine and the expected result is given: "otto" = "karl" =>0 "otto" = "otto" =>1 "otto"! = "karl" =>1 "otto"! = "o

Re: [PHP] php.ini

2001-04-11 Thread Christian Reiniger
On Tuesday 10 April 2001 10:58, you wrote: > Is it possible to override the maximum script execution time as set in > php.ini using an Apache directive like this in an .htaccess file?: > > php_value max_execution_time = 60 What about simply trying it? :) -- Christian Reiniger LGDC Webmaster (ht

Re: [PHP] online detection

2001-04-11 Thread andreas . landmark
On Wed, Apr 11, 2001 at 08:10:22AM +0200, [EMAIL PROTECTED] produced this golden nugget: > > Does anyone know how to detect when a user connects to the Internet > > similar > > to ICQ? > > I think you mean messages on pages like "321 user online"! > As HTTP is a stateless protocol, you can't re

[PHP] header( )

2001-04-11 Thread Patrick Dunford
an all men. -- 1 Corinthians 15:19 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010411 === Created by Mail2Sig - http://pdunford.godzone.net.nz/software/mail2sig/ -- PHP General Mailing List (http://www.ph

[PHP] Apache configuration

2001-04-11 Thread Alexis Antonakis
Hi, I am having problems in trying to configure Apache on my PC correctly. FYI I am using Win95 and PHP4. I have configured Apache so that it will run PHP scripts, however when I try to start a session I get the following messages: --- Warning: open(/tmp\sess_20e483a01d217181f5379858afee4cf4, O

Re: [PHP] online detection

2001-04-11 Thread Christian Reiniger
On Wednesday 11 April 2001 06:23, you wrote: > Does anyone know how to detect when a user connects to the Internet > similar to ICQ? Sure. Three main possibilities: (1) Install a wire tap at his telephone line, together with some logic to detect connection attempts (2) Do the same, but at his

Re: [PHP] online detection

2001-04-11 Thread KPortsmout
In a message dated 11/04/2001 12:58:11 GMT Daylight Time, [EMAIL PROTECTED] writes: << > Does anyone know how to detect when a user connects to the Internet > similar to ICQ? Sure. Three main possibilities: (1) Install a wire tap at his telephone line, together with some logic to detect

[PHP] PHP, LDAP & ldap_set_option

2001-04-11 Thread Holger Flocken
Hi, I want to use the LDAP functions of PHP to process every entry in an LDAP directory. Unfortunately the directory contains more than 2 entries and the PHP LDAP functions (ldap_search/ldap_list) report that the timelimit (30 seconds) has been exceed. I tried to use ldap_set_option($ds, LDA

[PHP-CVS] changes

2001-04-11 Thread Boian Bonev
> What are we doing with the current release right now? > who is having problems and which problems are outstanding?? hi, a single compiler warning issue - in ext/standard/exec.h there must be a declaration of php_Exec: int php_Exec(int type, char *cmd, pval *array, pval *return_value); it is

Re: [PHP] PHP, LDAP & ldap_set_option

2001-04-11 Thread Stig Venaas
On Wed, Apr 11, 2001 at 02:07:04PM +0200, Holger Flocken wrote: > Hi, > > I want to use the LDAP functions of PHP to process every entry in an LDAP > directory. Unfortunately the directory contains more than 2 entries and > the PHP LDAP functions > (ldap_search/ldap_list) report that the time

Re: [PHP] online detection

2001-04-11 Thread Jason Stechschulte
On Wed, Apr 11, 2001 at 08:00:56AM -0400, [EMAIL PROTECTED] wrote: > H I wonder which one ICQ uses :-) ICQ doesn't detect whether or not a person is online. It doesn't detect whether or not a person is browsing the Internet. All it detects is whether or not a person is connected to the Inte

Re: [PHP] Can't make apache with PHP and mysql!!

2001-04-11 Thread Mohamed Ould
I don't find any idea on what this error is due? I can not include PHP support in apache. Mohamed Ould a écrit : > Hi, > > I goot this error when "make" apache with php: > > usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function > `my_uncompress': > my_compress.o(.text+0x9a): undefined

RE: [PHP] Apache configuration

2001-04-11 Thread Jon Haworth
/tmp is the directory used on Unix systems to store session info. On a windows box you will need to change it to something like c:\temp or c:\apache\sessions. IIRC it's in your php.ini file, not httpd.conf. HTH Jon -Original Message- From: Alexis Antonakis [mailto:[EMAIL PROTECTED]] Sen

Re: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Zeus
download dialog? what will be in that dialog box? And, I read a book saying that you can open a word document on the client side and insert words in it. - Original Message - From: Pierre-Yves Lemaire <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, 11 April, 2001 3:54 PM Su

[PHP] [ Swift eNetwork ] Matrix

2001-04-11 Thread [ rswfire ]
[ I will never again repeat this message to the PHP Mailing List out of courtesy for all of the respected members of this list. For those of you whom take the time to read this email, thank you, and I hope you find its contents useful to your present and future endeavors... ] http://matrix.

Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___

2001-04-11 Thread Jeffrey Greer
On 10 Apr 2001 19:08:03 -0700, [EMAIL PROTECTED] (Seung-woo Nam) wrote: >Jeffrey Greer wrote: >> >> I'm not trying to provide the level of service of a large isp or even >> get 100 customers. I would just like to pay for my half of the web >> portal. I thought $8/mo for my service would be a g

RE: [PHP] *** HTML Programming question *** no php at all...

2001-04-11 Thread Chris Albanese
In Netscape 4.x, form elemtents are always rendered as the top layer, regardless of z-indexing. You need to move the form element. Netscape 6 (I beleive) and IE5 are fine. -Original Message- From: David Diaz i Torrico [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 4:54 AM To:

php-general Digest 11 Apr 2001 13:33:12 -0000 Issue 621

2001-04-11 Thread php-general-digest-help
place. > >-Rasmus > >On Wed, 11 Apr 2001, b0ld b0lb wrote: > > > Hi, > > > > if i upload via http the tempfile is written with uid 0 (root

[PHP] RE: radio groups in loop form

2001-04-11 Thread Tim Ward
grouped radio buttons should have the same name, i.e. avail not avail[]. This way you get a single variable which is always submitted but with a value depending on the user's selection. The way you did it pases an array with a single element, the value of this element (and maybe the key) will vary

Re: [PHP] *** HTML Programming question *** no php at all...

2001-04-11 Thread Josh McDonald
In ie5.x and earlier the select element will also be above all layers. I think ie6 doesn't have that problem, as I remember MS promising to fix it, tho i haven't got my hands on whistler yet so I don't know fer sure G is for the gang of money I make. F is for the gang of fools I break. U is for t

[PHP] timer in PHP

2001-04-11 Thread george
I need to have a time running and after a certain time it will not allow you to submit anything else, on top of that if someone makes an entry with less than 2 minutes to go the time must be extended by 5 minutes. I really am at a loss how to do this. Can it be done. TIA George -- PHP Ge

Re: [PHP] $8 PHP hosting from Jeffrey Greer

2001-04-11 Thread Ashley M. Kirchner
Jeffrey Greer wrote: > Is 1/2 per > year too much down time? Half a year downtime? Yes, I would have a BIG problem with that. AMK4 -- W | | I haven't lost my mind; it's backed up on tape somewhere. |

Re: [PHP] string comparsion "inf"

2001-04-11 Thread Renze Munnik
[EMAIL PROTECTED] wrote: > > Hi all, > > I got a problem comparing the string "inf" with another in PHP3. It is > used as File-Extention for information-files on our system. When > comparing the following all works fine and the expected result is given: > > "otto" = "karl" =>0 > "otto" = "o

Re: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Pierre-Yves Lemaire
Well, first off all, what I'm taking about has nothing to do with COM object. Word will format HTML very nicely, keep it simple with only , , tags. All you need to do is put this on top of your page, that is, before you send anyting to the client. header("Content-Type: application/vnd.ms-word")

RE: [PHP] Are calling COM applications a trojan?

2001-04-11 Thread Hoover, Josh
>And, I read a book saying that you can open a word document on the client >side and insert words in it. Are you sure this was done on the client side and not on the server side? Here is a common example used to show a simple use of COM and PHP: $word=new COM("word.application") or die("Cannot s

[PHP] reload only one layer?

2001-04-11 Thread An Onyke
hi, I have a page with some layers ( tags) and one layer's content is built by a PHP script which gets its content from a database. What I want is: when the database content should change, I'd like to see that immediately on my page. I dont thinks theres a command to do this? I thought about an au

Re: [PHP] timer in PHP

2001-04-11 Thread Chris Lee
there is no sure way, but using cookies/sessions you can make something that will *work* . assign the user a session_id, every time the user makes an entry add a value to the db, session_id = $SessionID next_time = time() + 120 every time you make an entry, check to make sure that next_time <

Re: [PHP] No new topic using reply please.

2001-04-11 Thread Chris Lee
Accually, Ive noticed in Outlook Express Ctrl - N = new message Ctrl - R = relpy to user directly, does not get posted to newsgroup/mailling list Ctrl - G = relpy directly to newsgroup, in turn gets posted to the mailing list On another note, good post, I see alot of people posting 'new' threads

[PHP] site review

2001-04-11 Thread Keyur Kalaria
Hello everybody, I recently developed this site : http://www.goodlookingindia.com . I am adding many more sections in it. Pl. let me know how can i improve the performance of this site. Your reviews will be very helpful to me. Thanks in advance. Keyur $$$ -- PHP General Mailing L

RE: [PHP] Apache configuration

2001-04-11 Thread Alexis Antonakis
Problem solved, it turned out I had two php.ini files, one for PHP3 on my c drive and one for PHP4 on my d drive. Many thanks to all who replied Alexis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] p.net]On Behalf Of Jon Haworth Sent: 11 April 2001 14:14 To: Php-G

Re: [PHP] header( )

2001-04-11 Thread Chris Lee
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ If only for this life we have hope in Christ, we are to be pitied more than all men. -- 1 Corinthians 15:19 http://www.heartlight.org/cgi-shl/todaysvers

RE: [PHP] Can't redeclare already declared function

2001-04-11 Thread Johnson, Kirk
The function in question is defined in an included file, right? This function definition file is most likely being included twice. The best bet is that it is being included from another included file (at least, that's how I usually manage to produce this error :) ). Check all your included files f

RE: [PHP] Can't redeclare already declared function

2001-04-11 Thread Altunergil, Oktay
If you're using php4 you can say include_once("include_file_name.php"); (there's also require_once() ) oktay -Original Message- From: Johnson, Kirk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 11:18 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Can't redeclare already declar

RE: [PHP] Can't redeclare already declared function

2001-04-11 Thread Jeffrey Paul
better yet, try include_once() instead of all instances of include(). It will only include a file once, rather than every time you call include() on that path. Nifty feature. -j At 11:17 AM 4/11/2001, Johnson, Kirk wrote: >The function in question is defined in an included file, right? Thi

Re: [PHP] site review

2001-04-11 Thread Steve Werby
"Keyur Kalaria" <[EMAIL PROTECTED]> wrote: > I recently developed this site : http://www.goodlookingindia.com . > I am adding many more sections in it. > > Pl. let me know how can i improve the performance of this site. > Your reviews will be very helpful to me. It's difficult to improve to sug

Re: [PHP] PHPemPT

2001-04-11 Thread Manuel Lemos
Viva, Carlos Serrão wrote: > > Hi all, > just to announce that a new PHP local users list is born. > > It is called PHPemPT and it is dedicated to Portuguese users. > > This list is useful both for new users as well as for advanced > users too. > > You can find this list at: > > http://group

RE: [PHP] Can't redeclare already declared function

2001-04-11 Thread Johnson, Kirk
Thanks to all who suggested using include_once. Maybe it is just me (long FORTRAN background), but the very idea of include_once makes me nervous, and I don't use it. It violates my sense of acceptable design. I would rather design my code such that a file is *really* only included once, if that i

[PHP] Arrays of objects

2001-04-11 Thread Daniel Fairs
Hi, PHP provides a number of array-related functions which rely on a relation existing between each array element. This is easy to understand for primitive types (integers, strings and so on) but how does it work for objects? For example, I have a class Person. I have a number of Person objects

[PHP] ezpublish install

2001-04-11 Thread Peter Van Dijck
Hi, I think I finally found a cms that does most of what I want it to: ezpublish ( http://developer.ez.no/article/archive/4/ ) I'm trying to install it, I'm on a apache server, and having some problems. Where can I find help to install this? I've checked the entire website, there's no

[PHP] Creating Arrays

2001-04-11 Thread Ashley M. Kirchner
I need to convert an MySQL result into an Array...somehow. The query returns the following: ++---+ | ID | Project | ++---+ | 1 | Home | | 2 | Work | | 3 | Family | | 4 |Misc. | | . | ... | | . |

[PHP-CVS] cvs: php4 /ext/oci8 oci8.c

2001-04-11 Thread Thies C. Arntzen
thies Wed Apr 11 08:46:04 2001 EDT Modified files: /php4/ext/oci8 oci8.c Log: never initialize oci in OCI_THREADED mode. seems to break win32. Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.113 php4/ext/oci8/oci8.c:1.114 --- php4/ext/oci8/

[PHP] Job Opening in Brazil

2001-04-11 Thread Leonardo Dias
Hi, there. We're looking for advanced PHP programmers to Work in Brazil. Catho Online is the biggest job website in Brazil and possibly in Latin America. We're looking for someone who's already experienced and willing to learn even more with us. The salary is 3000 reais (aproximately 1500 dollar

[PHP] Date/Time Arithmetic

2001-04-11 Thread Erich Reimberg N.
Hello, Is it possible to do some arithmetic with time/date values in PHP? for example, to calculate: today + 1050 days. today - 7 days. etc. I mean, does PHP have functions to perform these operations? Thanks, Erich Reimberg. PS. I'm new to PHP, and I didn't find anything like t

RE: [PHP] Date/Time Arithmetic

2001-04-11 Thread Boget, Chris
>Is it possible to do some arithmetic with time/date values in PHP? > for example, to calculate: >today + 1050 days. >today - 7 days. >etc. > I mean, does PHP have functions to perform these operations? $oneDay = 86400; // number of seconds in a day

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/oci8 oci8.c

2001-04-11 Thread Thies C. Arntzen
thies Wed Apr 11 08:48:07 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/oci8 oci8.c Log: MFH - never initialize OCI in OCI_THREADED mode Index: php4/ext/oci8/oci8.c diff -u php4/ext/oci8/oci8.c:1.113 php4/ext/oci8/oci8.c:1.113.2.1 --- php4/ext

[PHP] Pic Upload & Safe Mode

2001-04-11 Thread Matthias Auchmann
Hi ! Does anyone have a fileupload script that works with Safe Mode ? In all scripts I saw copy was used, so it didn't work. On the other hand, I don't want to run my server without safemode any hints ? thnx Matthias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] ezpublish install

2001-04-11 Thread Seung-woo Nam
http://developer.ez.no/filemanager/list/1/ There are installation doc files near the bottom of the page. Seung-woo Nam Peter Van Dijck wrote: > > Hi, > I think I finally found a cms that does most of what I want it to: > ezpublish ( http://developer.ez.no/article/archive/4/ ) > I'm try

[PHP] Mac IE - Text Area - PHP

2001-04-11 Thread Kevin Leavell
1. I have a form that is used to upload articles to a site. The form works well with windows IE. The mac IE won't take all the text! It seems to have a cap on the amount of text a text area will allow. Any thoughts? We updated the browser which seemed to increase the limit but still have prob

[PHP] Single Quotes in Oracle Queries

2001-04-11 Thread Richard Crawford
Before we go about writing new functions to handle single quotes for our Phorum reengineering project, I need to know if there is a way for PHP to easily handle the issue of passing strings to a PL/SQL script, which requires that single quotes be doubled up: that "I don't know" is properly tra

RE: [PHP] Single Quotes in Oracle Queries

2001-04-11 Thread Johnson, Kirk
Where are the strings coming from? If from a , then magic_quotes_sybase (in php.ini) is your friend. If from elsewhere, see magic_quotes_runtime for possible help (also in php.ini). Kirk > -Original Message- > From: Richard Crawford [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 11,

RE: [PHP] Single Quotes in Oracle Queries

2001-04-11 Thread Richard Crawford
The quotes are indeed coming from a FORM. I'll look into magic_quote_sybase. Thanks! >> Original Message << On 4/11/01, 11:19:26 AM, "Johnson, Kirk" <[EMAIL PROTECTED]> wrote regarding RE: [PHP] Single Quotes in Oracle Queries: > Where are the strings comin

[PHP] Including a URL for mailing..

2001-04-11 Thread Chad Day
What I'm trying to do is specify a URL in a form, and then take that URL, put its contents into a variable, and mail it out in an e-mail message with the body of the message being that URL. I haven't gotten anywhere so far, just getting blank messages for the body.. can anyone point me in the r

[PHP] PHP and IE5.5 download problem

2001-04-11 Thread Vikram Vaswani
Hi! I have a script which sends the following headers in order to get the client to display a "file save" prompt. > header ("Content-Type: application/octet-stream"); > header ("Content-Disposition: attachment; filename=$filename"); > readfile($filename); This works well on Netscape/lynx. Ho

[PHP-CVS] cvs: CVSROOT / loginfo

2001-04-11 Thread Stig Bakken
ssb Wed Apr 11 11:26:51 2001 EDT Modified files: /CVSROOTloginfo Log: * send commit messages for "pear" and "pearweb" to [EMAIL PROTECTED] Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.41 CVSROOT/loginfo:1.42 --- CVSROOT/loginfo:1.41Tue Ap

[PHP] foreach vs. while(list() = each())

2001-04-11 Thread Joe Stump
What are the differences in these? I know with while() you have to reset() the array afterwards, but foreach() you don't. Also foreach() appears to be quite a bit faster. My main question is there ANY difference in how these two loop through the array. --Joe /***

[PHP] passthru

2001-04-11 Thread Michael Dickson
On the server itself (to which I have root access) I type: someProgram arg1 arg2 arg3 and it runs properly, returning the proper output to standard output (the screen). I can do this from anywhere on the server (for example, from the same directory where my php scripts are located, /var/www/

RE: [PHP] passthru

2001-04-11 Thread Johnson, Kirk
Just guessing here. On our setup, PHP runs as nobody. Is there a permissions problem around "someProgram"? Kirk > -Original Message- > From: Michael Dickson [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 11, 2001 1:27 PM > To: [EMAIL PROTECTED] > Subject: [PHP] passthru > > > On t

[PHP] Javascript issue

2001-04-11 Thread Jack Sasportas
I am doing a basic mouseiver on a page where some php code also resides. I basically dump the top of the web page through a function page_top() which is just passing all the html & java through a string, then pull some db stuff out, and finally call the page_bottom() which pulls in the rest of th

Re: [PHP-CVS] cvs: pear /Science Chemistry.php /Science/Chemistry Atom.php Atom_PDB.php Coordinates.php Element.php Macromolecule.php Macromolecule_PDB.php Molecule.php Molecule_XYZ.php PDBFile.php PDBPa

2001-04-11 Thread Andrei Zmievski
On Tue, 10 Apr 2001, Derick Rethans wrote: > hrm, > > is it really needed to add 3.6MB of stuff to the PHP cvs? Grr, I agree. Maybe it can wait until PEAR is out of PHP's CVS. -Andrei * Ethernet n.: something used to catch the etherbunny. * -- PHP CVS Mailing List (http://www.php.net/) To uns

[PHP] What is the syntax to get the HTTP_ENV_VARS?

2001-04-11 Thread Phil Labonte
I want to get the hostname from the browsers that access my site. What is the syntax to use with the HTTP_ENV_VARS? mysql_query("INSERT INTO weblog(ip, hostname, port, time) " . " \ VALUES('$REMOTE_ADDR', '$HTTP_ENV_VARS', '$REMOTE_PORT', \ '$time')"); Thanks! -- PHP General Mailing

[PHP] help: ldap ext not working.

2001-04-11 Thread Joe Rice
Hi, I'm trying to configure in --with-ldap. i have the iPlanet ldapsdk installed in /usr/local/include /usr/local/lib php configures and compiles with out any complaints. the problem happens when i try to start apache. Syntax error on line 23 of /usr/local/apache/conf/httpd.conf: Cannot load /u

Re: [PHP] Creating Arrays

2001-04-11 Thread Rodney J. Woodruff
http://www.php.net/manual/en/function.msql-fetch-array.php Hope this helps. "Ashley M. Kirchner" wrote: > I need to convert an MySQL result into an Array...somehow. The > query returns the following: > > ++---+ > | ID | Project | > ++---+ > | 1 |

Re: [PHP] Including a URL for mailing..

2001-04-11 Thread Rodney J. Woodruff
What have you tried so far? -- Rodney Chad Day wrote: > What I'm trying to do is specify a URL in a form, and then take that URL, > put its contents into a variable, and mail it out in an e-mail message with > the body of the message being that URL. I haven't gotten anywhere so far, > just get

RE: [PHP] Including a URL for mailing..

2001-04-11 Thread Chad Day
Various things, but I finally hit upon something that worked. Thanks anyway. Chad -Original Message- From: Rodney J. Woodruff [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 5:03 PM To: Chad Day Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Including a URL for mailing.. What hav

[PHP] windows 2000 install

2001-04-11 Thread Deborah Dennison
Desperate and frustrated new php peep here. Trying to install php4 on windows 2000 using IIS5. I have tried EVERYTHING. Last thing I tried was the easyinstaller from the phpeverywhere people. No luck. Everytime I try a test, I get a blank page??? Take pity on me please!!! If I cannot get this

RE: [PHP] windows 2000 install

2001-04-11 Thread Jerry Lake
What are you using as a test ? try saving this below as info.php make sure you are saving this to your webroot and calling it through your browser http://localhost/info.php Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online

Re: [PHP] Creating Arrays

2001-04-11 Thread Morgan Curley
try "; print_r( $the_array_I_want ); echo ""; ?> Be aware that adding an element to $the_array_I_want will give it the next sequential number which would look like an ID but have nothing to do with the contents of your database. Unless it is absolutely necessary I would reco

[PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
I hope you understand: It is too long to include here so I'll give you an idea. file.B --- "; //-cats $cats = explode(',',$all_cats); //--values $cats_vals = explode(',',$all_cats); print html_options($cats, $cats_vals, $selected, "--Select one--"); echo""; ?> ---

[PHP] Database result set question

2001-04-11 Thread Morgan Curley
Just out of curiosity, can anyone explain the mechanics behind accessing a database query result set. ie $result_id = pg_execute( 'select * from my_table' ); when I call loop through pg_fetch_row( $result_id, $rom_num ) or pg_fetch_object( $result_id, $rom_num ) has php read the entire result s

Re: [PHP] windows 2000 install

2001-04-11 Thread Phil Driscoll
There are two stages here. Getting PHP installed and working and getting IIS configured. To tackle the first should be easy. If php.exe and phpts.dll are in the same directory as each other (say C:\php) and php.ini is in the WINNT folder AND you haven't done anything silly in php.ini, then PHP sh

Re: [PHP] Creating Arrays

2001-04-11 Thread Ashley M. Kirchner
"Rodney J. Woodruff" wrote: > http://www.php.net/manual/en/function.msql-fetch-array.php Okay, call me dense. I can't figure this out. This is what I'm trying to do: $sql = "select p_id, project from proj where uid=$uid"; $result = mysql_db_query($database,$sql); (the resulti

Re: [PHP] Calling a function that resides elsewhere

2001-04-11 Thread Gerry
I got it, I think: and this at the beginning of file "B" $selected == "$selected"; and placed this statement in file "A" if (isset($selected[$cat])) { include ("cat_select.php"); } I don't know why it works but it does, is there anything wrong with this method? Gerry wrote: > > I hope yo

[PHP] Loop in a loop menu system output problem

2001-04-11 Thread Fates
I am trying to make a simple HTML menu system. I am having problems displaying menu links under the correct submenu from a loop. I have a database with two tables. One table holds menu and sub menu headings and the other table holds the contents of each submenu (the actual menu links and names).

Re: [PHP] Supplied argument is not a valid MySQL result resource

2001-04-11 Thread Chris Worth
This happened to me when I used _affected_rows instead of _count make sure you're using the right function. that drove me nuts before I got it working, AND I followed the durn directions. chris On Tue, 10 Apr 2001 09:02:32 -0700, elias wrote: >can you show me some code? >basically when you

Re: [PHP] Including a URL for mailing..

2001-04-11 Thread Brett
> What I'm trying to do is specify a URL in a form, and then take that URL, > put its contents into a variable, and mail it out in an e-mail message with > the body of the message being that URL. I haven't gotten anywhere so far, > just getting blank messages for the body.. can anyone point me

Re: [PHP] Creating Arrays

2001-04-11 Thread Matt McClanahan
On Wed, Apr 11, 2001 at 03:55:38PM -0600, Ashley M. Kirchner wrote: > "Rodney J. Woodruff" wrote: > > > http://www.php.net/manual/en/function.msql-fetch-array.php (snip) > I need that result into the following: > $items = array(0 => "Undefined", 1 => "Work", 2 => "Personal"); Here's a

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-04-11 Thread Andi Gutmans
Just curious. What does their pragma do? Andi At 03:16 AM 4/10/2001 +, Jason Greene wrote: >jason Mon Apr 9 20:16:06 2001 EDT > > Modified files: > /php4/ext/sockets sockets.c > Log: > Fix for PR #9729, 9664, 9656, 8667. > All compilers on Solaris should build this e

[PHP] radio groups in looped form

2001-04-11 Thread Peter Houchin
hiya, I have a script that repeats a form x number of times depending on how many records there are, what's happening is when i go to update my radio buttons it sees every radio button on the page as the ONE group when really it's x number of groups (again depending on how many records there

Re: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-04-11 Thread Jason Greene
If you look at their socket.h, they have a macro condition in the XPG4 compatibility section that renames all the socket functions to __xnet_whatever. The condition either calls #pragma redefine extname, or #define. #define was bad in this situation becuase PHP_FUNCTION(socket) would become PH

[PHP] checkdnsrr() in PHP 4.0.5rc1

2001-04-11 Thread Jochen Kaechelin
What about this error: checkdnsrr() is not supported in this PHP build Any answers? -- Jochen Kaechelin - Ihr WEBberater Stuttgarter Str.3, D-73033 Goeppingen Tel. 07161-92 95 94, Fax 07161-92 95 98 http://www.wa-p.de, mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www

  1   2   >