[PHP] array output as a variable?

2001-04-12 Thread midget2000x
another newbie programmer question... is it possible to output the results of an array loop into a variable, or directly into an SQL call? Obviously the code below is impossible, but illustrates what I want to do: //declare the array $info_request = array (1 =

Re: [PHP] array output as a variable?

2001-04-12 Thread Brian Clark
Hi midget2000x, @ 2:13:10 AM on 4/12/01, midget2000x wrote: ... Obviously the code below is impossible, but illustrates what I want to do: //declare the array $info_request = array (1 = "firstname","lastname","email","howfound","optin","comments","request_type","request_bucket","date");

Re: [PHP] array output as a variable?

2001-04-12 Thread elias
$info_request = array (1 = "firstname","lastname","email","howfound","optin","comments","request_type", "request_bucket","date"); $flds = implode(",", $info_request); $sql = "INSERT INTO mytable($flds)" mysql_query($sql) hope it helps at least a little. -elias http://www.kameelah.org/eassoft

Re: [PHP] array output as a variable?

2001-04-12 Thread Brian Clark
@ 2:39:12 AM on 4/12/01, Brian Clark wrote: ... @ 2:13:10 AM on 4/12/01, midget2000x wrote: ... //declare the array $info_request = array (1 = "firstname","lastname","email","howfound","optin","comments","request_type","request_bucket","date"); Sorry, I guess

RE: [PHP] HELP with (Fatal Error: Call to a member function on a non-object)

2001-04-12 Thread Taylor, Stewart
This error suggests the $tpl is undefined i.e. you forget to create it using new. -Stewart -Original Message- From: g0thic [mailto:[EMAIL PROTECTED]] Sent: 12 April 2001 01:17 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [PHP] HELP with (Fatal Error: Call to a member function on

Re: [PHP] VERY URGENT -- MIRROR FOR PHP.NET ??

2001-04-12 Thread Brian Clark
Hi Reuben, @ 3:33:21 AM on 4/12/2001, Reuben D Budiardja wrote: I'm in the middle of crisis. I need to meet the deadline tomorrow, and tonight the www.php.net seems to be down. Anyone know any mirror site of www.php.net? I can get there using http://us.php.net/ If that doesn't fly, try the

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

2001-04-12 Thread Maxim Derkachev
Hello Joe, Wednesday, April 11, 2001, 10:49:31 PM, you wrote: JS What are the differences in these? I know with while() you have to reset() the JS array afterwards, but foreach() you don't. Also foreach() appears to be quite JS a bit faster. You don't need to reset() the array, You also don't

Re: [PHP] VERY URGENT -- MIRROR FOR PHP.NET ??

2001-04-12 Thread Rasmus Lerdorf
Pick just about any country code. ie. ca.php.net, uk.php.net, de.php.net, us2.php.net (second US mirror) On Thu, 12 Apr 2001, Reuben D Budiardja wrote: Hi All, I'm in the middle of crisis. I need to meet the deadline tomorrow, and tonight the www.php.net seems to be down. Anyone know any

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

2001-04-12 Thread Brian Clark
Hi Maxim, @ 3:39:55 AM on 4/12/2001, Maxim Derkachev wrote: Hello Joe, Wednesday, April 11, 2001, 10:49:31 PM, you wrote: JS What are the differences in these? I know with while() you have to reset() the JS array afterwards, but foreach() you don't. Also foreach() appears to be quite JS a

Re: [PHP] THANKS (was: VERY URGENT -- MIRROR FOR PHP.NET ??)

2001-04-12 Thread Reuben D Budiardja
I see. Wonderful !! Thanks again to anyone who responded within minutes. This is a great list :). Reuben D. B At 12:37 AM 4/12/01 -0700, Rasmus Lerdorf wrote: Pick just about any country code. ie. ca.php.net, uk.php.net, de.php.net, us2.php.net (second US mirror) On Thu, 12 Apr 2001,

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

2001-04-12 Thread Brian Clark
@ 3:45:39 AM on 4/12/2001, Brian Clark wrote: ... You don't need to reset() the array, You also don't need list() and each(), which impose additional overhead. You put the array loop to the foreach() implementation, which is in C, instead of implementing it with PHP with while(), list() and

[PHP] Any limits while using FILE()

2001-04-12 Thread elias
mydb.txt username:password:email:fullname:phone what are the appropriate ways to read the mydb.txt for authentication purposes? use the FILE() or FREAD? any ideas about what functions should i use to manipulate this file? if i use file() and mydb.txt was 9mb will the array be able to hold the

Re: [PHP] VERY URGENT -- MIRROR FOR PHP.NET ??

2001-04-12 Thread Chris Fry
We have a copy of the manual on our site http://www.quillsoft.com.au The click on PHP Manual The search facility searches the manual. Regards Chris Fry Reuben D Budiardja wrote: Hi All, I'm in the middle of crisis. I need to meet the deadline tomorrow, and tonight the www.php.net seems

[PHP] mail function????

2001-04-12 Thread Terence Truong
Hi, I have PHP 4.0 with IIS on Win2K and I think compiled everything right. I'm not sure how this works on Win32, but on unix it's fine. It's the mail() function. ex. mail("[EMAIL PROTECTED]","My Subject","My Test"); and it returns: Warning: Server Error in C:\PHP/index.php on line 4 ANY

Re: [PHP] syntax

2001-04-12 Thread elias
You can use the same code as you typed but use double-quotes instead of single-quotes: $fp=fopen("echo $agentcode' .'CyberTrac.ctr", "w"); -elias http://www.kameelah.org/eassoft ""Wade Halsey"" [EMAIL PROTECTED] wrote in message

Re: [PHP] mail function????

2001-04-12 Thread elias
in PHP.ini you have to specify the outgoing mail server: [mail function] SMTP= smtp.blah.com ; for Win32 only sendmail_from= [EMAIL PROTECTED] ; for Win32 only ;sendmail_path=;for unix only, may supply arguments as well (default is 'sendmail -t -i') -elias http://www.kameelah.org/eassoft

RE: [PHP] mail function????

2001-04-12 Thread Matt Williams
Hi, I have PHP 4.0 with IIS on Win2K and I think compiled everything right. I'm not sure how this works on Win32, but on unix it's fine. It's the mail() function. ex. mail("[EMAIL PROTECTED]","My Subject","My Test"); and it returns: Warning: Server Error in C:\PHP/index.php on line

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

2001-04-12 Thread Greig, Euan
Isn't it time to give this poor guy a rest?!? -Original Message- From: Ashley M. Kirchner [mailto:[EMAIL PROTECTED]] Sent: 11 April 2001 15:21 To: [EMAIL PROTECTED] Subject: Re: [PHP] $8 PHP hosting from Jeffrey Greer Jeffrey Greer wrote: Is 1/2 per year too much down time?

[PHP] attachments in mail

2001-04-12 Thread Dan Cleveland
How can i include a file as an attachment in an email? I'm looking for something like this... mail($to_email,%subject,$content,$attached_file); Thanks in advance! Dan +---+ |

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

2001-04-12 Thread Dominick Vansevenant
I think 8 USD a month is good value, I pay 10 USD now on phpwebhosting.com Their admin service is down a lot, speed is acceptable. However, they had their server crashed once, all email accounts were deleted. They apparently had problems with backup. I recreated the email addresses since my

RE: [PHP] windows 2000 install

2001-04-12 Thread Paul Grant
The php4win site (http://www.php4win.de/) is a good source of information on PHP running on Windows. Ok I know you said that you can't use Apache but if the specter of Notes changes your mind, PHP Triad (http://www.phpgeek.com/) is a great way to get PHP, MySQL and Apache up and running quickly.

Re: [PHP] php.ini

2001-04-12 Thread Michael Hall
I did, but got Internal Server Errors for several different command formats using = and " ". In the end, this format appears to work (no error message anyway, and the files upload) ... php_value max_execution_time 60 Mick Is it possible to override the maximum script execution time as set

[PHP] RE: Javascript issue

2001-04-12 Thread Tim Ward
all the javascript cares about is the page after it is sent by php. browse the page and view source will show you what the problem is. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message:

[PHP] Php-extensies

2001-04-12 Thread Sebastian Van Dingenen
Is there a manual or book on how to write php extensions, with nice and full explications?? Sebastian __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List

[PHP] Loop issue

2001-04-12 Thread Fates
I am trying to make a simple HTML menu system. I am having problems displaying menu links under the correct submenu from a loop. I want to be able to change web menus on the fly. I have a database with two tables. One table holds menu and sub menu headings and the other table holds the contents

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

2001-04-12 Thread Matt Williams
Honestly, I still don't get you. How can the client's Word not open if the script didn't make it open with COM. ? Anyway, The only way PHP can make Word open on a clients machine is if a word document is sent to the client, or the clients browser believes that is receiving a word

Re: [PHP] HELP with (Fatal Error: Call to a member function on a non-object)

2001-04-12 Thread g0thic
Thanks! That solved that one.. Now just a few more.. But with a different subject. On 4/12/01 12:34 AM, "Taylor, Stewart" [EMAIL PROTECTED] wrote: This error suggests the $tpl is undefined i.e. you forget to create it using new. -Stewart -Original Message- From: g0thic

[PHP] HELP! URGENT Upload file issue

2001-04-12 Thread g0thic
Hey there guys; I have been going hard at this problem for a while now, but at the end of the day, I always get the same error. Unfortunately I have a deadline that I have to meet :( k, here is the error (I am sure you have all seen this one before): Warning: Unable to create

[PHP] search highlighting

2001-04-12 Thread Matt Williams
Hi I'm implementing a simple keyword search. I want the results to be displayed with the keywords highlighted. I am currently using this to highlight the keywords str_replace($string,"b$string/b",$field); If I search for php, it will find PHP, PhP etc... but using the above only php will will

Re: [PHP] Updating a value in a session

2001-04-12 Thread Plutarck
What happens is when you use session_start(), all variables in the session become initialized to the values they have previously been given. So when you call session_start the second time, a variable named $value is created with the value it was given earlier. The problem is, it over-writes the

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

2001-04-12 Thread Plutarck
Anyone wonder if he was kidding? The part about adding mod_ssl to apache just reaks of concept comedy to me. Then again, I see a joke in every phrase... -- Plutarck Should be working on something... ...but forgot what it was. ""Greig, Euan"" [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] search highlighting

2001-04-12 Thread Plutarck
You'll probably want to use preg_replace. For instance: $string = "/(PHP)/i"; $target = "Please highlight PhP for me."; echo $target, 'br'; $target = preg_replace($string, "b\\1/b", $target); echo $target, 'br'; \\1 is whatever was found in the first parentheses(sp). -- Plutarck Should

[PHP] Editors ... calling them, or PHP-based one?

2001-04-12 Thread The Hermit Hacker
Sorry for vague subject, only so many things you can put in there ... I'm looking for someone way, in PHP4, to take a "form/template" for a letter on the server side, pass it to the client, let them edit it (including markup tags like bold and underline) and then pass it back to the server ...

RE: [PHP] Editors ... calling them, or PHP-based one?

2001-04-12 Thread Dominick Vansevenant
You can let the users edit online a form which returns html code, it is called dhtmled, you can find it on msdn.microsoft.com http://msdn.microsoft.com/workshop/author/dhtml/edit/default.asp If you play with it a bit, you will find a way to upload a html doc to the client, let him edit and send

Re: [PHP] Editors ... calling them, or PHP-based one?

2001-04-12 Thread Plutarck
Ick...I'd say it's a good idea, but it's going to be a bi...tter fight with technology. First, you have to have some application do the loading/unloading. PHP can't do that, of course. But, you could use some form of java...but you'd have to get fancy. Or you could just use file upload in a

[PHP] www.php.net - gateway timeout?

2001-04-12 Thread maatt
Anyone else having probs getting through? Or is it just me? Been trying since the wee hours (GMT). -- Matt Kynaston remove the green eggs before replying -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

php-general Digest 12 Apr 2001 13:41:59 -0000 Issue 623

2001-04-12 Thread php-general-digest-help
php-general Digest 12 Apr 2001 13:41:59 - Issue 623 Topics (messages 48226 through 48298): Re: checkdnsrr() in PHP 4.0.5rc1 48226 by: Yasuo Ohgaki Re: install LONG_MAX 48227 by: Yasuo Ohgaki array() stuff 48228 by: Duke 48229 by: Gfunk 48230 by: CC

Re: [PHP] Creating Arrays

2001-04-12 Thread Rodney J. Woodruff
Do you understand the options that the other people have explained? -- Rodney "Ashley M. Kirchner" wrote: "Rodney J. Woodruff" wrote: http://www.php.net/manual/en/function.msql-fetch-array.php Okay, call me dense. I can't figure this out. This is what I'm trying to do: $sql

Re: [PHP] www.php.net - gateway timeout?

2001-04-12 Thread Plutarck
I ran a few tracers and it seems that the server php.net is on is the problem. My packets are fine all the way along till final hop 13, which seems to be located in Rochester NY, on the network of Choice One Communications, IP 208.247.106.187, running Apache/1.3.12 (Unix) DAV/0.9.18-dev

Re: [PHP] Editors ... calling them, or PHP-based one?

2001-04-12 Thread maatt
What you're trying to do sounds a lot like content management. I'm no expert, but you should be able to do all this through the browser serverside (no need to download/upload). Have you checked out www.midgard-project.org, www.dotvoid.com/firesite.php, or http://phpwebsite.appstate.edu/? Matt

Re: [PHP] www.php.net - gateway timeout?

2001-04-12 Thread maatt
208.247.106.187, running Apache/1.3.12 (Unix) DAV/0.9.18-dev PHP/4.0.5-dev. Dearly hope it's not 4.0.5-dev that's the prob! Been wanting to try it, which is why I can't use uk.php.net! The site loads fine now, but last time I did it it was all being rejected on that hop. The server was

[PHP] Geeklog or phpSlash?

2001-04-12 Thread Charlie Llewellin
I'm setting up a slashdot style site using PHP, and am looking for recommendations for ready-to-use packages, such as geeklog and PhpSlash. Has anybody used either of these, got any comments, or suggestions for other software. TIA, Charlie -- PHP General Mailing List (http://www.php.net/) To

[PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan
If I was to send mail could I possibly send it using mail() function or I need to setup some things to make it work properly? Everytime I run my PHP script, it always gives me an Error: Failed to Connect to c:\inetpub\wwwroot\ and it was pointing to my mail() function. I just followed what the

Re: [PHP] www.php.net - gateway timeout?

2001-04-12 Thread Plutarck
Dearly hope it's not 4.0.5-dev that's the prob! Been wanting to try it, which is why I can't use uk.php.net! LOL! That's exactly what I was thinking...hehe. Maybe the people in charge just got back from apachecon, and figured out what was wrong? Or maybe just getting back from apachecon was

[PHP] Easy News Script

2001-04-12 Thread Zeus
I'm sure many of you heard of newsphp ? (the newspro-clone). Somehow I felt attached to it except that it doesn't use databases for its file storing. Does anyone know a good similar script (easy to setup) that uses mySQL?

Re: [PHP] Editors ... calling them, or PHP-based one?

2001-04-12 Thread Dezider Góra
Thinking about this, about a week ago, there was a discussion about parsing word document. Just to dig the text from doc. It sounds interesting, and since I have in my crazy mind an idea, that I'd create a database of all documents that were ever created in our company and put them in to the

Re: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Plutarck
You need to alter your php.ini file in the mail section to point the proper path to sendmail, and you need some form of sendmail there for PHP to point to in the first place! So there's no just calling mail() without setting stuff up. -- Plutarck Should be working on something... ...but forgot

Re: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Data Driven Design
I couldn't get it to work by changing php.ini either, I guess my isp mail server wouldn't relay. I downloaded a mailserver from www.tnsoft.com , its not free but it is an option if you get too frustrated trying to make it work. Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084

RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan
Hi thanks!!! I should've change my SMTP first.. geezz!! That makes me 10 times smarter than before. It is working now.! Thanks a lot! -Original Message- From: Plutarck [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 10:12 PM To: [EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] syntax

2001-04-12 Thread Renze Munnik
elias wrote: Hey, i didn't write 'echo' in the origin but i just double-quoted what he wrote in the first place w/o even noticing the 'echo' ;) Ehhh... this wasn't specifically addressed to you Elias. It was more like a general wondering... -- * RzE: *** **

Re: [PHP] Editors ... calling them, or PHP-based one?

2001-04-12 Thread Plutarck
Jackpot! Cha-ching! That site triggered my memory! I remember downloading a program from some obscure site which was suppose to be able to view a huge amount of files which are most often used in games. I wanted to see the art :) Anyhoo, it reminded me of another site which is linked on that

RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan
Oops! How can I prevent this? Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\TFC Survey Form\mailform.php on line 17 -JS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Editors ... calling them, or PHP-based one? (doh!)

2001-04-12 Thread Plutarck
Well after looking at the file I just downloaded...the specification of RTF is 164 pages long. Good lord...*chokes an all the information* Ever considered just forcing the people to learn HTML instead? *smile* -- Plutarck Should be working on something... ...but forgot what it was.

RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Michael Hall
Are you doing a bulk mail out or something like that? Your script is timing out. The max_execution_time can be changed in php.ini Mick On Thu, 12 Apr 2001, Jude Sanglitan wrote: Oops! How can I prevent this? Fatal error: Maximum execution time of 30 seconds exceeded in

RE: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Jude Sanglitan
It might be a time-out but can I avoid this message by writing an Error handler to my PHP script? f it is possible, how? Thanks -Original Message- From: Michael Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 9:05 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:

Re: [PHP] sending mail.. PLEASE HELP!

2001-04-12 Thread Tobias Talltorp
Or just adding this to the top of the page that is taking forever to process: set_time_limit(60); // 60 seconds before timeout, change to more if you want to This way you don´t have to change the time limit for all of the pages. // Tobias Talltorp Are you doing a bulk mail out or something

[PHP] HTTP_POST_VARS

2001-04-12 Thread Mat Marlow
Hi all, I'm having trouble retrieving data from $HTTP_POST_VARS. Whenever I try to print something from it using print($HTTP_POST_VARS[0]); it just prints "Array". And I know it works because I've done it once and can't do it again! Am I missing something glaringly obvious? Thanks for the help,

RE: [PHP] HTTP_POST_VARS

2001-04-12 Thread Dominick Vansevenant
Mat, did you put in a reset? reset($HTTP_POST_VARS); D. -Original Message- From: Mat Marlow [mailto:[EMAIL PROTECTED]] Sent: donderdag 12 april 2001 16:49 To: [EMAIL PROTECTED] Subject: [PHP] HTTP_POST_VARS Hi all, I'm having trouble retrieving data from $HTTP_POST_VARS. Whenever I

[PHP] Re:Passing Parameter

2001-04-12 Thread Miguel Loureiro
By my understanding what Jack said,the problem can be solved with something like this: echo "a href="namefrom.ext?part_no=".$partvalue.""" and in nameform.ext you can use the partvalue... Hope that help, if its not what you want, well, sorry, and good luck, and code Best Regards Miguel Loureiro

[PHP] Re:Passing Parameter

2001-04-12 Thread Miguel Loureiro
By my understanding what Jack said,the problem can be solved with something like this: echo "a href="namefrom.ext?part_no=".$partvalue.""" and in nameform.ext you can use the partvalue... Hope that help, if its not what you want, well, sorry, and good luck, and code. Best Regards Miguel Loureiro

[PHP] What is Dynamic Library support

2001-04-12 Thread Jennifer
When I do phpinfo() on my server one of the things it says is PHP_DL Dynamic Library support enabled. What does that mean? Jennifer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Error Handling class

2001-04-12 Thread Boget, Chris
I've looked around but haven't really found one... Does anyone know where I can find a class (or a set of functions) that handles errors gracefully? I'm about to write something to do this but would rather not reinvent the wheel. thnx, Chris

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

2001-04-12 Thread Maxim Derkachev
Hello Tim, Thursday, April 12, 2001, 1:43:53 PM, you wrote: TW you can't nest foreach as you should be able to. Ecah foreach is supposed to TW have it's own pointer in the array, but it doesn't ... this is a known bug. What do you mean? Foreach() can be nested, and it works perfect. ?php $a =

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

2001-04-12 Thread Andi Gutmans
Oh is all of pear out of the PHP CVS now? Andi At 01:42 AM 4/12/2001 -0400, Stig Sther Bakken wrote: [Andrei Zmievski [EMAIL PROTECTED]] On Tue, 10 Apr 2001, Derick Rethans wrote: hrm, is it really needed to add 3.6MB of stuff to the PHP cvs? Grr, I agree. Maybe it can wait

RE: [PHP] Updating a value in a session

2001-04-12 Thread Tim Ward
another good way is to use an associative array $session[] as your only session variable, that way you don't need to worry abopout session variables overwriting local or vice versa, so $value as a session variable becomes $session["value"] Tim Ward Senior Systems Engineer Please

RE: Re[2]: [PHP] foreach vs. while(list() = each())

2001-04-12 Thread Tim Ward
not for the same array it can't, the pointer in the first foreach is moved by the second one try: $array = array("a", "b", "c"); foreach($array as $val1) { foreach($array as $val2) echo "$val1:$val2br"; } it gives a:a a:b a:c then stops, the manual says that the foreach creates it's own

RE: [PHP] Error Handling class

2001-04-12 Thread Taylor, Stewart
the PEAR library has an error class -Stewart. -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: 12 April 2001 16:19 To: Php (E-mail) Subject: [PHP] Error Handling class I've looked around but haven't really found one... Does anyone know where I can find a class

Re: [PHP] Loop issue

2001-04-12 Thread Chris Lee
ok, if Im understanding this right, you want to have categories, with multiple sub categories, you want to have links inside any category (inc sub-categories) right? well I use three tables. link - link_id - link_name - link_url link_cat - link_id - link_cat cat - cat_id - cat_name -

Re: [PHP] Geeklog or phpSlash?

2001-04-12 Thread Charlie Llewellin
Yes, this looks very good, thanks for the recommendation - Original Message - phpnuke would be my recommendation www.phpnuke.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

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

2001-04-12 Thread Kurth Bemis
Thats what i was thinking...we have flamed him enough...and i hope that he gets the message that we don't need to know about 8 dollar hosting...:-) ~kurth On Thu, 12 Apr 2001, Greig, Euan wrote: Date: Thu, 12 Apr 2001 09:39:31 +0100 From: "Greig, Euan" [EMAIL PROTECTED] To: [EMAIL

RE: Re[2]: [PHP] foreach vs. while(list() = each())

2001-04-12 Thread Philip Olson
From Changelog : http://php.net/ChangeLog-4.php Version 4.0.2 29-Aug-2000 Fixed problem with nested foreach()'s. (Andi, Zend Engine) Just tested the below example code with 4.0.1 and 4.0.3 and above changed fixed it. regards, philip On Thu, 12 Apr 2001, Tim Ward wrote: not for

[PHP] passthru Problems

2001-04-12 Thread Jason Mowat
Greetings, I am having a small problem displaying PDF files to my users via passthru. This is the situation: I have a bunch of PDF files on my server directory. I show the user a listing of the PDF files they can view, and allow them to hyperlink click on the PDF they wish to browse. When the

Re: [PHP] HTTP_POST_VARS

2001-04-12 Thread Plutarck
Try doing a print_r in the place where you are trying to print data. So you can see if a second dimension slipped in there, or if there is some other problem. I know that the post/get vars are always associative arrays, but I assume refering to them by their numeric keys should work...don't see

[PHP] Do any of you provide hosting?

2001-04-12 Thread Chris Anderson
I currently am using Thehostpros.com for my hosting, but I can't say its been a pleasant experience. I had to have them install PHP because they are more ASP oriented. So that cost me more. Then I wanted MySQL and they have spent 3 months saying they'll install that. Basicly here's what I

[PHP] Newbie MySQL Table Work

2001-04-12 Thread Chris Anderson
Alright I finally got around to installing MySQL on my cpu, and I sucessfully created a database. Now I have a ryyy dumb question. In the manual I see no functions for creating tables in a database through code. Maybe I'm just missing the function. Can someone help me?

Re: [PHP] Newbie MySQL Table Work

2001-04-12 Thread Phillip Bow
Check out mysql_query. It will allow you to execute any query that you would normally do via the command line interface to MySQL. -- phill ""Chris Anderson"" [EMAIL PROTECTED] wrote in message 000301c0c373$a3522960$b01012d1@null">news:000301c0c373$a3522960$b01012d1@null... Alright I finally

RE: [PHP] passthru Problems

2001-04-12 Thread Krznaric Michael
I believe there is header called "Content-disposition: filename.pdf" which is defined in the proper RFC. And as far as I know some browsers don't respect it. Search the list for it, you should find allot of info. Mike -Original Message- From: Jason Mowat [mailto:[EMAIL PROTECTED]]

Re: [PHP] Easy News Script

2001-04-12 Thread Chris Anderson
I prefer to write my own - Original Message - From: "Zeus" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 10:11 AM Subject: [PHP] Easy News Script I'm sure many of you heard of newsphp ? (the newspro-clone). Somehow I felt attached to it except that it doesn't

RE: [PHP] Geeklog or phpSlash?

2001-04-12 Thread Altunergil, Oktay
Do you still need to create a seperate database for phpnuke or did they add functionality to customize the table names.? oktay -Original Message- From: Charlie Llewellin [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 2:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Geeklog or

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

2001-04-12 Thread Matt McClanahan
On Thu, Apr 12, 2001 at 10:34:26AM -0400, Chris Anderson wrote: Someone who can host my domain (I own the domain already) Can provide MySQL and PHP. Both up-to-date. Can give around 60 meg of space (ballpark, less should be fine) Also a way to set up subdomains without needing to go through

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-04-12 Thread Andrei Zmievski
andrei Thu Apr 12 09:35:41 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Removing accounts for inactive people. Index: CVSROOT/avail diff -u CVSROOT/avail:1.143 CVSROOT/avail:1.144 --- CVSROOT/avail:1.143 Tue Apr 10 09:00:18 2001

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

2001-04-12 Thread Chris Anderson
i'll have to try that. But can they use my current domain. Also do setting up sub-domains in an hour cost me anything? - Original Message - From: "Lindsay Adams" [EMAIL PROTECTED] To: "PHP" [EMAIL PROTECTED] Sent: Thursday, April 12, 2001 1:36 PM Subject: Re: [PHP] Do any of you provide

[PHP] Problem?

2001-04-12 Thread Wee Chua
Hi all, I have a question that can I do my dynamic web application in one page without any other hyperlink page if I have all the classes needed to run the dynamic web application? Are there any Pros and Cons for running application on one page? The application is mainly used for ERP. Thank you.

Re: [PHP] Geeklog or phpSlash?

2001-04-12 Thread Charlie Llewellin
By the way, I am having problems with the javascripts that are enabled by default with PHPNuke.. I'm going to disable them for now until I can figure out what is wrong. Charlie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] show tables in oracle 8-i

2001-04-12 Thread Dennis Gearon
I've been looking through the book, and so far, I can't find the command for 'show tables' in Oracle 8i. Anyone know it? It should be programmatically available, I would think, as an SQL command. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Need HOWTO on field-update code.

2001-04-12 Thread Erin Quick-Laughlin
Can PHP update a second field on the form, based on the contents chosen from the first field (I'm thinking of JavaScript's function) ? I'm pulling a list of id,name,email from MySQL and displaying name for the first field. After the user picks it, I want the appropriate email address to show up

Re: [PHP] show tables in oracle 8-i

2001-04-12 Thread Brian S. Dunworth
At 11:09 AM 4/12/01 -0700, Dennis Gearon wrote: I've been looking through the book, and so far, I can't find the command for 'show tables' in Oracle 8i. Anyone know it? It should be programmatically available, I would think, as an SQL command. SELECT TABLE_NAME FROM ALL_TABLES; - Brian

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

2001-04-12 Thread Lindsay Adams
yes, the subdomains cost you $20/setup, and $2/month extra. the reason for the setup? they won't let you mess with the dns (which makes a lot of sense) overall, it is worth it. you will of course pass the setup fee on to your clients, and charge more than $2/month, but you can see, that the

Re: [PHP] Need HOWTO on field-update code.

2001-04-12 Thread Philip Olson
Check out these two tutorials, might help: chainedSelectors: A Better Way to Drop-down a PHP List : http://zend.com/zend/tut/drop-down.php Loading JavaScript Arrays with MySQL Data :

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

2001-04-12 Thread Jesus M. Castagnetto
--- Andrei Zmievski [EMAIL PROTECTED] wrote: On Tue, 10 Apr 2001, Derick Rethans wrote: hrm, is it really needed to add 3.6MB of stuff to the PHP cvs? Grr, I agree. Maybe it can wait until PEAR is out of PHP's CVS. Ehem, I did *not* commited to the code PHP code dir (php4, please

Re: [PHP] passthru Problems

2001-04-12 Thread Jason Mowat
Greets, Just to elaborate: I want my user to be able to click on a hyperlink that points to my PDF file, and have a new window pop up, displaying the contents of the PDF file in the browser window (without prompting if they should save the file) as well as set the HTML TITLE tag to the name of

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

2001-04-12 Thread Andrei Zmievski
On Thu, 12 Apr 2001, Jesus M. Castagnetto wrote: --- Andrei Zmievski [EMAIL PROTECTED] wrote: On Tue, 10 Apr 2001, Derick Rethans wrote: hrm, is it really needed to add 3.6MB of stuff to the PHP cvs? Grr, I agree. Maybe it can wait until PEAR is out of PHP's CVS. Ehem,

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

2001-04-12 Thread Stig Sæther Bakken
[Andi Gutmans [EMAIL PROTECTED]] Oh is all of pear out of the PHP CVS now? No, Jesus is the first one besides me to commit anything to the "pear" module. We'll do it bit by bit. - Stig -- Stig Sther Bakken [EMAIL PROTECTED] Fast Search Transfer ASA, Trondheim, Norway -- PHP CVS

[PHP] resultset array

2001-04-12 Thread Mike
I would like to put a mysql resultset into an array of type row(rownunber)(data).Any Ideas? Mike P [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

Re: [PHP] resultset array

2001-04-12 Thread Mark Maggelet
On Thu, 12 Apr 2001 15:42:54 -0400, Mike ([EMAIL PROTECTED]) wrote: I would like to put a mysql resultset into an array of type row(rownunber)(data).Any Ideas? Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] passthru Problems

2001-04-12 Thread Morgan Curley
You need to use a frameset to do what you want. the problem is the browser will only launch the Acrobat control if it receives the content type app/pdf, an html page uses the content type text/html. your links should point to another page that outputs something like the following based on

Re: [PHP] Creating Arrays

2001-04-12 Thread Jeffrey Greer
[posted and emailed] If you're looking for a simple way to work with databases I would use phplib. Phplib is a db abstraction layer which supports over a dozen databases including mysql. You can get the libraries at http://phplib.netuse.de/download/phplib-7.2c.tar.gz You will need to use

Re: [PHP] Creating Arrays

2001-04-12 Thread Jeffrey Greer
[posted and emailed] On 12 Apr 2001 12:48:52 -0700, [EMAIL PROTECTED] (Jeffrey Greer) wrote: // putting the values in an array is trivial, but you should do it like this // or you will confuse your numeric ids with the ids that php puts in an array automatically Whoops. I was wrong about

RE: [PHP] Newsgroups like this one?

2001-04-12 Thread John R . Marshall
On 11 Apr 2001 21:07:01 -0700 Alvin Tan said... Hi Plutarck, The 'mailing list' at MySQL _is_ very much like this one and is also very active. Send mail to [EMAIL PROTECTED] to subscribe. Except that it is a *mailing* list not a *newsgroups* format (like news.php.net) which was what the

RE: [PHP] HTTP_POST_VARS

2001-04-12 Thread Steve Edberg
At 4:50 PM +0200 4/12/01, Dominick Vansevenant [EMAIL PROTECTED] wrote: Mat, did you put in a reset? reset($HTTP_POST_VARS); D. Yes, you'll need the reset() there if you're looping through the $HTTP_POST_VARS array more than once. However: I take it that you were trying something like

  1   2   >