[PHP] problem with ODBC

2003-03-21 Thread Frank
Hi, I'm Frank I have problem when I use conection odbc, give me a error: PHP Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:\php\includes\adodb\drivers\adodb-odbc.inc.php on line 166 th

Re: [PHP] Problems with post data

2003-03-30 Thread Frank
o not seem to have these problems. Any idea or suggestion. Frank "John W. Holmes" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > I bet the web server that works is not running Apache 2, is it? Either > way, it's an Apache2 and PHP bug. It's in the

[PHP] Where is my REMOTE_USER?

2002-08-29 Thread Frank
_SERVER['REMOTE_USER'] $_ENV['REMOTE_USER'] or in the older $HTTP_SERVER_VARS['REMOTE_USER'] or in any of the other superglobals. Did it possibly fall out of the PHP implementation? Or should it be there and I am overlooking something? Thanks! Frank U5.com --

Re: [PHP] Where is my REMOTE_USER?

2002-08-29 Thread Frank
At 06:03 29/8/2002 -0400, David T-G wrote: > Frank, et al -- > ..and then Frank said... > % > % Hi, > % > % when logging in with username and password with the good old "Require user" > % mechanism in Apache I could earlier see the name of the user l

Re: [PHP] Where is my REMOTE_USER?

2002-08-30 Thread Frank
P and gone were the remote_user. Thank you for drawing my attention to the relevant passage. Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Setting date fields in mysql queries

2002-10-02 Thread Frank
ield are not proper date values ;-) Hope it helps! Frank, U5 PHP work! Looking for PHP work over the net? Or would like to try to work in South East Asia's most exiting place, Bangkok? Then jump to http://www.u5.com/ and fill out the Developers Form. We are urgently looking for new

Re: [PHP] Very slow pg access

2002-06-22 Thread Frank
l" values that has little to do with real life through an API. Postgres is very fast - but a connect and 3 queries in 0.002 ms? Hmmm! The 0.1 s looks more like a "real" value to me. Best Frank At 00:51 22/6/2002 +0200, you wrote: >Hi! > >i made some benchmarks because

[PHP] Help needed with hexdec();

2002-07-06 Thread frank
Hi Guys, I have a problem wich I hope has been solved by someone :-) Here's the deal, I have to convert a perl script to PHP trying to do so I get negative values from hexdec(), If I use (int)hexdec() the numbers aren't negative anymore, but they do not add up to what they should. Here's t

RE: [PHP] Re: Help needed with hexdec();

2002-07-08 Thread frank
Thank you for your answer Richard, unfortunately the port from perl to PHP didn't work out the way I wanted it to - probably mainly because of the lack of perl knowledge here. And yes you are right, the numbers I use are a lot bigger than 2147483647. If anyone has an idea on how to treat the num

[PHP] Better standards in PHP-coding

2002-04-20 Thread Frank
"The nice thing about standards is that there are so many to choose between". Subject: Uses of block markers in coding GNU recommends a standard with block-markers aligned under each other and a number of people - including myself - find it senseless and counter-progressive to keep up an olde

[PHP] PHP "ignoring" dotfiles

2002-04-29 Thread Frank
(I think) I now get this strange problem. I have tried to play with the include_path but without result. Anyone have a clue? Best, Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP "ignoring" dotfiles, permissions

2002-04-29 Thread Frank
>Just a hunch: do you get the same permissions output for the dotfiles as >the normal ones? Thanks for the idea. I am not sure what you mean by "permissions output" but it is same owner and an "ls -la" gives -rwxr-xr-x 1 frank wheel 27 Apr 29 23:05 .mydotfil

Re: [PHP] PHP "ignoring" dotfiles, permissions

2002-04-29 Thread Frank
include '.mydotfile'; (I tried that as well) to watch out for unexpected behavior and maybe entirely avoid this in PHP-solutions intended to be portable. At least at my computer it wouldn't work and it is a very mainstream one! :-) - - - BTW - there is no problem if I give t

Re: [PHP] PHP "ignoring" dotfiles, permissions

2002-04-29 Thread Frank
lier and then making them work. I will stay out of dotfiles in combination with PHP in the future, just to be safe. Thanks for the suggestion... Best Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] The future of call time pass-as-reference

2002-05-15 Thread Frank
sk being forced to rewrite more later if I use the quick fix with setting allow_call_time_pass_reference to true. Any thoughts? Frank -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] TEST-mail to list - no content - pls. ignore.

2002-02-25 Thread Frank
Just testing :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: ? re phpwebhosting.com - still in business??

2002-02-25 Thread Frank
Anything in effect saying "any transfer without extra cost" (or "unlimited diskspace") is not for users expecting quality. Bandwidth and diskspace costs money. What they mean is "It's unlimited unless off course you use too much", in other words unserious advertising and so it's a business yo

Re: [PHP] case insenstive

2002-03-04 Thread Frank
if ($author[0]=='a' || $author[0]=='A') { ... } or (much slower) if (strtolower($author[0])=='a') { ... } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP .. I just don't get it.

2002-03-05 Thread Frank
Many years ago I wrote something for newcomers into OOP. I have cut a snippet out of it and added some comments. Sorry, it became rather long. Hope it helps somebody. Frank " OOP is the art of designing "objects", then creating and killing them. An object is a box with

Re: [PHP] Broadcasting

2002-03-10 Thread Frank
out the time is probably the cheapest after all. Then say your prayers every night and of course the good old golden rule: Don't trust software you didn't write Don't trust hardware you didn't build Don't trust people you aren't. Best Frank At 21:47 10/3/2002 -0

[PHP] PHP group in spanish

2002-03-11 Thread Frank
How know a PHP group that is in spanish?. Thanks beforehand... Frank.- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't display PNG images

2002-03-11 Thread Frank
port enabled" is not there then something went wrong. I had the same problem once. Don't rely on the compiler complaining - _you_ carefully have to make sure the PNG libs are in the right place (easier said than done). Remember to run "gmake clean" between compilations of PHP

[PHP] PHP / cgiwrap - weird problem

2002-03-31 Thread Frank
pe: text/html\n\n" ls / or Perl #!/usr/bin/perl print("Content-type: text/html\n\n"); print("Hello, World!"); as http://www.myname.com/cgi-bin/cgiwrapd/frank/myscript2.cgi So everything as expected. But with PHP something very strange happen: The above script "my

[PHP] Re: scheduler algorithm

2007-02-02 Thread frank
hmmm, a month period has 4*7 days e.g. then i can schedule on 31.3.07 a month period which will repeat itself on 30.4.07 and again on 30.5.07 even though may has 31 days. i dont see no other logic if you take a week period it same a week has always 7 days. how else would it make sense. the start d

Re: [PHP] Graphs

2007-02-02 Thread frank
yes it does a great job, almost every parameter even for the legend can be influenced by its methods and properties. i say jp graph is the best fra* > > JP Graph is always mentioned in this list. > > I generally just do GD directly, to get things laid out the way I > want, instead of sort of kind

[PHP] Re: Help with matching numbers 0-100

2007-02-03 Thread frank
better make a switch statement: with case such as switch($x): case ($x >= 16 && $x <= 30): break; case set* ""Chilling Lounge Admin"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi. > > I need help with matching a variable. The variable would be e.g. 0-15 > , 16

[PHP] displaying directory last modify

2004-03-29 Thread frank
Hello there, I have been trying to mke a simple script to basically out the last date the dir was modified. Like when you do ls -l next to the folder you can see the date of last modfied. cheers. || -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] logs(querystring) in php4 or apache?

2002-11-23 Thread Frank Wang
Hi, In a html i use a form to post data to a php file in a Apache server. I'd like to take a look at the raw data submitted from the web browser to the php, where can i find this info? the access.log in Apache does not contain this info. thanks. Frank -- PHP General Mailing List

[PHP] Help with the PHP

2002-11-28 Thread Ted Frank
Hello, I am trying to make my free home page and my friend told me to download the php because it is for the web and i want to make a web page. so i downloaded the php with the flash plugin and i put it on my desktop and nothing showed up - i just want to make the free home page but the php doe

[PHP] Question about $_GET

2003-01-15 Thread Frank Keessen
T_STRING' or `T_VARIABLE' or `T_NUM_STRING' Can someone please help? Thanks and regards, Frank

Re: [PHP] Question about $_GET

2003-01-15 Thread Frank Keessen
7;id']}"; $result = mysql_query($query) or die ("Error in query: $query. " . mysql_error()); Regards, Frank - Original Message - From: "Danny Shepherd" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECT

Re: [PHP] Question about $_GET

2003-01-15 Thread Frank Keessen
Hi, Thanks for the great help! It's working now! The solution: $query = "SELECT Newsheadline, News, Contact FROM news WHERE Newsid = {$_GET['id']}"; Regards, Frank - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "Frank K

[PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
de that doesn't work: Input yourname What am I doing wrong??? Thanks, Frank

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
Hi, The register_globals = Off. Dit the basic echo ($submit) but it displays nothing.. Any thoughts somebody?? Thanks for helping me out on this cloudy saturday (in Amsterdam!) Regards, Frank - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMA

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
Hi, Thanks, but i'm a kind of a newbie in PHP and what i've read it's better to have the register_globals = Off!!! If you look at my code you see that i'm using the $_GET variable.. This works fine!! It's the IF.. ELSE what gives me a lot of trouble! Frank - Or

Re: [PHP] If... Else.. I'm not getting it!

2003-01-25 Thread Frank Keessen
Wow!! It worked... Sorry for the confusion about the get!! Thanks guys, i can go further!!! Have a nice weekend! Regards, Frank - Original Message - From: "Rich Gray" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

Re: [PHP] Dynamic input fields in Form

2003-02-07 Thread Frank Keessen
Hi, Thanks for the answer; but there is nobody who can show me an example in code??? Regards, Frank - Original Message - From: "Jon Haworth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 1:45 PM Subject: RE

Re: [PHP] Dynamic input fields in Form

2003-02-08 Thread Frank Keessen
Hi, Thanks guys for helping me out! Regards, Frank Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; "Jon Haworth" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, Febr

[PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
; Echo $username Or has anyone some alternatives.. This is working o.k. but in my opinion it's a little bit quick and dirty? Thanks for the comments and suggestions! Frank

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
Thanks, But then another question; if (isset($_SESSION['username']) && !empty($_SESSION['username'])) { > echo 'Welcome '.$_SESSION['username'].', you are still logged in.'; I want also checked if the level of authentication = 2; f

Re: [PHP] $_SESSIONS and printing off..

2003-02-18 Thread Frank Keessen
login.htm) statement.. better explained??? ;> Thanks, Frank - Original Message - From: "Rich Gray" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 1:25 PM Subject: RE: [PHP] $_SESSION

Re: [PHP] Forms and MySql date

2003-02-20 Thread Frank Keessen
te into the database! Regards, Frank - Original Message - From: "Philip Hallstrom" <[EMAIL PROTECTED]> To: "Mike Tuller" <[EMAIL PROTECTED]> Cc: "php mailing list list" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 11:48 PM Subject: [P

[PHP] Random not working?

2003-03-01 Thread Frank Keessen
and when i'm taking off the LIMIT 1 it will display all the records in ascending order so also not in random.. Regards, Frank

[PHP] Re: [PHP-DB] RE: [PHP] Random not working?

2003-03-01 Thread Frank Keessen
Thanks guys for the info; I will speak to my ISP! Have a nice weekend! Regards, Frank - Original Message - From: "Rich Gray" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday,

Re: [PHP] Configure with register_globals on

2003-03-08 Thread Frank Keessen
Hi Mike, I've googled something for you! http://www.entropy.ch/software/macosx/php/#install Everything about PHP and running it on the MAC OS X.. Regards, Frank - Original Message - From: "Mike Tuller" <[EMAIL PROTECTED]> To: "php mailing list list" &

Re: [PHP] html mail

2003-03-10 Thread Frank Keessen
Hi, I found this one and it's quite handy; http://phpmailer.sourceforge.net/ Regards, Frank - Original Message - From: "Ian A. Gray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 2:47 PM Subject: [PHP] html mail > Hi, > I am

Re: [PHP] Mailing list server with PHP frontend

2003-07-11 Thread Frank Keessen
Hi, Maybe is this what you want; http://www.eternalmart.com/ Regards, Frank - Original Message - From: "Juan Nin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 12, 2003 1:47 AM Subject: [PHP] Mailing list server with PHP frontend > Hi! &

[PHP] Array transform date and put in a session

2003-07-29 Thread Frank Keessen
POST['datebirth']); $mysqldate = $date_array[2]."-".$date_array[1]."-".$date_array[0]; $_SESSION['datebirth'] = array(); $_SESSION['datebirth'] = $mysqldate; This is my code till now but i'm stuck (when proccesing it i'm only getting Array... as output).. Can someone help me? Regards, Frank

Re: [PHP] Array transform date and put in a session

2003-07-29 Thread Frank Keessen
Hi David, Thanks for your reply... This makes no sense; According to the rest of your code, it should be called datebirth, not datebirth[]. Let me put in the whole code > People number Date of birth "; ?> Regards, Frank From: "David Nicholson&qu

Re: [PHP] Problems with post data

2003-04-01 Thread Frank Westerbeke
John, Thanks for your patience. I've been trying to get a grip on PHP/MySQL with a book written by Jay Bulger and Jay Geenspan. Obviously a wrong choice since your solution is not mentioned in their book. I will check the manual more often. Frank "John W. Holmes" <[EMAIL PROT

[PHP] Multi Selection

2003-06-04 Thread Frank Keessen
nsert each value seperatly.. So if there are 3 selections it must be repeat the INSERT query three times... Thanks for the help! Frank

Re: [PHP] Multi Selection

2003-06-04 Thread Frank Keessen
Jim, Why does the data have to be reindexed??? I don't understand, can you give me an explenation? Thanks, Frank - Original Message - From: "Jim Lucas" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

Re: [PHP] Multi Selection

2003-06-04 Thread Frank Keessen
f the first.. How to avoid this? Frank $Value) { $query = 'INSERT INTO ra(reisid, accid) VALUES (LAST_INSERT_ID(), '.$Value.')'; $result = mysql_query($query) or die ("Error in query: $query. " . mysql_error()); }; } else { $query = 'INSERT INTO ra(reis

Re: [PHP] Multi Selection

2003-06-04 Thread Frank Keessen
f the first.. How to avoid this? Frank $Value) { $query = 'INSERT INTO ra(reisid, accid) VALUES (LAST_INSERT_ID(), '.$Value.')'; $result = mysql_query($query) or die ("Error in query: $query. " . mysql_error()); }; } else { $query = 'INSERT INTO ra(reis

[PHP] Checkboxes and put value in db

2003-06-08 Thread Frank Keessen
scripts while($row = mysql_fetch_object($result)) { ?> prdatumaanv); ?> praanhef . " " . $row->prtussenv . " " . $row->prnaam; ?> pradres . " " . $row->prhuisnummer; ?> prpostcode1 . " " . $row->prpostcode2 . " " . $row->prplaats; ?> premail; ?> printresse; ?> prospectid; echo "prospectid . "\" value=\"1\">"; $idlist .= $sep . $row->prospectid; $sep = ","; } } // if no records present // display message else { ?> Geen Prospects aanwezig "; ?> Thanks, Frank

Re: [PHP] Good Hosting company

2003-06-09 Thread Frank Keessen
Hi, you can go to www.3shost.com very cheap and very good! My collegue's have their website running their.. Due to some specific settng's i'm hosting in the Netherlands.. Regards, Frank - Original Message - From: "Awlad Hussain" <[EMAIL PROTECTED]> To: &

[PHP] Session not working?

2003-06-09 Thread Frank Keessen
alvol; $_SESSION['aantalkind'] = $aantalkind; $_SESSION['1pk'] = $eenpk; $_SESSION['2pk'] = $tweepk; header( "Location: test3.php" ); } test3.php I get page not be displayed... Even with the full URL in the HEADER section it doesn't work.. Some one can help me please? Txs, Frank

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Hi, It's pointing towards the booking.php (which is the 'sender' page..) Exact error message: The Page cannot be displayed.. So it's no 404.. I think.. Frank - Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
27;]; $aantalkind=$_POST['$aantalkind']; $aantalvol=addslashes($_POST['aantalvol']); session_start(); $_SESSION['dater'] = $dater; $_SESSION['aantalvol'] = $aantalvol; $_SESSION['aantalkind'] = $aantalkind; $_SESSION['1pk'] = $eenpk; $_SESSION[&

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Hi, The original code: - Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 8:49 PM Subject: Re: [PHP] Session not working? > On Mon, Jun 09, 2003 at 08:18:10PM +0200, Frank Keessen wrote: >

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Dear all, Fixed it! Typed again the Header syntax and it worked! Also installed Mozilla! Thanks for the help! Frank - Original Message - From: "Frank Keessen" <[EMAIL PROTECTED]> To: "Emma Jane Hogbin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]&g

[PHP] Array and $_POST value's HELP!

2003-06-10 Thread Frank Keessen
} } ?> "; echo "# $i"; } ?> Thanks in advance for your time and help Regards, Frank

Re: [PHP] Classes and Objects

2003-06-10 Thread Frank Keessen
Don, Are you using phpmailer of http://phpmailer.sourceforge.net/ ??? Looks like: require("class.phpmailer.php"); this is not properly configured! Please check if the path is going alright.. Regards, Frank - Original Message - From: "Don" <[EMAIL PROTECTED]&

[PHP] Math with php

2003-06-10 Thread Frank Keessen
this is maybe a little bit vague... Questions? e-mail! Regards, Frank

[PHP] Capturing the input of dynamic form fields

2003-06-15 Thread Frank Keessen
'$test1')"; $result = mysql_query($query) or die ("Error in query: $query. " . mysql_error()); } } How can i put the test2 value's in the above construction so that the value's of test1 and test2 are seamlessley written in the database? Thanks in advance for helping me out! Regards, Frank

[PHP] Capturing the input of dynamic form fields (part II)

2003-06-15 Thread Frank Keessen
Dear all, Refering to my first e-mail with the same subject; I've reworked the code to this: But the only problem is; Nothing is written into the mysql database! And there are no error displayed.. Can someone have a look at my code? "; echo "# $i"; } ?> Thanks very much, Frank

Re: [PHP] Capturing the input of dynamic form fields (part II)

2003-06-15 Thread Frank Keessen
Hi James, Sorry to say; I've put your code in it but there are no error message's displaying and there is no value inserted in the database... Any clue??? Regards, Frank - Original Message - From: "James Hicks" <[EMAIL PROTECTED]> To: "Frank Keessen&q

Re: [PHP] Capturing the input of dynamic form fields (part II)

2003-06-15 Thread Frank Keessen
Hi, Looks like the value's are not coming to the database.. Can you please all have a close look at my code because it's driving me NUTS! THANKS FOR YOUR HELP! $query".mysql_affected_rows($result)); } } ?> > "; echo "# $i"; } ?> Regards, Fra

Re: [PHP] Capturing the input of dynamic form fields (part II)

2003-06-15 Thread Frank Keessen
;; > $result = mysql_query($query); That one did the trick! Thanks James and Wouter for helping me out! Frank ----- Original Message - From: "esctoday.com | Wouter van Vliet" <[EMAIL PROTECTED]> To: "Frank Keessen" <[EMAIL PROTECTED]>; "James Hicks&qu

[PHP] Array in a $_session

2003-06-16 Thread Frank Keessen
NTO test (test1, test2, test3, test4 , test5) VALUES ('".$_POST['test1'][$i]."', '".$_POST['test2'][$i]."', '".$_POST['test3'][$i]."', '".$_POST['test4'][$i]."', '".$_POST['test5'][$i]."')"; $result = mysql_query($query); But i've got no clue how to put into a session and retrieve it.. Can you help? Regards, Frank

Re: [PHP] Array in a $_session

2003-06-16 Thread Frank Keessen
{ $_SESSION['test1'][$i] = $_POST['test1'][$i]; } header("Location: step3.php"); } (page 3) session_start(); $test1 = $_SESSION['test1'][$i]; echo $test1; for ($i=1; $i<=$_SESSION['test1'][$i]; $i++) { echo $test1; } Thanks for your tim

Re: [PHP] Array in a $_session

2003-06-16 Thread Frank Keessen
est1'] as $i => $Value) { $_SESSION['test1'][$i] = $_POST['test1'][$i]; } session_write_close(); header("Location: step3.php"); (step 3) session_start(); $aantalpers=$_SESSION["aantalpers"]; $test1 = $_SESSION['test1'][$i]; echo $test1; for

Re: [PHP] Array in a $_session

2003-06-16 Thread Frank Keessen
Thanks for your time everyone to have a look at this! Regards, Frank (step 2.php) $Value) { $_SESSION['test1'][$i] = $_POST['test1'][$i]; } session_write_close(); header("Location: step3.php"); } ?> > echo ""; } ?> (step 3.php) -

[PHP] cannot get php through apache to write to my home dir on shared server

2003-06-26 Thread frank reeves
how I can get php to write as me to my home dir ? I suppose i could write a shell script and have my app call this but that seems a bit convoluted. Thanks in advance, -- frank = Want to chat instantly with your onli

Re: [PHP] web site security: how to hide login info for mysql-connection

2003-06-29 Thread Avvio - Frank
ot;include_path").":". "/your/path/here/"); then include/require as normal -- frank - Original Message - From: "anders thoresson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 29, 2003 4:33 PM Subject: Re: [PHP] web site securi

[PHP] e-mail to mysql database?

2002-08-12 Thread Frank Schellenberg
contribution. Frank Schellenberg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Variable Assignment

2002-09-09 Thread Kicenko, Frank
Hi, I apologize for asking this question as it must have been asked many times before but I can't find it in any of the archives.. What I would like to do is setup forms in javascript and then on a submit to assign these variables to PHP variables. I know how to assign PHP to javascript with th

Re: [PHP] Looking for an open source PHP editor on linux

2002-10-25 Thread Frank W.
the personal edition (2.0) from www.zend.com well - its not open source but it has nice help and debug-features for PHP. Tariq Murtaza wrote: Dear All I am wondering if anyone know, some good open source editor for PHP on linux/Unix Hopping for The Best :) Tariq -- PHP General Mailing

Re: [PHP] Register Globals Off in .htacces

2002-10-25 Thread Frank W.
it works only if i put it in my httpd.conf - yes allowoveride is set to all :/ i'm using apache 1.3.27 on win2k. Jon Haworth wrote: > Hi, > > > >Thx for your reply It is working. > > > No probs, glad to help. > > > >I also found from php.net that it's possible > >to set register_globals to "off"

Re: [PHP] Register Globals Off in .htacces

2002-10-25 Thread Frank W.
well, i found my mistake ;) on windows i forgot to change the name of the .htaccess-files because on win they couldnt have a extentsion without a name. So i've named them now only "htaccess" without the dot and it works fine Frank W. wrote: it works only if i put it in my h

Re: [PHP] Add picture in DB

2002-10-28 Thread Frank W.
Have you used a SQL-Statement like: INSERT INTO `tablename` VALUES ('',LOAD_FILE('$file') to insert it with load_file? I used it without problems that way. Christian Ista wrote: Hello, I have a form, with 2 inputs ( a type "file" and a type "text") and a submit. When I submit I receive an e

Re: [PHP] problem loading extension

2002-10-29 Thread Frank W.
there should be something like: extension_dir = "C:\PHP\extensions" in your php.ini Simon Taylor wrote: > Hi All, > I have just been trying to add some more extensions to my site, I have > copied the dll's for the extensions I wish to add to my extensions dir and > uncommented them in my php

[PHP] newbie's question

2002-11-15 Thread Frank Wang
Hi, what is the correct way of testing if a string is empty or not? fw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail and from line overriding

2002-11-15 Thread Frank Wang
Hi, I have something like following: $from = "[EMAIL PROTECTED]"; $email = "[EMAIL PROTECTED]"; $msg = "abcde"; mail($email, $subj, $msg, $from); the message sent always has the 'from' line taken from php.ini, not $from, is there a way to override

Re: [PHP] newbie's question

2002-11-15 Thread Frank Wang
Hi, That looks good to me, thanks. "Steve Keller" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Err... sorry. The logic was there but my fingers got a bit ahead of my > brain. The check works, but if you want to just check if it's empty turn > the conditional

[PHP] Sharing form information

2002-06-15 Thread Frank Kicenko
Hi, Hopefully I didn't send this to the wrong list...:-) I have a couple of questions if you don't mind... the PHP help files seem to be very vague with respect to html issues. Questions: How can I get the "selected" info from a selectbox that is in another form on the same page... I've tried e

[PHP] Using $PHP_SELF in a form

2002-06-24 Thread Frank Miller
in mind it is being displayed on a ipaq so the headings are brief. Also I’m working on my local computer before it is put in production. Any help would be appreciated.   TIA – Frank   if(!$HTTP_POST_VARS['submit']) {     // initialize database connection $connection = mys

[PHP] If empty don't display...

2003-08-27 Thread Frank Keessen
amount of Queries?? Thanks for your time and help, Frank The code: " . $row4->naamreis . ""; ?> 0) { while($row = mysql_fetch_object($result)) {

[PHP] Get the lowest value out of different fields

2003-09-03 Thread Frank Keessen
value, except 0.. So the SQL statement will be SELECT testf1, testf2, testf3, testf4, testf5 FROM test where testid='1' . I can't figure out if i can do this into a SQL statement or put it in an Array and sort it.. Please help! Frank

Re: [PHP] Get the lowest value out of different fields

2003-09-03 Thread Frank Keessen
whole result? --- if (mysql_num_rows($result3) > 0) { $test = mysql_fetch_array($result3); echo minnum($test); } -- Whole code: 0) { $test = mysql_fetch_array($result3); echo minnum($test); } ?> Regards, Frank --

[PHP] Help with Displaying RSS feed links

2003-09-09 Thread Frank Miller
yone point me in the right direction? Right now I don't get an error but I also don't get any text or results. Thanks - Frank Here is the code from the original article: // New releases on freshmeat.net today: http://www.freshmeat.net/

[PHP] globals on globals off (help

2003-09-16 Thread Frank Tudor
27;ll be damned if I know where I can set them to on. I found a php.ini-dist and a php.ini-recommended file but changing these files does nothing. can someone give me some give me a hand with this? Thanks, Frank __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-t

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
> is not configured for mysql, how could I fix this? Is there > anything I can do for either of these two questions to get my > globals on? > > I swear I will never use functions again if someone helps me. > > :) > > Frank __ Do you

[PHP] PHP and MYSQL don't shake hands

2003-09-18 Thread Frank Tudor
and this is simple code out of the book. Could it be my dbhost is incorrect. I checked my services and Mysql is running. Apache running and parsing other php pages that don't do a db connect so I'm pretty sure it's the db connect stuff. Thanks, Frank _

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
p.ini file but it is not configured for mysql, how could I fix this? Is there anything I can do for either of these two questions to get my globals on? I swear I will never use functions again if someone helps me. :) Frank __ Do you Yahoo!? Yahoo! SiteBuilder

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: "; $result2 = mysql_list_tables($db_data[0]); $num_rows2 = mysql_num_rows($result2);

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
When I remane my php.ini file I get /var/lib/mysql/mysql.sock When I take the .old of the the end of my php.ini.old and put in my etc directory i don't see any mysql stuff listed. Frank --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > check your mysql.default_socket sett

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
t failes when i restart my web seerver in the httpd-perl.conf file Frank --- John Nichel <[EMAIL PROTECTED]> wrote: > Frank Tudor wrote: > > >>It worked like a charmbut guess what. I can't create a > >>connection string to my database. Now I have

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
e the php.ini and frankly I'm not sure where the php stuff is defined in apache), because before the php.ini files ended up in the etc directory I had to modify it from the php.ini-dist from the common lib directory. does this help? Frank --- John Nichel <[EMAIL PROTECTED]> wrote: >

[PHP] Re: [PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
? or when the php libary was built? Frank --- Frank Tudor <[EMAIL PROTECTED]> wrote: > Thanks for the response. > > Ok with php.ini in the ect directory I get a > > Call to undefined function: mysql_connect() > > Without the php.ini file all my functions fail, b

  1   2   3   4   5   6   >