[PHP] about include

2001-02-28 Thread Marcos
hi, everytime i add include function to a script it will answer like: Warning: Failed opening 'common.php' for inclusion (include_path='/usr/local/apache/htdocs:/home/httpd/mydomain') in /home/httpd/mydomain/h24h/foro/admin/index.php on line 23 and lines 22 and 25 have: chdir("

Re: [PHP] multiple query in 1 select ?

2001-02-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jack Sasportas) wrote: > lets say we have a database with the State Names and cities, and I > wanted to select all the cities in FL I would execute something like > this > mysql_query("SELECT * FROM cities WHERE state='FL'"); > and lets say ther

Re: [PHP] RE: [PHP-GENERAL] Please help

2001-02-28 Thread Jack Dempsey
Nilesh, > > > > > WHO IS UR FAVORATE AUTHOR ? > > > > > > > Ok, I just created the text.html file. > > and then i have written a php script file text.php with the following code > > > > > your favorate author is : > echo $Author; > ?> > > And I created the text.php file. (

RE: [PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Boaz Yahav
Hi Manuel, All is great, working hard to make WeberDev.com a better place for the community and trying to make people understand we don't make $$$ from it :) The IE / NN war was one that left no chance for NN in Israel. While MS spent millions in making all of their products in Hebrew, including

[PHP-CVS] cvs: php4 /ext/imap config.m4 php_imap.c

2001-02-28 Thread Chuck Hagenbuch
chagenbuWed Feb 28 23:06:54 2001 EDT Modified files: /php4/ext/imap config.m4 php_imap.c Log: If php is compiled --with-imap-ssl, link in the SSL authenticator from c-client so that we can use php to make ssl imap connections. Index: php4/ext/

Re: [PHP] Template recommendations

2001-02-28 Thread Alexander Wagner
Joseph H Blythe wrote: > Not be phplib (sorry I have tried and dont like the autoprepend) You can use the template-class from PHPlib whithout the rest of the lib, it is completely independent. Just include the "template.inc"-file and you can start. > Be easy to use It's not that easy to use b

[PHP] RE: [PHP-GENERAL] Please help

2001-02-28 Thread Nilesh Parmar
Hi My name is Nilesh.I at present learning PHP, i have successfully installed PHP along with Apache .Everything works fine.But i have the following problem. i have created a html page which has a text area with the following code in it. WHO IS UR FAVORATE AUTHOR ? and then i have

[PHP] Caller's __LINE__

2001-02-28 Thread elias
Hello. I want to make a small function that sends a debug message: function debuginfo($msg) { echo"the message is $msg, at line" . __LINE__ . " "; } in my code: line 1 line 2 line x: debuginfo("hello!!!"); is there is anyway to show the caller's line number? in this case 'x' ? --

[PHP] multiple query in 1 select ?

2001-02-28 Thread Jack Sasportas
lets say we have a database with the State Names and cities, and I wanted to select all the cities in FL I would execute something like this mysql_query("SELECT * FROM cities WHERE state='FL'"); and lets say there are 50 records returned I want to be able to get all the cities in FL & GA inst

php-general Digest 1 Mar 2001 06:07:08 -0000 Issue 540

2001-02-28 Thread php-general-digest-help
php-general Digest 1 Mar 2001 06:07:08 - Issue 540 Topics (messages 42048 through 42124): Re: Pulling my hair out over Netscape... 42048 by: Batonik 42055 by: Ernest E Vogelsinger sitemap script 42049 by: Ali 42051 by: Tim O'Callaghan 42053 by: Tim O

[PHP] Loss of Connection hanle in object

2001-02-28 Thread Andrew Halliday
Okay - Im writing an object to wrap a database. The key problem is this: - it declares a connection var as an object property - the open() function opens the connection to the database and stores the handle in $this->connection - the executeQuery() method complains about not having a v

Re: [PHP] newbie:cronjob

2001-02-28 Thread Chris Lee
"automatic update the document become active after all the related document become active." unsure what your meaning here. cron is used to run a script once and hour/day/week/month etc, you can spec it differnet, but this is a standard system. on my redhat system /etc/cron.daily/ j

Re: [PHP] Daily Rotating Page

2001-02-28 Thread richard merit
We use something like this to changing some sections of the web page based on the day of the year #day number of the year, ex day 181, 183, 183 $subPartQuery=date("z")"; or # day of the week 0=sunday mon=1, tue=3 $subPartQuery=date("w")"; select from database where day_col = $subPartQuer

[PHP] newbie:cronjob

2001-02-28 Thread Wen Ni Leong
I have created a program using PHP3 and MYSQL. I want to use cron job to automatic update the document become active after all the related document become active. Can you please give me some idea how to start? I really don't have any idea. Please teach me. Thanks Wendy -- PHP General Maili

Re: [PHP] newbie:cron job

2001-02-28 Thread Kelly Corkill
Wen, I'm not clear on what you're looking for. You want to schedule something in cron to run a script that does what? Cron is a unix scheduling tool, via which you can trigger shell scripts to occur at specific intervals/points in time. Sounds like what you may want is a script that acts only af

Re: [PHP] PHP Manual in EBOOK Format

2001-02-28 Thread YoBro
Thanks for that, and sorry. I had looked everywhere else except there. That should have been my first option to check out. YoBro <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... : On Thu, Mar 01, 2001 at 12:50:49PM +1300, YoBro wrote: : : > Does anybody know of,

[PHP-CVS] Re: [PHP-CVS-DAILY] cvs: php4 / ChangeLog

2001-02-28 Thread Stanislav V Vyaly
unsubscribe php-cvs [EMAIL PROTECTED] -- PHP CVS 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] best slashdot?

2001-02-28 Thread Jason Murray
> PHPSlash is really goodd, although user management won't be > out until .7 and .6 was just released. PHPNuke has usermanagement, > but from what I hear its not all that customizable.. Check out phpslash > at www.phpslash.org.. they aren't running phpslash on that site currently > due to DB

[PHP] newbie:cron job

2001-02-28 Thread Wen Ni Leong
I have created a program using PHP3 and MYSQL. I want to use cron job to automatic update the document become active after all the related document become active. Can you please give me some idea how to start? I really don't have any idea. Please teach me. Thanks Wendy -- PHP General Maili

Re: [PHP] displaying form array values

2001-02-28 Thread Philip Olson
Hi Claudia, Something like : $msg = 'Destination :'; foreach ($Destination as $place) { $msg .= "\n\t $place"; } Regards, Philip Olson http://www.cornado.com/ On Wed, 28 Feb 2001, Claudia wrote: > I would like to know how to add form array values to a mail message. > > I hav

Re: [PHP] best slashdot?

2001-02-28 Thread Matt \"TrollBoy\" Wiseman
PHPSlash is really goodd, although user management won't be out until .7 and .6 was just released. PHPNuke has usermanagement, but from what I hear its not all that customizable.. Check out phpslash at www.phpslash.org.. they aren't running phpslash on that site currently due to DB difficulties

Re: [PHP] free webhosting

2001-02-28 Thread Philip Olson
Greetings Rene, Check out : http://www.faqts.com/knowledge-base/view.phtml/aid/4058/fid/27 Regards, Philip Olson http://www.cornado.com/ On Wed, 28 Feb 2001, Rene Maldonado wrote: > Hi, > > Does any one know where can I get free webhosting, like Geocities.com, > but that suports PHP. >

[PHP] displaying form array values

2001-02-28 Thread Claudia
I would like to know how to add form array values to a mail message. I have my form defined as follows: select form name set as: Not sure Acapulco Alabama Arizona

Re: [PHP] image file prob

2001-02-28 Thread John LYC
thanks for the info... well. what i did was to fread the files and store them using sessions variables. at the end of the process. .. i do a walk thur the array and insert them into the DB... john John LYC wrote: > hi.. > i have a form that allow users to upload several image files. > e

Re: [PHP] PHP on Cobalt

2001-02-28 Thread Chuck Barnett
PHP 4.0 comes on the RAQ4i chuck - Original Message - From: "Jochen Kaechelin" <[EMAIL PROTECTED]> To: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 6:57 PM Subject: [PHP] PHP on Cobalt > does anybody know which versions > of PHP are installed on a

[PHP-CVS] Invalid Address

2001-02-28 Thread postmaster
** [EMAIL PROTECTED] is no longer a valid address. Try replacing @CELL1.com with @alltel.com If your email is still not delivered, please contact the recipient and request their new email address. ***

[PHP] free webhosting

2001-02-28 Thread Rene Maldonado
Hi, Does any one know where can I get free webhosting, like Geocities.com, but that suports PHP. thanks Rene -- 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-ma

Re: [PHP] Daily Rotating Page

2001-02-28 Thread Kelly Corkill
If on unix "man cron". Write a script to change a pointer and use cron to run the script. On Wed, 28 Feb 2001 [EMAIL PROTECTED] wrote: > Date: Wed, 28 Feb 2001 20:30:47 EST > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: [PHP] Daily Rotating Page > > I have set up a template for

Re: [PHP] Pluralize a word for searching a database

2001-02-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (richard merit) wrote: > I don't think you can since the plural form of English > words can vary, woman, women, families, family, foot, > feet, church, churches, sheep, sheep, road, roads... > > ? > > rm > > --- "Robert V. Zwink" <[EMAIL P

Re: [PHP] checking for a defined function

2001-02-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Eric Peters) wrote: > how can I do something like > > if(!defined(cybercash_encr())) dl("cybercash.so"); > > anyone know of a good way to see if a function/module has been included in > php? function_exists() -- CC -- PHP General Mailing

[PHP] Daily Rotating Page

2001-02-28 Thread RalphGzman
I have set up a template for a page that displays the featured product of the day. All data is stored in a mySQL db. So every day I want to feature a different product. Each product contains an entry in the db for picture, description, and hotlink. What would be the best way to go about this?

[PHP] PHP on Cobalt

2001-02-28 Thread Jochen Kaechelin
does anybody know which versions of PHP are installed on a CobaltRAQ3 or CobaltRAQ4 when you buy a new one? -- Ihr WEBberater Stuttgarter Str.3, D-73033 Göppingen Tel. +49(0)7161-929594 - Fax. +49(0)7161-929598 http://www.wa-p.de ** mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://

Re: [PHP] Restrict Access per IP Addresses

2001-02-28 Thread Ernest E Vogelsinger
At 00:58 01.03.2001, Nazoréen said: [snip] >well i have a problem, i try make an authentication per range IP Address >like : >from 194.195.196.0 to 194.195.196.255 but it doesn't work, except if i make >an authentication for only one IP Address. I tried to m

[PHP] problem with cgi-binary

2001-02-28 Thread James Hamilton
Hi Setup is RH7 on intel running php4.01pl1 as a cgi binary. virtual server apache conf file includes Action php-script /cgi-bin/php AddHandler php-script .php when php script is called, the following error occurs: Parse error: parse error in /www/hosted/(Server name)/cgi-bin/php on line 598

[PHP] PHP and Mod_auth_mysql.

2001-02-28 Thread Lists
Hi, Mod_auth_mysql uses a persistant connection to mysql. Will php use the same connection for any given apache child or does that then mean to mysqlds for each child, one used with mod_auth_mysql and one when php does requests ? Hope I'm making myself clear. -- PHP General Ma

Re: [PHP] Compiling Scripts

2001-02-28 Thread John Donagher
You mean the Encoder. The Optimizer has no such requirement. John On Wed, 28 Feb 2001, Jeff wrote: > Use the zend optimizer, www.zend.com . Of course it requires the people who use > the script to have the optimizer as well, but at least they can't see the > source. > > Jeff > > Johnny Withe

[PHP] checking for a defined function

2001-02-28 Thread Eric Peters
how can I do something like if(!defined(cybercash_encr())) dl("cybercash.so"); anyone know of a good way to see if a function/module has been included in php? I need a run time solution for a script to be encoder()ed and distributed, Thanks Eric -- Support your government, give Echelon / Ca

Re: [PHP] Compiling Scripts

2001-02-28 Thread Jeff
Use the zend optimizer, www.zend.com . Of course it requires the people who use the script to have the optimizer as well, but at least they can't see the source. Jeff Johnny Withers wrote: > [I'm not on this list, please CC me in reply] > > Is there any way to compile a .php file instead of usi

Re: [PHP] PHP Manual in EBOOK Format

2001-02-28 Thread eschmid+sic
On Thu, Mar 01, 2001 at 12:50:49PM +1300, YoBro wrote: > Does anybody know of, or have the ability to convert the PHP html manual > into an EBook for the likes of a palm pilot or Franklin reader? Try http://php.net/docs.php and look under Other Versions. -Egon -- http://www.linuxtag.de/ http:

[PHP] Restrict Access per IP Addresses

2001-02-28 Thread Nazoréen
Hello, i'm Anthony from France :-) well i have a problem, i try make an authentication per range IP Address like : from 194.195.196.0 to 194.195.196.255 but it doesn't work, except if i make an authentication for only one IP Address. I tried to make with "LOOP" and "WHILE" tag, but i got the pro

[PHP] PHP Manual in EBOOK Format

2001-02-28 Thread YoBro
Does anybody know of, or have the ability to convert the PHP html manual into an EBook for the likes of a palm pilot or Franklin reader? This could really help for around the office and meetings. -- Regards, YoBro - DO NOT REPLY TO TH

[PHP] A little help with my script

2001-02-28 Thread Felipe Lopes
I found this script on the internet...It's a script of a message board...My problem is that I just want to display the 30 newer messages stead of all messages...What do I have to change??? ... script: ", $message);

[PHP] Template recommendations

2001-02-28 Thread Joseph H Blythe
Hey all, I am developming a site using FastTemplates, but I have run into a problem which it looks like I will not be able to resolve, I have posted to this list and the makers of FastTemplate but have recieved no clues on what is going on. I have decided to try and find another template syste

RE: [PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Aviv Revach
Hey! So what do YOU offer me to do? Should I use visual Hebrew (write a php3 script which will reverse Hebrew words), or should I stick only to Logical Hebrew? Thank you in advance - Aviv Revach At 17:50 28/02/01 -0300, Manuel Lemos wrote: >Hello Boaz, > >How are you doing these days? :-)

RE: [PHP] Developer certifications

2001-02-28 Thread Mark Maggelet
On Wed, 28 Feb 2001 15:16:41 -0600, kmurrah ([EMAIL PROTECTED]) wrote: >actually, it IS a timed test, so you cannot simply "spend all day >looking up >the right answer." Heh, maybe not all day, but I took it twice to see if speed was getting counted in the score. The first time I sped thru it, an

Re: [PHP] regex frustration

2001-02-28 Thread Chris
Try the perl compatible one, you can set a limit of how many times to replace: http://www.php.net/manual/en/function.preg-replace.php > I've tried and tried to no avail, can someone assist > I need to select the first space in a line like the following > Nelson Bob and Mary, 123 Street st., Ash

Re: [PHP] regex frustration

2001-02-28 Thread Simon Garner
From: "Jerry Lake" <[EMAIL PROTECTED]> > I've tried and tried to no avail, can someone assist > I need to select the first space in a line like the following > Nelson Bob and Mary, 123 Street st., Ashton, 555-1212 > > I need to replace the space between Nelson and Bob with > a comma so I can sep

[PHP] require on compressed files

2001-02-28 Thread Shane Wegner
Hi all, I am trying to get the expected behavior of: require("filename.gz"); or require("filename.bz2"); to work properly. Beyond using gzopen, gzread, and gzwrite to do it using a temp file, is there any other way to include a compressed file with PHP code? I thought of using gzread and passin

[PHP] regex frustration

2001-02-28 Thread Jerry Lake
I've tried and tried to no avail, can someone assist I need to select the first space in a line like the following Nelson Bob and Mary, 123 Street st., Ashton, 555-1212 I need to replace the space between Nelson and Bob with a comma so I can separate the first and last names in my DB ^\D*\s will

Re: [PHP] Passing values from ASP to PHP

2001-02-28 Thread Thomas Deliduka
Well, if it's a query string it's easy... In the ASP page you do: <% Response.Redirect("myscript.php?" & Request.ServerVariables("QUERY_STRING")) %> If it's posted form data do this: <% Dim Querystring Querystring = "" For each Item in Request.Form if Querystring = "" Then Querystr

[PHP] Question about session data and pop window!

2001-02-28 Thread Zenith
If one of the script ( abc.php ) will generate a pop up (browser) windows, asking for user confirmation, then, if the user click on the form button inside that pop up windows, the form data will submit to also ( abc.php ), then, does the session data share among this two windows? Zenith -- PH

[PHP] Info needed

2001-02-28 Thread Chris
Hi again, Has anyone here come accross a Rich Text Format to HTML converted based on PHP? Thanks, Chris

RE: [PHP] Developer certifications

2001-02-28 Thread kmurrah
actually, it IS a timed test, so you cannot simply "spend all day looking up the right answer." BTW, if you do want to take the test, today is the last day that the exam is offered for free ... tomorrow they start charging $20 or so for each exam -Original Message- From: Mark Magge

[PHP] Problem creating and manipulating Jpegs with GD

2001-02-28 Thread Cherie Benoit
I know you've addressed this already, but I'm still learning a lot of things and didn't get much from the previous posts. :) I am using a hosting service, not my own server. So before I complain that they installed the jpeg module incorrectly I need someone to make sure it is not my code. This c

[PHP] How can I log a record??

2001-02-28 Thread Zenith
Hello, I am using PHP4 + mysql + Apache to do a little project, Now, I want to let the end user can browse the record in a database table. Someone may want the record, through my php script interface, how can I log the record, which the user is editing and going to save it. Or at least how can o

[PHP] Passing values from ASP to PHP

2001-02-28 Thread Isaac
I've been given a project that I want to use PHP with, but unfortunately there are unchangable hard-coded values that point clients to an ASP script residing on our server. Here's what I want to do, and I don't really know how to do it: I want to pass all the key/value pairs that are passed to th

RE: [PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Manuel Lemos
Hello Boaz, How are you doing these days? :-) On 28-Feb-01 16:39:35, you wrote: >The figures I'm giving you are from one of the two biggest portals in >Israel. >it's less than 3%. Mind me for jumping in, but I think Aviv question about the truth of the 3% figure ie very pertinent. The way I s

Re: [PHP-CVS] cvs: php4 /sapi/apache2filter README sapi_apache2.c

2001-02-28 Thread Sascha Schumann
On Wed, 28 Feb 2001, Sascha Schumann wrote: > sas Wed Feb 28 06:19:16 2001 EDT > > Modified files: > /php4/sapi/apache2filter README sapi_apache2.c > Log: > httpd-2.0 cvs seems to be busted. I'm getting very strange backtraces > and the header filter still seems to be brok

RE: [PHP] Cold Fusion vs. PHP

2001-02-28 Thread John Huggins
Try this... http://www.google.com/search?q=PHP+vs.+ColdFusion > -Original Message- > From: Alex Puritche [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 28, 2001 3:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Cold Fusion vs. PHP > > > Hi, folks! > I'll highly appreciate if som

[PHP] logic question concerning sale prices in shopping basket app

2001-02-28 Thread Brett
I have a simple page that offers three items(7700,7701,7702). I am trying to figure the best way to calculate the price for each shirt depending on the amount they want. The breakdown of prices is: Any 3 shirts for $50 7700 - 3 for $33 or $14.99 7701 & 7702 - 3 for $50 or $25. So I sort throu

Re: [PHP] Developer certifications

2001-02-28 Thread Mark Maggelet
On Wed, 28 Feb 2001 20:54:07 +0200 (EET), Dragos Roua ([EMAIL PROTECTED]) wrote: >Hello, > >If you'll take a look at Brainbench.com you'll see a PHP4 cert exam >there. As >brainbench plan to become a paid service, their certifications may >start worth >something sometime. The brainbench exam is t

[PHP] Cold Fusion vs. PHP

2001-02-28 Thread Alex Puritche
Hi, folks! I'll highly appreciate if somebody can send me URL of the page where I can read performance comparison of the both techniques, of course if somebody has it own experience in such things then I'll get to know it with increased attention! P.S. I'm a bit abashed because of my English. I'm

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Mark Maggelet
On Wed, 28 Feb 2001 12:33:55 -0800, Dallas K. ([EMAIL PROTECTED]) wrote: >I am looking for somthing that will parse a multidimentional array >of any >size, and return a key / value listing for debugging > >Example: > >if I have an array such as... > >$arr[name] = dallas >$arr[address][city] =

RE: [PHP] Double Click

2001-02-28 Thread John Huggins
If you are lucky and are feeding this form data to a database, you can create a unique hash field from other fields that would not change from click 1 to click 2. Then just make the database treat the hash as a unique index and it should prevent double entries. Works for me. Other advice is to

Re: [PHP] Manuel Lemos's PHP POP3 class

2001-02-28 Thread Manuel Lemos
Hello Adrian, On 28-Feb-01 14:00:48, you wrote: >anyone using this class: >whats a good way to extact the address of who sent the mail and stick it in >a variable,in order >to reply? You need to retrieve the message headers with the function RetrieveMessage and then look in the $headers array

Re: [PHP] Double Click

2001-02-28 Thread Manuel Lemos
Hello Fabian, On 28-Feb-01 03:01:02, you wrote: >Hi, >I have a page, and when I have to add a product I use a form, many people are >used to make double click in every task, so when the product is sent with a >double click in the send button, the program send it twice to the data base. >What

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Steve Edberg
At 12:33 PM -0800 2/28/01, Dallas K. wrote: >I am looking for somthing that will parse a multidimentional array of any >size, and return a key / value listing for debugging > >Example: > >if I have an array such as... > >$arr[name] = dallas >$arr[address][city] = austin >$arr[address][state] =

[PHP] Compiling Scripts

2001-02-28 Thread Johnny Withers
[I'm not on this list, please CC me in reply] Is there any way to compile a .php file instead of using the source code to distribute? Problem is, I may have to release an application written in PHP out to companies who do not wish to use this application across the Internet and would like to use

RE: [PHP] Hebrew websites transition with php3 ..

2001-02-28 Thread Boaz Yahav
The figures I'm giving you are from one of the two biggest portals in Israel. it's less than 3%. I'm not sure about Opera, if you are developing for an Israeli audience, you can simply develop for IE 4.x and up. anyone with any other browser can go and get IE :) -Original Message- From:

[PHP] Can't get extension dlls loaded in Windows

2001-02-28 Thread Alan Hale
I'm using Omnihttpd Pro personal web server running on Windows ME, and with PHP 4 bundled with the server. When I try to enable dlls by uncommenting lines in php.ini (e.g. ;extension=php_gd.dll) the browser becomes unable to load pages from the server, takes a long time trying and then gives up wi

Re: [PHP] How to disable some functions?

2001-02-28 Thread Steve Edberg
At 4:54 PM + 2/28/01, Philip Reynolds wrote: >Batonik's [[EMAIL PROTECTED]] 15 lines of wisdom included: >:>Hi, >:> >:> I've heard that it is possible, for security reasons, to disable >:>such functions like phpinfo(). How can I do this? > >You can edit the sources... >PHP4: $PHP_BASE_DIR

[PHP] When form doesn't know what it's sending

2001-02-28 Thread Matt Hanley
Hi. i've concatenated a string from a while statement on a SQL query. example: "$mars","$venus","$jupiter". let's say i call this $planets. there are actual variables from a posted form with those names. say, $mars=1, $venus=2, $jupiter=3. however, when i echo "$planets" i get the string "$mars

Re: [PHP] How to insert time and date into mysql?

2001-02-28 Thread Christian Reiniger
On Monday 28 February 2000 19:15, you wrote: > How can I insert time and date into mysql table, > if the table i have to insert has a field of type time, and a field of > type date. > > Then how can I insert it in PHP, if I use time() function?? Look at the MySQL manual, function FROM_UNIXTIME()

[PHP] ora_error segfaults

2001-02-28 Thread Hardy Merrill
I'm receiving consistent segfaults when invoking ora_error after an ora_exec error. When I give SELECT abc FROM customer and "abc" is *NOT* a valid column name for "customer" table, then ora_parse is successful, but ora_exec fails - and if as a result of the failure I try to call ora_error

RE: [PHP] exchange data between javascript & php!

2001-02-28 Thread Johnson, Kirk
I know of two ways to pass data from PHP to JavaScript. 1. Do an "echo" in the JS function definition: function myJavascriptFunction() { var foo = ; } 2. Assign the PHP variable to a HIDDEN element, then access this from JS: function myJavascriptFunction () { document.forms[0].som

RE: [PHP] Developer certifications

2001-02-28 Thread swinkle
Brainbench, www.brainbench.com offers many online certifications, including one in PHP. >= Original Message From [EMAIL PROTECTED] (Chris Adams) = >Does anyone know of a company which is offering or planning to offer PHP >developer certifications? Arguments against certification progra

Re: [PHP] Developer certifications

2001-02-28 Thread Dragos Roua
Hello, If you'll take a look at Brainbench.com you'll see a PHP4 cert exam there. As brainbench plan to become a paid service, their certifications may start worth something sometime. My 2 cents anyway... > Does anyone know of a company which is offering or planning to offer PHP > developer cer

[PHP] Developer certifications

2001-02-28 Thread Chris Adams
Does anyone know of a company which is offering or planning to offer PHP developer certifications? Arguments against certification programs aside[1], there are a lot of companies which prefer certified developers, even to the point of assuming a project done in ASP will be better than the same thi

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Ernest E Vogelsinger
At 21:33 28.02.2001, Dallas K. said: [snip] >I am looking for somthing that will parse a multidimentional array of any >size, and return a key / value listing for debugging > >Example: > >if I have an array such as... > >$arr[name] = dallas >$arr[address

Re: [PHP] Pluralize a word for searching a database

2001-02-28 Thread richard merit
I don't think you can since the plural form of English words can vary, woman, women, families, family, foot, feet, church, churches, sheep, sheep, road, roads... ? rm --- "Robert V. Zwink" <[EMAIL PROTECTED]> wrote: > Has anyone every written a function in php to > pluralize an english word

[PHP] PHP 4.0.4pl1 --with-oracle

2001-02-28 Thread Hardy Merrill
Anyone experience any problems working with Oracle when PHP has Oracle compiled in --with-oracle=/oracle/home/dir? I am occassionally having the webserver hang when I try to execute a php script that I'm testing to access an Oracle database - this was causing Oracle processes so I re-compiled wi

[PHP] Please turn me off from this list

2001-02-28 Thread Mike Futerko
unsubscribe -- 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] Pulling my hair out over Netscape...

2001-02-28 Thread Ernest E Vogelsinger
At 18:57 28.02.2001, Jackson, Michael said: [snip] > Hello everyone... I've been developing a PHP app here for a while >now, and I have been encountering some most frustrating situations in which >something will work in IE but not Netscape. Some of t

[PHP] Need an array parser(CONT)

2001-02-28 Thread Dallas K.
I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city] = austin $arr[address][state] = Texas $arr[somthing][somthing_else][blah1]= some_valu

Re: [PHP] sitemap script

2001-02-28 Thread Tim O'Callaghan
ahh my mistake .net, you know what i mean :) tim.. - Original Message - From: "Tim O'Callaghan" <[EMAIL PROTECTED]> To: "Ali" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 1:19 PM Subject: Re: [PHP] sitemap script > try freshmeat.org > > http://freshmeat.n

[PHP] Need an array parser

2001-02-28 Thread Dallas K.
I am looking for somthing that will parse a multidimentional array of any size, and return a key / value listing for debugging Example: if I have an array such as... $arr[name] = dallas $arr[address][city] = austin $arr[address][state] = Texas $arr[somthing][somthing_else][blah1]= some_valu

Re: [PHP] sitemap script

2001-02-28 Thread Tim O'Callaghan
try freshmeat.org http://freshmeat.net/projects/phpsitemapper/ hope it helps :) tim - Original Message - From: "Ali" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 1:16 PM Subject: [PHP] sitemap script > Does anybody know of a sitemap script written

[PHP] How to insert time and date into mysql?

2001-02-28 Thread Zenith
How can I insert time and date into mysql table, if the table i have to insert has a field of type time, and a field of type date. Then how can I insert it in PHP, if I use time() function?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

[PHP] sitemap script

2001-02-28 Thread Ali
Does anybody know of a sitemap script written in php? I appreciate any hint. Ali -- 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] Pulling my hair out over Netscape...

2001-02-28 Thread Batonik
On Wed, 28 Feb 2001, Jackson, Michael wrote: > I.E. I enter a value, hit OK. Then I press the back button. Then > I enter a DIFFERENT value, and hit OK. The SAME value is passed to the PHP > script! I'm using the post method, and I haven't found a way to shake this > yet! This is afflicting

php-general Digest 28 Feb 2001 17:54:33 -0000 Issue 539

2001-02-28 Thread php-general-digest-help
php-general Digest 28 Feb 2001 17:54:33 - Issue 539 Topics (messages 41953 through 42047): Move a file from dir to another or delete file..? 41953 by: Dhaval Desai 41954 by: Simon Garner 41957 by: Yasuo Ohgaki 41982 by: Christian Reiniger 41997 by: Ti

[PHP] Pulling my hair out over Netscape...

2001-02-28 Thread Jackson, Michael
Hello everyone... I've been developing a PHP app here for a while now, and I have been encountering some most frustrating situations in which something will work in IE but not Netscape. Some of this seems to be IE's allowances for sloppy coding... :) But here's a new one. I have a form,

[PHP] exchange data between javascript & php!

2001-02-28 Thread kaab kaoutar
Hi! i want to when i click on a button, i execute some php syntax ! i also want to give a php variable to a javascript function Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP Gene

Re: [PHP] PHP and iPlanet on Solaris

2001-02-28 Thread Kelly Corkill
Sounds like the server doesn't have or recognize the mime type, ala on apache in srm.conf: application/x-httpd-php3 phtml php3 php I'm not familiar with iPlanet but on apache I would check the mime type definition, apache httpd.conf and make sure to restart the server to reload. On Wed, 28 Feb

[PHP] Re: [PHP-WIN] Re: [PHP] Revised [PHP] COM and PHP

2001-02-28 Thread Alain Samoun
Among other articles, look at the COM functions in PHP4 article: http://www.phpbuilder.com/columns/ Alain On Wed, Feb 28, 2001 at 11:35:15AM +0100, Daniel Tryba wrote: > On Mon, Feb 05, 2001 at 03:05:24PM -0500, Conover, Ryan wrote: > > I have been trying the following example from the PHP devel

Re: [PHP] found a bug with File Uploads..

2001-02-28 Thread TTT
Hi , in fact it doesn't do much ( at least on the couple browser I tested it) : whatever you put as a limit the file will upload ... this is a p.. in the a... because if you do the check on the server it can only be done when the upload is complete : pretty unfair to tell the user that he has no

Re: [PHP] second select how???

2001-02-28 Thread Jason Jacobs
Mmhmm...onChange() event...it's javascript. Go to webmonkey.com and search for it. They have a cute little tutorial about how to do that. Good luck. Jason - Original Message - From: Miguel Loureiro <[EMAIL PROTECTED]> To: php-gen <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001

Re: [PHP] PHP single user??

2001-02-28 Thread Chris Lee
sounds like a db prodblem, vs php. could be wrong. check your config file. for the max users. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] "Todd Cary" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

Re: [PHP] re:mod_dav and dreamweaver 4.0

2001-02-28 Thread Michael A. Peters
Not DreamWeaver specifically- but to make sure the problem is DreamWeaver and not something else, try connecting with a different webDAV client. I can personally vouch for Goliath under Mac OS and DAVExplorer under x86 Linux (DAVExplorer requires you have the JRE installed- and that java is in

[PHP] second select how???

2001-02-28 Thread Miguel Loureiro
Hello all, I have a dynamic select box, according information in database, but I want to restrict a second select box with the choice made in the first select box, but my problem is that I only know the value of the first one after submit form. It is possible to know a choice of a select box wi

  1   2   >