Re: [PHP] Problem with Uploading Many Files (>22)

2001-09-13 Thread Helen
Could that possibly be triggering the max file limit? Helen - Original Message - From: "Jani Rautiainen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 5:27 PM Subject: Re: [PHP] Problem with Uploading Many Files (>22) > On Windows it should be t

[PHP] further info - seg fault

2001-09-13 Thread Jack Dempsey
hello, i sent an e-mail before generally describing a seg fault issue i was having...i did gdb bt and found this: (this is at the end of the data after running gdb) Loaded symbols for /lib/libnss_dns.so.2 #0 0x403dab14 in chunk_realloc (ar_ptr=0x4048aba0, oldp=0x82450f0, oldsize=1444, nb=1560)

Re: [PHP] Validate CSV file With Table in Database!!

2001-09-13 Thread David Robley
On Thu, 13 Sep 2001 16:52, you wrote: > There is a very good reason ! > The csv file contains world currency's > The system is updated with the changed currency's only ! > The Master field contains all country currency's , this makes it > difficult because if i drop the master table and upload the

Re: [PHP] Validate CSV file With Table in Database!!

2001-09-13 Thread Coenraad Steenkamp
This is the code i came up with! But it is not 100% "") { if (!copy($uFile, $move_to_dir."/".$uFile_name)) { echo "No File Uploaded"; } $curr = fopen($move_to_dir."/".$uFile_name, "r"); while ($currar = fgetcsv($curr, 1000, ",")) { $Curr

Re: [PHP] Verify email client can read html email?

2001-09-13 Thread Bob
Thanks! That's exactly what I wanted and it's easy to add the AltBody. I thought it would be harder. What sort of success have you had with it? I don't have access to a pine account. Here's the example from the site for anyone else who wanted to know $mail->Body = "This is the message bo

[PHP] syntax?

2001-09-13 Thread Peter
HI, I am new to this PHP thing. I was working out of my PHP book and website and I noticed some discrepancies in inputting data into the MySQL database. I followed the example from my book and I noticed that the syntax for putting data into a mysql database from PHP was like this: $sql = "INS

Re: [PHP] Mail function....

2001-09-13 Thread B. van Ouwerkerk
>Can someone please just run me through the different sections of the mail >function please cause i understand you can change the from address etc aswell This is in the manual. Read it, try it and if you can't get it to run properly ask your question again. Don't forget to describe what you tr

[PHP] Re: Sorting an array

2001-09-13 Thread _lallous
here's your script, "Dotan Cohen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to sort a listing of albums alphabetically > for LyricsList.com, the problem is that I want the > initial 'The' and 'A' in some albums (A Hard Days > Night, The Wall

RE: [PHP] syntax?

2001-09-13 Thread Niklas Lampen
In second example you can define which fields to insert, very usefull if you have a lot of fields. Niklas -Original Message- From: Peter [mailto:[EMAIL PROTECTED]] Sent: 13. syyskuuta 2001 10:59 To: [EMAIL PROTECTED] Subject: [PHP] syntax? HI, I am new to this PHP thing. I was work

Re: [PHP] Validate CSV file With Table in Database!!

2001-09-13 Thread David Robley
On Thu, 13 Sep 2001 17:27, Coenraad Steenkamp wrote: > This is the code i came up with! But it is not 100% > if (isset($Submit)) { > // File is uploaded > if ($uFile <> "") { > if (!copy($uFile, $move_to_dir."/".$uFile_name)) { > echo "No File Uploaded"; > }

[PHP] *** Po okazyjnej cenie densytometr Vipdens 950P ! ***

2001-09-13 Thread densytometr
Jeoli jesteo profesjonalist1 w swojej dziedzinie to w3aonie dla Ciebie jest moja niepowtarzalna oferta. Vipdens 950 P jest niezrównanym podrecznym instrumentem do badania arkuszy drukarskich lub ewentualnie do kontroli barwnej pracy wydrukowanej. Vpidens 950p do nabycia za kwote 4,999z3 netto(ce

[PHP] Re: syntax?

2001-09-13 Thread _lallous
If you don't put fields name as in: INSERT INTO news VALUES(, ) this means you are going to give values to all the fields in the table (in their order). If you specify fields after table name: news(body, date) this means VALUES() would be adding to these specific fields... now as for putt

Re: [PHP] Validate CSV file With Table in Database!!

2001-09-13 Thread David Robley
Sorry - pressed send w/out writing anything. Topic followed up direct with problem owner. -- David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA There are 2 ways to handle women and I know neither. -- PH

[PHP] help!!!

2001-09-13 Thread GaM3R
Cannot load /usr/local/apache_adserv/libexec/libphp4.so into server: /usr/local/apache_adserv/libexec/libphp4.so: Undefined symbol "mpz_add_ui" . . . configure line of ./configure '--with-apxs=/usr/local/apache_adserv/bin/apxs' '--with-mysql=/usr/local' '--enable-versioning' '--enable-inline-o

[PHP] PHP loosing session object, possible PHP bug

2001-09-13 Thread Ben . Edwards
I am having a bit of a problem with PHP loosing a session object. $SESSIOM ["cart"] is instansiated as a cart object and is a session varable. In 'PHP 4.0.6' which is installed under windows the cart object works flawlesley. But on the production enviroment which is running 'PHP 4.0.3pl1' as a

[PHP] Re: Sorting an array

2001-09-13 Thread _lallous
another case-insensitive version: "Dotan Cohen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to sort a listing of albums alphabetically > for LyricsList.com, the problem is that I want the > initial 'The' and 'A' in some albums (A Hard Days >

[PHP] Get Info From Database Without Refreshing the Page! Pretty Neat!

2001-09-13 Thread Coenraad Steenkamp
I used a Microsoft Object Control to get data from the database and display it on the page without refreshing the page!This saves alot of browsing time ! Now there is a little bit of a problem ! I dont know if anyone have done this before exept me and microsoft. I did it in php microsoft did it in

Re: [PHP] Unable to find stream pointer

2001-09-13 Thread Andreas Gietl
On Tuesday 11 September 2001 19:00, Andreas Gietl wrote: why is it that nobody answers my question? Does nobody know an answer? > Hi PHP-Users, > > I am having problems with php and imap now for several days on several > servers. I just get the following Error: > > Warning: Unable to find stream

[PHP] Unknown-Error in Sessions

2001-09-13 Thread Jansen
Hi, I just started using sessions on my Linux-Server with PHP 4.0.7 and got that error-message: Fatal error: Maximum execution time of 30 seconds exceeded in Unknown on line 0 I used the following scripts: PHP-Script 1: PHP-Script 2: What is wrong? Thanks, Hans -- PHP General Mailing L

[PHP] URL security...?

2001-09-13 Thread Seb Frost
ok I know if I have a URL like /images/$fileName then someone could be malicious by using ".." to get to the root directory. What I want to know is, if a URL absolutely starts with /images/ on my website, is there someway that someone can modify the remainder of the path such that it actually goe

Re: [PHP] php4 and apache on SuSE Linux

2001-09-13 Thread Kelly Barrett
Hi Sean, What webserver are you using? Is it using the Apache module of PHP or the CGI version? Perhaps the extension of your file doesn't have the PHP processor associated with it (if it is installed as an Apache process)? Maybe you are using the CGI version incorrectly? With the command line

[PHP] Re: mail problem

2001-09-13 Thread Adrian D'Costa
On Thu, 13 Sep 2001, Peter Houchin Sun Rentals STR Manager wrote: > php.ini mail related line: > sendmail_path = sendmail -t -i ;for unix only, may supply > arguments as well (default is 'sendmail -t -i') I suggest you put the full path in the sendmai path. Adrian -- PHP Ge

RE: [PHP] php4 and apache on SuSE Linux

2001-09-13 Thread Rudolf Visagie
Try: PHP Test Example "; echo date("H:i, jS F"); echo ""; echo "Hi, I am a PHP script!"; echo ""; ?> Rudolf Visagie [EMAIL PROTECTED] -Original Mess

Re: [PHP] limiting rows and pages like google -- again

2001-09-13 Thread Adrian D'Costa
On Thu, 13 Sep 2001, Helen wrote: > > The logic would be to check if the script is called the first time, then > > the sql statement would be select travel.*, city.city from travel, city > > where travel.cityid=city.id limit 0,20. > > The second time or based on what has been selected on the page

[PHP] in_array

2001-09-13 Thread murat
hi, i wrote php scripts with php 4. but my server's php version is php 3. i used in_array function while i was writing the scripts. i used that function to check posted variables is available or not. is there an another way to check this posted variables or another one likes in_array function?

[PHP] posted urls

2001-09-13 Thread murat
hi, how can i change variables that has two or more words to variables that has "+" instead of blanks in that variables. Like this: "word1 word2 word3" => "word1+word2+word3" thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: [PHP] posted urls

2001-09-13 Thread Jason Brooke
> hi, > how can i change variables that has two or more words to variables that > has "+" instead of blanks in that variables. > Like this: "word1 word2 word3" => "word1+word2+word3" > > thanks http://www.php.net/manual/en/ref.url.php jason -- PHP General Mailing List (http://www.php

Re: [PHP] in_array

2001-09-13 Thread David Otton
On Thu, 13 Sep 2001 14:17:12 +0300, you wrote: >i wrote php scripts with php 4. but my server's php version is php 3. i >used in_array function while i was writing the scripts. i used that >function to check posted variables is available or not. >is there an another way to check this posted var

RE: [PHP] Get Info From Database Without Refreshing the Page! PrettyNeat!

2001-09-13 Thread Ralph Guzman
What you are trying to do here sounds like it is done on the client end. I'd be willing to bet this requires the use of Javascript/Jscript/VBScript and DHTML. -Original Message- From: Coenraad Steenkamp [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 2:29 AM To: [EMAIL PROTE

Re: [PHP] posted urls

2001-09-13 Thread nayco
$var=urlencode($var); may solve your problem. (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: murat <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 13, 2001 1:34 PM Subject: [PHP] posted urls >

Re: [PHP] URL security...?

2001-09-13 Thread Ben . Edwards
If the page they type on the URL is available it will be displayed. Security is the remit of the web server not (realy) PHP. However what i do is have a is_logged_in function which uses session varable. Something like if ( is_logged_in() ) { ... do stuff } esle { display_error( 's

Re: [PHP] Get Info From Database Without Refreshing the Page! Pretty Neat!

2001-09-13 Thread Coenraad Steenkamp
It is a little something like this With datafields getting the return vallues from EA_Cone010.php3 "Ralph Guzman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What you are trying to do here sounds like it is done on the client end. I'd >

RE: [PHP] Get Info From Database Without Refreshing the Page! Pretty Neat!

2001-09-13 Thread Martin Lindhe
you could load all nessecary data once and put in a javascript array or something, not sure i understand what you have done here and what's so special about it tho /Martin > I used a Microsoft Object Control to get data from the > database and display > it on the page > without refreshing the p

Re: [PHP] URL security...? (correction ignore my last post)

2001-09-13 Thread Ben . Edwards
Sorry, finder troble. The message should read:- If the page they type on the URL is available it will be displayed. Security is the remit of the web server not (realy) PHP. However what i do is have a is_logged_in function which uses session varable. Something like if ( is_logged_in() ) {

[PHP] how to execute PHP in CGI?

2001-09-13 Thread Gershon
Hello All!! how to execute PHP in CGI? Thank You. -- 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 to execute PHP in CGI?

2001-09-13 Thread Tom Hodder
#!/usr/bin/php print "test"; // More code here etc etc -Original Message- From: Gershon [mailto:[EMAIL PROTECTED]] Sent: 13 September 2001 14:11 To: [EMAIL PROTECTED] Subject: [PHP] how to execute PHP in CGI? Hello All!! how to execute PHP in CGI? Thank You. -- PHP Gener

Re: [PHP] limiting rows and pages like google -- again

2001-09-13 Thread Helen
> > Do you want to list all the pages of posts or just a link to the next 20 > > items? > > On the first page, 20 and links to the other items that when selected will > display the list based on the selection. > > One thing to remember is that the ids will not be in squence. Here's a function I w

[PHP] PHP Security

2001-09-13 Thread Allen May
I have been using the .htpasswd/.htaccess convention to authenticate our 3000 employees. I want to move away from the .htpasswd/.htaccess convention and use a PHP form to authenticate against the database. I can create the PHP authentication page, no problem, but how do I check authentication on

[PHP] Re: Validate CSV file With Table in Database!!

2001-09-13 Thread George Whiffen
Coenraad, Here are some links to relevant sections of the php manual. What you want to do is not too hard at all. I'm assuming that you want to "upload" the csv file via a web page. This is much less trouble for the user than fooling around with ftp. They get to browse their computer for the

[PHP] XML DOM: encoding attribute problems and namespaces

2001-09-13 Thread ZeNDeR-X
hi ;) Recently I've been using the DOM module of php and I have encountered a few problems. I am working on a quite advanced XML application and I am forced to use the PHP technology. I need to dynamically create XML documents. There's no problem with that when i simply use this statement: $doc =

RE: [PHP] php4 and apache on SuSE Linux

2001-09-13 Thread T . Sean Schulze
Rudolf, I have tried adding the double quotes, and when I do, nothing at all is displayed. Adding single quotes to the script, just adds single quotes to the output. Sean Rudolf Visagie wrote: > Try: > > > > PHP Test Example > > >

[PHP] XML DOM: encoding attribute problems and namespaces

2001-09-13 Thread ZeNDeR-X
hi ;) Recently I've been using the DOM module of php and I have encountered a few problems. I am working on a quite advanced XML application and I am forced to use the PHP technology. I need to dynamically create XML documents. There's no problem with that when i simply use this statement: $doc =

Re: [PHP] php4 and apache on SuSE Linux

2001-09-13 Thread Kelly Barrett
It sounds like the PHP isn't getting parsed. Check the webserver is configured correctly for the extension of your file, or that your system requires you to use the CGI version of the PHP interpreter. > Rudolf, > > I have tried adding the double quotes, and when I do, nothing at all is > display

Re: [PHP] PHP Security

2001-09-13 Thread Kelly Barrett
Hi Allen, What you should do is check the session variable from within PHP. If it doesn't exist, you redirect to a PHP authentication form. So at the head of each page you need something like: And in your PHP authentication form, you register the logged_in variable after the user details have b

[PHP] Go and look at this shitt! The page does not refresh at all!

2001-09-13 Thread Coenraad Steenkamp
This is what i was talking about in my previous post! But now i need to get a way of using next and previous with it! http://www.dev.co.za/devtest/Example/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP] select

2001-09-13 Thread Marcos Mathias
Hello ! I have a php program running under linux that conects into a Sql server 7 under win2k. When I make a select in a table that doesn't contain any index, my select returns no results. Otherwise, when the table contains at least one index, the select works fine. My question: Is that supposed

[PHP] PHP + FreeBSD + ODBC --> Progress Database

2001-09-13 Thread Joseph Koenig
This is probably a really stupid question. I've been reading info on phpbuilder and at iodbc.org and I must just be missing something. What I want to do is connect to a Progress Database on WinNT from a FreeBSD 4.3 server with PHP 4.0.6. Before I compiled PHP, I was under the impression I needed i

RE: [PHP] PHP + FreeBSD + ODBC --> Progress Database

2001-09-13 Thread Andrew Hill
Joseph, It does appear you have iODBC compiled in already. To confirm for this do a find for libiodbc.so. Yes, you do need iODBC here to act as the Driver Manager (a binding point so PHP can interface with ODBC) but you will still need an actual ODBC driver. Try the Multi-Tier driver from our s

[PHP] SEARCHER

2001-09-13 Thread chinmay varma
Sir, I use the following code (courtesy :Richard Lynch ) to search a file. http://php.net'; $key = 'php'; $html = file($url); $html = implode('', $html); if (strstr($html, $key){ echo htmlentities($html); } ?> As I want to search a complete site ,I send a robo first ,

[PHP] Graphs...

2001-09-13 Thread Nic Skitt
Anybody got any tuts/examples of a working graph with PHP? Cheers Nic -- 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] PHP + FreeBSD + ODBC --> Progress Database

2001-09-13 Thread ignacio . estrada
You can go to the google.com searching engine, type ODBCSocketServer and you will found very good information on ODBC. However this solution uses Microsoft Access database. Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469

[PHP] internet explorer and form submission

2001-09-13 Thread Christian Haines
hi all, i have just discovered a bug with internet explorer form submission. suppose i have a form with 2 submit buttons to do different things eg- one to update content and one to delete content then in my processing file i have if(isset($update)) { // do update } if(isset($delete

RE: [PHP] php4 and apache on SuSE Linux

2001-09-13 Thread Rudolf Visagie
Hi Sean, When I run your code on our Linux Mandrake, Apache server (standard PHP4 installation) without the double quotes it gives: Parse error: parse error, expecting `','' or `';'' in /home/httpd/html/rudolf/test.php on line 8 With the double quotes I suggested it gives the expected result, so

[PHP] equivelant of ASP's #include file?

2001-09-13 Thread LRW
Hi all. PHP newbie here. There's a code that one can use in ASP that will print to the browser the contents of an ascii file: Can anyone tell me what the PHP equivelant might be? Thanks! Liam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Helen
> > > Can anyone tell me what the PHP equivelant might be? It's interesting ASP uses the same format at SSI includes. Helen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Kurth Bemis
At 10:21 AM 9/13/2001, LRW wrote: I believe that that is server side includes...NOT asp..i could be wrong tho the PHP equiv is include('') read the manual - ~kurth >Hi all. PHP newbie here. >There's a code that one can use in ASP that will print to the browser the >contents of an ascii file:

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread LRW
Yeah, it was just brought to my attention what I thought was an ASP code...is not. =/ As for the "manual," would you be able to recommend any good books for beginning PHP? Thanks! Very embarassed, Liam Kurth Bemis wrote in message <[EMAIL PROTECTED]>... >At 10:21 AM 9/13/2001, LRW wrote: > >I

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Ben . Edwards
include ( "file" ); However this simply includes the file ( so it would be displayed as if it was html). You can also make the include a .php ( dont forget ). Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Thomas Deliduka
Although, I must note that include() doesn't work quite the same as the ssi #include I think require() works much better Read about the two differences: http://www.php.net/require http://www.php.net/include (these will redirect to the proper manual page.) On 9/13/2001 10:32 AM this was writt

[PHP] Test

2001-09-13 Thread Tomá¹ Kubi¹
This is a test. -- 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] equivelant of ASP's #include file?

2001-09-13 Thread Kurth Bemis
At 10:29 AM 9/13/2001, LRW wrote: the PHP manual at PHP.net!! the only "real" manual ~kurth >Yeah, it was just brought to my attention what I thought was an ASP >code...is not. =/ > >As for the "manual," would you be able to recommend any good books for >beginning PHP? > >Thanks! >Very emb

[PHP] Book

2001-09-13 Thread Kurth Bemis
I just got the book entitled "PHP and MySQL web development" by Luke Wellington and Luara Thomson. I wondering how others liked the book...I haven't gotten a chance to look at it yet..and I'm wondering if i should :-) ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] select in PHP + Sql Server

2001-09-13 Thread Marcos Mathias
Hello ! I have a php program running under linux that conects into a Sql server 7 under win2k. When I make a select in a table that doesn't contain any index, my select returns no results. Otherwise, when the table contains at least one index, the select works fine. My question: Is that supposed

Re: [PHP] Book

2001-09-13 Thread Data Driven Design
If you own it you should read it. Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 http://www.datadrivendesign.com Phone: (386) 226-8979 Websites That WORK For You - Original Message - From: "Kurth Bemis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Septem

RE: [PHP] Book

2001-09-13 Thread Matt Williams
> I just got the book entitled "PHP and MySQL web development" by Luke > Wellington and Luara Thomson. > > I wondering how others liked the book...I haven't gotten a chance to look > at it yet..and I'm wondering if i should :-) Now that you've got it you might as well read it. Then you could tell

Re: [PHP] PHP Security

2001-09-13 Thread Ben . Edwards
This is a rehash of a post earlier today! I implement security with user hierarchies which I will describe here (and also a more flexible method, user groups, which I will outline later ). I use a procedure called ensure_logged_in ( $level ). It is wrapped around all .PHP where security is req

Re: [PHP] select in PHP + Sql Server

2001-09-13 Thread Ben . Edwards
You're doing something wrong! Indexes are only for performance and possibly they may be used for helping in ensuring uniquenes. sorry cant be any more help without code. "Marcos Mathias" <[EMAIL PROTECTED]> on 13/09/2001 20:40:40 Please respond to <[EMAIL PROTECTED]> To: <[EMAIL PROTE

[PHP] Re: internet explorer and form submission

2001-09-13 Thread Christian Haines
sorry i just figured it out...just panicked...must be the time of year if(!isset($delete)) { // do update } if(isset($delete)) { // do delete } that should fix the problem > From: [EMAIL PROTECTED] (Christian Haines) > Newsgroups: php.general > Date: Thu, 13 Sep 2001 23:44:30 +1030 > To: [E

RE: [PHP] internet explorer and form submission

2001-09-13 Thread Johnson, Kirk
> so if a particular form button is clicked a different process > will occcur. > > well what happens if i press return to enter my form submission? > nothing is set! > > so the processing file does nothing This has been pointed out from time to time on this list. It is a fact: if the user subm

Re: [PHP] PHP Security

2001-09-13 Thread Sean C. McCarthy
Hi, I don't think there is any other way, at least so easy to extend. The only improvement will be to combine the system with calls to NIS or a Kerberos/RADIUS server. If you have such a server (or maybe LDAP ???) you should combine it for administration easiness. [EMAIL PROTECTED] wrote: > > T

[PHP] importing a table

2001-09-13 Thread Peter
Hi, This may be more of an Mysql question than a PHP question. I am hoping that I can export an Address Book table from my Access Database and then import that table into Mysql. I am hoping that I can then use PHP to carry out queries on the information in the table. I was wondering is there

[PHP] dl("php_imap.so")?

2001-09-13 Thread joe
I would like to load the imap extension dynamically on a shared Linux server and I have libc-client4.a in my cgi-bin directory -- what is this file for? Where do I get the files to build the dynamically loadable version of the imap library? Thanks, Joe -- PHP General Mailing List (http://w

[PHP] Is it *really* an associative array?

2001-09-13 Thread Boget, Chris
Sample code: $array = array( "one", "two", "three" ); while( list( $key, $val ) = each( $array )) { if( is_string( $key )) { echo "Key is a string\n"; } echo "Key: $key => $val :Val\n"; } echo "\n\n"; $array = array( "SS" => "one", "15" => "two", "19" =>

[PHP] sending PDF to the user (www)

2001-09-13 Thread George Pitcher
Hi all, I am using Lasso to authenticate user access to PDF files with the actual delivery being handled by PHP. I can download the PDF by clicking a 'submit' button. However, in IE or Netscape, it puts it into the browser with the name of the php script as the filename. I would like the filena

[PHP] Email checking

2001-09-13 Thread Max Mouse
I've been looking to check the validity of an email address when it's entered by a person on a from. So far, I have found many different versions of code to do this, but I have yet to find one that actually works. I would like to be able to check to see that: the email is in the correct format and

[PHP] problems with include()

2001-09-13 Thread LRW
I got a plain test to work...made a test.php that included the following: PHP Test ";?> (texttest.txt just has some randome words in it.) But when I try to make a page with tables, and have it place the text in a cell, I get the following error: "CGI Error The specified CGI application misb

[PHP] minus in [] groups in ereg

2001-09-13 Thread Andrew Perevodchik
Is this a bug or feature? The only way to include a minus characher in [] groups in regex is to put \- right gefore ] [[A-Za-z0-9\_\-\=\%\.]] won't work with "-" as it is supposed to [[A-Za-z0-9\_\=\%\.\-]] is ok Uh? -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http:

Re: [PHP] problems with include()

2001-09-13 Thread ReDucTor
are you using a .cfg extension?!? you are going to need to add the path to php at the top if you are :D - Original Message - From: "LRW" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 14, 2001 1:31 AM Subject: [PHP] problems with include() > I got a plain test

Re: [PHP] double values in array

2001-09-13 Thread Tom Beidler
MYSQL_ASSOC did the trick. Thanks > From: Andrew Perevodchik <[EMAIL PROTECTED]> > Reply-To: Andrew Perevodchik <[EMAIL PROTECTED]> > Date: Thu, 13 Sep 2001 08:10:52 +0300 > To: Tom Beidler <[EMAIL PROTECTED]> > Cc: php list <[EMAIL PROTECTED]> > Subject: Re: [PHP] double values in array > > He

[PHP] Re: problems with include()

2001-09-13 Thread LRW
:::hangs head in utter shame::: Because I'm a complete idiot and saved the bleeding file to a local directory instead of under the web server's. I shall now open my shirt for the flogging. =/ Liam Lrw wrote in message <[EMAIL PROTECTED]>... >I got a plain test to work...made a test.php that inc

RE: [PHP] minus in [] groups in ereg

2001-09-13 Thread Johnson, Kirk
Feature. By placing a "dash" next to the bracket, there is no confusion that the dash is being used to specify a range. Kirk > -Original Message- > From: Andrew Perevodchik [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 13, 2001 9:32 AM > To: [EMAIL PROTECTED] > Subject: [PHP] mi

[PHP] File Uploads

2001-09-13 Thread Christopher CM Allen
Greetings: Looking for a way to say *.php in this code: if ($file != ".htaccess" && $file != "." && $file != ".."&& $file != ANY PHP FILE) I have tried *.php... Any Ideas? Thanks CCMA

RES: [PHP] select in PHP + Sql Server

2001-09-13 Thread Marcos Mathias
Thanks. Here is the code that i'm using: $sql = "SELECT * FROM news"; $sql_prepare = odbc_prepare($conexao, $sql) or die ("Nao foi possivel preparar a query.");// prepara o sql $recordset = odbc_exec($conexao, $sql); // faz a consulta // loop no recordset

[PHP] Re: Graphs...

2001-09-13 Thread Philip Hallstrom
http://www.aditus.nu/jpgraph/ http://vagrant.sourceforge.net/ haven't used either of them though... but they sure look nice. On Fri, 10 Aug 2001, Nic Skitt wrote: > Anybody got any tuts/examples of a working graph with PHP? > > Cheers > > Nic > > > > -- > PHP General Mailing List (http://www.ph

Re: [PHP] Email checking

2001-09-13 Thread David Otton
On Thu, 13 Sep 2001 11:28:01 -0700, you wrote: >like to be able to check to see that: the email is in the correct format and >the domain actually exists. Can anyone lend a hand? [putting the "try it this way" bit first] The only way to "validate" an email address is to try to send email to it.

[PHP] Beginner's books?

2001-09-13 Thread LRW
OK, here's a question that should just make me look like a newbie and not an idiot: Anyone have any recommendations of good books for PHP beginners? Something that gives the basics in clear detail and as few errors in the examples as possible? =) I've found bad errors in Sam's "Teach Yourself AS

RE: [PHP] File Uploads

2001-09-13 Thread Martin Lindhe
> Greetings: > > Looking for a way to say *.php in this code: > if ($file != ".htaccess" && $file != "." && $file != ".." > && $file != ANY PHP FILE) > > > I have tried *.php... > separate the file extension from the $file with code looking something like this: $ext = substr($file,str

RE: [PHP] Beginner's books?

2001-09-13 Thread Brandon Orther
PHP Fast & Easy : http://www.thickbook.com/books/index.phtml -Original Message- From: LRW [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 8:54 AM To: [EMAIL PROTECTED] Subject: [PHP] Beginner's books? OK, here's a question that should just make me look like a newbie and n

Re: [PHP] File Uploads

2001-09-13 Thread Christopher CM Allen
Thanks Much Martin! --ccma > --snip-- > > good luck! > > /Martin > > -- > 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] > -- P

Re: [PHP] I am making a mailing list but....

2001-09-13 Thread Kyle Smith
I really need help on this one, so someone please! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, Septem

[PHP] threaded forum to display replies

2001-09-13 Thread hassan xaaji
Hi I have been coding a threaded forum. A simple one. I have this problem: I cannot show all the replies in a threaded way. I tried a recursive method which takes the messageid and I do like $messageID = $p_id +1; showMessages($messageID); This only works if the messageids are 1 2 3 4 5 6. bu

RE: [PHP] I am making a mailing list but....

2001-09-13 Thread Michael Geier, CDM Systems Admin
It would help if you were a little more descriptive about this... Are you trying to do this in the To: field, the Cc: or Bcc: fields, actually in the body of a message, in a flat file, in a DB... flat file: $fp = fopen("filename","w"); //emails in array while ($tmp = arra

Re: [PHP] Email checking

2001-09-13 Thread rm
Have you tried: http://zend.com/codex.php?CID=11 --- Max Mouse <[EMAIL PROTECTED]> wrote: > I've been looking to check the validity of an email > address when it's > entered by a person on a from. So far, I have found > many different versions _

Re[2]: [PHP] minus in [] groups in ereg

2001-09-13 Thread Andrew Perevodchik
Hello! You wrote: JK> Feature. By placing a "dash" next to the JK> bracket, there is no confusion that the dash JK> is being used to specify a range. Doesn't slash before dash mean that??? -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: Beginner's books?

2001-09-13 Thread Jonathan Chum
Core PHP Programming by Leon Atkins is an excellent book IMHO. Each function comes with a clear cut example how to use it. I have the first edition and right now, I'm considering to purchase the second edition since it covers PHP 4. That was my first PHP book when I started PHP. "Lrw" <[EMAIL PRO

RE: Re[2]: [PHP] minus in [] groups in ereg

2001-09-13 Thread Johnson, Kirk
> JK> Feature. By placing a "dash" next to the > JK> bracket, there is no confusion that the dash > JK> is being used to specify a range. > > Doesn't slash before dash mean that??? Could be, I don't know. I always put a dash next to the bracket, instead of escaping it with a backslash. As is oft

Re: [PHP] limiting rows and pages like google

2001-09-13 Thread Julian Wood
It's not too hard to do the next/previous through all your results, as has been shown by several people. What is a little trickier, at least when using mysql and trying to take advantage of the limit clause, is how to display how many results you have (ie 1 to 10 of 107 results). If you use t

[PHP] Array Question

2001-09-13 Thread dhardison
Hi, I've got an array of items that I've sorted in descending order. I'd like to select the first ten items only from the array to place in a graph that's generated later in the script. Here's a sample array I'm trying to work with. Array ( [209.181.49.x] => 2 [64.225.143.x] =>

[PHP] dlopen - why ?

2001-09-13 Thread Crawley
I take it php dosent have a dlopen func for opening shared librarys. I suppose if you dont have one. why ? Also can I turn off the output of headers, so that I can use it as a general-purpose scripting language. Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Array Question

2001-09-13 Thread Philip Olson
see array_slice() http://php.net/manual/en/function.array-slice.php regards, philip olson On Thu, 13 Sep 2001, dhardison wrote: > Hi, > I've got an array of items that I've sorted in descending order. I'd > like to select the first ten items only from the array to place in a graph

  1   2   >