Re: [PHP] File open Question?

2001-04-16 Thread David Serrano
Ok, I think I get it, though I have one more question to access a specific line of that array would it just be as simple as $array[2]? -David Serrano "Brian Clark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > if(! $array = @f

Re: [PHP] File open Question?

2001-04-16 Thread David Serrano
Ok thats what I though. Thanks for your time -David Serrano "Brian Clark" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi David, > > @ 7:35:06 PM on 4/16/2001, David Serrano wrote: > > > Ok, I think I get it, t

Re: [PHP] Files without type???

2001-04-17 Thread David Robley
index.php is "" (should be "file") >Ansatte is ""(should be "dir") >Produkter is "" (should be "dir") >Kontorer is "dir" >view.php3 is "&qu

Re: [PHP] need help

2001-04-17 Thread David Robley
t; ... that isn't writing anything to the file. any help would be > appreciated. thx in advance The third arg to fwrite (optional) is an integer value for the length of the string to be written. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJ

Re: [PHP] Password Generator?

2001-04-18 Thread David VanHorn
At 02:20 PM 4/18/01 -0600, Ashley M. Kirchner wrote: > Is there an easy way to generate generic passwords based on >(combined) dictionary words? (ej: take two different words and put them >together) Would be huge, and vulnerable to dictionary attack (of course) You'd have to have a file con

Re: [PHP] HTMLSpecialchars

2001-04-18 Thread David Robley
r just use nl2br when you actually display the text, rather than trying to put the in your database. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://a

Re: [PHP] Which is better coding style...

2001-04-19 Thread David Bouw
Your coding style is not the most used.. But I must be honest and tell you that I also find the clearest way... I also use it on all my own code.. It has got the advantage that you always see all brackets (no need to scroll to the right to find a bracket) and if you go down on the same horizontal

Re: [PHP] SQL Select Unique() ?

2001-04-19 Thread David Robley
string and do an OR search on all the words. > > as opposed to having the "OR" in as well? > > Thanks, as always, > > James. Broadly, in this type of situation the row will only be returned once notwithstanding that it might meet several citeria. -- David Ro

Re: [PHP] more an SQL issue but I can't find any help

2001-04-19 Thread David Robley
OW()-18years) using whatever your DB supports for the last bit :-) I _think_ it might work as is with recent MySQL. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet|

Re: [PHP] How do I detect if mysql_connect failes?

2001-04-19 Thread David Robley
message would be some kind if string :-).) > > Here comes another problem, when an error occours I should be able to > see the message with mysql_error() (since the linkid not contains an > error message.) > > Marcus R. Try testing the value of mysql_errno() and echo mysql_e

Re: [PHP] regarding time()

2001-04-19 Thread David Robley
ried using many other functions date,mktime(),etc.. > please help in this regard.. > thanx in advance.. > Reena Does localtime help? -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTR

Re: [PHP] Regular Expressions?

2001-04-19 Thread David Robley
www.robotwisdom.com/net/regexps.html http://www.technobreeze.com/phptutorial/tutorial.regexp.php3 one interesting page is javaregex.com which could look a lot like a , oh, phpregex.com ? -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES

Re: [PHP] regarding time()

2001-04-20 Thread David Robley
reena > > On Thu, 19 April 2001, David Robley wrote: > > On Fri, 20 Apr 2001 16:03, [EMAIL PROTECTED] wrote: > > > hi.. > > > i have some problem regarding time() functions.it returns the time > > > with some offset w.r.t to our normal system time.

Re: [PHP] more an SQL issue but I can't find any help

2001-04-20 Thread David Robley
On Fri, 20 Apr 2001 17:02, you wrote: > Yes but how I can "say" 18 years ??? > > Marian Vasile > IT Manager > Schnecker van Wyk & Pearson > www.investments.ro > +40 (0) 1 2309000 > > > -Original Message- > > From: David Robley [mailto:[EM

[PHP] compiling PHP 4.04pl1 as dymanic module with Apache 1.3.19

2001-04-21 Thread David Bouw
n.. Thanks for all help.. Bye Bye David -- 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] pumping database dump in mysql

2001-04-21 Thread David Bouw
a problem the other database can directly be used to restore the backup and you don't have to search for the dump file.. Sucess.. Bye Bye David > I want to write a script that takes a mysql dump file and pumps it into the > database. > I got the dump in a variable and then

Re: [PHP] php powered forums

2001-04-22 Thread David Robley
On Mon, 23 Apr 2001 15:34, kenny.hibs wrote: > Don't know if this id the place to ask but > Can anyone recommend a good php powered forum that I could use on my > site. > > kenny Phorum - http://www.phorum.org/ -- David Robley| WEBMAST

Re: [PHP] What's wrong with this code?

2001-04-23 Thread David Bouw
hat much memory for the process.. What solution you will have to use I don't know, problaby read blocks of 500 kilobyte process it and then reuse the variable to read the next 500 kilobyte etc etc till you are finished.. Bye Bye David > $file = fopen("includes/about.inc&q

Re: [PHP] Having trouble executing unzip from PHP script

2001-04-23 Thread David Robley
N3T "); > > Thanks > > Dexter What about permissions? Remember that scripts run as the webserver user, possibly nobody. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

Re: [PHP] date plus 7 more days

2001-04-23 Thread David Robley
t; for ($i=1; $i < 9 ; ++$i){ > $First = $First + 7 ; > } > *** Try it and you'll see why it won't work as you expect. Then check the manual for mktime which can do what you want. -- David Robley| WEBMASTER & Mail List Adm

Re: [PHP] Now, why doesn't this work?

2001-04-23 Thread David Robley
ame on my host and on my Linux box. The version of php and mysql are > the same on ALL of the machines (host, Win2k, Slackware). > > Any ideas? > > Thanks everyone, > Tyler IIRC the syntax error is just before the snippet returned by mysqlerror so you might check the va

[PHP-CVS] cvs: php4 /sapi/caudium caudium.c

2001-04-23 Thread David Hedbor
neotron Mon Apr 23 18:08:35 2001 EDT Modified files: /php4/sapi/caudium caudium.c Log: Disable use of th_farm since it doesn't seem to work. Uses a Pike layer thread farm now instead. Index: php4/sapi/caudium/caudium.c diff -u php4/sapi/caudium/caudium.c:1.1

Re: [PHP] BASIC function question

2001-04-23 Thread David Robley
the query lines after each edit case > it does update the page contents. > > I'm missing something basic, but what? > > Martin S. Your function isn't doing anything to return values of the rows you are selecting. -- David Robley

Re: [PHP] Using

2001-04-23 Thread David Robley
age(); > >> > >> switch($action){ > >> case INITIAL_PAGE: > >> initial_page; > >> break; > >> case SELECT: > >> select(); > >> break; > >> default: > >>

Re: [PHP] sending files by mail

2001-04-24 Thread David Robley
; > Calin You'll need to read the data from the file into a variable which you can then process and send with mail() -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Fact is solidified o

[PHP] How do I unsubscribe from this list

2001-04-24 Thread Walgamotte, David

Re: [PHP] math calculations query

2001-04-26 Thread David VanHorn
At 08:31 PM 4/26/01 +0100, [EMAIL PROTECTED] wrote: >hi all, > >i have a script which selects description, price and quantity from a mysql >table. > >i have displayed the results on a page in the form of description, price, >quantity but I was wondering how best to go about calculating a total tot

Re: [PHP] A newbie search site question

2001-04-26 Thread David Robley
t; > > But I always get the "Sorry, no matching ..." output > even though my SQL table has the word in its field. > Would someone help me with this. Any suggestion, hints > or tips will help me so much. > > Thank you in advance, A general tip - whenever you are hav

[PHP] php 4.04pl1 & ldap

2001-04-30 Thread Walgamotte, David
Is LDAP support default or are there any ./configure options I need to know ? David

[PHP] LDAP support for 4.0.5

2001-05-01 Thread Walgamotte, David
well with php. Thanks in advance for any assistance !! David

[PHP] Hosts.

2001-05-01 Thread David Bruce
My host is Windows 98, Xitami and unstable MySQL and Perl/CGI. I'm looking for a *free* host, with CGI, Perl 5+, MySQL access, SSI & PHP. Thanks, Owen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] substitute for assigning with array()?

2001-05-02 Thread David Minor
I had some code that was working nicely. In it, I was assigning values to a multidimensional array like: $array_name[0] = array( key1 => 'val', key2 => 'val', key3 => 'val'); I added a function that directly assigns vars to the same array like: $array_name[0][key4] = 'val'; If thi

[PHP] enable-trans-sid

2001-05-03 Thread Walgamotte, David
I upgraded from 4.0.4 to 4.0.5 and trans sid no longer works. Any ideas ? DW

Re: [PHP] Re: [PHP] Large Memory Problem

2001-05-07 Thread David VanHorn
At 02:59 PM 5/7/01 +0100, Tom Carter wrote: >Hi > >This isn't a PHP thing, but most unix/linux distributions have a program >called wget in. You can use this to very easily download a file to your >server (eg. wget http://www.freebsd.com/man.php) Wget is VERY powerful. I have a php based site th

Re: [PHP] Whether through PHP/MySQL can I talk to Flash Generator'sFlash ?

2001-05-08 Thread David Pieper
romedia.com http://www.gendev.net There are some other but I'd have to dig for them. > > I do not know how to see 'Archive' of this mailing list. Can any body give > me the URL ? http://php.net/support.php > > Regards, > manisha > Enjoy, David Pieper --

Re: [PHP] need better solution...

2001-05-14 Thread David Robley
t; ?> > > sadasdsa > > > what do I do in this case??? I've tried all kinds of programing > techniques... but none of them seems to fit here. exit or die are probably the tools you want. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR

Re: [PHP] need better solution...

2001-05-14 Thread David Robley
On Tue, 15 May 2001 10:58, Christian Dechery wrote: > At 10:35 15/5/2001 +0930, David Robley wrote: > >On Tue, 15 May 2001 09:40, Christian Dechery wrote: > > > In most of my scripts there are always headers and footers to html > > > outputs... like logos, images, and o

Re: [PHP] output of file contents while reading

2001-05-15 Thread David Robley
ork so far, probably because > I don't understand the nitty gritty of file handles. > > Thanks Not so much a problem with the file, rather the way the webserver handles output. Try using flush() to force data to be sent to the client. -- David Robley Techno-JoaT, Web Maintaine

Re: [PHP] Array question

2001-05-16 Thread David Robley
iter with the optional third parameter." So it seems that $data will be an array of the current line being returned from the file? Have a look at the docs (/manual/en/function.fgetcsv.php) for an example of how to read and output the contents of a csv file. -- David Robley Techno-J

Re: [PHP] Uptime script?

2001-05-16 Thread David VanHorn
At 08:18 PM 5/16/01 +0200, Christian Reiniger wrote: >On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote: > > Why would you want to advertise that? Seems like you would be leaking > > information to crackers ... > >It's very difficult to imagine how 'uptime' information could be used to >cau

Re: [PHP] Uptime script?

2001-05-16 Thread David VanHorn
At 03:30 PM 5/16/01 -0500, Ben Gollmer wrote: >Uptime.exe is available on the WinNT / Win2k resource kit. You can also >download it here: > >http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default. >asp Does the windows version have the ability to count larger than hours? :) -

[PHP] Netscape problem with $PHP_SELF?do_something

2001-05-16 Thread Jaeggi David
Hello everybody! I have a problem that a script is not working with netscape. The script is shown here: echo "goto add";` //Link if ($argv[0] == "add";//The Link jumps to this point of the script [do something] It's perfectly working with the internet explorer. with netscape (newes

RE: [PHP] Netscape problem with $PHP_SELF?do_something

2001-05-17 Thread Jaeggi David
1 7:36 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Netscape problem with $PHP_SELF?do_something > > > dunno...never had problems with phpself > actually try $PHP_SELF instrad of $php_self... > > -elias > > ""Ja

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread David VanHorn
At 12:05 PM 5/17/01 -0500, Troy Moreland wrote: >I fully understand what you are saying. The problem is that I'm storing >their password so that they don't have to re-enter it on each new page >visited. If I can't decrypt it, then I can't pass that password for the >user. How do I keep passing

Re: [PHP] preprocessing

2001-05-17 Thread David VanHorn
At 10:18 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote: >I have what I feel to be a strange problem (I'm most likely wrong here). >I have page A, which is an internal page, which posts to page C which is >external (belongs to another company). What I would like is to insert a >preprocessing script

RE: Re: [PHP] preprocessing

2001-05-17 Thread David VanHorn
At 10:48 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote: >Unfortunately, I don't control page c, or else this would be a mute point. >That's why I need page B. Good idea though. Well, it sounds like an auto-redirect is about your only choice. -- Dave's Engineering Page: http://www.dvanhorn.org Wher

Re: [PHP] Mail with Win2K

2001-05-17 Thread David Robley
do > to use the mail() function on a Win2k advanced server box? PHP 4.0.5 > > Thanks > Brandon You'll need to define which smtp server you are using, in your php.ini. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders Univer

Re: [PHP] How do I have a Authentication box pop up?

2001-05-17 Thread David Robley
module and is hence not available in the CGI version." Presumably as you are runnig IIS, you will not be using tha Apache module. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA "I have

Re: [PHP] How Do I Escape from This List???

2001-05-17 Thread David Robley
On Fri, 18 May 2001 07:07, Ron Pitts wrote: > Ron Pitts > Caravela Books > 134 Goodburlet Road > Henrietta, NY 14467 http://caravelabooks.com Didn't I send instructions off list on how to unsubscribe a particular address? Do they not work? -- David Robley Techno-Joa

RE: [PHP] sending attachments with mail

2001-05-19 Thread David Price
There are a few scripts listed at http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili ties/ that might do what you want. David Price -Original Message- From: Mark Wouters [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 19, 2001 3:10 PM To: [EMAIL PROTECTED

Re: [PHP] form posting problem - $variables get padded with spaces

2001-05-22 Thread David Robley
Something like: Perhaps a look at a code snippet, if this is not the case? -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Don't force it, use a bigger hammer. -- PHP General Mailing List (

Re: [PHP] Running two scripts from HTML

2001-05-22 Thread David Robley
efering page, or a hidden value passed to the script? -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Power corrupts; absolute power is even more fun. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Date (Year) .. adding..

2001-05-22 Thread David Robley
e and cannot get the year to > come out. > > Any suggestions? > > Thanks > Jason for($x=0; $x<20; $x++) { $year = date("Y") + $x; // Shift bracket! print($year . "\n"); } -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc C

Re: [PHP] Whitespace

2001-05-22 Thread David Robley
ace) > > TIA > > Wade /manual/en/function.str-pad.php should do the trick -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA Windows: just another pane in the glass. -- PHP General Mail

Re: [PHP] Inoltra: Re2: [PHP] problem getting oracle to work with php4

2001-05-23 Thread David Robley
still getting the same error (see above). > I even tried giving that lib 777 perms ... and linked it to where > libphp4.so is > but nothing ... still get the same error. > What now ? > > > Bye > Dave Did you remember to run ldconfig (as root) after changing your ld.so.

Re: [PHP] while statements output to variables

2001-05-23 Thread David Robley
' > > ' . > > do { > 'data to be outputted' > }while ($something = mysql_fetch_array($query)); > > .' > > '; > > ?> > > any help? See the manual entry for mysql_fetch_array(), which gives an example of how to do this. You

Re: [PHP] include and include-virtual

2001-05-23 Thread David Robley
That's really an apache-related question. Try http://httpd.apache.org/docs/mod/mod_include.html -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA "It's half a score," Tom said ofte

Re: [PHP] two data base connections on one page

2001-05-23 Thread David Robley
ons would be greatly appreciated > > Peter Once you have opened a connection, you should be able to use mysql_db_query multiple times, specifying different databases each time, and of course using different variables for the result identifiers. -- David Robley Techno-JoaT, Web Maintai

[PHP] Warning: Cannot send session cookie

2001-12-26 Thread David Jackson
Greetings -- PHP + MySQL + sessions? I'm trying use the script( and html page) to below to set session variables, but keep getting the follow errors: NOTE: I seen several posting re: using $HTTP_SESSION_VAR is another case where that would apply? Thanks in advance, David Ja

[PHP] Translating email to (real) plain text...

2001-12-27 Thread David Bouw
l the members.. Does anyone khow this is done..? Thanks in advance for any help.. With kind regards.. David Bouw PS: To give some examples of problems I see in the retrieved mail I have quoted some p

Re: [PHP] Exec as user

2001-12-27 Thread David Jackson
Charles --- As a general run on an Unix server httpd is run as user and group "nobody". > I have been looking through the docs and found no help on either > finding which user the EXEC'ed commands run as, or how to specify which > user they should run as. I tried exec, system, and passthru run

Re: [PHP] Create a table with more than 1 column

2001-12-27 Thread David Jackson
), you could use a simple shell script and run it as a cron job. Hope this helps, David Jackson > Hi list, > > I am in a big trouble. My deadline is coming and I couldn't solve my > problem yet! I have this script that outputs a table that can be seen > at > http://www.

RE: [PHP] crack lib

2001-12-27 Thread David Piasecki
This could easily and quickly lead to a philosophical argument about the merits of such software/libraries/etc. Is the best way to secure software and hardware to take away the resources to try to break them? This only leads to more and more poor programming. As long as these tools are out there,

[PHP] FOLLOW UP:[PHP] Warning: Cannot send session cookie

2001-12-27 Thread David Jackson
in in as a different id the records aren't added? Scripts: login.php and sales.php. Thanks for your time and knowledge, David Jackson - login.php --- "; echo "http://backoffice.pickledbeans.com/index.html\";>"; echo ""; mysql_free_result ($resu

[PHP] RESOLVED(maybe):Warning: Cannot send session cookie

2001-12-27 Thread David Jackson
All -- It appears that the problem was a table design problems, my primary index wasn't set to auto-increment? So I was trying to insert records with duplicate keys !! This of course leads to another question, how do I return SQL error messages to the browser? Thanks, David -- --

Fw: [PHP] Translating email to (real) plain text...

2001-12-28 Thread David Bouw
don't really understands what it does.. (Does it inject the email in mailer for the given IP number..?? Or does it try to deliver email himself to different hosts..?) I will try to solve the html.mime.class problems, and I think that will then also solve the decoding problem I have now.. B

RE: [PHP] Searching a string or similar

2001-12-28 Thread David Piasecki
This should be a better alternative: http://www.php.net/manual/en/function.strip-tags.php -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Friday, December 28, 2001 11:14 AM To: Ash Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Searching a string or similar if (s

[PHP] ARGGG! File uploading on a local Windows box.

2001-12-28 Thread David Balatero
em is, whenever I upload an image, $userfile is always "none". I know I'm uploading it on the form end, but it doesn't seem to register it on the PHP script's end. Any help here? Thanks, David Balatero ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Don't know if this help but here's what I just worked for me. What ver. of PHP are you using? It seem to me that 3.x.x needs PHPLIB: http://sourceforge.net/projects/phplib to handle sessions? -- David Jackson --- sean.php --- --- seaninc.php -- > On 12-29

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Do you get the same errors, with Netscape 4.x? > On 12-29 12:56, David Jackson wrote: >> Sean -- >> Don't know if this help but here's what I just worked for me. >> What ver. of PHP are you using? It seem to me that 3.x.x needs >> PHPLIB: http://

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Give the attached scripts a shot, a post the results. Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works fine but with Netscape-4.9 it returns var names? But when served from Unix/Linux and Apache all 3 work as expected !! Anywhy give them shot. -- David --- form.html --- http

Re: [PHP] Templating solutions?

2001-12-29 Thread David Jackson
Lauri -- You might want to take a look at: http://www.thewebmasters.net/php/ there's a tutorial located here: http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html -- David > Hi there! > > During the last two weeks or so, I've been bugged by a question deep >

Re: [PHP] Templating solutions?

2001-12-29 Thread David Jackson
Woops -- first link is to the site for PHPFastTemplate. > Lauri -- > You might want to take a look at: http://www.thewebmasters.net/php/ > there's a tutorial located here: > http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html > > -- David >> Hi ther

[PHP] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread David Jackson
thinking a array is created by check boxes? -- David order_form.php // Define table echo ""; // Generate book listing $result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM catalog ") or die("Dis ain't right !!"); while ( lis

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
compile problem to me. You might also want to cross-post to linux-admin mail list? -- David -- 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] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread David Jackson
Brian -- So I should change the line: echo ""; To: echo ""; Or do I change the value= Thanks -- David > * David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 > 21:41]: > > [...] > >> My question is how do I process checkbox when multi boxes have >>

Re: [PHP] MySQL problem

2001-12-30 Thread David Jackson
Here's the example from the PHP manual: The tutorial here are very helpfull: http://www.melonfire.com/community/columns/trog/ -- David \n"; while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { print "\t\n"; foreach ($line as $col_value) { pri

Re: [PHP] MySQL problem

2001-12-30 Thread David Jackson
k reply. I used the PHP manual example and it > connects to the database successfully but cannot select the database. > > I'm not sure why this is? I've looked hard at it and I cannot see where > I have gone wrong. > > Thanks. > > GF. > - Original Message -

Re: [PHP] web mail clients?

2001-12-31 Thread David Jackson
from appears to be a PHP front to "mailx", the saved mail is store in "Unix" type mail folders in my home directory. i.e. it appends messages to the end of a text file. Hope this helps. David > Hi, > > I'm looking into setting up a web based mail client for perso

Re: [PHP] Select box won't display in Netscape 4.xx

2001-12-31 Thread David Jackson
Miles --- Here's the link to W3C: HTML/XHTML and CSS validation page. It's a excellent tool for debuging pages. http://validator.w3.org/ David > > Sounds like a problem with HTML syntax. NS is notoriously fussy and IE > remarkably lax. Capture your source and compa

Re: [PHP] how to read posted data?

2001-12-31 Thread David Jackson
Also check out tutorials at: http://www.melonfire.com/community/columns/trog/ -- david > USE > $HTTP_RAW_POST_DATA > or something like that > > i'll look it up for you > "Zhiqiang He" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTE

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread David Jackson
Try Cross posting to: linux-admin list [EMAIL PROTECTED] > When I run the "make" after a successful "configure", I get the > following errors: > > stub.lo: file not recognized: File truncated > collect2: ld returned 1 exit status > make[1]: *** [libphp4.la] Error 1 > make: *** [all-recursive] E

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread David Jackson
Todd -- Send email to [EMAIL PROTECTED] In body of email: subscribe linux-admin You might also check for distrbution specific forum/list Slackware has one, I'm sure Redhat has some. By the why, were you compile Apache/Mysql and PHP from *tgz sources ? > David - > > <<&

Re: [PHP] cron test

2002-01-01 Thread David Jackson
How about posting to the OS specific related forum? For Linux try subscribing to linux-admin at [EMAIL PROTECTED] for Solaris, HP-UX and other check news group list DJJ > > > -Original Message- > > > > Sorry this is offtopic > > I have set up a cron job and this is the message I

[PHP] Generating Static Pages

2002-01-01 Thread David Jackson
tie into an "contact manager". The code to generate the catalog is below: I'm sure it's a fopen(), passthru operation, I 'm just not sure what's the most effective why to write the HTML out to file? -- Thanks for your time -- David - Make Catalog PHP

Re: [PHP] Generating Static Pages

2002-01-01 Thread David Jackson
Sorry here's the code unattached: \n"; echo "\n"; echo "Sales Date:\n"; echo "\n"; echo "Sales Rep:\n"; echo ""; // Define table echo ""; // Generate book listing $result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM catalog ") or die("Dis ain't right !!"); while ( list($pid

Re: [PHP] Re: What the hell?!?!

2002-01-01 Thread David Jackson
copy php.log php.txt, now you have a static log to look at. then do "more php.txt" this will display a screen at a time,hitting goes to the next screen. To do more advanced work with text files goto: http://simtel.net "gnuish" directory and download "gawk" and "grep", mainly grep, NOTE: using gr

[PHP] test

2002-01-02 Thread David Jackson
Let see does my "PERSONEL" unsubscribe information appear at the bottom of this email? For the second time in 48hrs. someone submitted an unsubscribe request using for me? Yet I still get the list postings? How strange. -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Connect to IBM DB2

2002-01-02 Thread David Jackson
Jerry -- I didn't see any functions listed in: http://www.php.net/manual/en/ for DB2 the ODBC maybe you only answers, heres the link: http://www.php.net/manual/en/ref.odbc.php David > To connect to Microsoft SQL 7 I'm using the following script which > works fine: > >

[PHP] php-gtk compile prob

2002-01-03 Thread David Norman
I've been trying to compile php-gtk on slack 8 with php 4.1.1. I've tried CVS and 0.1.1, but I get the following during make whether I use ./buildconf or phpize: gen_gtk.c:1: parse error before `:' I looked at ext/gtk+/gen_gtk.c, and there is one line: usage: php -q generator.php [-o overridesf

[PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread David Yee
if the string only had a single occurrence of "<" and ">" I can use strpos() and substr() to extract it, but how do I do it for multiple occurrences? I suppose I can keep chopping up the string to do this but I'm not sure if that's the best way. Thanks. D

Re: [PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread David Yee
Thanks Kevin- yeah I guess I'll have to chop up the string. David - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "David Yee" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, January 03, 2002 12:30 PM Subject: Re

Re: [PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread David Yee
$result[] = $found; $temp = substr($temp, $found + 1, strlen($temp)); } for ($i=0; $i 0){ #if not the first element $result[$i] = $result[$i] + $result[$i-1] + 1; } } if (sizeof($result)>0){ return FALSE; }else{ return $resu

Re: [PHP] An idea for a PHP tool

2002-01-03 Thread David Minor
It's also worth noting here that typing a keyword (or maybe it's just function names?) in place of a directory after www.php.net does the same thing. ie, 'www.php.net/extract' takes you to the extract page in the manual. HTH, dm Mike Eheler wrote: >Through suggestions of people here is the code

[PHP] Quick regular expressions question / preg_replace

2002-01-04 Thread David Yee
turn after blah blah . So I suppose I have to turn to preg_replace, but I'm having a hard time coming up with the right pattern. Thanks. David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] Quick regular expressions question / preg_replace

2002-01-04 Thread David Yee
That's an idea but it would delete the carriage return before it which I don't want to happen. I've tried preg_replace("/^\r\n/", '', $string) + quite a few other variations but no luck :-(. Argh! David - Original Message - From: "Bogdan Stanc

Re: [PHP] Quick regular expressions question / preg_replace

2002-01-04 Thread David Yee
Ah that would do it (just need to double quote the \r\n). Thanks! I just know, however, one of these days I'm gonna need to use preg_replace :-). David - Original Message - From: "Bogdan Stancescu" <[EMAIL PROTECTED]> To: "David Yee" <[EMAIL PROTEC

[PHP] flock

2002-01-06 Thread David Robinson
I'm using flock to manage the access of a file. I've noticed that php seems to wait for the file to be freed up. Is there a ordered que that each request goes into? And a timeout period, or does it just wait? David -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] foreach statement

2002-01-08 Thread David Balatero
Nope, the exact syntax is foreach ($emails as $this_is_one_address) { } ...With that "as" in there. HTH David Balatero [EMAIL PROTECTED] - Original Message - From: "Chris Grigor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Php-General"

[PHP] Re: Edit program

2002-01-20 Thread David Robley
[EMAIL PROTECTED] (Mehmet Kamil Erisen) wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > > Dear List member, > > Plesae forgive me for asking and OT question. Can you please recommend > an edit program, (Freely downloadable). > > Thanks, Search your local PHP mirror for 'editor'; the

<    9   10   11   12   13   14   15   16   17   18   >