Re: [PHP] The future of PHP

2001-08-29 Thread Manuel Lemos
Hello Zeev, Zeev Suraski wrote: If you are going to descriminate sites based on subjective criteria, like matters of taste or points of view that vary greatly from person to person, that is bad because you will certainly leave out contributions that could help greatly PHP and in the end

Re: [PHP] The future of PHP

2001-08-29 Thread Zeev Suraski
At 20:23 29-08-01, Alexander Skwar wrote: However, I don't think it's right to say that this will never ever happen, like you do. And I also do think, that it's counter-productive from you to say something like this. I mean, it would be okay (with me), if you kinda ignored this. But what's so

RE: [PHP] The future of PHP

2001-08-29 Thread Dan Harrington
He said: PS: The power of open source is not in the advertising... it's in the product, which makes it all the more worthwhile. I'm just waiting to see a PHP billboard. I'm telling you, wouldn't it be a blast? I'd drive the long way to work every day just to drive by it and tip my hat.

Re: [PHP] The future of PHP

2001-08-29 Thread Manuel Lemos
Hello, Rasmus Lerdorf wrote: If you read my messages in the thread from the beginning you can see that basically the current problems of PHP in its acceptance are more with the people view of PHP than about its technical abilities. It is a known fact that PHP is very good for Web

Re: [PHP] If-statement

2001-08-29 Thread Ryan Fischer
You wrote: Is it possible to write this shorter: if ($Var != No1 $Var != No2 $Var != No3) { code }; if(!ereg(^No[1-3]$, $Var)){ // code } -- -Ryan :: ICQ - 595003 :: GigaBoard - http://www.gigaboard.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] PHP Article... Comments??

2001-08-29 Thread KPortsmout
Hi I had this article sent to me on another list I am subscribed to, just wondered what other people thought of it :-) http://www.securereality.com.au/studyinscarlet.txt Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Swapping background color

2001-08-29 Thread Alnisa Allgood
I'm not certain if this is more an HTML question or a PHP issue, but... I'm creating an account management system, where each client can have multiple accounts, each account can have multiple users, and each user can make multiple requests. I've created a SQL Query that returns a list of all

Re: [PHP] The future of PHP

2001-08-29 Thread Alexander Skwar
So sprach »Zeev Suraski« am 2001-08-29 um 20:32:32 +0300 : What I *am* saying is that GUI apps are not PHP's main strength, and thus, should not be its main focus. If we try to push and market PHP, we should pick reasonable objectives - and pushing it as a platform is much more attainable

Re: [PHP] script preprocessor?

2001-08-29 Thread Christian Reiniger
On Wednesday 29 August 2001 12:24, [EMAIL PROTECTED] wrote: Is there a macro preprocessor that can be used to substitute arbitrary sections of code with different code? define is documented as working for rvals only and my attempts to produce something more meaty lead to parse errors.

RE: [PHP] The future of PHP

2001-08-29 Thread Brian Tanner
Hey, you guys keep coming to Calgary , Alberta, Canada. Stop by Winnipeg, Manitoba, Canada! Brian Tanner Project Manager Zaam Internet Solutions Toll Free: 1-866-225-2675 [EMAIL PROTECTED] http://www.zaam.com -Original Message- From: pierre-yves [mailto:[EMAIL PROTECTED]] Sent: August

Re: [PHP] The future of PHP

2001-08-29 Thread Rasmus Lerdorf
The talks that you give are for people that already know about PHP. No they aren't. As I said in my message, the seminar series I did were specifically for people who knew nothing about PHP and it was presented alongside other technologies. But yes, the people would have to have had some

Re: Re: [PHP] script preprocessor?

2001-08-29 Thread alvarez
I do not need a cmd-line utility but something I can use _in_ a PHP4 script without the need to apply changes to the interpreter or weird system interfaces. Something similiar to the #define preprocessing instructions of cc (or hopefully more flexible) would suit my needs. If your programm can

[PHP] Query using more than two tables?

2001-08-29 Thread Jeff Lewis
I have a query that is pulling information from two tables, can I pull from others as well? SELECT r.resumeID,r.userID,r.skills,r.dateAdded,u.firstName,u.lastName,u.city, u.province FROM resumes r,resumeHolders u WHERE r.userID=u.userID AND u.city='Kitchener' I want to be able to pull the

Re: [PHP] The future of PHP

2001-08-29 Thread Miles Thompson
Could we cool it down a little ... maybe let a day go by before hitting Send once more on this thread? Attacking Rasmus and Zeev is counterproductive, and it's starting to sound pretty hostile. The whole PHP development team is doing a fantastic job. (Even though I didn't understand quite

Re: [PHP] Swapping background color

2001-08-29 Thread Miles Thompson
In the generated HTML produced by your WHILE statement you can alternate colours. Here's one approach ... the code is bounded by table tags not seen here, the query has been executed and assigned to $result: while( $row = mysql_fetch_array( $result ) ) { if( ( $nCounter++ % 2 ) == 0 )

[PHP] Re: Count()

2001-08-29 Thread Kevin P
I have counted some rows in MySQL and I need to know how to pull out the number of rows. SELECT COUNT(*) AS myCount FROM Products -- 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

RE: [PHP] The future of PHP

2001-08-29 Thread Cristopher Daniluk
While I don't want to tear down Manuel Lemos or some of the good points he's made, I think it would be helpful to hope that he's been to a PHP talk. Likewise, he makes several pointed views on why it is important to follow the outline he's set forth for a product to be successful. Some credence

RE: Re: [PHP] Sorry, i need HTML help

2001-08-29 Thread B. van Ouwerkerk
At 15:35 29-8-01 +0100, Seb Frost wrote: And let's face it. Compare IE5.5/6 with NS6. MS owns the market for a damn good reason. Nice statement.. in the real world M$ stuff is as buggy as software can be.. Even PPL on M$ related lists know, and recognize this.. I mean.. 43 updates/SP's in

[PHP] change info in database not successful

2001-08-29 Thread sgibbs
Good day everyone, I'm writing because the username/password database table we had written for us does not seem to be accepting changes to a password. When I make a change, not only does the new password not take effect but it disables the entire account making it useless) Below is the code

[PHP] Count

2001-08-29 Thread Kevin P
Hi I have counted some rows in MySQL and I need to know how to pull out the number of rows. SELECT COUNT(*) AS myCount FROM Products Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Re: Count()

2001-08-29 Thread ERISEN, Mehmet Kamil
$sql = SELECT COUNT(*) AS myCount FROM Products; $result = mysql_query($sql); $count = mysql_result($result,0); --- Kevin P [EMAIL PROTECTED] wrote: I have counted some rows in MySQL and I need to know how to pull out the number of rows. SELECT COUNT(*) AS myCount FROM Products --

[PHP] Sorry to send this out again but

2001-08-29 Thread Kyle Smith
If you have a link with Stupeed Studios read on You need to go to http://www.stupeedstudios.f2s.com/index.html to get your link back up (click on one of the empty spaces!) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM:

Re: [PHP] ldap_connect question

2001-08-29 Thread Ian McNish
Brad S. Jackson wrote: It looks like the documentation is wrong. The C source code for the LDAP module doesn't do anything special with zero arguments. switch(ZEND_NUM_ARGS()) { case 0: host = NULL; port = 0; that would explain why

[PHP] install error

2001-08-29 Thread Joseph Bannon
What does this mean? make[1]: Entering directory `/home/php-4.0.6' /home/php-4.0.6/build/shtool mkdir -p /usr/lib/apache /usr/sbin/apxs -S LIBEXECDIR=/usr/lib/apache -i -a -n php4 libs/libphp4.so apxs:Warning: /usr/bin/httpd not found or not executable apxs:Warning: Continuing anyway...

Re: [PHP] change info in database not successful

2001-08-29 Thread daniel james
maybe somebody else will be able to come up with a much more graceful solution to this, but i think you need to forget unset()-- all it does is destroy a var within a script. your db data doesn't become a var until you fetch it, but unset() isn't a mysql function and doesn't interact with the db

[PHP] foo? bar? wtf?

2001-08-29 Thread Seb Frost
Why is it that every example uses foo and bar. In my head I put these together to get FUBAR, the meaning of which I won't spell out for Kyle's benefit. Is this what foo and bar refer to? And WHY are they used so extensively? - seb --- Outgoing mail is certified Virus Free. Checked by AVG

[PHP] Re: foo? bar? wtf?

2001-08-29 Thread Andy Ladouceur
Foo, and Bar, dont mean anything. They are simply example $vars for php... I was confused on this for a while, too... -Andy Seb Frost [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Why is it that every example uses foo and bar. In my head I put these together

Re: [PHP] foo? bar? wtf?

2001-08-29 Thread Philip Olson
see : http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=foo http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=bar pretty interesting :) regards, Philip Olson On Wed, 29 Aug 2001, Seb Frost wrote: Why is it that every example uses foo and bar. In my head I put these together to get

[PHP] Math Inside Strings

2001-08-29 Thread Kevin P
echo input type='hidden' name='currentPosition' value='$currentPosition+1'; can anyone tell me how to get this to stop printing: input type='hidden' name='currentPosition' value='0+1' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Countdown

2001-08-29 Thread mail
Hi ! I have a Problem with a Countdown.I want that somebody can register through my PHP Script. After the Registration the Script should email this person after exact 30 days on his emailadress without visiting the Homepage again.So how should i do this ? Thank you for your Support !!! chris

[PHP] Re: Data duplication in databases

2001-08-29 Thread james
Julian, I am not aware of any databases smart enough to decide to create references for rows whose data is identical to an existing row. If the duplicate data is creating resource issues, there's a couple things that you can do to eliminate the duplicate data. Probably the easiest would be, in

[PHP] ZEND API

2001-08-29 Thread Ricky Dhatt
Hopefully someone here can help... I'm writing my own extension and using the Zend API docs at Zend.com. They are very vague on using resources. I can create them just fine, but the docs leave out exactly how access the resource data later. I've been looking at ext/curl/curl.c and

Re: [PHP] Math Inside Strings

2001-08-29 Thread Jack Dempsey
echo 'input type=hidden name=currentPosition value=' . $currentPosition+1 .''; use the . to concatentate strings with exressions jack Kevin P wrote: echo input type='hidden' name='currentPosition' value='$currentPosition+1'; can anyone tell me how to get this to stop printing: input

[PHP] Re: Math Inside Strings

2001-08-29 Thread jimw
Kevin P [EMAIL PROTECTED] wrote: echo input type='hidden' name='currentPosition' value='$currentPosition+1'; can anyone tell me how to get this to stop printing: input type='hidden' name='currentPosition' value='0+1' echo input type='hidden' name='currentPosition' value=',

RE: [PHP] Sorry, I need HTML help

2001-08-29 Thread Navid Yar
Yes true, but the MARQUEE tag is deprecated and will no longer work in newer browsers. I don't suggest you use that approach. It's up to you... -Original Message- From: Alexander Deruwe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 8:15 AM To: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Math Inside Strings

2001-08-29 Thread mailing_list
echo input type='hidden' name='currentPosition' value='$currentPosition+1'; can anyone tell me how to get this to stop printing: input type='hidden' name='currentPosition' value='0+1' echo input type='hidden' name='currentPosition' value='.$currentPosition+1.'; hth michael -- GMX -

Re: [PHP] Re: The future of PHP -- accessory libraries

2001-08-29 Thread Mark Charette
Considering that they haven't figured out how to use the spell checker, does it surprise you that they haven't figured out how to do an dynamic load (apxs) of PHP? Or save their last good configuration (config.status). mark C. -- The phrase computer literate user really means the person has been

[PHP] building PHP on/for win32

2001-08-29 Thread Thomas Carey
I'm trying to locate instructions for building on/for win32 platform. Can someone supply a pointer? thanks tom -- 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,

[PHP] php and Interbase

2001-08-29 Thread Edney Marcel Imme
HI. Anyone use php with Interbase here? Tks. Edney Marcel Imme ICQ: 109374340

Re: [PHP] Countdown

2001-08-29 Thread Alexander Deruwe
On Wednesday 29 August 2001 19:38, you wrote: Hi ! I have a Problem with a Countdown.I want that somebody can register through my PHP Script. After the Registration the Script should email this person after exact 30 days on his emailadress without visiting the Homepage again.So how should i

RE: [PHP] Re: The future of PHP -- accessory libraries

2001-08-29 Thread Richard Heyes
So it looks like this is mostly a documentation issue. We have not done a good job educating the ISPs out there. But they should have been able to figure this out by looking at how PHP is packaged by the various distribution vendours. Perhaps a section in the manual dedicated to ISP

RE: [PHP] Re: The future of PHP -- accessory libraries

2001-08-29 Thread Brian Tanner
Great idea. I think a section discussing configuration options, suggested configurations, and general info for ISPS would be great. I just got a dedicated server and will be doing web hosting, and I think it would be extremely helpful. (if anyone needs cheap hosting, let me know -- I have tons

RE: [PHP] Re: The future of PHP -- accessory libraries

2001-08-29 Thread Dan Harrington
Here's an idea. Provide commercial PHP support for ISP's for a fee. Yearly subscriptions ? via email? -Original Message- From: Brian Tanner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: The future of PHP --

[PHP] unset($PHP_AUTH_USER, $PHP_AUTH_PW)

2001-08-29 Thread Jason Bell
anyone know why this isnt working for me? if (isset($PHP_AUTH_USER) isset($PHP_AUTH_PW)) { CheckCredentials($PHP_AUTH_USER,$PHP_AUTH_PW); unset ($PHP_AUTH_USER, $PHP_AUTH_PW); } else if ($AuthAction) { auth($AuthAction); }; If someone submits false credentials, the page

[PHP] fgets

2001-08-29 Thread Joseph Bannon
I want to use fgets to get an image off the server and then print it. Kinda like if you call the script picture.php, an image will appear. How do I do this? I'm trying to create a graphical counter with php. Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] Re: im puzzled

2001-08-29 Thread James Potts
SELECT uid FROM users WHERE uid NOT IN (SELECT uid FROM picks) HTH, James Potts Jeremy Morano [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi , this is my query SELECT users.uid FROM users, picks WHERE users.uid = picks.user_id; this works correctly.

Re: [PHP] Re: Data duplication in databases

2001-08-29 Thread Julian Wood
The only problem is detecting that the data is identical in the first place. If I have to do a select with 7 AND statements to see if I have identical data, I'm going to take a huge performance hit. I was hoping this had been done at a very low level, but it doesn't look like it. Maybe it's

[PHP] IMAP4, krb4 and PHP4 - tix not handled properly when php compiledas an apache module

2001-08-29 Thread Liam Hoekenga
I'm trying to get IMAP4, krb4, and php4 working happily together. I've got the krb4 aware c-client working with php 4.0.x as a DSO and static server module with apache 1.3.x + mod_ssl. Here's the problem. c-client knows to use kerberosIV authentication if the KRBTKFILE environment variable is

Re: [PHP] ZEND API

2001-08-29 Thread Rasmus Lerdorf
Hopefully someone here can help... I'm writing my own extension and using the Zend API docs at Zend.com. They are very vague on using resources. I can create them just fine, but the docs leave out exactly how access the resource data later. I've been looking at ext/curl/curl.c and

[PHP] PHP and PWS

2001-08-29 Thread frank clarke
I downloaded and installed PHP 4.06. The readme file says that the auto install prog setsup PHP to work with PWS and sets up php.ini. However, when I look at php.ini, there are no entries for these two parameters ; The root of the PHP pages, used only if nonempty. doc_root= ; The directory under

[PHP] Suppressing error messages

2001-08-29 Thread John Meyer
It seems to have slipped me little mind, but how do you suppress error messages? -- 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] fgets

2001-08-29 Thread Christopher William Wesley
On Wed, 29 Aug 2001, Joseph Bannon wrote: I want to use fgets to get an image off the server and then print it. Kinda like if you call the script picture.php, an image will appear. How do I do I do this, with fopen() and fpassthru() ... $im = fopen( myImage.jpg, r ); if( !$im

[PHP] Posting to oneself

2001-08-29 Thread John Meyer
Two questions: 1. Can I tell a form to post to itself without specifying the name of the web page? 2. If I have a function on one page called by another, will this resolve correctly? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »John Meyer« am 2001-08-29 um 15:57:02 -0700 : Two questions: 1. Can I tell a form to post to itself without specifying the name of the web page? form action=?php echo $PHP_SELF;? 2. If I have a function on one page called by another, will this resolve correctly? If you

Re: [PHP] Posting to oneself

2001-08-29 Thread John Meyer
At 12:07 AM 8/30/01 +0200, you wrote: So sprach »John Meyer« am 2001-08-29 um 15:57:02 -0700 : Two questions: 1. Can I tell a form to post to itself without specifying the name of the web page? form action=?php echo $PHP_SELF;? I am getting this error: Undefined variable: PHP_SELF --

Re: [PHP] Posting to oneself

2001-08-29 Thread Jason Bell
if you are within a function, try doing this first: global $PHP_SELF; - Original Message - From: John Meyer [EMAIL PROTECTED] To: Alexander Skwar [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 4:15 PM Subject: Re: [PHP] Posting to oneself At 12:07 AM 8/30/01

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »John Meyer« am 2001-08-29 um 16:15:07 -0700 : I am getting this error: Undefined variable: PHP_SELF Uh? Uhmm... Is this inside a function? Or is the server running PHP in safe mode (dunno if this has anything to do with it...)? Alexander Skwar -- How to quote:

Re: [PHP] fix my query please

2001-08-29 Thread ERISEN, Mehmet Kamil
Hello Jeremy, Two things: FROM users LEFT OUTER JOIN picks using(id) Where users.uid picks.user_id 1- when you do OUTER join, you do NOT have to use the . That's what outher join means. 2- what is id? Is it a column? shouldn't it be uid? Maybe that's your problem. --- Jeremy Morano

[PHP] How to ask the IE browser stop self-refreshing at the server side?

2001-08-29 Thread Zhu George-CZZ010
Hi, all. I am using Apache and PHP. Today, I found a very strange thing about the browser IE4.0/5.0 (Internet Explorer). I have a PHP page, which will use system call to activate some backend program to generate a PDF file (this system call process will take about 30~60 seconds), the

Re: [PHP] Posting to oneself

2001-08-29 Thread John Meyer
At 03:18 PM 8/29/01 -0700, you wrote: if you are within a function, try doing this first: global $PHP_SELF; Tried that, same error. BTW, FYI: Apache 1.3.20 (Win32) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] GUI for PHP

2001-08-29 Thread Eric
Does anyone have any suggestions for GUI PHP programming software. I am new the PHP and would like to make the learning experience as quick and simple as possible. Thanks for your help, Eric JT Harlow www.sisgrate.com Phone: 360 891 6991 Fax: 360 891 6865 Email: [EMAIL PROTECTED]

RE: [PHP] Posting to oneself

2001-08-29 Thread Johnson, Kirk
Check if register_globals is off in php.ini. If it is, you will need to access it through the $HTTP_SERVER_VARS array, e.g., $HTTP_SERVER_VARS['PHP_SELF']. Kirk -Original Message- From: John Meyer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 5:43 PM To: Jason Bell;

Re: [PHP] Suppressing error messages

2001-08-29 Thread Philip Olson
Try : a. error_reporting setting in php.ini or by calling the error_reporting function. http://www.php.net/manual/en/phpdevel-errors.php http://www.php.net/manual/en/features.error-handling.php http://www.php.net/manual/en/function.error-reporting.php b. the @

[PHP] Re: The past of PHP - object model - oops

2001-08-29 Thread Greg Beaver
For the definition of embarassment, see previous post. replace $cs with $as and the demo starts to work. (one of ) The problem(s) with my code was similar. One must always watch for the stupid factor! Chagrined, Greg -- The Chiara String Quartet http://www.chiaraquartet.net Greg Beaver

[PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
Hey all. I just started venturing into functions. I have a function that displays a form, but I have a problem with getting the multiple strings back after the submit. Im tryed a return statement at the bottom of the function, but it cannot take more than one string. I tried turning the

Re: [PHP] strings in a function return

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 09:35, Gerard Samuel wrote: Hey all. I just started venturing into functions. I have a function that displays a form, but I have a problem with getting the multiple strings back after the submit. Im tryed a return statement at the bottom of the function, but it cannot

Re: [PHP] Count

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 08:16, Kevin P wrote: Hi I have counted some rows in MySQL and I need to know how to pull out the number of rows. SELECT COUNT(*) AS myCount FROM Products Thanks Kevin $query = SELECT COUNT(*) AS myCount FROM Products; $result = mysql_db_query($database, $query); $row

[PHP] YOUR CHILD

2001-08-29 Thread ffss111
All our mailings are sent complying to the proposed United States Federal requirements for commercial e-mail: Section 301 Paragraph (a)(2)(C) of S. 618. Please see the bottom of this message for further information and removal instructions. THE FOUNDATION FOR SUCCESS IN SCHOLASTICS A FREE

Re: [PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
I was doing it like so == $string = array(var1, var2...); return string; I also tried to implode the array into a string and return the result, but no go. David Robley wrote: On Thu, 30 Aug 2001 09:35, Gerard Samuel wrote: Hey all. I just started venturing into functions. I have a

Re: [PHP] Strange Form Error

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 02:25, PHP List wrote: Hi, Can anyone tell me why php is behaving like this? If I use enctype=multipart/form-data, it seems the first form field is not passed to php. ex: form method=post action=products.asp enctype=multipart/form-data input type=hidden name=cmd

Re: [PHP] strings in a function return

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 10:19, Gerard Samuel wrote: I was doing it like so == $string = array(var1, var2...); return string; I also tried to implode the array into a string and return the result, but no go. David Robley wrote: On Thu, 30 Aug 2001 09:35, Gerard Samuel wrote: Hey all. I

Re: [PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
Here is a snippet example. function assign() { global $adminurl, $string; top(); if ($string) { $data = explode (|, $string); echo $data[0]; } form $array =

Re: [PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
Mozilla sucks sometimes with email formatting. Correction== Here is a snippet example. function assign() { global $adminurl, $string; top(); if ($string) { $data = explode (|, $string); echo $data[0];

Re: [PHP] syntax help please?

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 00:15, Glyndower wrote: I'm coming over from the ASP side and I'm trying to get a handle on this stuff, I could use a little help with the how and wheres, please. I do ok with the SQl bits, but the PHP bits are still being elusive... Heres my code: $sql = SELECT

Re: [PHP] strange linefeed effect

2001-08-29 Thread David Robley
On Wed, 29 Aug 2001 20:30, [EMAIL PROTECTED] wrote: How can I prevent PHP from outputting additional linefeeds when data are echoed from different files (eg. using require). This phenomenon is fucking up my document structures. Any advice? D. Alvarez Arribas [EMAIL PROTECTED]

[PHP] default owner after copy()

2001-08-29 Thread davidt
php-general - Is there a way to change the default owner/group of the file after executing copy(). I prefer the owner of the copied file to be other than 'nobody' davidt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] quote

2001-08-29 Thread davidt
php-general - how to quote the value of the variable? I am looking for function it is something like $testvar=false quotefunc($testvar); now the value is false This failed $boo=false; exec(sed -e s/$boo/true/g $pathfile $newfile) So i replace $boo value with $boo=false; --- add and

[PHP] ignore this msg, test

2001-08-29 Thread davidt
php-general - davidt mailto:[EMAIL PROTECTED] -- 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] foo? bar? wtf?

2001-08-29 Thread Christian Dechery
At 20:11 29/8/2001 +0100, you wrote: Why is it that every example uses foo and bar. In my head I put these together to get FUBAR, the meaning of which I won't spell out for Kyle's benefit. Is this what foo and bar refer to? And WHY are they used so extensively? they don't mean anything... but

Re: [PHP] Making gd Extensions

2001-08-29 Thread Dennis Moore
I am having a similar problem using gd-2.0.1 where the compilation complains about conflicting type gdIOCtx. I am getting a knot on my forehead from the wall in front of me. Any ideas? /dkm - Original Message - From: Chris Mulcahy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
I found an error, but it didn't do me any good. I tried this, any tips... Thanks function assign() { global $adminurl, $string; top(); if ($string) { $data = explode (|, $string); foreach ($data as $foo) {

Re: [PHP] strings in a function return

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 10:45, Gerard Samuel wrote: Mozilla sucks sometimes with email formatting. Correction== Here is a snippet example. function assign() { global $adminurl, $string; top(); if ($string) { $data = explode (|, $string);

Re: [PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
top(); is a function that displays a menu, that works. form is where the form goes. In its current setup less the array/implode/explode/foreach loop I can get it to echo 'a' return that I specify. But its no good, when I have 7 seven fields in the form to process. David Robley wrote: On

Re: [PHP] strings in a function return

2001-08-29 Thread David Robley
On Thu, 30 Aug 2001 11:38, Gerard Samuel wrote: top(); is a function that displays a menu, that works. form is where the form goes. In its current setup less the array/implode/explode/foreach loop I can get it to echo 'a' return that I specify. But its no good, when I have 7 seven fields in

Re: [PHP] strings in a function return

2001-08-29 Thread Gerard Samuel
Im beginning to think that functions aren't all that cracked up to be. I may as well go back to my old non function way of coding. I was displaying the form in the function because the application Im using currently displays forms in functions. Ill try and see what I can do with this new found

[PHP] wildcard redirecting

2001-08-29 Thread Kevin Keeler
Sorry, I couldn't think of a well-worded, descriptive title for what I'm trying to do. As I believe I mentioned before, I use PHP and MySQL to keep a journal. all the entries are accessed by /index.phtml?id=23 , where 23 is replaced by the id of the entry you want. A problem I'm having is that

Re: [PHP] Re: The future of PHP - accessory libraries

2001-08-29 Thread Zeev Suraski
At 11:13 29-08-01, Geoff Caplan wrote: I am not very technical, as you will have gathered. But all I can do is pass on the view of my (rather good) ISP. They offer Java, Perl and PHP, and say that they find PHP much the most difficult to extend. Can you elaborate on what you (or they) mean by

Re: [PHP] Re: The future of PHP - object model

2001-08-29 Thread Zeev Suraski
If I didn't know you're not working for Zend, I'd suspect that was a prepared-question :) http://www.zend.com/engine2/ZendEngine-2.0.pdf At 11:26 29-08-01, Geoff Caplan wrote: Hi folks While we are on the subject of strategic issues for PHP, a quick question on the OOP functionality. As many

[PHP] New feature suggestion: array in string substitution

2001-08-29 Thread ---
The feature i suggest for inclusion in the php core is described below, especially in my first post. I think that is a really good idea and i ask you to spend a moment and read my suggestion. If you think that this feature could be useful, reply to this message and say that you agree (don't

RE: [PHP] New feature suggestion: array in string substitution

2001-08-29 Thread Jack Dempsey
have you looked at the eval function? it will let you do something similar: $string = 'this is a $variable'; $variable = 'template'; eval(\$string = $string); echo $string; - this is a template (haven't checked it, but syntax should be ok) jack -Original Message- From: ---

[PHP] Checksum Question

2001-08-29 Thread rm
In php cr32 will create a checksum number, 10 digits, in linux cksum will create one of 9 digits and sum linux will generate a 5 digit number. We use these numbers in a db field to determine if a file has changed and needs to be reviewed, redone, whatever...rather than keep the orginal file on

Re: [PHP] GUI for PHP

2001-08-29 Thread Matthew A. Schneider
As someone who has little programming experience I'd have to say jump right in and forget the GUI (I'm not aware of any IDE for PHP). PHP is pretty easy (to learn, becoming a master is something else I suspect) and there is always outstanding support either by reading this newsgroup's archive or

RE: [PHP] wildcard redirecting

2001-08-29 Thread Brett
As I believe I mentioned before, I use PHP and MySQL to keep a journal. all the entries are accessed by /index.phtml?id=23 , where 23 is replaced by the id of the entry you want. A problem I'm having is that some search engines' spiders (google, most notably), won't navigate through all the

[PHP] Online Membership Script

2001-08-29 Thread monfort
Hello all, I'm working on an online membership system, for a pay-per-view website. I'm looking for a user authentication system that does the following: -implements 'members only' pages -process membership registration (backed by mysql) -online credit card processing(using authorize.net)

[PHP] Need info-reg Memory leakage tool

2001-08-29 Thread senthilvellan
Hello techies, In Java automatic garbage collection is there.How abt PHP?. Is there any tool(open source/free ware) to test the memory leakage.If it so where i can get that tool?Any suggestions will be appreciated. Thanks in advance. SenthilVellan.

[PHP] Crashing IIS?

2001-08-29 Thread Jason Murray
Hi folks, I had the ... dubious ... pleasure of running some PHP code on an IIS system recently and noticed a peculiar occurrence... I called setCookie(), and something in it caused IIS to crash. Dead. Gone. Shuffled off this mortal coil. Stuffed. Like a parrot. :) As an alternative, I

[PHP] Server Setup

2001-08-29 Thread Ralph Guzman
I am working on setting up a Red Hat Linux Web Server. Is there a benefit to installing PHP/MySQL/Apache by compiling them from source vs. installing these using RedHat's Binary/RPM distributions? What are the pro's and con's of these two methods? Can anybody suggest any pointers considering

RE: [PHP] pdflib + pdf_findfont

2001-08-29 Thread Matthew Loff
I got the same error message, and couldn't figure out why... In the example for pdf_findfont(), it has: $font = pdf_findfont($pdf, Times New Roman, winansi, 1); Try changing your embed parameter to 0... $font = pdf_findfont($pdf, Times New Roman, winansi, 0); ... That fixed it for me. Give

RE: [PHP] Server Setup

2001-08-29 Thread Dan Harrington
In the short run, its faster to install packages, and allows for easy upgrades. In the long run, if you compile from scratch you will get to know the system, you'll know more how it works, and it is (in my experience) MUCH more stable to compile it from source. I've installed PHP/MySQL/Apache

[PHP] Re: Database Preference?

2001-08-29 Thread Michael
James wrote: We have several GUI applications that we are preparing to convert to web-based applications, based primarily on PHP. The applications are based on Informix On-Line (on a SCO Unix server) and MS SQL (on NT). Since we will be doing a port, in any case, I am wondering your

<    1   2   3   >