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

2001-04-12 Thread Reuben D Budiardja
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 mirror site of www.php.net? I need function reference and manual only, and I have been always totally dependence on www.php.net. So, if anyone can tell me any

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 t

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

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 a

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 J

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, R

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(), lis

[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 r

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 HEL

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 007401c0c318$1d488fe0$256410ac@wadeh">news:007401c0c318$1d488fe0

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 ""Tere

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 o

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] radio groups in looped form

2001-04-12 Thread Rudolf Visagie
Hi Peter I use this function in one of my scripts. Maybe you can get a few ideas from it. function WriteRadio ($FieldNo, $NOptions, $OptionValue, $Option, $SelectedValue, $NullValue) { /* The Radio function writes a group of HTML INPUT radio buttons. $OptionValue

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

2001-04-12 Thread Harshdeep S Jawanda
Hey people, is this getting us anywhere at all? If you can help Greer make his site more secure, GREAT! If you can help him in any other way, fantastic! But if you have nothing constructive to offer... well, you know, replies to this thread have already created more spam than Greer himself ;-).

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 busine

Re: [PHP] attachments in mail

2001-04-12 Thread KPortsmout
In a message dated 12/04/2001 09:55:18 GMT Daylight Time, [EMAIL PROTECTED] writes: << 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 >> Unfortunately it`s not that

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

2001-04-12 Thread Tim Ward
you can't nest foreach as you should be able to. Ecah foreach is supposed to have it's own pointer in the array, but it doesn't ... this is a known bug. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.c

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] Can't redeclare already declared function

2001-04-12 Thread Christian Reiniger
On Wednesday 11 April 2001 17:50, you wrote: > Thanks to all who suggested using include_once. Maybe it is just me > (long FORTRAN background), but the very idea of include_once makes me > nervous, and I don't use it. It violates my sense of acceptable design. > I would rather design my code such

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: http://www.stivesdirect.com/e-mail-disclaim

[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 (http://www.php.net

[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 Zeus
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. - Original Message - From: Hoover, Josh <[EMAIL PROTECTED]> To: 'Pierre-Yves Lemaire' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, 11 April, 2001 10:31 PM Subject:

Re: [PHP] syntax

2001-04-12 Thread Renze Munnik
elias wrote: > > 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 Why the H*ll would you wanna use echo there?!?!?! Just fopen($agentcode."CyberTrac.ctr", "

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 do

[PHP] Updating a value in a session

2001-04-12 Thread Tobias Talltorp
On my first page I have a form that posts a value to page2 where it gets registered in a session. Works like a charm... When I try to do this again, but send another value, the session doesn´t update the new value. Why? PAGE 1 ---> PAGE 2 ---> Thanks, // Tobias -- PHP General Mail

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 '/home/httpd/www/

[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,"$string",$field); If I search for php, it will find PHP, PhP etc... but using the above only php will will be h

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 PROTEC

Re: [PHP] syntax

2001-04-12 Thread elias
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' ;) "Renze Munnik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > elias wrote: > > > > You can use the same code as you typed but use

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, ''; $target = preg_replace($string, "\\1", $target); echo $target, ''; \\1 is whatever was found in the first parentheses(sp). -- Plutarck Should be worki

[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 form

[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 PROTECT

[PHP] php-lib questions

2001-04-12 Thread Mark
I have a php script which is like a modified shopping cart. It starts with a search that calls a perl script ( I know, but it's the only way I can include certain proprietary functionality I need). This returns a results set of documents that can be either downloaded or requested depending on pe

Re: [PHP] php-lib questions

2001-04-12 Thread Plutarck
That sounds like a problem with the way you handle sessions. What happens is your program tries to start a session, but the page isn't sent if a session isn't started. It still shouldn't reply with a 404 though...search your script for header and see if you send any. Once someone has the session

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: > >

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 PHP/4.0.5

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 "T

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 ref

[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 u

[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 b

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 datab

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 http

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] sendin

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... -- * R&zE: *** ** R

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 we

RE: [PHP] .htpasswd encryption

2001-04-12 Thread Ryan Hilton
Your can use the php crypt() function to encrypt the passwords in the .htpasswd file $newPwd = crypt( trim( $newPwd) ); // encrypt the new password Brandon Orther wrote: > Hello, > > I am trying to make a script that creates .htpasswd files. Does anyone > know what encryption is used? > > Tha

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 PROTE

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. ""Plutar

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 > C:\Inetpub\wwwr

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 l

[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 t

[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 "" 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 <[EMAIL PROTECTED]>

[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 "" 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 <[EMAIL PROTECTED]>

[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 lis

[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. $first)

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 Sæther 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. Mayb

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:$val2"; } it gives a:a a:b a:c then stops, the manual says that the foreach creates it's own poi

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 (or

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 Jon Parise
On Thu, Apr 12, 2001 at 04:38:30PM +0200, Andi Gutmans wrote: > Oh is all of pear out of the PHP CVS now? No, not really. There are two repositories running in parallel (php4/pear/ and pear/). I'm not sure what kind of plans we have for each, however. -- Jon Parise ([EMAIL PROTECTED]) . Ro

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

2001-04-12 Thread Dezider Góra
Well, based on your previous post: Plutarck wrote: > Well after looking at the file I just downloaded...the specification of RTF > is 164 pages long. Oooo I'm soo happy...toys toys toys! So many wonderful bits and bytes to play with now... you should change it to: Oooo I'm soo happy...toys t

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 - cat_parent

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 PROTE

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 us

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 need:

[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 g

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]] Sent

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'

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 throu

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

2001-04-12 Thread Lindsay Adams
Check out aitcom.net get a resellers account, and go hog wild. you can even edit the httpd.conf page for custom liasing of directories, and anything else. I wasn't able to get them to compile PHP with some of the extras, at least not as an apache module, BUT I was able to compile PHP as a cgi fo

[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 provid

[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 addi

[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 i

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 retu

  1   2   >