[PHP] RE: Java variables - PHP varialbles

2001-02-01 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

[PHP] Php Database

2001-02-01 Thread Vinicius Garcia Mommensohn
Muito obrigado pela ajuda Michael! Hi everyone! To use de DBA database format, first i had to configurate php with --with-db2 option. All works (configure, make and make install). But the php script still not works. The line of the script that has a problem is: $id = dba_open ("/home/httpd/html/

Re: [PHP] Why?? SPRINTF("SELECT sequence,prodnum,childdesc....);

2001-02-01 Thread Steve Werby
"Karl J. Stubsjoen" <[EMAIL PROTECTED]> wrote: > What is the purpose of the SPRINTF in this instance? > SPRINTF("SELECT > equence,prodnum,childdesc,onhand,openorders,avlallocate,bakorder,webpricing > FROM prodaval"); It appears as though the sprintf() function is being misused. There's no advant

Re: [PHP] contracting & consulting (was "[PHP] Pricing for PHP programming???")

2001-02-01 Thread Steve Werby
"Benjamin Munoz" <[EMAIL PROTECTED]> wrote: > Great thread. When I was changing jobs in April of 2000, a recruiter told me > that PHP is "cool and all", but there is zero demand for developers of PHP > web apps (in Los Angeles). Interesting. We're located in [not very large, but high tech/intern

[PHP] RE: PHP a lightweight language?

2001-02-01 Thread Nold, Mark
- Disclaimer: The information contained in this email is intended only for the use of the person(s) to whom it is addressed and may be confidential or contain legally privileged information. If you are no

[PHP] How do I get last inserted ID?

2001-02-01 Thread Sandeep Hundal
Hi All, just a quick question. Say my script is inserting values into a database, which has an autoincremental id. Now I usually send out a mail also with the contents of the inserted stuff. The only problem is that of the ID field. How can I get the script to determine what id number was given t

RE: [PHP] How do I get last inserted ID?

2001-02-01 Thread Maxim Maletsky
mysql_insert_id() is a PHP function for it. however I recommend you using a build-in SQL function LAST_INSERT_ID(). i.e: INSERT INTO table SET name='$name', surname='$surname'; UPDATE table SET name='$name', surname='$surname' WHERE id=LAST_INSERT_ID() Cheers, Maxim Maletsky -Original Messa

Re: [PHP] How do I get last inserted ID?

2001-02-01 Thread David Robley
On Fri, 2 Feb 2001 14:13, Sandeep Hundal wrote: > Hi All, > > just a quick question. Say my script is inserting values into a > database, which has an autoincremental id. Now I usually send out a > mail also with the contents of the inserted stuff. The only problem > is that of the ID field. How

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

2001-02-01 Thread Steve Werby
"Shane McBride" <[EMAIL PROTECTED]> wrote: > I was wondering what other PHP people charge to write PHP? There's no magic answer. And no offense, but if you categorize building business solutions delivered via the internet as "writing PHP" then your services probably shouldn't be priced at the hi

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

2001-02-01 Thread Josh G
It comes down to one simple thing: You cannot know how much a project is worth to a client. If they're willing to pay you $5000, it's worth $5000, wether you think it's worth $500 or $5. If I buy a pack of basketball cards for $2 that has ten cards in it, then they're worth 20c each. If sudd

[PHP] Re:What version of Linux?

2001-02-01 Thread John Hinsley
> "Andrés de la Varga" <[EMAIL PROTECTED]> wrote: > > I want to install my personal server on a old Intel 486 machine, 36 Mb RAM, > 2 Gb HardDisk, VGA, to develop in PHP. What version of Linux do I need to > install? Stay clear of any version built specifically for 586 machines. This c

[PHP] Re: PHP a lightweight language?

2001-02-01 Thread John Hinsley
> Michael Hall <[EMAIL PROTECTED]> wrote > > I'm interested in the proposition made recently on this list that PHP is > somehow a 'lightweight' language that some people don't take seriously. I > am relatively new to Linux and open source programming and only really > know PHP and som

Re: [PHP] Re: PHP a lightweight language?

2001-02-01 Thread Josh G
most c compilers are self-hosting. iirc it's one of the best tests of your compiler. Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering. - Original Message - From: "John Hinsle

[PHP] Fw: Message status - undeliverable

2001-02-01 Thread Josh G
Sorry about this, but can somebody please remove this guy from the list? I'm tired of getting this email every time I contribute. Cheers, Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... sufferi

Re: [PHP] neat html output

2001-02-01 Thread Jeff Lacy
You can also use tabs (\t). This is an example using tabs and newlines: echo "\n\n\tHello There\n\tHow are you\n"; Note: You must use quotes because ticks don't work. Jeff ""Mark"" <[EMAIL PROTECTED]> wrote in message 9597gb$4el$[EMAIL PROTECTED]">news:9597gb$4el$[EMAIL PROTECTED]... > I'd

RE: [PHP] Exit Function

2001-02-01 Thread Boget, Chris
> What is the way to exit a function? For example: > function FooBar() { > if ($foo = $bar) > Exit_this_Function; > ## otherwise execute the rest of this function > } function FooBar() { if ($foo = $bar) return 0; } ## otherwise execute the rest of this function } Chr

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

2001-02-01 Thread Josh G
Ok, you got me on a technicality :) Of course, every rule has an exception. Even the rule that says every rule has an exception ;-) Gfunk - http://www.gfunk007.com/ I sense much beer in you. Beer leads to intoxication, intoxication to hangovers, and hangovers to... suffering.

[PHP] OT mod_rewrite says goodbye to POST vars (but interesting)

2001-02-01 Thread Matt Friedman
Well, not being able to find much help on mod_rewrite, I hoped some guru here might be able to help me. I'm using mod rewrite to do a pretty simple redirect (or rewrite that it) to a php page that parses the original url and allows for the output of all sorts of content. Works great apart from t

Re: [PHP] 404 error checker

2001-02-01 Thread Louis LeBlanc
You may be getting emails, but for some reason, when I try the links provided as a demo: BAD LINK-- http://www.social-ecology.org/new/indexbog.html PAGE WITH BAD LINK-- http://www.social-ecology.org/indexbogus.html My browser pops up the save as dialog. I do have javascript enabled, so I don'

[PHP] Automatic incoming mail notification

2001-02-01 Thread Ankur Verma
Hello All! Sorry for this off-topic posting but this is extremely important for me. I need a php script to be called each time my email mailbox recieves a new email message. One way is to have a cron job running and get the php script to check my mailbox every few minutes to see if there are

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Josh G
Depends on your mailserver. Most mail servers can redirect incoming mail to a program, I know sendmail can. In your case just make the first line of your script #!/path/to/php/bin/php and that should do the trick. Sorry I don't know how to make sendmail do it, only that you can. Check the man pag

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread David Robley
On Fri, 2 Feb 2001 15:53, Josh G wrote: > Depends on your mailserver. Most mail servers can redirect incoming > mail to a program, I know sendmail can. In your case just make the first > line of your script #!/path/to/php/bin/php and that should do the trick. > > Sorry I don't know how to make se

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Ankur Verma
Dear Josh, Thanks for your prompt reply I will surely look around on the web for info on this pathy of action. thanks once again regards Ankur Verma - Original Message - From: "Josh G" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Friday, February 02, 2001 10:53

Re: [PHP] Automatic incoming mail notification

2001-02-01 Thread Steve Werby
"Josh G" <[EMAIL PROTECTED]> wrote: > Depends on your mailserver. Most mail servers can redirect incoming > mail to a program, I know sendmail can. In your case just make the first > line of your script #!/path/to/php/bin/php and that should do the trick. To actually read from the message piped t

[PHP] how do I subscribe?

2001-02-01 Thread David VanHorn
subscribe -- Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] how do I subscribe?

2001-02-01 Thread Maxim Maletsky
send an email at [EMAIL PROTECTED] you will be asked for the confirmation.. Cheers, Maxim Maletsky -Original Message- From: David VanHorn [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 2:52 PM To: [EMAIL PROTECTED] Subject: [PHP] how do I subscribe? subscribe -- Where's da

Re: [PHP] Variables within functions, out?

2001-02-01 Thread Steve Werby
"David Robley" <[EMAIL PROTECTED]> wrote: > The specific answer to your question is that the variable $birthday is > local to the function - check out variable scope in the manual. > > But in fact there is another way of doing it - pass the values to check as > parameters to the function and have

[PHP-CVS] cvs: php4 /pear DB.php

2001-02-01 Thread Chuck Hagenbuch
chagenbuThu Feb 1 21:24:32 2001 EDT Modified files: /php4/pear DB.php Log: make sure to include subclasses before trying to instantiate them. Index: php4/pear/DB.php diff -u php4/pear/DB.php:1.45 php4/pear/DB.php:1.46 --- php4/pear/DB.php:1.45

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

2001-02-01 Thread Angus Mann
At 11:54 1/02/2001 -0800, Terrence Chay wrote: > We should be prudent when discussing how much we charge for programming. >I'm no lawyer but I believe it's okay to discuss hypotheticals, histories, >and such, but remember that discussing wage rates may run against anti-trust >regulation as evi

[PHP] configuring headers in mail() ...

2001-02-01 Thread Maxim Maletsky
Hello Guys, to be short: 1. what I'm doing: I need to send some email recipients of which are some users from a database. (this part perfectly works) What I care about is that when they receive the email they see 'J-Door Newsletter' in their from field, not our email address ( '[EMAIL PROTECTE

Re: [PHP] newlines in boxes..

2001-02-01 Thread Michael Hall
Use nl2br (new line to ). Mick On Wed, 31 Jan 2001, James Smith wrote: > Alright, on my site, I have a news section, whenever i > goto insert new news in the Admin area, I have to > insert or /n in it, while typing in the news. > How do I make this a automated process I know it can > be done

[PHP] Nulls in database

2001-02-01 Thread Conover, Ryan
I am trying to write a query to bring back rows that have null values set in them. I cannot figure out how to do this. I can bring back all rows that do not have nulls with the following query. SELECT [ID], [Project Name], [Start Construction Date], [Actual Completion Date] FROM common WHERE [St

[PHP] RE: [PHP-WIN] Nulls in database

2001-02-01 Thread Svensson, B.A.T.
>I am trying to write a query to bring back rows that have null >values set in them. Try write WHERE [Start Construction Date] IS NULL OR [Actual Completion Date] IS NULL or alternatively selecting both nulls and empty attributes with or without white spaces: WHERE isnull([Actual Comple

Re: [PHP] Nulls in database

2001-02-01 Thread Juan
Réponse au message | [PHP] Nulls in database | du jeudi 1 février 2001, 18:05 : This is from memory concerning my old SQL class but isn't there something specific in sql lines saying that to find null values you should use : ISNULL Since an empty string is different from a null entry. CR> I am t

[PHP] passing arrays of objects

2001-02-01 Thread Conover, Ryan
I was wondering if I can pass an array that has serialized objects to next page via url encoding $foo //array with serialized objects in it with the following encoding something/something/foobar.php?foo=echo($foo) and be able too unserialize $foo on the next page(foovar.php) ryan -- PHP Ge

<    1   2   3