Re: [PHP] Do any of you provide hosting?

2001-04-13 Thread Plutarck
http://cihosts.com/ has always made me drool...you might only be one of 90,000, but they are very very customer-centric. They'll do anything to make you happy it would seem, but if you get a dedicated server...you are basically like a little god to them, lol. 24/7 unlimited tech support, as long

[PHP] return parse error

2001-04-13 Thread Peter Harkins
This generates a parse error: mysql_connect("localhost", "root", "rootpw") or return("bar"); But all the following work fine: mysql_connect("localhost", "root", "rootpw") or die("bar"); mysql_connect("localhost", "root",

Re: [PHP] ROUND inconsistency

2001-04-13 Thread Yasuo Ohgaki
Correction, MySQL is not returning floor, since it returns 2 for round(1.5). - I didn't see it. MySQL should not return 2 for round(2.5), but it should return 3. I think it's MySQL bug. How about ask in MySQL mailing list? -- Yasuo Ohgaki ""Yasuo Ohgaki"" [EMAIL PROTECTED] wrote in message

Re: [PHP] return parse error

2001-04-13 Thread Jeffrey Paul
At 03:56 AM 4/13/2001, Peter Harkins wrote: This generates a parse error: mysql_connect("localhost", "root", "rootpw") or return("bar"); But all the following work fine: mysql_connect("localhost", "root", "rootpw") or die("bar");

[PHP] apache module win32

2001-04-13 Thread Dominick Vansevenant
Hello, I am looking for a compiled win32 apache module for php4, I suppose this is a DLL, can anyone tell me where I can find this? Otherwise I'll have to install Visual C or something. The more features the better I suppose. Thanks, Dominick -- PHP General Mailing List

Re: [PHP] apache module win32

2001-04-13 Thread Alexander Wagner
Dominick Vansevenant wrote: I am looking for a compiled win32 apache module for php4, I suppose this is a DLL, can anyone tell me where I can find this? Otherwise I'll have to install Visual C or something. The more features the better I suppose. http://www.php4win.de regards Wagner --

Re: [PHP] What variable are being sent to my script?

2001-04-13 Thread Johannes Janson
"Brandon Orther" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I there a way for me to find out what variables are being sent to script? Example: http://www.myscript.com/myscript.php?var1=asdfvar2=asdf that above would be $var1 and $var2 if

[PHP] Re: [PHP-QA] Looking for users list

2001-04-13 Thread Sebastian Bergmann
Cyril Beaussier wrote: I m looking for a list of PHP business web sites Yahoo, HP, IBM or Amazon use PHP for its official site? Thanks for help The QA in php-qa@ does not stand for "Questions Answers", but for "Quality Assurance". Please ask your question on the php-general mailinglist,

[PHP] Re: stdin/stderr

2001-04-13 Thread Jake Fan
Is there a way to execute a system command and get both stdin and stderr into separate variables (without storing either one of them into a temp file)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] apache module win32

2001-04-13 Thread Dominick Vansevenant
Thanks, that was fast :-) D. -Original Message- From: Alexander Wagner [mailto:[EMAIL PROTECTED]] Sent: vrijdag 13 april 2001 11:01 To: Dominick Vansevenant; Php-General Subject: Re: [PHP] apache module win32 Dominick Vansevenant wrote: I am looking for a compiled win32 apache module

Re: [PHP] no reponse -- Need FTP help

2001-04-13 Thread Christian Reiniger
On Friday 13 April 2001 06:09, you wrote: hmm, good idea, but the only access I have to the remote machine is ftp. Can't put a script on it. I am getting the feeling that I Er, yes, that's the point :) You want to move files from host A (webserver with PHP installed) to host B (ftp access

Re: [PHP] Easy News Script

2001-04-13 Thread Christian Reiniger
On Friday 13 April 2001 04:36, you wrote: It's easy once you get the hang of it. I use: // Format of MySQL DATETIME timestamp. $time = date("Y-m-d H:i:s"); $time is ready for insertion into MySQL. To get the time out though you'll need to use the unix timestamp function in mysql. Using

Re: [PHP] Developing new PHP modules

2001-04-13 Thread Bo Kleve
There was an article in the January 2001 issue of Webtechniques (http://www.webtechniques.com) titled "Extending PHP" where Sterling Hughes builds a module for converting between Roman and Arabic numerals. /BoK "Carlos Serro" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: ROUND inconsistency

2001-04-13 Thread Sinisa Milivojevic
Lee Howard writes: Using MySQL 3.23.32 on RedHat Linux 7.0... MySQL's ROUND function rounds 5 up when the preceding digit is odd and down when the preceding digit is even. mysql select round(1.5); ++ | round(1.5) | ++ | 2 | ++ 1 row in

[PHP] MySQL for translation ?

2001-04-13 Thread Marian Vasile
I have a web site for online ads. I want to translate my web site in at least 3 languages. The main problem is that I don't know which solution I should use... I have one solution but I think it will slow down my web site... The solution is: put all the words (or phrases) in a database and

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

2001-04-13 Thread Wez Furlong
wez Fri Apr 13 05:00:12 2001 EDT Modified files: /php4/ext/gdconfig.m4 gd.c php_gd.h Log: Added GD 2.0.1 support. Index: php4/ext/gd/config.m4 diff -u php4/ext/gd/config.m4:1.54 php4/ext/gd/config.m4:1.55 --- php4/ext/gd/config.m4:1.54 Tue Mar

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Johannes Janson
Hi, I'll spare you from the stuff with stupid question and answers http://httpd.apache.org/dist/httpd/binaries/win32/ is the address to the win32 binary. get 1.3.19 cause some more einvironment variables are supported. To set the wholee thing up I can recommend this:

[PHP] getting all variables from session into array

2001-04-13 Thread Tobias Talltorp
I know this question has been up here before, but all the searches I did turned up with to many or no hits, so I couldnĀ“t find anything. I want to get all the variables from a session and get them into an array like this: $sessionvar[userid] $sessionvar[user] $sessionvar[email] ... I think I

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
Ok, I have Apache running, and PHP running. However, when I look at http://localhost/test.php it works (e.g. phpinfo() shows all the info), but I get 3 popups: "Unable to load dynamic library 'php_pdf.dll' - The specified module could not be found." I click OK "The dynamic link library

Re: [PHP] getting all variables from session into array

2001-04-13 Thread Rasmus Lerdorf
There is already such an array. It is $HTTP_SESSION_VARS -Rasmus On Fri, 13 Apr 2001, Tobias Talltorp wrote: I know this question has been up here before, but all the searches I did turned up with to many or no hits, so I couldnĀ“t find anything. I want to get all the variables from a

RE: [PHP] MySQL for translation ?

2001-04-13 Thread Altunergil, Oktay
Why don't you define all of those in seperate text files and include the correct text file according to the users' preference. You can take a look at how Mantis (it's a ligthning fast and small Bug Tracking tool) does this at http://mantisbt.sourceforge.net Oktay -Original Message-

[PHP] Weird Messages upon install upgrade

2001-04-13 Thread Chris Aitken
Hi All, Ive just run into some bizarre problem. I upgraded to a more recent version of PHP and have run into some bizarre problem. We were running version 4.0bsomething on a FreeBSD box with Apache and ive just installed 4.0.3pl1 and ive managed to get pretty much everything working, except for

[PHP] Parsing HTML tags

2001-04-13 Thread Chris Empson
Could anyone tell me how to extract a string from between a pair of HTML tags? Specifically, I would like to extract the page title from between the title and /title tags. I have read the regular expression docs and I'm still a bit stuck. Can anyone help? Thanks in advance, Chris Empson

Re: [PHP] getting all variables from session into array

2001-04-13 Thread Tobias Talltorp
Does it act as a "normal" array like: $array = array(one = "Number One", two = "Number Two"); How would I go about to make this loop work (if I use the above array it works): while(list($key, $val) = each($HTTP_SESSION_VARS)) echo "$key - $val"; } Regards, // Tobias Talltorp "Rasmus

RE: [PHP] Parsing HTML tags

2001-04-13 Thread Brian Paulson
I use this function function title($filename,$dir) { $loc = "path/to/dir/where/file/is"; if(is_file("$loc/$filename")) { $open=fopen("$loc/$filename","r"); while(!feof($open)) { $line=fgets($open,255);

Re: [PHP] Parsing HTML tags

2001-04-13 Thread Tobias Talltorp
// Get the webpage into a string $html = join ("", file ("http://www.altavista.com")); // Using eregi eregi("title(.*)/title", $html, $tag_contents); // Using preg_match (faster than eregi) // The i in the end means that it is a case insensitive match preg_match("/title(.*)\/title/i", $html,

[PHP] Calling Functions without all the arguments

2001-04-13 Thread Chris Aitken
On Fri, 13 Apr 2001, Chris Aitken wrote: --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on line 257 ---

php-general Digest 13 Apr 2001 14:15:39 -0000 Issue 625

2001-04-13 Thread php-general-digest-help
php-general Digest 13 Apr 2001 14:15:39 - Issue 625 Topics (messages 48388 through 48446): MySQL Results NULL Error 48388 by: Chris Anderson Fetch_row 48389 by: Mike P 48417 by: Steve Edberg 48418 by: John Keith Re: is_null 48390 by: CC Zona

Re: [PHP] Calling Functions without all the arguments

2001-04-13 Thread Hardy Merrill
Chris Aitken [[EMAIL PROTECTED]] wrote: On Fri, 13 Apr 2001, Chris Aitken wrote: --- Warning: Missing argument 2 for stripe() in /location/to/included/file.php on line 257 Warning: Missing argument 3 for stripe() in /location/to/included/file.php on

[PHP] Compile Problems

2001-04-13 Thread Rohan Amin
Configuration: Red Hat Linux 7.0 PHP 4.0 PL1 iODBC 3.0.4 Sablotron 0.5.1 Apache 1.3.19 We are attempting to compile PHP with iodbc, Java, and XML/Sablotron support as a static module for Apache 1.3.19. Depending upon the combination of options, the module fails to build or builds and dies with

Re: [PHP] Calling Functions without all the arguments

2001-04-13 Thread Chris Aitken
On Fri, 13 Apr 2001, Hardy Merrill wrote: I found the same problem - when we upgraded to PHP4, function calls that used to work and NOT provide all the parameters, started failing. The way I fixed it was to give each parameter a default value *IN* the function definition, like: function

Re: [PHP] Calling Functions without all the arguments

2001-04-13 Thread Rasmus Lerdorf
If a function has not been defined to take optional arguments, then you *must* provide these arguments when you call the function. The fact that previous versions of PHP incorrectly let you do this was at best an undocumented misfeature, but more likely a bug. And yes, having optional arguments

Re: [PHP] Compile Problems

2001-04-13 Thread Rasmus Lerdorf
I assume you mean PHP 4.0.4pl1 I would go grab a recent snapshot from http://snaps.php.net and see if that solves the problem. If it doesn't, let us know and we can try to track it down. If it does then it is obviously an issue that has been fixed and you can either just stick with the

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
Hi, thanks for the tips. first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use. php_pdf.dll (the first error - the other errors seem to have stopped all by themselves) is actually in the /extensions/ subdir of php.

Re: [PHP] Calling Functions without all the arguments

2001-04-13 Thread Chris Aitken
On Fri, 13 Apr 2001, Rasmus Lerdorf wrote: If a function has not been defined to take optional arguments, then you *must* provide these arguments when you call the function. The fact that previous versions of PHP incorrectly let you do this was at best an undocumented misfeature, but more

[PHP] I know POST Uploads, what about downloads?

2001-04-13 Thread Chris Anderson
I have a large script set that allows people I host to manage their files on my server until they have a FTP account setup. Unfortunately the only way they can save an uploaded file is to r-click on the link in the managers listing and choose "Save link target". This obviously doesn't work for

[PHP] how to get num of sessions vars?

2001-04-13 Thread phpman
I thought this would work.. $num = count($HTTP_SESSION_VARS); ..but it doesn't. I can access the session vars themselves, so I know they're there. Help. -Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4 - solved!

2001-04-13 Thread Peter Van Dijck
I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to the windows/winnt/system32 directory (it was just a hunch) and behold, it worked brilliantly!! Thanks! Now I just have to figure out how to: 1- get mysql to work 2- get virtual domains to worl Peter hello, i'm

[PHP] peter.johansson@era.ericsson.se PLEASE UNSUBSCRIBE!!!

2001-04-13 Thread Chris Anderson
I am so tired of receivng multiple error emails when I post

Re: [PHP] how to get num of sessions vars?

2001-04-13 Thread Keyur Kalaria
Hey Dave, you can try the following: num = sizeof($HTTP_SESSION_VARS); regards keyur - Original Message - From: "phpman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 8:40 PM Subject: [PHP] how to get num of sessions vars? I thought this would work..

Re: [PHP] I know POST Uploads, what about downloads?

2001-04-13 Thread Pierre-Yves Lemaire
Hello, Someone posted this a couple of days ago, might help you. $headertxt = "Content-Disposition: attachment; filename=\"".$filename."\""; header("Content-Type: application/force-download");header($headertxt); py At 09:51 AM 4/13/01 -0400, you wrote: I have a large script set that allows

Re: [PHP] getting all variables from session into array

2001-04-13 Thread Christian Reiniger
On Friday 13 April 2001 16:03, you wrote: Does it act as a "normal" array like: $array = array(one = "Number One", two = "Number Two"); How would I go about to make this loop work (if I use the above array it works): while(list($key, $val) = each($HTTP_SESSION_VARS)) echo "$key - $val";

RE: [PHP] Do any of you provide hosting?

2001-04-13 Thread Jeff Pearson
Check out www.eaccounts.net. Im using them for my sites. They support basically everything and anything they dont have they are willing to add. The best part is they charge based on an actual usage instead of charging you for things you dont use because its part of a 'package'. Jeff Pearson

Re: [PHP] peter.johansson@era.ericsson.se PLEASE UNSUBSCRIBE!!!

2001-04-13 Thread Richard
I agree. Why do the newsgroup forward some of the messages to this guy? Attack? - Richard ""Chris Anderson"" [EMAIL PROTECTED] wrote in message 005701c0c42d$2b6e5f80$c61012d1@null">news:005701c0c42d$2b6e5f80$c61012d1@null... I am so tired of receivng multiple error emails when I post --

Re: [PHP] how to get num of sessions vars?

2001-04-13 Thread phpman
Thanks, another quick question. That works and I can access the variables still but this for ($x=0;$x$s;$x++) { $tmp = $HTTP_SESSION_VARS[$x]; echo("ptmp=$tmp/p\n"); } outputs tmp= Why? How do I cycle through each session var and get its name and value? ""Keyur Kalaria"" [EMAIL

RE: [PHP] What variable are being sent to my script?

2001-04-13 Thread Jerry Lake
Loop through $HTTP_POST_VARS Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 4:28 PM To:

[PHP] file upload

2001-04-13 Thread luis
hi! I've php4.0.4pl1 and apache1.3.14 installed and I got a problem after the file is uploaded, using the copy function. The uploaded file was automatically added 2 lines in the beggining of the file, tellling the content-type of the file. Is there any way not to write those line into the

Re: [PHP] Developing new PHP modules

2001-04-13 Thread Philip Olson
Some potentially useful links : Zend API Documentation : - http://www.zend.com/zend/api.php Extending PHP :

[PHP] How to I convert the PHP variable back into Javascript?

2001-04-13 Thread Scott Fletcher
When I use the form post or get method and when submitted, goes to the next page. I can get the data in PHP by adding the "$" to the javascript / html variable. I have not been able to put the php variable back into javascript variable for javascript scripting. I doubt if it would work if

Re: [PHP] How to I convert the PHP variable back into Javascript?

2001-04-13 Thread Gianluca Baldo
SF I have not been able to put the php variable back into javascript variable SF for javascript scripting. I doubt if it would work if I assign the php SF variable to the html variable then have the javascript pick it up. You don't have "HTML variables"... you have form's fields with a VALUE.

[PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
Hi, I installed php4 and apache on Win NT, it all works. Except that I get this error: open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in So it can't save those session variables. Do I need to change permissions? Or set up a folder? If so where / how? Also: I can't seem

Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Fabian Raygosa
As far as mysql on windows goes i think you can just use the DOS command line to type mysql as wellas use their MySqlManager.exe. But if you are used to unix stick with the DOS command line and make sure you are in the mysql/bin directory and it should be the same interface - Original

Re: [PHP] file upload

2001-04-13 Thread maatt
Is there any way not to write those line into the uploaded file? It's a bug in 4.0.4pl1 on (AFAIK) RH7 and Apache. Will be fixed in 4.0.5. You can't avoid them, but use something like the following to strip them out: /* void fix_broken_header(reference file) * Incorporates fix for problem

Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Phil Driscoll
Except that I get this error: open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in Looks like your session.save_path is set incorrectly - set it to a sensible windows path (eg C:\php\session or similar) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

[PHP] URGENT: Session problem not carrying UserName over

2001-04-13 Thread Mike Yuen
I have this calendar and it's supposed to print out the word "Activity" if there is an event booked on that day. Everything works great except the query isn't finding the username. I did a print "$CUserName is CUserName" and it works great - so I know I started my session and it's accessible

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

2001-04-13 Thread Thies C. Arntzen
thies Fri Apr 13 11:22:14 2001 EDT Modified files: /php4/ext/standard string.c Log: @- Fixed crash in pathinfo() Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.193 php4/ext/standard/string.c:1.194 ---

Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Peter Van Dijck
more probs: I shut down my machine and restarted, now apache won't run properly. Typing localhost gives server error: The server encountered an internal error or misconfiguration and was unable to complete your request. There is nothing in the server error logs. ... I don't know where to start

Re: [PHP] URGENT: Session problem not carrying UserName over

2001-04-13 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Mike Yuen") wrote: /// // PROBLEM IS HERE CUserName doesn't show up $eventrows = 0; $query =

Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Fabian Raygosa
Apache on NT is a service, check on control panel/services to see if it is running, beyond that i would need more details ... - Original Message - From: "Peter Van Dijck" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 13, 2001 11:46 AM Subject: Re: [PHP] install question:php

[PHP] how to put javascript array into php array?

2001-04-13 Thread Scott Fletcher
Hi! How do I convert the javascript array into the PHP array? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] help with php java support

2001-04-13 Thread Spencer Gibb
help! I'm trying to install java support for php here is the java section from php.ini [java] java.class.path=/usr/lib/php/extensions/php_java.jar java.home=/apps/java java.library.path=/usr/lib/php/extensions java.library=/usr/lib/php/extensions/libphp_java.so extension=libphp_java.so here are

[PHP] casting arrays as objects

2001-04-13 Thread Dean Hall
Can you cast an array to an object of your choosing? If so, will the keys of the array match up with the attributes of your object? Say I have a class like this: class Foo { var $foo; var $bar; function Foo($foo = '', $bar = '') { ... } ... } Then I have an array like:

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

2001-04-13 Thread Thies C. Arntzen
thies Fri Apr 13 11:23:08 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard string.c Log: @- Fixed crash in pathinfo() Index: php4/ext/standard/string.c diff -u php4/ext/standard/string.c:1.193 php4/ext/standard/string.c:1.193.2.1 ---

[PHP] stdout/stderr

2001-04-13 Thread Jake Fan
Is there a way to execute a system command and get both stdout and stderr into separate variables (without storing either one of them into a temp file)? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] Updating Sessions

2001-04-13 Thread Jordan Elver
Hi, I've got a multi page form and I'm using sessions to keep track of all the variables between the pages. SO I fill in page one of the form and add the variables to a session. Then I can go on completeing the rest etc. My problem is that I want my users to be able to go back to the pages

Re: [PHP] Updating Sessions

2001-04-13 Thread CC Zona
In article 01041321314700.01991@localhost, [EMAIL PROTECTED] (Jordan Elver) wrote: Hi, I've got a multi page form and I'm using sessions to keep track of all the variables between the pages. SO I fill in page one of the form and add the variables to a session. Then I can go on

[PHP] PHP4 parsing canceled

2001-04-13 Thread Norbert Pfeiffer
Hello generals, I work since version 3.0.3 with PHP and had until today no problems with it. In this week, three Interpreter have adjusted her service to three same computers, with Win98 and OmniHTTPd, one after the other. I have tested all versions of PHP4, no one works more, also the newest

Re: [PHP] ROUND inconsistency

2001-04-13 Thread Philip Hallstrom
In article 9b6c4v$m41$[EMAIL PROTECTED] you write: Correction, MySQL is not returning floor, since it returns 2 for round(1.5). - I didn't see it. MySQL should not return 2 for round(2.5), but it should return 3. I think it's MySQL bug. How about ask in MySQL mailing list? I don't think it's

[PHP] undefined symbol error

2001-04-13 Thread Curtis Maurand
hello, I'm trying to compile on RedHat 6.1 (latest changes applied). I can compile with mysql support and using the apxs and it compiles fine and it runs. This works for both 3.0.16 and 4.0.4pl1. As soon as I try to compile in --with-imap. it comiles fine, but when I run it I get an

[PHP] Sessions?

2001-04-13 Thread Ashley M. Kirchner
I'm used to building pages that contain links that have variables passed on the URL (somepage.php?var1=1var2=2...) and I'm now looking into building a site that will have quite a bit of these that will have to 'live' from page to page, occasionally getting reset, or changed by new page.

Re: [PHP] casting arrays as objects

2001-04-13 Thread Morgan Curley
why mot just ?php $foo = new Foo( $db-fetchRow(DB_FETCHMODE_ASSOC) ); ? If you have to leave this part of the project for any length of time, coming back to the above would be much less confusing. ( i think so anyway :) morgan At 03:12 PM 4/13/2001 -0500, you wrote: Can you cast an

[PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-13 Thread Stig Bakken
ssb Fri Apr 13 13:47:13 2001 EDT Added files: /php4 TODO-4.1.txt Log: here's a preliminary list of stuff for 4.1 Index: php4/TODO-4.1.txt +++ php4/TODO-4.1.txt * define PEAR_INSTALL_DIR, PHP_EXTENSION_DIR, PHP_BINDIR and more in main/main.c

[PHP] XML via socket connection

2001-04-13 Thread phpman
All the docs i've looked at for parsing XML takes a file as input. What's the proceedure for opening a socket connection and doing XML transmissions via TCP/IP. Do I need to do socket calls through PHP to open an XML connection (manually send all the HTTP headers and such?). Is there a built in

Re: [PHP] how to get num of sessions vars?

2001-04-13 Thread phpman
nevermind ""phpman"" [EMAIL PROTECTED] wrote in message 9b78hr$uvb$[EMAIL PROTECTED]">news:9b78hr$uvb$[EMAIL PROTECTED]... Thanks, another quick question. That works and I can access the variables still but this for ($x=0;$x$s;$x++) { $tmp = $HTTP_SESSION_VARS[$x]; echo("ptmp=$tmp/p\n");

[PHP] php, mysql, and wysiwyg.

2001-04-13 Thread FredrikAT
Hi! I'm starting a news site, and I have one problem. (not with php or mysql, workin' fine!): 1. I want my authors to be able to make the text bold, italic ++, but I can't find anything that works. 2. The best sollution must be something similar to hotmails... I've looked around for ages, but

Re: [PHP] casting arrays as objects

2001-04-13 Thread Dean Hall
"Morgan Curley" [EMAIL PROTECTED] wrote: why mot [sic] just ?php $foo = new Foo( $db-fetchRow(DB_FETCHMODE_ASSOC) ); ? If you have to leave this part of the project for any length of time, coming back to the above would be much less confusing. ( i think so anyway :) Good idea.

[PHP] foreach function

2001-04-13 Thread kenny.hibs
My isp uses php3 and some of my scripts have the function 'foreach' which is php4. Is there are way to fix this kenny -- 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

[PHP] Any Australian Conferences coming up????

2001-04-13 Thread Matthew M. Boulter
Heya Guys, This question is primarily directed at the PHP Core development team. Is there any plans for the CORE PHP CREW (Zeev, Andrei, Sasha, etc...) coming Down Under to a conference or some such so us Aussie's can have a chance to say 'hi'? Thanx ---

[PHP] HTML and PHP?

2001-04-13 Thread Jason Caldwell
Is there a utility that I can use that will take a bunch of HTML and encapsulate it in the PRINT command? i.e. PRINT("{html stuff}\n"); ?? I have a ton of HTML pages that I want to make dynamic, but dread having to type the PRINT command in front of every line of html, and let alone having at

[PHP-CVS] cvs: php4 / ChangeLog ChangeLog.1999.gz ChangeLog.2000.gz

2001-04-13 Thread Stig Bakken
ssb Fri Apr 13 16:33:50 2001 EDT Added files: /php4 ChangeLog.1999.gz ChangeLog.2000.gz Modified files: /php4 ChangeLog Log: * separated and compressed changelogs from 1999 and 2000 Index: php4/ChangeLog diff -u

Re: [PHP] return parse error

2001-04-13 Thread Yasuo Ohgaki
Small additional info about "expression" and "language construct". Expression is anything that have value. Therefore, if language construct returns value = valid expression. Following code works: ($val) ? include('abc.php') : include('def.php'); Following code does NOT work: ($val) ?

[PHP-CVS] cvs: php4 / TODO-4.1.txt

2001-04-13 Thread Derick Rethans
derick Fri Apr 13 16:52:15 2001 EDT Modified files: /php4 TODO-4.1.txt Log: - Added the note about function names Index: php4/TODO-4.1.txt diff -u php4/TODO-4.1.txt:1.1 php4/TODO-4.1.txt:1.2 --- php4/TODO-4.1.txt:1.1 Fri Apr 13 13:47:12 2001

Re: [PHP] HTML and PHP?

2001-04-13 Thread DanO
try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is there a utility that I can use that

Re: [PHP] HTML and PHP?

2001-04-13 Thread Les Neste
Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL

[PHP-CVS] cvs: php4 /ext/gd config.m4

2001-04-13 Thread Wez Furlong
wez Fri Apr 13 17:15:26 2001 EDT Modified files: /php4/ext/gdconfig.m4 Log: When using freetype2, turn off libttf and turn on native gd ttf. Index: php4/ext/gd/config.m4 diff -u php4/ext/gd/config.m4:1.55 php4/ext/gd/config.m4:1.56 ---

Re: [PHP] php, mysql, and wysiwyg.

2001-04-13 Thread Dean Hall
""FredrikAT"" [EMAIL PROTECTED] wrote: Hi! I'm starting a news site, and I have one problem. (not with php or mysql, workin' fine!): 1. I want my authors to be able to make the text bold, italic ++, but I can't find anything that works. 2. The best sollution must be something similar to

Re: [PHP] XML via socket connection

2001-04-13 Thread Dean Hall
""phpman"" [EMAIL PROTECTED] wrote: All the docs i've looked at for parsing XML takes a file as input. What's the proceedure for opening a socket connection and doing XML transmissions via TCP/IP. Do I need to do socket calls through PHP to open an XML connection (manually send all the HTTP

Re: [PHP] header( )

2001-04-13 Thread Patrick Dunford
. -- === Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ And my God will meet all your needs according to his glorious riches in Christ Jesus. -- Philippians 4:19 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010413

Re: [PHP] HTML and PHP?

2001-04-13 Thread Patrick Dunford
will meet all your needs according to his glorious riches in Christ Jesus. -- Philippians 4:19 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010413 === Created by Mail2Sig - http://pdunford.godzone.net.nz/softwar

php-general Digest 14 Apr 2001 03:17:42 -0000 Issue 626

2001-04-13 Thread php-general-digest-help
php-general Digest 14 Apr 2001 03:17:42 - Issue 626 Topics (messages 48447 through 48507): Re: Calling Functions without all the arguments 48447 by: Hardy Merrill 48449 by: Chris Aitken 48450 by: Rasmus Lerdorf 48454 by: Chris Aitken Compile Problems

Re: [PHP] HTML and PHP?

2001-04-13 Thread Steve Werby
"Les Neste" [EMAIL PROTECTED] wrote: Cool. Does that work with echo too, do you know? ? echo STOP html Yes, echo can use here-docs! Is it really that *hard* to take 1 minute to test for yourself? ;-) And you can use whatever marker (the 'STOP' above and below) you choose. Just make sure you

Re: [PHP] HTML and PHP?

2001-04-13 Thread Jason Caldwell
oh... that rocks! would i have to still add the slashes? /n, /" -- etc? "Les Neste" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Cool. Does that work with echo too, do you know? At 06:19 PM 4/13/2001 -0700, DanO wrote: try this: ? print EOP html

[PHP] Reading a file and changing a href tag values

2001-04-13 Thread Brett
I have been able to find out how to read a file and replace certain matches, but I want to be able to take a web page stored in a string and change the a href tags and add www.mysite.com?page= before the actual link value so the new url would read www.mysite.com?page=original_url. Can I do

Re: [PHP] HTML and PHP?

2001-04-13 Thread Jason Caldwell
actually just test this... don't need slashes... it works GREAT! thanks. ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b8it7$npq$[EMAIL PROTECTED]">news:9b8it7$npq$[EMAIL PROTECTED]... oh... that rocks! would i have to still add the slashes? /n, /" -- etc? "Les Neste" [EMAIL

[PHP] Need a URL....

2001-04-13 Thread rm
My hard drive died, lost my bookmarks. Can someone post the url of the site that archives this list...it was marc something or otherneed to find a piece of code I know was posted to this listthank rm __ Do You Yahoo!? Get email at your

Re: [PHP] Need a URL....

2001-04-13 Thread Keyur Kalaria
it is http://marc.theaimsgroup.com/ regards keyur - Original Message - From: "rm" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, April 14, 2001 11:23 AM Subject: [PHP] Need a URL My hard drive died, lost my bookmarks. Can someone post the url of the site that