Re: [PHP] Strange Parser error

2001-02-01 Thread Ben Peter
Phil, posting the scrpit would be good, it's hard to say anything without having seen it. Ben Phil Daintree wrote: I have been working on a script and come to a brick wall which I can't break... I am using Suse Linux 2.2 kernel, PHP4.04pl1 Mysql 3.22 Mod_ssl open_ssl - this is running

Re: [PHP] Dynamic Variable Creation from Forms

2001-02-01 Thread Nuno Silva
[ rswfire ] wrote: I have a problem I'm not sure how to fix. PART I I have a form on a page that creates its variables dynamically. Here's an example: mysql_db_query($db, "SELECT * FROM table"); while ($row = mysql_fetch_array($result)) { echo "INPUT TYPE='CHECKBOX'

[PHP] RE: test ... please ignore ...

2001-02-01 Thread PHPBeginner.com
Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -- 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] RE: test ... please ignore ...

2001-02-01 Thread Navid
Thank you very much, I will look forward to this. This may be just what I was looking for, a complete beginner's tutorial for PHP. Congrats and good luck with the opening night. Sincerely, Navid -Original Message- From: PHPBeginner.com [mailto:[EMAIL PROTECTED]] Sent: Thursday,

[PHP] newlines in textarea boxes..

2001-02-01 Thread James Smith
Alright, on my site, I have a news section, whenever i goto insert new news in the Admin area, I have to insert br or /n in it, while typing in the news. How do I make this a automated process I know it can be done, but addslashes doesn't work and htmlspecailchars() doesn't work what will?

[PHP] Win2K/PHP4.0.4pl1 - include_path mess (won't include from the current directory)

2001-02-01 Thread PHPBeginner.com
Hello guys, I have the following problem: in my PHP.ini (which stays under c:\WINNT) I have include_path= "P:\includes; " ; UNIX: "/path1:/path2" Windows: "\path1;\path2" doc_root= ; the root of the php pages, used

Re: [PHP] connecting to AS400 DB2

2001-02-01 Thread szii
To connect to an AS400, you MUST HAVE THE DRDA package installed. Then you just run the Unified ODBC as usual (which still don't use ODBC but translate to DB2 CLI under the covers.) Look for the DRDA stuff in the DB2 Connect area/CD-ROM. There's stuff on phpbuilder.com about it too. -Szii At

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread mwaples
Shane McBride wrote: I know this is not really a PHP question, but it should make for a good thread. :) I was wondering what other PHP people charge to write PHP? I have just been given a project for a fairly large customer, much larger than I normally do work for. So I am VERY

Re: [PHP] Why sprintf for query?

2001-02-01 Thread Ben Peter
Karl, where is the first line from? it's pretty useless overhead. $q = 'SELECT prodnum, childdesc FROM prodaval' would be second fastest (the string is now parsed as it is in single quotes). fastest would be to directly feed the statement to the query function (e.g. mysql_query) instead of

[PHP] Re-Creation of Objects in sessions

2001-02-01 Thread Thomas Stinner
Hello together, if you currently use sessions and register objects inside of a session it is necessary to include the class definition of such object in every php page to be able to access the contents of such object. This is problematic if you have a system where the main php page does not

Re: [PHP] Cobalt Raq Servers PHP

2001-02-01 Thread WreckRman2
I currently have a dedicated RaQ3 server which runs PHP great. Before I got the RaQ3 my host provider was using a RaQ4 which also ran great. No problems on my end using the RaQ servers and PHP. David Smith - Original Message - From: Jamie Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED]

[PHP] Directory Listing with PHP

2001-02-01 Thread Chris Aitken
(Damn I hate it when I forget to change the subject) Does anyone have, or know of a script which simulates what Apache gives out when it shows the entire contents of a directory ? I find it very handy to use the directory listing of say graphics directories and the like, but I dont want

Re: [PHP] E-mail valid

2001-02-01 Thread Chris Aitken
Does anyone have, or know of a script which simulates what Apache gives out when it shows the entire contents of a directory ? I find it very handy to use the directory listing of say graphics directories and the like, but I dont want others looking into them. What I thought would be a good

[PHP-CVS] cvs: php4 / NEWS /ext/pcre php_pcre.c php_pcre.h

2001-02-01 Thread Andrei Zmievski
andrei Wed Jan 31 21:04:59 2001 EDT Modified files: /php4 NEWS /php4/ext/pcre php_pcre.c php_pcre.h Log: Modified /F handling to allow calling object methods. Index: php4/NEWS diff -u php4/NEWS:1.575 php4/NEWS:1.576 --- php4/NEWS:1.575

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Jonathan Sharp
I find this an interesting topic... One thing that we've found when looking for additional PHP programmers to add is that since PHP has exploded there are a lot of people out there coding in PHP that don't have a background in programming or some of the design considerations. We've looked at

Re: [PHP] E-mail valid

2001-02-01 Thread Sean Cazzell
Does anyone have a function that tells you weather a variable holds a valid e-mail address or not? It depends on what you mean by "valid email address". For example, I can enter "[EMAIL PROTECTED]" which looks valid, but doesn't exist. You can take things a step further and lookup the domain

Re: [PHP] function list

2001-02-01 Thread Stephen Edberg
On Thu, 1 Feb 2001, Josh G wrote: http://www.php.net/quickref.php is probably the best you'll get. no descriptions, but it _is_ a list of all the functions. Gfunk - http://www.gfunk007.com/ See: http://zugeschaut-und-mitgebaut.de/php/ -steve - Original

[PHP] Formatting/Financial

2001-02-01 Thread [ rswfire ]
Is there a simple way to format a variable into an appropriate financial string... 5.0 5.4 4.346 I'd like all of the above to format as $XXX.XX _ Get your FREE download of MSN Explorer at http://explorer.msn.com -- PHP

Re: [PHP] Formatting/Financial

2001-02-01 Thread Josh G
number_format($number,2); Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "[ rswfire ]" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] File Download Completion

2001-02-01 Thread Daniel Grace
On Wednesday, January 31, 2001 at 12:00 PM, "Boaz Yahav" [EMAIL PROTECTED] wrote: Seems like your theory doesn't stand the reality test :) This is the script which for some reason works with Netscape but not with IE (it used to) : ignore_user_abort(0); $filename="test.gz";

RE: [PHP] RE: test ... please ignore ...

2001-02-01 Thread PHPBeginner.com
Thanks for you sweet words! did not expect, though ... We were about to open PHPBeginner.com today, but our local test servers went to hell once we upgraded them to PHP4.0.4. Not because there's a bug or something, but because of configurations. We are still testing the site, and will open it

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Josh G
I hear you. Another thing that's hard to find, is somebody who is a good programmer, and a good graphic designer. I don't really know any, apart from myself, and I've been just shy of being called a lying scumbag by a few HR companies over the years when they look at my resume ;-) This thread

Re: [PHP] function list

2001-02-01 Thread Josh G
http://www.php.net/quickref.php is probably the best you'll get. no descriptions, but it _is_ a list of all the functions. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. -

[PHP] RE: Dynamic Variable Creation from Forms

2001-02-01 Thread Tim Ward
this works, you should be able to do something similar assigning $row["checkboxtype"] as the array key. That way you don't need to know what it's called just the array it is an element of. ?php if (isset($formvars)) { foreach ($formvars as $fvTitle = $fvValue)

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

2001-02-01 Thread eschmid+sic
On Thu, Feb 01, 2001 at 09:36:52AM -, Stig Bakken wrote: ssb Thu Feb 1 01:36:52 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: did someone poop in the code? :-) Index: php4/ext/mysql/php_mysql.c diff -u

Re: [PHP] What is foo?

2001-02-01 Thread Josh G
try the jargon file, it will tell you more about where foo came from. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "Rouvas Stathis" [EMAIL

[PHP] RE: Dynamic Variable Creation from Forms

2001-02-01 Thread Tim Ward
this works, you should be able to do something similar assigning $row["checkboxtype"] as the array key. That way you don't need to know what it's called just the array it is an element of. (I thinmk this bounced first time) ?php if (isset($formvars)) { foreach ($formvars as $fvTitle =

[PHP] upload_max_filesize

2001-02-01 Thread David Smith
Can anyone explain in detail how I can increase the upload_max_filesize to 5 meg instead of the default 2 meg? Thanks, David

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

2001-02-01 Thread Stanislav Malyshev
stasThu Feb 1 02:24:02 2001 EDT Modified files: /php4/ext/standard file.c Log: Add utility function Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.136 php4/ext/standard/file.c:1.137 --- php4/ext/standard/file.c:1.136 Sun Jan

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Robin Vickery
"JG" == "Josh G" [EMAIL PROTECTED] writes: I hear you. Another thing that's hard to find, is somebody who is a good programmer, and a good graphic designer. I've never quite understood why employers seem to expect that a php/perl programmer should also be doing graphic design. They're

Re: [PHP] upload_max_filesize

2001-02-01 Thread David Smith
Sorry, that isn't very detailed but I appreciate your help. Where can I find php.ini? - Original Message - From: Jonatan Bagge [EMAIL PROTECTED] To: David Smith [EMAIL PROTECTED] Sent: Thursday, February 01, 2001 6:41 AM Subject: Re: [PHP] upload_max_filesize David Smith wrote:

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Josh G
nah, it's not that they want me to, it's that they don't believe i can :) although my present employer is rather happy that i can draw and code, he saves a salary that way ;-) Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to

[PHP] List archives with PHP frontend

2001-02-01 Thread Ben Peter
Hi all, has anyone seen mailing list archiving software with a php frontend? more detailed: I am looking for software that sits listening on an email address and will archive all mail that it receives (which in this case would be that of a mailing list). The archive should be accessible by a

[PHP] Image

2001-02-01 Thread David Tandberg-Johansen
Hello! I wonder if anyone can tell me how I can use an another image as an background in a new image? David -- 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] Why sprintf for query?

2001-02-01 Thread Karl J. Stubsjoen
Sprintf formats strings and numbers to a specific format (correct?) then why is this $q = SPRINTF("SELECT prodnum, childdesc FROM prodaval"); like that? Why SPRINTF in this case? We are calling a MySQL table, is it specific to calling a MySQL table or is this required for all calls to a DB...

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Jonathan Sharp
Yeah, I'm consulting though...but yes there are some other options...where does it say $80/hour in the US?! -Jonathan -Original Message- From: Philip Olson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 6:05 PM To: Josh G Cc: PHP User Group Subject: Re: [PHP] Pricing

[PHP] E-mail valid

2001-02-01 Thread Brandon Orther
Hello, Does anyone have a function that tells you weather a variable holds a valid e-mail address or not? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364 www.webintellects.com

php-general Digest 1 Feb 2001 00:27:36 -0000 Issue 485

2001-02-01 Thread php-general-digest-help
php-general Digest 1 Feb 2001 00:27:36 - Issue 485 Topics (messages 37461 through 37567): Bcc email does not work 37461 by: kaab kaoutar Re: Read Vs. Include 37462 by: Daniel Grace REGULAR EXPRESSION 37463 by: kaab kaoutar Odbc Vs Oracle 37464 by: kaab

Re: [PHP] Dynamic Variable Creation from Forms

2001-02-01 Thread Josh G
It is what you're looking for, you just need to think it through a little. instead of $chk_$row["field"] try $foo = "chk_" . $row["field"]; $bar = $$foo; or if you're trying to do something else, you may need $foo = "chk_" . $row; $bar = ($$foo)["field"]; as I'm not sure which order of

[PHP] INAPPROPRIATE IOCTL ERROR

2001-02-01 Thread Kif
help... ok, now this looks quite straightforward... $filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050Proper tyCode=1050003/SAPHI/14665/3"; $file=fopen($filename,"r") or die("cant open $filename"); while(!feof($file)){ $line=fgets($file,4096); echo $line; } but when i run it

php-general Digest 1 Feb 2001 12:39:00 -0000 Issue 486

2001-02-01 Thread php-general-digest-help
php-general Digest 1 Feb 2001 12:39:00 - Issue 486 Topics (messages 37568 through 37625): Re: Dynamic Variable Creation from Forms 37568 by: Josh G 37569 by: Nuno Silva 37573 by: [ rswfire ] 37574 by: Josh G 37575 by: Jonathan Sharp 37617 by:

[PHP] Inappropriate ioctl for device

2001-02-01 Thread Kif
help... ok, now this looks quite straightforward... $filename="http://195.92.38.87/cgi-win/homeview.dll?details1?src=1050Proper tyCode=1050003/SAPHI/14665/3"; $file=fopen($filename,"r") or die("cant open $filename"); while(!feof($file)){ $line=fgets($file,4096); echo $line; } but when i run it

[PHP] How does memory limit work?

2001-02-01 Thread Ralf Hupfer
Hi Everybody, I am trying to prevent my Linux machine from crashing by the use of memory_limit, but is does not seem to work as I expect it to: When a php-script includes itself recursively by accident it grabbes all memory available in a matter of seconds, although I set max_execution_time=30

Re: [PHP] Easy flowchart programm

2001-02-01 Thread Trevor DeVore
At 02:11 PM 2/1/01 +0100, you wrote: Hiya Anyone knows a flowchart program that's very easy in use and good for programming (in php) I saw programms like viso and stuff i think there a better en easier in use programms to make a good programm flow. If your looking for something really easy

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Brian V Bonini
Isn't it illegal in the US to discuss rates in this manner? It's always been my understanding that The U.S. law specifically makes discussion of pricing between competitors (all or some) a federal offense. Am I taking this too literally? -- PHP General Mailing List (http://www.php.net/) To

[PHP] NEWBIE QUESTION

2001-02-01 Thread Stinie Steinbach
DOES ANYONE KNOW WHAT'S WRONG WITH THIS CODE IK WANT TO GENERATE A CODE THAT SELECTS A COUPELE OF PARAMETERS FROM TWO TABLES IN A MYSQL DATABASE... THE QUERY THAT I USE WORKS CORRECTLY BUT I HAVE A PROBLEM WITH THE LINKS I WANT TO GENERATE WITH PHP... I NEED TO CREATE AN ARRAY OF LINKS THAT LOOK

RE: [PHP] upload_max_filesize

2001-02-01 Thread Jon Haworth
It's usually in your system root, but you could have put it somewhere else when you installed PHP. If you're on Windows it's liable to be in \windows\system, \windows\system32, \winnt\system, or \winnt\system32. Most OSes come with a Find Files command these days (just a thought). Once you have

[PHP-CVS] cvs: php4 /build rules_pear.mk

2001-02-01 Thread Andrei Zmievski
andrei Thu Feb 1 06:11:45 2001 EDT Modified files: /php4/build rules_pear.mk Log: Add cvsclean target for standalone extensions. Index: php4/build/rules_pear.mk diff -u php4/build/rules_pear.mk:1.12 php4/build/rules_pear.mk:1.13 ---

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Joe Stump
You are taking this WAY to seriously. What you are talking about is the Sherman Act that developed our current antitrust laws. Specifically you are talking about "price fixing", which is illegal in the US. If EVERY PHP coder in the US got together at a trade show and said "We will all demand

[PHP] PHP and report generation

2001-02-01 Thread Todd Cary
I have a need to produce reports from data in a table *and* the reports need to look the same for all clients (e.g. PDF output). Are there any "report generators" that can be interfaced with with PHP that have a PDF output *or* do I need to "roll my own" for each task/report? Todd -- Todd Cary

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Michael Kimsal
[EMAIL PROTECTED] wrote: Just an observation from some people I know in the USA - they charge whatever they can get away with. How about honestly charging what you think you are worth ? Knowing how to use php means nothing - but if you know it well you will be worth a lot. Slight

[PHP] Tab character

2001-02-01 Thread Karl J. Stubsjoen
Is this a tab character \t -- 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] Tab character

2001-02-01 Thread Martin A. Marques
El Jue 01 Feb 2001 12:17, Karl J. Stubsjoen escribi: Is this a tab character \t yes (depending) -- System Administration: It's a dirty job, but someone told I had to do it. - Martn Marqus email: [EMAIL

[PHP] [Q] Domxml: unlink() method?

2001-02-01 Thread Peter Sabaini
hello, i am rather desperately trying to figure out how to delete a node object from the DOM. say i have a node $node by manually traversing the DOM tree or by an xpath_eval() function call. i can access the children ($node-children()) or the parent ($node-parent()) or add a sub-node

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

2001-02-01 Thread Sascha Schumann
sas Thu Feb 1 07:24:17 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Fix broken ZTS build Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.82 php4/ext/pcre/php_pcre.c:1.83 --- php4/ext/pcre/php_pcre.c:1.82 Wed Jan

[PHP] Problems getting Zend IDE to run.

2001-02-01 Thread Neil Kimber
I'm running on Windows 2000. I've installed the JRE 1.3. I've installed the IDE I run the IDE I get: "Could not find the main class. Program will exit!" As far as I can tell the following appear to be true: There are no other installations of Java installed on the machine.

RE: [PHP] Symbolic link fails when User Authentication comes in

2001-02-01 Thread johnny p.
If you miswrite a CGI script and have lots of system calls, someone could send a command to your script that creates a link to, say, your password file, or something else, and then be able to view it through the web. If you have other users on the system the security hole opens wider. There are

[PHP] Performance hit with certain apache configs?

2001-02-01 Thread Robinson, Mike
Hello, I'm wondering if anyone has any info regarding any performance hits taken as a result of changing the default type to application/x-httpd-php in Apache's httpd.conf, or if there are any _other_ implications of doing this. Any info would be appreciated, as would a cc: cuz I'm not subbed

Re: [PHP] Tab character

2001-02-01 Thread Toby Miller
Yes, and here are others which came from the following URL: http://www.php.net/manual/en/pcre.pattern.syntax.php \a = alarm, that is, the BEL character (hex 07) \cx = "control-x", where x is any character \e = escape (hex 1B) \f = formfeed (hex 0C) \n = newline (hex 0A) \r = carriage return (hex

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Krznaric Michael
I have over 6 years programming experience, almost 3 include PHP. I also have sound database knowledge. Where is the best place to find PHP consulting work? Mike -Original Message- From: Jonathan Sharp [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 31, 2001 9:26 PM To:

[PHP] Setting The Font In SENDMAIL

2001-02-01 Thread Jeff Gannaway
Since so many people are now using MS Outlook for their e-mail which defaults to a proportional-width font (and I think newer Eudoras do too), I've found times that I need to specify a fixed-width font (IE Courier, Courier New) in so that columns of financials line up. How do I do this with

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Brian V Bonini
Ah, I see. Thanks for clarifying. I only asked because the HTML lists @ the HTML Writers Guild strictly prohibit this sort of discussion, their reason always having been that they are concerned about 'price fixing' laws. It always seemed a little overkill to me. Thanks, -Brian *

Re: [PHP] upload_max_filesize

2001-02-01 Thread WreckRman2
Sure, it is a dedicated RaQ3 server, running Linux/Apache, in which I didn't do the PHP install myself. I believe it not to be a dummy account because it shows: * NOTICE TO ROOT USER: Changes to system files may affect * * your warranty. Please consult your warranty card for details. * *

[PHP] Help needed tsrm_error

2001-02-01 Thread Tony Brown
Hello all, I have an issue that I can not seem to resolve. Scenario: Solaris 2.7 Netscape Enterprise Server 4.1 PHP 4.0.4 Oracle 8i Configured as: --enable-debug --enable-pic --enable-inline-optimization --with-regex=system --with-gettext=/usr/bin --enable-safe-mode --enable-sysvmem

[PHP] test, please ignore.

2001-02-01 Thread Zhu George-CZZ010
eom -- 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] Tab character

2001-02-01 Thread Alexander Skwar
So sprach Martin A. Marques am Thu, Feb 01, 2001 at 12:20:54PM -0300: yes (depending) On what? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die

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

2001-02-01 Thread Andrei Zmievski
andrei Thu Feb 1 07:25:53 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: No need for CLS_FETCH(). Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.83 php4/ext/pcre/php_pcre.c:1.84 --- php4/ext/pcre/php_pcre.c:1.83 Thu

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

2001-02-01 Thread Sascha Schumann
sas Thu Feb 1 08:29:07 2001 EDT Modified files: /php4/ext/zlib zlib.c Log: Fix a huge memory leak in the ob_gzhandler. Index: php4/ext/zlib/zlib.c diff -u php4/ext/zlib/zlib.c:1.68 php4/ext/zlib/zlib.c:1.69 --- php4/ext/zlib/zlib.c:1.68 Mon Nov

Re: [PHP] upload_max_filesize

2001-02-01 Thread WreckRman2
Actually it isn't on a windows system. Looking at my phpinfp.php file it shows "Configuration File (php.ini) Path" as /usr/local/lib but I see no file called php.ini in there using ftp or telnet. Any ideas? David - Original Message - From: Jon Haworth [EMAIL PROTECTED] To: 'David Smith'

[PHP] Email Attachment

2001-02-01 Thread Website4S
Hi, I know how to send a standard email, but I`m having a bit of trouble adding an attachment, can anyone put me right? this is my code which works fine... $subject="Hi"; $email="[EMAIL PROTECTED]"; $from="[EMAIL PROTECTED]"; $message="Hi this is me testing my PHP mail script"; mail($email,

[PHP] Transitioning from php3 to php4

2001-02-01 Thread Chana Black
Hi, I'm not sure if this is the proper forum for this question, if it is not, please let me know! I have several sites that need to be upgraded from php3 to php4. In order to test compliance of the php3 code on php4, I need to know exactly which functions have different usage / results on

[PHP] php4 - MS SQL7 connection problem

2001-02-01 Thread Martin Tiscornia
Hello! I'm running: WinNT4, IIS4, php 4.03pl1, and I'm trying to connect to MS SQL 7. Well, I configured the php.ini (extension=php_mssql70.dll), and I copy that .dll to the windows folder. Now I want to connect to the SQL and it doesn't work, it makes a time out. If I do the same things with php

Re: [PHP] Cant get this one

2001-02-01 Thread Chris Lee
works and alot simpler ? $result = mysql_db_query('some_db', "SELECT * FROM people"); while ($r = mysql_fetch_array($result)) { echo $r['name']; } ? -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] ""Mike"" [EMAIL PROTECTED] wrote in message 95c33h$5a3$[EMAIL

RE: [PHP] php4 - MS SQL7 connection problem

2001-02-01 Thread Jason Bouwmeester
Not sure if this helps but when I used PHP and SQL 7 I used odbc set of commands, not mmssql commands (i.e. odbc_pconnect and odbc_close etc). HTH, Jason -Original Message- From: Martin Tiscornia [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 10:27 AM To: [EMAIL PROTECTED]

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Jon Haworth
Of course, this might also be something to do with the fact that if one place is charging 80p/litre and one is charging 90p/litre, where are you going to spend your cash, given there's no difference between the petrol? -Original Message- From: thor [mailto:[EMAIL PROTECTED]]

[PHP] trouble with odbc

2001-02-01 Thread Michael Geier
I am running php4.04pl1 on RedHat6.2 with --esoob (EasySoft) connecting to MSSQL 7.0 on WinNT 4. The connection to this db works from another program on same machine. ? $connection = odbc_connect("dsn","user","password") or die ('could not connect to db'); $query = "SELECT * FROM customer WHERE

Re: [PHP] Is there a 'redo' loop control function?

2001-02-01 Thread Jason Murray
John Luxford wrote: Hello Is there a 'redo' loop control function? All I can find are 'break' and 'continue'. Thanks Lux Hi, Here's one way: for ($nr = 0; $nr 5; $nr++) { if ($arr[$nr] == "foo") { $arr[$nr] = "bar"; /* otherwise it's infinite */ --$nr;

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

2001-02-01 Thread Thies C. Arntzen
thies Thu Feb 1 09:14:19 2001 EDT Modified files: /php4/ext/zlib zlib.c Log: @- When using the ob_gzhandler() PHP now automagically also sets the @ Content-Lengh correctly which enables browsers to use the HTTP @ Keep-Alive feature. (Thies)

Re: [PHP] Setting The Font In SENDMAIL

2001-02-01 Thread Chris Lee
You mean, 'how do I send an HTML email' right? I dont see how you can set a font unless its HTML or RichText. ? $email_address = '[EMAIL PROTECTED]'; $email_return_address = '[EMAIL PROTECTED]'; $email_header = "Content-Type: text/html;\nFrom: $email_return_address"; $email_body =

Re: [PHP] NEWBIE QUESTION

2001-02-01 Thread Johannes Janson
Hi, first of all being desperate for help is okay but please don't write in cabs. try this: while ($row = mysql_fetch_array($result) ) { echo "a href=http://tias.kub.nl/programs/$row[opleiding_afkorting]/ $row[leergang_afkorting/

[PHP] RE: test

2001-02-01 Thread Jon Haworth
No, I didn't get it -Original Message- From: ybcat [mailto:[EMAIL PROTECTED]] Sent: 01 February 2001 15:47 To: [EMAIL PROTECTED] Subject: test OK? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Include quotes inside textbox

2001-02-01 Thread Karl J. Stubsjoen
Hello, I'm trying to pass back a link to the user in a textbox (so they can copy and paste it elsewhere), however my textbox is being parsed incorrectly by the browser because of the " quotes which happen in the link I'm passing - basically the HTML for the text box is getting parsed together

RE: [PHP] Pricing for PHP programming???

2001-02-01 Thread Jerry Lake
Yep, ain't it grand... I got hired on as a designer and somebody got the bright idea that I must be a programmer as well funny I don't remember that on my resume. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online -

RE: [PHP] 404 error checker

2001-02-01 Thread Institute for Social Ecology
Jason, Thanks for the pointer. Worked like a charm, well almost. I had to tweak my .htaccess file as it was messing up some global variables cause i was using absolute URLS to point to my error script. Someone else ask to see the script. You can check it at:

Re: [PHP] Include quotes inside textbox

2001-02-01 Thread Chana Black
If you want to put a " in an echo statement, you need to escape it first by putting the / before it, like /" The function addslashes does this for you. CB At 11:07 AM 2/1/01 -0700, Karl J. Stubsjoen wrote: Hello, I'm trying to pass back a link to the user in a textbox (so they can copy and

[PHP-CVS] cvs: php4 /ext/gd gd.c gd_ctx.c php_gd.h

2001-02-01 Thread Stanislav Malyshev
stasThu Feb 1 07:40:35 2001 EDT Added files: /php4/ext/gdgd_ctx.c Modified files: /php4/ext/gdgd.c php_gd.h Log: Allow usage of GD contexts and not tempfiles in output functions Index: php4/ext/gd/gd.c diff -u

Re: [PHP] Suggest for List

2001-02-01 Thread Chris Lee
Good idea, I agree, this would be nice. It would allow posters to better categorize their question, and would give responders a good place to hangout depending on their skill set. One comment though to reduce your message load is to start using the news://news.php.net you can read and post here.

RE: [PHP] Suggest for List

2001-02-01 Thread Boget, Chris
Good idea, I agree, this would be nice. It would allow posters to better categorize their question, and would give responders a good place to hangout depending on their skill set. This has been suggested before. What you will invariably find is that all users (beginner and advanced) will

[PHP] Java variables - PHP varialbles

2001-02-01 Thread Claude Cormier
Hi!, I am rather a newbie with PHP. Can someone tell me how we can assign the content of a PHP variable to a Java variables in a script (and vice versa). Thanks Claude -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Functions returning by reference

2001-02-01 Thread Richard Heyes
Hi, What are the advantages/disadvantages of functions returning by reference? TIA -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

Re: [PHP] trouble with odbc

2001-02-01 Thread Remco Chang
hi michael, if you read the PHP manual, i think it says something like "odbc_num_rows" might or might not return the correct number of rows after a "SELECT" statement. in the case of easysoft odbc driver (which is what we're using as well), odbc_num_rows always returns -1 on a SELECT statement

[PHP] similar to shuffle()

2001-02-01 Thread Jason Jacobs
Does anyone know of a function in version 3.0.7 that does the same thing to shuffle(), which was implemented in 3.0.8? I'm trying to run a banner script I found, and I guess we were 1 one-hundredth of a version off for this thing... Or, how painless is it to upgrade to the latest version? I'm

RE: [PHP] Suggest for List

2001-02-01 Thread Benjamin Munoz
April, There was a discussion like in 1999 (i remember cuz I was learning PHP then), and Richard Lynch (i think) had a good point that splitting the list would reduce the quality of the answers on the beginners list--PHP newbies answering each others questions, you see. Newbies should continue

RE: [PHP] 404 error checker

2001-02-01 Thread Institute for Social Ecology
John, I had the same problem, but it was a matter of how I was refering the teh 404 file in htaccess. It is working fine for me now. An example of my output is below. I wish I knew more about appache and htaccess to help you out, but I don't. michael WEBSITE-- www.social-ecology.org BAD

Re: [PHP] Suggest for List

2001-02-01 Thread April
Perhaps I missed my own point. I think it's being one of those days. I see questions on the list regularly that I can answer, on days when I'm bored enough to take off the rule vanquishing them to a folder. I realize I'm a beginner, but even I can tell someone "how to pop up a browser window

Re: [PHP] [Q] Domxml: unlink() method?

2001-02-01 Thread Teodor Cimpoesu
Peter Sabaini wrote: hello, i am rather desperately trying to figure out how to delete a node object from the DOM. say i have a node $node by manually traversing the DOM tree or by an xpath_eval() function call. i can access the children ($node-children()) or the parent

Re: AW: [PHP] gethostbyaddr timeout

2001-02-01 Thread Chana Black
set_time_limit() ? Read the docs - this may be the solution. CB At 07:43 PM 2/1/01 +0100, Sebastian Stadtlich wrote: I'm at the end of my rope here... I have a 100,000+ line file containing IP addresses. For each line, I need to run a "gethostbyaddr" command. However, some lines

RE: [PHP] 404 error checker

2001-02-01 Thread John Huggins
Ah yes, this seems to stem from the fact the "ErrorDocument 404 /404.php" is really a kind if redirect. What's weird about this is if you use it one way (in the .htaccess) the PHP variables that appear are pre-redirect. If you put "Errordocument 404 /404.php" into the httpd.conf the PHP

[PHP] errors when included functions call functions

2001-02-01 Thread Charlie Llewellin
Can someone explain to me why this does not work... All pages on my site ?require? header and footer files... the header file calls an ?include? to config.inc and functions.inc I have a function to connect to the db in functions.inc, that many other functions and includes use. All works

Re: [PHP] Suggest for List

2001-02-01 Thread Chris Lee
True enough... -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] ""Boget, Chris"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Good idea, I agree, this would be nice. It would allow posters to better categorize their question, and would give

  1   2   >