[PHP] HTTP_POST_VARS truncated

2001-11-30 Thread mweb
Hello, To test the http/php setup on one of my computers I wrote a very simple html form, with two select fields, two text fields, and the submit field. Pushing submit the data are sent via POST method to an extremely simple PHP page which only contains something like: foreach (var, key) in HTTP

[PHP] Help with directory !

2001-11-30 Thread De Necker Henri
Hi there.Im cant just get to access a file in a directory form my localhost dir. The file : $loc = "./doos.txt" i can access, but the following i can't : $loc = ".\files\doos.txt" What am i doibg wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread Andrey Hristov
I cannot compile this: try that : foreach ($HTTP_POST_VARS as $key => $var){ print "VAR: $var KEY = $key"; } Regards, Andrey Hristov - Original Message - From: "mweb" <[EMAIL PROTECTED]> To: "phplist" <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 10:03 AM Subject: [PHP] HTTP_PO

[PHP] mail-help

2001-11-30 Thread Chamarty Prasanna Kumar
-- 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]

[PHP] Re: Help with directory !

2001-11-30 Thread Fred
The first one looks like a *nix directory and the second one looks like a windows direcrory. Perhaps it will work if you switch your slashes around. Fred De Necker Henri <[EMAIL PROTECTED]> wrote in message 3A8ED7A62794D311AA7700508B6164EC08DCA3F2@SCPTS01">news:3A8ED7A62794D311AA7700508B6164EC0

[PHP] Help - mail

2001-11-30 Thread Chamarty Prasanna Kumar
Hi all, using mail() function to send a mail using php. I want to send that mail so that the receiver should not see the FROM address or the mail should go without any FROM address. Please write with an example !! Thanking You, Regards, Kumar.

RE: [PHP] Re: Help with directory !

2001-11-30 Thread De Necker Henri
The first one works both ways!O and im working on windows This works fine : $loc = "./doos.txt" This works fine : $loc = ".\doos.txt" The second one does work at all! Is it in the correct order/way? -Original Message- From: Fred [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 10:25 To

RE: [PHP] Re: Help with directory !

2001-11-30 Thread Jani Mikkonen
> The first one works both ways!O and im working on windows > This works fine : $loc = "./doos.txt" > This works fine : $loc = ".\doos.txt" > > The second one does work at all! > Is it in the correct order/way? How come you say "this one works fine" to the second row and in the next deny it? Ma

Re: [PHP] Re: Help with directory !

2001-11-30 Thread Jason
$loc = "doos.txt"; $loc = "files\doos.txt"; don't put .\ to reference the current directory. if you were trying to move up a directory to access 'files' then $loc= "..\files\doors.txt". Just a thought, I've coded something for a windows box once, and remember it was finicky about stuff. but then

[PHP] Authenticating Users with their Windows Login - Desperate

2001-11-30 Thread Feroze Md. Arif
Hi Again, I've searched high and low since my last post but I couldn't find anything on how Users can be authenticated using their Windows NT server User IDs and Passwords. I do not want to authenticate users with a MySQL database etc., since that involves recreating all the user ids and passwor

Re: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread Jason
try: reset($HTTP_POST_VARS); at the begining of the code. if that doesn't work verify your html again. make sure the 's are between the form tag. php doesn't ignore certain form fields. =) i'm the habit of reading arrays like... while(list($k,$v) = each($HTTP_POST_VARS)) { echo "key is $k -

Re: [PHP] Help - mail

2001-11-30 Thread Jason
http://download.php.net/manual/en/ref.mail.php - Original Message - From: "Chamarty Prasanna Kumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 1:28 AM Subject: [PHP] Help - mail > > Hi all, > > using mail() function to send a mail using php. >

[PHP] Session Help

2001-11-30 Thread phantom
I am trying to set my session data to be stored in MySQL so I am using session_set_save_handler() which sets the six user-level session storage functions (which I have already defined). Will session_set_save_handler automatically run the appropiate storage function when required (like when i say

RE: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread De Necker Henri
Thanks Jason & Jani!Both ur ways work! $loc = "..\files\poese.txt" $loc = "..\\files\\poese.txt" But another question that comes to mind is that why must i include the '..\' to move down to a sub-directory? I thought '..\' moves up a directory tree! This also works both ways : $loc = "../files

Re: [PHP] LDAP sorting

2001-11-30 Thread Stig Venaas
The LDAP sorting code I posted a couple of days ago was a bit lacking. Here's a function that should work: function myldap_sort($data, $attr) { // -1 because of the count entry echo "#", $n = count($data) - 1; for ($i=0; $i<$n; $i++) { $a[$i]=$data[$i][$attr][0]; } aso

[PHP] Re: Help with directory !

2001-11-30 Thread De Necker Henri
Thanks Jason & Jani!Both ur ways work! $loc = "..\files\poese.txt" $loc = "..\\files\\poese.txt" But another question that comes to mind is that why must i include the '..\' to move down to a sub-directory? I thought '..\' moves up a directory tree! This also works both ways : $loc = "../files

RE: [PHP] Authenticating Users with their Windows Login - Desperate

2001-11-30 Thread SED
Hi, I'm not sure if it works (I have W2K) but when a user logs into your server you can lead the login to a path on the server e.g. to a PHP-file which contains that person password/login (though it's not the same as the user logged in with). So if the user changes his password via Windows it will

Re: [PHP] Authenticating Users with their Windows Login - Desperate

2001-11-30 Thread Valentin V. Petruchek
You can protect folder where your scripts lie with NT/2000 security - so only allowed users will be able to run scripts from this folder. - Original Message - From: "SED" <[EMAIL PROTECTED]> To: "'Feroze Md. Arif'" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 30, 200

Re: [PHP] database question

2001-11-30 Thread Jon Farmer
yeah good call on a type it should of been \s not \S -- Jon Farmer Systems Programmer, Entanet www.enta.net Tel 01952 428969 Mob 07763 620378 PGP Key available, send email with subject: Send PGP Key - Original Message - From: "Jim Musil" <[EMAIL PROTECTED]> To: "py" <[EMAIL PROTECTED]>

Re: [PHP] Sending Form Result to File

2001-11-30 Thread Jason
just pico a file called myforms.csv or something. use the first line for you schema... "name","date","comments","etc" chmod the file to rw permissions or chown to nobody. $file = fopen("/home/myaccnt/public_html/protected/myforms.csv", "w"); fputs($file, "\n\"$form_name\",\"$form_date\",\"$form_

[PHP] payflow pro advice

2001-11-30 Thread Jason
Hi, I'm trying to get payflow pro working on my server (unfortunately a client took it upon themselves to get their gateway). I am on a freebsd box and I am having all sorts of problems getting this working. Either as an extension (pfpro.so) or just exec() externally. I've read that Verisign st

Re: [PHP] HTTP_POST_VARS truncated

2001-11-30 Thread mweb
> reset($HTTP_POST_VARS); > > at the begining of the code. if that doesn't work verify your html again. > make sure the 's are between the form tag. php doesn't ignore > certain form fields. =) > > i'm the habit of reading arrays like... > while(list($k,$v) = each($HTTP_POST_VARS)) { > echo "

[PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Chamarty Prasanna Kumar
Hi, Want to send "mail" through PHP script such that the receiver of that mail should not contain FROM header. I used mail() function with empty FROM header and even without FROM header, but the receiver is still getting FROM address as [EMAIL PROTECTED] Anyone can h

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Johan Holst Nielsen
> > > > Want to send "mail" through PHP script such that > >the receiver of that mail should not contain FROM > >header. > >I used mail() function with empty FROM header and > >even without FROM header, but the receiver is still > >getting FROM address as [EMAIL PROTECTED] > You can't. The mail

[PHP] Student need help

2001-11-30 Thread Valentin V. Petruchek
Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net users only so i'm gonna write it in Russian: çÏÓÐÏÄÁ ÄÅ×ÅÌÏÐÅÒÙ! ðÏÍÏÇÉÔÅ ÓÔÕÄÅÎÔÕ - ÐÒÉÍÉÔÅ ÕÞÁÓÔÉÅ × ÓÏÃÉÏÌÏÇÉÞÅÓËÏÍ ÏÐÒÏÓÅ, ËÏÔÏÒÙÊ Ñ ÐÒÏ×ÏÖÕ × ÒÁÍËÁÈ ÉÚÕÞÁÅÍÏÇÏ ËÕÒÓÁ ÓÏÃÉÏÌÏÇÉÉ. ïÐÒÏÓ ÐÒÏ×ÏÄÉÔÓÑ ÎÁ ÔÅÍÕ ÉÓÐÏÌØÚÏ×ÁÎÉÑ

Re: Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Chamarty Prasanna Kumar
Thanks very much !! Smart solution !! yes, I don't want to get reply from that mail. Just looking for any solution..if u finds one please let me know. Regards, Kumar. On Fri, 30 Nov 2001 Johan Holst Nielsen wrote : > > > > > > > > Want to send "mail" throug

RE: [PHP] Student need help

2001-11-30 Thread De Necker Henri
Why does Russia have so much beautiful women? -Original Message- From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]] Sent: 30 November 2001 12:45 To: [EMAIL PROTECTED] Subject: [PHP] Student need help Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net

[PHP] HELP URGENT VARS !!!

2001-11-30 Thread Olivier Masudi
$name1=a; $name2=b; I want to do this for($i=0;$i<$nbname;$i++) echo "\$name$i"; output : a b where "\$name$i"= $name1 , $name2 , $name3 .. I try to print tha value of the vars $name1,. not the string $name1, Is it possible REM : The vars $name1, com fr

Re: Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Jon Farmer
Problem with that solution is some SMTP hosts will reject messages from domains that do not resolve to the sending SMTP host. I would recommend setting up a alias on sendmail and pipe all email to that address to /dev/null You would need to stress to your recipients that all replies to that email

[PHP] Hoekom is jy so still??

2001-11-30 Thread De Necker Henri
Jy word net ryker om op jou ass te sit.n Rand kos nou R14,85. Wat se jy daar van? -- 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]

[PHP] fresh install woes

2001-11-30 Thread Caspar Kennerdale
I've insatlled mandrake 8.1 from the ISO's I downloaded frrom their site. Everything seems fine, but when I try to execute any software ie startx or even pico from the command line then I get a cannot be found message As I navigate through the directoires it seems that they have not been install

Re: [PHP] HELP URGENT VARS !!!

2001-11-30 Thread Valentin V. Petruchek
'; } ?> Zliy Pes, http://www.zliypes.com.ua -- 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]

[PHP] Excel and PHP in Unix

2001-11-30 Thread Iván Toda Caraballo
Hello, I am using the Unix version of PHP, and i would write some information from the HTML in a Excel file. I was made this using COM functions in a Windows version of PHP and it works. But COM functions are only available on the Windows version of PHP. I want to know how I can

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Johan Holst Nielsen
hmm, youre right. You can use this header maybe "FROM: Do Not Reply " The SMTP should be able to resolve localhost? Regards, Johan Jon Farmer wrote: >Problem with that solution is some SMTP hosts will reject messages from >domains that do not resolve to the sending SMTP host. I would recom

Re: [PHP] Verisign Payflow Pro? Freebsd... Any ideas?

2001-11-30 Thread GB Clark II
On Friday 30 November 2001 00:56, you wrote: > Hi, > > I'm trying to get payflow pro working on my server (unfortunately a client > took it upon themselves to get their gateway). > > I am on a freebsd box and I am having all sorts of problems getting this > working. Either as an extension (pfpro.s

Re: [PHP] Excel and PHP in Unix

2001-11-30 Thread Pavel Jartsev
Iván Toda Caraballo wrote: > Hello, > > I am using the Unix version of PHP, and i would write some information from > the HTML in a Excel file. I was made this using COM functions in a Windows > version of PHP and it works. But COM functions are only available on the > Windows version of P

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Jon Farmer
> hmm, youre right. > > You can use this header maybe "FROM: Do Not Reply " > > The SMTP should be able to resolve localhost? hmm, no I am talking about the final SMTP host.. it will do a reverse lookup on the From: domain and if it dont resolve to the IP of the sending STMP host it will reject

[PHP] Validating mailing addresses

2001-11-30 Thread paul wilczynski
Joshua Hoover wrote ... >I've been looking at a variety of software packages which allow you to >validate U.S. mailing addresses against the USPS's database. >Unfortunately, all of the products I've been able to find so far are >Windows based and only support interfacing via COM. Have you checke

[PHP] How to display one line from a file rather than the whole lot

2001-11-30 Thread Kevin Garrett
Hi guys, I'm looking to edit this to just return one particular line rather than the whole file: http://www.php.net'); while (list ($line_num, $line) = each ($fcontents)) { echo "Line $line_num: " . htmlspecialchars ($line) . "\n"; } ?> Can anybody help me? Kev ___

[PHP] MySQL: copying entire columns

2001-11-30 Thread Tom Churm
hi, i've created a mysql table from an excel csv dump and the field-order is not the way i want it. could someone possibly give me a hint on how i can create a copy of an entire column, place it in the position where i want in my table, and then delete the original column? i'm using phpMyAdmin

RE: [PHP] HELP URGENT VARS !!!

2001-11-30 Thread Nicolas Guilhot
You can also use this syntax : $var1="variable 1"; $var2="variable 2"; for ($i= 1; $i < 3; $i++) { echo ${"var$i"}; } -Message d'origine- De : Olivier Masudi [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 30 novembre 2001 12:02 À : [EMAIL PROTECTED] Objet : [PHP] HELP URGENT VARS !!! $n

Re: [PHP] Excel and PHP in Unix

2001-11-30 Thread Tom Churm
hi, i just wanted to put in a plug for my own code to generate dynamic Excel or Word files here. it's ultra easy to use: http://sourceforge.net/projects/php-doc-xls-gen/ thanks, tom Pavel Jartsev wrote: > > Iván Toda Caraballo wrote: > > > Hello, > > > > I am using the Unix version

Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Miles Thompson
Tom It's a relational database, field column position does not matter. One Date's 121 rules, if I remember correctly. In terms of human readability, it sometimes matters. Check the MySQL manual, I think there's an example of this under the ALTER TABLE command. But really, position doesn't mat

[PHP] Re: db connect

2001-11-30 Thread Ian
Fred, I am more confused now that I know the script works your end. I have the sample_db setup correctly, as I can connect to it if I change the $default_dbname value to hold the sample_db. Whatever I put in the $default_dbname variable I can connect to no trouble. Passing the database as an

Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Tom Churm
hi, miles: i think you helped me hit on something big here. each time i've been using INSERT statements in my php code, i've been addressing the field names in exactly the order they appear in my mysql table. ie: i've been using $sql = "Insert into $table_name(Name, Address, Phone) values('$Na

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Johan Holst Nielsen
> > > >I am talking about the final SMTP host.. it will do a reverse lookup on the >From: domain and if it dont resolve to the IP of the sending STMP host it >will reject it. > yes I know. But it the final SMTP tries to resolve the host (localhost) it will get a response from it self? I haven't t

Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Andrey Hristov
$value){ $tmp = explode($cschar,trim($value)); $tmp[count($tmp)] = $tmp[$which_column]; unset($tmp[$which_column]); $out_cont[] = implode(",",$tmp); } $fd = fopen($out_fname,'w+'); fwrite($fd,implode("\r\n",$out_cont)); fclose($fd); ?> HTH Regards, Andrey Hristov - Origin

Re: [PHP] How to display one line from a file rather than the whole lot

2001-11-30 Thread Hank Marquardt
The key will be to put some kind of 'if' around your echo statement, but since you didn't say what the criteria for display is it's pretty tough to help any further. If the criteria is content driven, preg_match or ereg are you're answer, if it's the X'th line in the file then you could probably

[PHP] Re: How to display one line from a file rather than the whole lot

2001-11-30 Thread Julio Nobrega Trabalhando
Dirty trick: http://www.php.net'); while (list ($line_num, $line) = each ($fcontents)) { // echo "Line $line_num: " . htmlspecialchars ($line) . "\n"; if ($line_I_want == $line_num) { $dirty_trick = htmlspecialchars($line); } } echo $dirty_trick; ?> No knowledge of what

[PHP] php4 on pws?

2001-11-30 Thread Maciej Wypij
Hello, does anybody know how to get php4 work on a pws? I only know how to make php3 (with binaries from www.php.net) work on a pws. Maciej Wypij -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] is_int with HTML FORM

2001-11-30 Thread TD - Sales International Holland B.V.
Hey there, First of all please CC me as I'm no longer a member on this list. Sorry about that but I receive too much :-(. Please bear with me as I'm a new PHP scripter on the block Ok for the question. I was under the impression that PHP would automatically select the type for the vars to

RE: [PHP] is_int with HTML FORM

2001-11-30 Thread Matt Williams
> Ok for the question. I was under the impression that PHP would > automatically > select the type for the vars to use. However if I have a field in my form > where I insert only a 4 in I'd expect the var to be an integer > (or atleast > some other whole number type of var). However is_int fails

Re: [PHP] is_int with HTML FORM

2001-11-30 Thread Valentin V. Petruchek
$id = '10002'; //comes from form $defaultvalue = '13'; $id = intval($id); if (($id<1)||($id>)) $id = $defaultvalue; echo $id; Zliy Pes, http://zliypes.com.ua -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

RE: [PHP] Good host needed

2001-11-30 Thread Grimes, Dean
www.webwiredsolutions.com -Original Message- From: Rudi Ahlers [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 3:11 PM To: PHP General Subject: [PHP] Good host needed Hi guys. I know this is OT, but I don't know where else to ask. I'm in South Africa, and I'm looking

RE: [PHP] is_int with HTML FORM

2001-11-30 Thread Matt Williams
> or remove the {$len} to not check for a length > Sorry I meant replace the above with * m: -- 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 PROT

[PHP] help with images

2001-11-30 Thread Gav
First of all please excuse my ignorance if anything that I ask here is impossible or a common question, I have searched but not found the answer. I'm working with composite images which at the moment are dynamically produced and set in html layers. The problem is that I want the user to be able t

Re: [PHP] URGENT-HELP !!!!!!

2001-11-30 Thread Jim Musil
If you mail via pfsockopen, then you specify the sender which must be real, but you also specify the From: header which can be anything you want. ex: $smtp_server = "your.smtp.server"; $port = 25; $mydomain = "yourdomain.com"; $sender = "[EMAIL PROTECTED]";

[PHP] Re: HTTP_POST_VARS truncated

2001-11-30 Thread CC Zona
In article , [EMAIL PROTECTED] (Mweb) wrote: > foreach (var, key) in HTTP POST VARS { > > print "VAR: $var KEY = $key > } > > It works, (meaning that php code is correct, html output is displayed, > and no error are reported) but only prints three lines, i.e

[PHP] chown/chgrp not working

2001-11-30 Thread Paul Warner
I have a client that I made a image uploader/thumbnailer for that insists on using FrontPage. In order to make FP happy, I need to set the owner to 'nobody' and the group to 'site3' which are uid 99 and gid 117. The uploaded file is set as httpd/root and the thumbnail created by the script comes

[PHP] Re: HTTP_POST_VARS truncated

2001-11-30 Thread mweb
> One or more options in each select field are selected, right? Fields > having no values (such as unchecked radio buttons, etc.) don't get passed. Yes, I know empty values are not passed, and, yes, the options were selected (I tried with different values because I started thinking I was having

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Andrey Hristov
Fatal error: Call to undefined function: mysql_connect() means to things. php is not built with integrated mysql support, or php cannot find php_mysql.so on your comp. What is the value of php.ini variable include_path or something similar. Regards, Andrey Hristov - Original Message - F

RE: [PHP] chown/chgrp not working

2001-11-30 Thread Darren Gamble
Good day, What user is the application running as? Only the superuser can use these functions (this is documented with both of these functions). For security reasons, you may want to use an external sudo script to accomplish this. Be very, very careful... Darren G

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Paul Warner
> > Hello, > > I've got cobalt raq4 with php(work) and mysql(work) but when I try to > > connect via mysql_connect() this error happens: > > Fatal error: Call to undefined function: mysql_connect() > > This is my php.ini: > > I thing that it's all ok but it doesn't work. > > Any Ideas? > >

[PHP] Speed of Images from DB

2001-11-30 Thread Jim Musil
I've been searching for the best way to store images that would be used in a dynamic site. In this situation, a site admin would upload images via a php script. Obviously this creates several problems. To prevent naming problems, I have php name all the uploaded images and store the name in a

Re: [PHP] chown/chgrp not working

2001-11-30 Thread Paul Warner
Ahh, it is not running with root priv., so this is the problem. Sounds like a good time to look for another way to skin this cat... Thanks! -- Paul - Original Message - From: "Darren Gamble" <[EMAIL PROTECTED]> To: "'Paul Warner'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday,

[PHP] Re: HTTP_POST_VARS truncated

2001-11-30 Thread CC Zona
In article , [EMAIL PROTECTED] (Mweb) wrote: > > One or more options in each select field are selected, right? Fields > > having no values (such as unchecked radio buttons, etc.) don't get passed. > > Yes, I know empty values are not passed, and, yes, the options wer

[PHP] Re: [PHP-DB] R: [PHP-DB] PHP/Mysql

2001-11-30 Thread Andrey Hristov
Set include_path to the place where is your php_mysql.so and uncomment extension=php_mysql.so Regards, Andrey Hristov Bye - Original Message - From: "Riccardi Moreno" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 5:45

[PHP] php + apache 2.0.28 / windows

2001-11-30 Thread TISSANDIE Francois
Hi all, I try to install new 2.0.28 apache on window NT. Apache works fine, but I cannot run php scripts. I think I missed something on .conf to load php, but what ? any idea ? Yhanks for help François Tissandié. Embrassez ceux que vous aimez Atos-Infogérance Tour MANHATTAN 6 Place de l'Iris

[PHP] Database + Form

2001-11-30 Thread TD - Sales International Holland B.V.
Hey there, once again... sorry but I'm not on the list so please CC me :-) I was in the assumption that you needed to use addslashes on a var you retrieve from a form to properly insert it into the database. Well I'm not using it and I can put ",\n,\t etc in my webform but SQL won't evaluate t

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Stefan Rusterholz
I did do that for a galery-script of myself. I don't have any numbers if you'r looking for that but my personal impression was, that the picture output from the mysql-db is actually faster than reading directly from disk. But that could be due to server capabilities of my ISP (if he has for exampl

[PHP] ZendOptimizer.so apache

2001-11-30 Thread Bas Jobsen
Hello, I want start ZendOptimizer with a .htaccess this is in my .htaccess: -- php_value zend_optimizer.optimization_level 15 php_value zend_extension "ZendOptimizer.so" -- ZendOptimizer.so is in the same directory. It does'nt seem to word. Do i someythnig wrong? Tnx, Bas -- PHP General M

Re: [PHP] MySQL: copying entire columns

2001-11-30 Thread Chris Hobbs
Tom Churm wrote: >$sql = "Insert into $table_name(Address, Phone, Name) >values('$Address','$Phone','$Name')"; > >if this is true, it'll save me a lot of useless time trying to reorder >my tables. > That be it :) -- ___ ____ _ Chris Hobbs / \ \

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Julio Nobrega Trabalhando
> But that could be due to server capabilities of my ISP (if he has for > example a high tech mysql-server and a relativly slow machine for apache). Probaly :-) From this page: http://www.mysql.com/information/presentations/presentation-oscon2000-27 19/ You can read on section 'Gener

[PHP] SMS

2001-11-30 Thread Daniel Berwig
Does anyone know how could I send data from php through SMS to a cel phone? I simply can't find info about that. Thanks in advance, Daniel Berwig. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
I think you need an SMS server to "broadcast" the data. Am I correct? Anyone --- Daniel Berwig <[EMAIL PROTECTED]> wrote: > Does anyone know how could I send data from php through SMS to a cel phone? > I simply can't find info about that. > > Thanks in advance, > > Daniel Berwig. > > > > --

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
I think you need an SMS server to "broadcast" the data. Am I correct? Anyone --- Daniel Berwig <[EMAIL PROTECTED]> wrote: > Does anyone know how could I send data from php through SMS to a cel phone? > I simply can't find info about that. > > Thanks in advance, > > Daniel Berwig. > > > > --

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
Heres a code snippet: Sorry for leading astray. // load the swsms module dl( "../swsms.so" ); // create the sms object $sms = create_sms(); // send the carrier list request carrierlist_send( &$sms ); // check if the request was a success if( ! $sms->success ) { // display error inf

[PHP] I'm getting frustrated with this.

2001-11-30 Thread chip . wiegand
Hi, I just want a simple page that pulls the data from a database (got that working fine, no problem), and on that page I want to be able to have an option to delete entries. I have tried what seems to be the simplest method - using a form text field, enter the appropriate info, and hit the submit

Re: [PHP] I'm getting frustrated with this.

2001-11-30 Thread andre
look this: http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html maybe it help you andre - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 4:59 PM Subject: [PHP] I'm getting frustrated with this. > Hi, > I just

[PHP] Re: I'm getting frustrated with this.

2001-11-30 Thread Julio Nobrega Trabalhando
Well, you could go to www.hotscripts.com/PHP article and tutorials sections. But it is easy. Delete syntax is: This will boom every record. DELETE FROM table; This will boom every Joe: DELETE FROM table WHERE name='Joe'; This will boom an id. That's probaly the way you want. A

[PHP] generating text file from php

2001-11-30 Thread David Tod Sigafoos
I have a script which generates html and writes out for users to download. The script works and the html file works. I build strings of html then writeout with fwrite. My question is how can i add linefeeds to the strings? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] declaring variables mandatory???

2001-11-30 Thread Andy
Hello, I have a problem with my php installation. PHP runs, but all my variables have to be declared, othervise I am getting following error: Warning: Undefined variable: next in e:\projects\globosapiens\07_production\actual\forum\install.php on line 33 I guess this is only on my system, since

Re: [PHP] declaring variables mandatory???

2001-11-30 Thread Tyler Longren
I'm not sure, but I'd check the Error level settings in php.ini. It might be set to display stupid little warnings like this. Good luck, Tyler Longren - Original Message - From: "Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 1:37 PM Subject: [PHP] dec

Re: [PHP] generating text file from php

2001-11-30 Thread John S. Huggins
On Fri, 30 Nov 2001, David Tod Sigafoos wrote: >-I have a script which generates html and writes out for users to >-download. The script works and the html file works. >- >-I build strings of html then writeout with fwrite. >- >-My question is how can i add linefeeds to the strings? \n or ma

Re: [PHP] declaring variables mandatory???

2001-11-30 Thread R'twick Niceorgaw
Check this url. Your error_reporting is set to E_ALL in the php.ini file. Change it to suit your need. On my machine I have error_reporting set as below in the php.ini file. error_reporting = E_ALL & ~E_NOTICE http://www.php.net/manual/en/function.error-reporting.php - Original Messa

Re: [PHP] chown/chgrp not working

2001-11-30 Thread Fred
I tackled a similar problem by running a root cron job that does the chown and chgrp every x minutes. Fred Paul Warner <[EMAIL PROTECTED]> wrote in message 023601c179b6$a35bdd80$[EMAIL PROTECTED]">news:023601c179b6$a35bdd80$[EMAIL PROTECTED]... > Ahh, it is not running with root priv., so this i

[PHP] Re: I'm getting frustrated with this.

2001-11-30 Thread Fred
If you want to know exactly why mysql functions fail you should always, and I do mean always, use this form: $Result = mysql_query($Query, $Connection) or die (mysql_error()); You will always get a fairly descriptive error from mysql. If you still do not understand the error, at least you

[PHP] How to work with MySQL tables WITHOUT telnet, SSH or PhpMyAdmin

2001-11-30 Thread sgibbs
Our organization has a website that uses PHP and MySQL. In fact, at least 75% of our webpages are generated dynamically. I want to run reports on the current MySQL database, create new databases and create, copy and alter existing tables. Our web host does not support telnet or SSH for its c

[PHP] Re: How to work with MySQL tables WITHOUT telnet, SSH or PhpMyAdmin

2001-11-30 Thread Julio Nobrega Trabalhando
>(I think I need their > assistance if I want to use PhpMyAdmin, right? Most of the time, no. These are the lines you usually need to change on PhpMyAdmin config file: $cfgServers[1]['host'] = 'localhost'; // MySQL hostname $cfgServers[1]['user'] = 'root'; // MySQL user

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: > I think you need an SMS server to "broadcast" the data. Am I correct? you can also send sms with the mail function, but a gsm modem is by far the best, so for a stabile service either rent a sms service or get somekind of a gsm modem. AFAIK -- Henr

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: > Heres a code snippet: > Sorry for leading astray. > > // load the swsms module > dl( "../swsms.so" ); never heard of a sms module in php, where can you get this? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Re: [PHP-WIN] BARE LF in Sending Mail from PHP

2001-11-30 Thread R'twick Niceorgaw
which line the error was on ? and what was the error ? I can not see why it would give any parse error I have run this test program and it worked fine.. without any parse error. It may be somewhere else in your code. Here's my sample code. \r\n"; $Headers.="X-Mailer: PHP/" . phpv

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
That example I sent was from a place where they have the swsms shared object which you can get in a developers license, I havent actually tried it, but was looking at it for a project. --- Henrik Hansen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Dan McCullough) wrote: > > > I think you ne

Re: [PHP] How to work with MySQL tables WITHOUT telnet, SSH orPhpMyAdmin

2001-11-30 Thread Sverre Johan Tøvik
At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote: > Our web host does not support telnet or SSH for its clients and is not > interested in working with PhpMyAdmin at the moment (I think I need their > assistance if I want to use PhpMyAdmin, right?). Is this rather typical of > web hosts? You

Re: [PHP] SMS

2001-11-30 Thread Dan McCullough
somewhere in here ... I'm not familiar with the actual object, but if you have success withit I would like to hear how you are doing with it. http://www.simplewire.com/developers/code/ --- Henrik Hansen <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Dan McCullough) wrote: > > > Heres a code s

Re: [PHP] How to work with MySQL tables WITHOUT telnet, SSH or PhpMyAdmin

2001-11-30 Thread Dan McCullough
Yes most shared hosts will not allow the creation of multiple databases. Just one, so you will have to make use with table creation. dan mccullough programming/enginnering 603.444.9808 --- Sverre Johan Tøvik <[EMAIL PROTECTED]> wrote: > At 15:19 -0500 30-11-01, [EMAIL PROTECTED] wrote: > > >

[PHP] system(), flush() and so on...

2001-11-30 Thread faeton
Salute, PHP list :), Aloha, ppl. Could anybody explain 2 me what da heck is wrong with flush(). What is needed for it to run as needed? :) If I'm to mistaken that should be an php module for apache? And what if it's compiled together with apache? I dunno what 2 do. ---

Re: [PHP] SMS

2001-11-30 Thread Henrik Hansen
[EMAIL PROTECTED] (Dan McCullough) wrote: > somewhere in here ... I'm not familiar with the actual object, but if you have >success withit I > would like to hear how you are doing with it. > http://www.simplewire.com/developers/code/ ahh yeah now i remember seing it :) -- Henrik Hansen -

[PHP] Re: system(), flush() and so on...

2001-11-30 Thread Julio Nobrega Trabalhando
Hi, please be more specific. Including what error you are getting, what is the tools being used, and their versions. Here's a quick help for producing better questions, wich will in turn make us answer faster and with more quality: http://www.tuxedo.org/~esr/faqs/smart-questions.html PS:

Re: [PHP] Re: system(), flush() and so on...

2001-11-30 Thread faeton
Hello Julio, Hm... I don't even know what to specify :) The exact problem is using system("traceroute host.com"), but it should've returned its results line by line, instead of executing the whole command and then outputting its result. That is done by flush(), which is executed by system() foo

  1   2   >