[PHP-WIN] Help on MYSQL Table design

2001-04-29 Thread John
Hi Everybody, I have 2 tables: personal_info and family_info. For example, in personal_info, I have ID and NAME as fields. In family_info, I have ID, F_NAME and RELATIONSHIP as fields. The problem is in family_info, for each ID, I have several records. Do I need to have another field, say, COUN

[PHP-WIN] Javascript

2001-05-02 Thread John
Is there a way to use a JavaScript to call php: ie: I have tried this and it will not run the PHP... this works in ASP... I'm a PHP newbie.. Any help is appreciated... Thanks!!!

[PHP-WIN] Re: Global Variable Issues

2003-04-03 Thread John
Try setting this variable as a session. Here is a piece of code used once a user has been validated against a MySQL dbase. ($uname was assigned from the login.html page) Then, on each page that requires a preson to be logged in to access, this goes at the top: NORMAL PAGE CODE HERE //allows m

[PHP-WIN] Re: Installing PHP with Apache on Win ME

2003-04-03 Thread John
Disable ZLIB compression in PHP.INI "Nick Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have gone through the steps and when I open a php page it wants to > download the page. > > What do I need to do? > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscri

[PHP-WIN] Re: Simple Answer, but I can't see it....

2003-04-03 Thread John
Assuming you have some form info inside those tags, here is what I use: blah blah blah <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I have a login HTML form within a PHP page that I want to call itself > when submitted. But when I press the submit button within the form,

[PHP-WIN] Re: PHP Editor

2003-04-04 Thread John
Textpad You'll want something with line numbers so you can track down errors. "Chris And Trish Kaelin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anyone have any recomendations for a good inexpensive / free editor for > PHP files? > > Chris Kaelin > >

[PHP-WIN] ANNOUNCING: Rekall V2.0.0 for Linux/UNIX, Windows, and the Sharpe family of Linux PDAs

2003-07-07 Thread john
tion menu or by clicking on the downloads button on the top navigration bar Regards John -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: passthru(), system(), exec()

2003-09-18 Thread John
On a guess, I would say quote marks. Also using a regular slash / instead of a backslash \ works for me. John "Aidal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everyone. > > I have absolutely no doubt that this has been asked and answered befor

[PHP-WIN] Add user to Active Directory

2003-11-26 Thread John
ork. One is from the LDAP_ADD portion of the PHP manual (site is down at the moment), and another is from some guy's website which says to use LDAP_MOD_ADD. Does someone know how to do this? If so, could you please share your code? Also, how do you change a user's password in AD with PHP?

[PHP-WIN] Re: Problem with mail()

2003-12-04 Thread John
Outlook is not a mail server, it is a mail client. You need to load a mail server on your machine to get php mail() to work. A decent, free one for Windows is Mercury, www.pmail.com. Once that is setup, in php.ini change the SMTP line to SMTP= localhost John "Gerardo Rojas" <[EM

[PHP-WIN] Problem with php4 and PWS

2001-03-18 Thread John
Dear all, I have downloaded php4_0_4-win32 and tried to install it according to the instructions in install.txt, which is found in the folder README. After that, I tried to load a simple .php file with PWS but I get an error message that says "One of the library files needed to run this applicat

[PHP-WIN] Problem with PHP4.04 installation

2001-03-19 Thread John
Dear All, I tried to install PHP using PHP4.04 installer and I ran into this error message "One of the library files needed to run this application cannot be found". I encountered the same error message earlier when I used tried to install PHP4.04 manually. I am using Win98 SE with PWS. Can s

Re: [PHP-WIN] Problem with PHP4.04 installation

2001-03-20 Thread John
Thank you for replying to my posting. I only this error message when I tried to load a .php file; for example, when I type http://localhost/scripts/php/test.php When I type php.exe -i at a ms-dos prompt, I get no response. Is there anything wrong? Phil Driscoll wrote: > > Since PHP does wo

Re: [PHP-WIN] Problem with PHP4.04 installation

2001-03-21 Thread John
I just get "Bad command or file name" Phil Driscoll wrote: > > >When I type php.exe -i at a ms-dos prompt, I get no response. > What do you mean by no response? > Cheers > -- > Phil Driscoll > Dial Solutions > +44 (0)113 294 5112 > http://www.dialsolutions.com > http://www.dtonline.org > > -- >

[PHP-WIN] Database Problem

2005-05-19 Thread John
I have code that querys a mysql server and then presents the result in a table. The code works fine until I put it in a for loop to get one row at a time. The problem is that I dont get the required result or any error message. If I reduce the number of iterations or decrease the amount of data

[PHP-WIN] Re: inserting date into oracle!!!

2002-02-21 Thread John Lim
INSERT into table (datecol) VALUES (TO_DATE('2002-02-30','-MM-DD')) or INSERT into table (datecol) VALUES (SYSDATE) Bye, John Nicole Amashta <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK, it has been a long w

[PHP-WIN] Sending a file with fpassthru() or readfile(), causes IE to hang.

2002-02-24 Thread John Chronakis
y version). Similar script written in perl does not have the same problem. Please help. It is a very-very late to switch to another scripting language for this project (even using perl or asp for the download part) requires a great deal of work. John Chronakis -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] any comment?

2002-03-01 Thread John Meyer
Patch done, end of story. - Original Message - From: "Afan Pasalic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 8:21 AM Subject: [PHP-WIN] any comment? "Flaws found in PHP scripting language" http://zdnet.com.com/2100-1105-847252.html Any comment? Afan

[PHP-WIN] Reading cookies set by PHP/WIN using ASP

2002-03-04 Thread Krane, John
a unix box, that cookie can be read by BOTH PHP and ASP running on the win2k machine. It just seems like PHP can't write cookies while running on windows. Is there some special way to use PHP to write cookies on windows that I don't know about? John Krane Web Developer Internet Ser

[PHP-WIN] Displaying a MS Access - Medium time field

2002-03-05 Thread Asendorf, John
;, $class_time ); //<--I have tried this with strtotime also to no avail echo "$class_date$class_time\n"; //echoes date wonderfully, time all messed up - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADD

RE: [PHP-WIN] Displaying a MS Access - Medium time field

2002-03-07 Thread Asendorf, John
1]; //replace date portion with something PHP won't have such a hard time with $class_time = ereg_replace('([0-9]*)-([0-9]*)-([0-9]*)','2000-12-31', $class_time ); //run a date function on it to format the time $class_time = date ("g:i A", strtotime

[PHP-WIN] eregi_replace on a text file

2002-03-14 Thread Asendorf, John
($fp) ) { // !!!SOMETHING IS MISSING HERE BUT I CAN'T FIGURE OUT WHAT //maybe $line = fgets ( $fp ); ereg_replace ( "^" , "$date_to_add " , $line ); //something's probably missing here too... //maybe fwrite ( $line , ereg_re

[PHP-WIN] Multiple conditions in an if statement

2002-03-15 Thread Asendorf, John
I have a question about the efficiency of an if statement... Say you have the following statement, if ( $i == 6 && eregi ( "foo" , $bar ) ) { } And the first portion ( $i == 6 ) IS NOT true, does PHP even attempt to run the regular expression? Just wonder

Re: [PHP-WIN] PHP ide

2002-03-15 Thread John Lim
See http://php.weblogs.com/editors My favorite on windows is homesite. Craig Morrison <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Dan Zarrella wrote: > > > > I'm curious to see everyone's opion on php-ide's/editors, which one is the > > best, most comp

RE: [PHP-WIN] PHP4, ASP, and IIS

2002-03-22 Thread Asendorf, John
Dear David, I run PHP, ASP, Perl and MySQL all on the same NT4 IIS4 server. This server also connects to MSSQL, Oracle and Access databases. I have no problems and if you need me to tell someone that, just give them my address. John Asendorf - John Asendorf - [EMAIL

RE: [PHP-WIN] IIS + Oracle 7.* connection

2002-03-25 Thread Asendorf, John
n cgi mode, don't use the isapi module... John ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original M

[PHP-WIN] Re: ASP vs PHP

2002-03-30 Thread John Lim
by our company. Regards, John Ciro Martins <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi! > > > I've been programming in PHP for long. But one question that always is > coming to my mind is to know if there exists

[PHP-WIN] Cookies and IIS5

2002-04-08 Thread John Braden
I've looked thru some of the posts and noticed quite a few issues with this configuration. Has anyone had any luck getting cookies working with PHP and IIS5? I have an application that is having some login problems which I believe are cookie related (No cookie is even being sent!!). Thanks..

[PHP-WIN] Re: Tutorials on stored procedures using SQL Server

2002-04-14 Thread John Lim
Try www.sqlteam.com "R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Anyone know of any internet based tutorials on using stored procedures > with SQL Server? > > Thanks, > ROn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe

[PHP-WIN] How do Pear::DB and ADODB stack up against each other?

2002-04-15 Thread Asendorf, John
iderations I have to make. Thanks in advance for the info, John ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit -- PHP

Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread John Lim
I am having problems too. My ADOdb regression tests for msaccess/odbc and vfp/odbc fail every time. No data is being retrieved :-( Uggh. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > "Lars Schwarz" <[EMAIL PROTECTED]> schrieb im New

RE: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Asendorf, John
I would try the process ($duck , SQUARE); the SQUARE flag will help make sure $duck is processed similarly to fish at McDonalds with that nice square shape. I think this will make a difference, like the difference between light and dark! John - John Asendorf - [EMAIL PROTECT

RE: [PHP-WIN] Searching for many keywords simultaneously

2002-05-21 Thread Asendorf, John
Here is something that may help. It looks like a good start http://www.phpbuilder.com/forum/read.php3?num=2&id=132692&thread=132689 ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, O

[PHP-WIN] Can someone explain to me....

2002-05-21 Thread Asendorf, John
Can someone explain to me why everytime someone answers a question where the answer includes the suggestion to use eregi_replace why someone has to chime in to use the perl regexes? Are they really all that much faster than the POSIX implementation? John - John Asendorf

RE: [PHP-WIN] mySQL and ODBC

2002-05-23 Thread Asendorf, John
I don't believe so. I've gone to using adoDB ( http://php.weblogs.com/ADODB ) for everything. Perhaps it has a solution for you? I know it has a get_insert type of statement, but I've never used it. ----- John Asendorf - [EMAIL PROTECTED] Web Applications

RE: [PHP-WIN] PHP + PDF

2002-05-28 Thread Asendorf, John
Isn't it called php_fdf.dll? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message

[PHP-WIN] PDF Form download changes in IE broke my app?

2002-06-18 Thread Asendorf, John
rch//out.fdf"); fdf_close($outfdf); Header("Content-type: application/vnd.fdf"); $fp = fopen("d://InetPub//wwwroot//lchd//record_search//out.fdf", "r"); fpassthru($fp); unlink("out.fdf"); ?> Thanks in advance, John -

RE: [PHP-WIN] PDF Form download changes in IE broke my app?

2002-06-18 Thread Asendorf, John
Never mind... I know what caused it. I recently set the web server to expire cotent immediately... I'll bet that's what did it. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, U

[PHP-WIN] Moron question: What is the & in a class meant to do?

2002-06-24 Thread Asendorf, John
reason for it. $foo = &$bar->some_function(); Thanks in advance, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementia

RE: [PHP-WIN] php Expanding Menu System Wanted

2002-06-26 Thread Asendorf, John
ow if it's what you're looking for. John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Origina

RE: [PHP-WIN] Urgent!!!!

2002-06-27 Thread Asendorf, John
Can you give us "line 2" My guess is that you either have a bad DSN or a bad line in the connect string. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nul

[PHP-WIN] cURL: curl_exec returning chopped up result on a POST operation

2002-07-07 Thread John Palmer
System: BSDI 4.1 Apache 1.3.26 PHP 4.1.2 cURL 7.9.8 I have the following function in PHP: function XMLExec($command) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, http://host.name/.cgi-bin/cgiprogram); curl_setopt($ch, CURLOPT_POST

RE: [PHP-WIN] Brain Twister

2002-07-25 Thread Asendorf, John
http://www.php.net/manual/en/function.asort.php http://www.php.net/manual/en/ref.array.php Is the information (non-mileage) going to be stored in a database? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY

RE: [PHP-WIN] Brain Twister

2002-07-25 Thread Asendorf, John
echo "$val[mileage] - $val[City], $val[State] $val[ZipCode]\n"; } reset ( $arr_places ); echo "\n \n\n" //echo with a multisort //(Make the sort array out of the "mileage" while ( list($key, $val) = each($arr_places) ) { $sortarray[] = $val[mileage]; }

RE: [PHP-WIN] PDF Forms

2002-07-31 Thread Asendorf, John
t the PDF file as a text file to do things such as this but not this exactly. John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae

[PHP-WIN] PHP/MySQL/APache on CD

2002-08-28 Thread Asendorf, John
I thought a couple of weeks ago I saw someone working on a PHP/MySQL/Apache (all running from a CD) on here. Does anyone remember who that was? Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY

RE: [PHP-WIN] PHP/MySQL/APache on CD

2002-08-29 Thread Asendorf, John
Oh, I should have replied to my own message... I found the guy. It was actually on the MySQL mail list. It uses scratch directories on the hard drive but all three of the executeables run from the CD. I'm waiting for him to get back to me. John - John Asendorf - [

RE: [PHP-WIN] PHP/MySQL/APache on CD

2002-09-10 Thread Asendorf, John
py (to see how its done), feel free > to mail me - > I'll happily give it away for free with vb sources. Naturally > there are no > guarantees and stuff, but if it would help you, you can use > it. It may have > some rough edges, but hey, its free ! > > David. --

RE: [PHP-WIN] Login on IIS

2002-10-01 Thread Asendorf, John
st need to plan in advance. ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From:

RE: [PHP-WIN] phpBB won't install

2002-10-07 Thread Asendorf, John
This may sound like a silly question, but did you make sure MySQL was the selected database type during the PHPBB install? I **just** installed PHPBB2 this weekend with no hitches... so, maybe I can help while it's still fresh in my mind. - John Asendorf - [EMAIL PROT

RE: [PHP-WIN] IIS 5 - ASP & PHP dev enviorment

2002-10-07 Thread Asendorf, John
I also use both extensively on the same server. I have had absolutely no problems running both. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium

[PHP-WIN] multiple include_paths

2002-10-09 Thread Asendorf, John
\path" to include_path "D:\here\is\a\path;C:\path\for\pear" I continue to get the "Failed opening required file PEAR.php (include path: D:\here\is\a\path)" notice... phpinfo shows that the new include path line is being used but it seems that I only get one path... An

RE: [PHP-WIN] multiple include_paths

2002-10-10 Thread Asendorf, John
I figured it out, I think... it seems you can't have multiple include paths on different drives. Does that sound right? Would anyone consider that a bug or should that be the way it is? Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer

[PHP-WIN] PESR Installation on windows...

2002-10-10 Thread John Asendorf
Has anyone ever successfully installed pear on a windows machine? If so, could you give me a hand? I've been racking my head for a dayand a half now and the docs are fairly useless when it comes to to windows install... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP-WIN] PHP_SELF

2002-10-13 Thread John Meyer
I usually use the semicolon and it works fine. In fact, if I recall, I get an error anytime I don't include it. -Original Message- From: Blue Presley [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 13, 2002 3:42 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP_SELF your error is n

RE: [PHP-WIN] PHP_SELF

2002-10-13 Thread John Meyer
No, it's not providing me with any errors, although it could be just using MyODBC. -Original Message- From: Cam Dunstan [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 13, 2002 4:35 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP_SELF John, are you SURE you have been usin

[PHP-WIN] Does anyone know the status of PHPDoc

2002-10-15 Thread Asendorf, John
3.5? Very confused... and I can never seem to make PEAR do what I want it to do... Thanks, John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium si

[PHP-WIN] please remove me from list

2002-10-16 Thread John Dunn
I hope that this is correct for me to get removed from this mailing list. If not any info on the matter is genuinely appreciated. Thanks ___ Join Excite! - http://www.excite.com The most personalized portal on the Web!

RE: [PHP-WIN] HTTP_POST_VARS - need help

2002-10-23 Thread Asendorf, John
Your action in the form may be the problem... I think you need action=\"$PHP_SELF\" instead of action=\"$PHSELF\" ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA

[PHP-WIN] Setting cookies doesn't seem to be working

2002-10-21 Thread John Meyer
Win2000, IIS, PHP 4.2.1 Code: $userid = $rowset["USER_ID"]; setcookie("user[name]",$userid); setcookie("user[password]",$password); Doesn't seem to be setting the cookies. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP-WIN] COM gurus... please help

2002-10-24 Thread Asendorf, John
he timeout error). The second uncommented line is line 66 ($objMapSvr = ...). If someone knows the ASP code, it's commented above the PHP lines. Any help would be appreciated. The ASP file runs fine. I have a feeling once I get past this hump... the rest should run smoothly. Thank

RE: [PHP-WIN] COM gurus... please help

2002-10-24 Thread Asendorf, John
I'm trying to work with Intergraph's Geomedia WepMap Server... I'll check that out. ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingeni

[PHP-WIN] Date validation

2002-10-24 Thread John Meyer
I have a date coming in in the format (mm/dd/) that I need to insert into a date column. How do I modify this using regexps so that it will fit in. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-WIN] Date validation

2002-10-24 Thread Asendorf, John
Actually, you could use explodo or split and reorder the pieces: from the docs: $date = "04/30/1973"; // Delimiters may be slash, dot, or hyphen list ($month, $day, $year) = split ('[/.-]', $date); echo "Month: $month; Day: $day; Year: $year\n"; --

RE: [PHP-WIN] Date validation

2002-10-24 Thread Asendorf, John
Actually... you can't use explodo... but you could use explode... - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae

RE: [PHP-WIN] COM gurus... please help

2002-10-25 Thread Asendorf, John
d start the Map Service it will run again. Any information or suggestions? I'm wondering if there is a problem since the $objMapSvr object is made from the $objMapSvrMngr object? Can I make a COM object from a COM object? (Or for that matter, SHOULD I?) Thanks, John ----- Jo

RE: [PHP-WIN]

2002-10-26 Thread John Meyer
Technically speaking, that's not true. ASP is a set of objects that can be manipulated via a server side scripting language. VBScript is the most famous, but you can also use JScript, Perl or even Python in an ASP page. -Original Message- From: Warren Vail [mailto:warren@;vailtech.net]

[PHP-WIN] Best PHP clients out there

2002-10-27 Thread John Meyer
Can somebody send me the names and URLs of the best PHP clients out there. Auto-completion is a big feature that I'd like to have. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Switching dbs in midstream

2002-10-27 Thread John Meyer
Hi, I have a situation where I may have to switch the database while I am looping a resultset. If I do a mysql_select_db within the middle of that, will that change the initial resultset, e.g while ($row = mysql_fetch_array($result)) { mysql_select_db($anotherdb); //do stuff

RE: [PHP-WIN] I could use some help

2002-11-01 Thread Asendorf, John
ix, at the top of your document you can do something like: $name = $_POST['name']; //to set the $name variable OR $name = $REQUEST['name']; See: http://www.php.net/manual/en/language.variables.external.php for more information. - John Asendorf - [EMA

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Asendorf, John
a line of them up along the front of your screen and they catch most of them. This is helpful if you need to have goblin_init turned on for some functionality. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Lick

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault ....

2002-11-01 Thread Asendorf, John
They REALLY like sardines. I had a can of them that had been sitting on my desk for about a week and they took right to them... that's how I found out! - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Li

RE: [PHP-WIN] Problem with php-script, possible a php.ini a fault....

2002-11-01 Thread Asendorf, John
They also can explain away bite marks to your wife. "Honey, I SWEAR... it was the goblins who gave me that bite mark on my neck... no, uh... I don't KNOW why the goblins were wearing lipstick!" ----- John Asendorf - [EMAIL PROTECTED] Web Applications

RE: [PHP-WIN] Upload image file

2002-11-01 Thread Asendorf, John
Throw some debugging echoes in there to show you what the file names and directories are looking like. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum

RE: [PHP-WIN] PHP Editor

2002-11-05 Thread Asendorf, John
I use HTML-Kit http://www.chami.com/html-kit/ Has all the PHP functions and highlighting. There's no built in debugger, but it integrates flawlessly and seamlessly with FTP so I just test on the server. John - John Asendorf - [EMAIL PROTECTED] Web Applications Deve

RE: [PHP-WIN] dates

2002-11-05 Thread Asendorf, John
Actually, you'd probably want to do that in the SQL for whatever database you're using. i.e. ORDER BY story_date LIMIT 4 - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, U

[PHP-WIN] Re: Isapi Module

2002-11-07 Thread John Lim
Apparently the ISAPI module is quite stable. The problem is that not all extensions are thread-safe. That is why it works fine for some people and not for others. Make sure you do some testing yourself first. Regards, John "Charles P. Killmer" <[EMAIL PROTECTED]>

RE: [PHP-WIN] Tough decision ASP or PHP

2002-11-07 Thread Asendorf, John
ne of the application request icons) then you should be fine. John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit

RE: [PHP-WIN] update tablename

2002-11-12 Thread Asendorf, John
RTFM - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Rodrigo San

RE: [PHP-WIN] Help on IIS4.0 +Oracle

2001-04-23 Thread Asendorf, John
you can use other servers. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aliquando et insanire iucundum est > -Original Message- > From: Gu Weidong-a1923c [m

RE: [PHP-WIN] Oracle Connection Error

2001-04-23 Thread Asendorf, John
This error is a SQLNet error which is linked to the operatinig system. Are you able to hit the oracle server from the webserver using SQLPlus? - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County

RE: [PHP-WIN] Using cookies with IIS to manage sessions.

2001-04-24 Thread Asendorf, John
I'm not certain what you are asking, but here's my stab at it. You can turn the trans_sid flag on (the default IS on) It passes the session id through the URL. - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES A

[PHP-WIN] OCI_DEFAULT - needed in SELECT statements?

2001-04-25 Thread Asendorf, John
k** it may have something to do with the OCI_DEFAULT settings I have... Do I need OCI_DEFAULT in my OCIExecute when I'm going to run an OCIFetch statement on SQL that is SELECTing? ----- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW

RE: [PHP-WIN] How can I extend PHP

2001-04-27 Thread Asendorf, John
I know that the book, Web Application Development with PHP 4.0 has a whole section on extending PHP... I own the book but haven't read the section. http://www.amazon.com/exec/obidos/ASIN/0735709971/ref=sim_books/107-9940057- 0478924 - John Asendorf - [EMAIL PROTECTED

[PHP-WIN] SQL Error - create temporary table

2001-05-01 Thread John Morrison
p.pic_id, title from picture as p, keycode_link as k where p.pic_id = k.pic_id and k.label_code = 1 and k.keyword_code = 5"; These temp table commands work OK on my setup (MySQL 3.23.30) and I haven't yet figured out what is going wrong. John Morrison -- PHP Windows Mailing List (http:

Re: [PHP-WIN] SQL Error - create temporary table

2001-05-02 Thread John Morrison
wing entry :- "Fixed a fatal bug in CREATE TEMPORARY TABLE ... SELECT " I always suspect my own code first when something doesn't work but I am wondering now if that bug may be the culprit? I will phone my ISP now. Cheers John In article <[EMAIL PROTECTED]>, Tom Mat

Re: [PHP-WIN] SQL Error - create temporary table

2001-05-02 Thread John Morrison
am creating temp tables as a workaround for a subQuery. There are three of them sequentially selecting a smaller and smaller data set. In article <[EMAIL PROTECTED]>, John Morrison wrote: > Thanks for your reply Tom. I will contact my ISP, although I guess I must > have create

Re: [PHP-WIN] how to create a PHP4 library

2001-05-04 Thread John Lim
Add dollars in front of every variable, remove all type declarations and add dollars into my pocket :-) I just realised you probably mean you want to create a php extension. Visit zend.com for docs, or read the tutorial in PHP Cookbook by Sterling Hughes, Sams Publishing. ""Andre Steffens"" <[EM

Re: [PHP-WIN] XML-RPC for Windows

2001-05-04 Thread John Lim
I also had the same problem when i tried a couple of months ago on Windows (on IIS). It appears to only work under Unix. -John ""Paul Meagher"" <[EMAIL PROTECTED]> wrote in message 01a801c0d3d6$4adaf6e0$6c35de18@datavore">news:01a801c0d3d6$4adaf6e0$6c35de18@data

Re: [PHP-WIN] R: [PHP-WIN] PHP4 and MS Access

2001-05-05 Thread John Lim
If you are familiar with ADO, you can try ADODB at http://php.weblogs.com/adodb -john "Ermanno Iannacci" <[EMAIL PROTECTED]> wrote in message 003401c0d3a7$26925fa0$51fda8c0@ciccio">news:003401c0d3a7$26925fa0$51fda8c0@ciccio... > Use ODBC functions. > http://www.

RE: [PHP-WIN] cgi error

2001-05-08 Thread Asendorf, John
This usually happens to me when I type in a page that doesn't exist but has the .php ending to it. Check the URL. I still haven't figured out why though. I hosed my server about 4 weeks ago, that has been happening ever since, but it didn't used to happen. ----

RE: [PHP-WIN] Win2K IIS 5 CGI Behavior Error on simple page.

2001-05-09 Thread Asendorf, John
H, second time this wuestion has been asked in two days. I've noticed this problem too on my server. I get that error when I type in an incorrect URL with .php at the end of it. I used to get a 404, but I don't anymore. - John Asendorf - [EMAIL PROT

[PHP-WIN] Need someone with some experience

2001-05-09 Thread Asendorf, John
them again? Should I run a separate statement which searches for dupes and then match them against the whole body of records? I don't want code, just a voice of experience which could start me off right. Thanks, John ----- John Asendorf - [EMAIL PROTECTED] Web Applications

[PHP-WIN] why mysql_connect crashes in Windows

2001-05-10 Thread John Henckel
ust before mysql_connect() and the PROBLEM IS GONE!!! John Henckel alt. mailto:[EMAIL PROTECTED] Zumbro Falls, Minnesota, USA (507) 753-2216 http://geocities.com/jdhenckel/ -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP-WIN] PHP Conference in July

2001-05-11 Thread Asendorf, John
So who's going to be at the PHP Conference in July? I talked my boss in to sending me to the "only PHP classes offered on earth." http://conferences.oreillynet.com/cs/os2001/pub/10/register.html John ----- John Asendorf - [EMAIL PROTECTED] Web Applications

Re: [PHP-WIN] PHP Search

2001-04-23 Thread John Meyer
Have you written any code? --- Manesh <[EMAIL PROTECTED]> wrote: > I need one to search my site, and the web, it need > to be like a radio > button. PLEASE PLEASE PLEASE > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional comm

RE: [PHP-WIN] Jump to other url...

2001-05-14 Thread Asendorf, John
What do you mean by "jump to"? Do you want the page to autorefresh or something? John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aliquando et insanire iu

[PHP-WIN] Cannot "View Source" via IE browser

2001-05-15 Thread John M
For every page I try, the above message ONLY CHANGES where the "filename" is specified. The "php_submit.php" always appears. Now I have checked Microsoft's site and cannot find an answer, so I thought I'd try here. I have yet to check ALL of PHP-newsgroups but will. I ap

Re: [PHP-WIN] the /php/pear/DB abstraction

2001-05-16 Thread John Lim
to a virtualised error message system. Why? You normally just rollback on any error anyway, and the real error messages allow you to pinpoint the bug precisely. You might like to give it a test run. Regards, John "Dickerson, Monty" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

Re: [PHP-WIN] Testing php in Win2000?

2001-05-16 Thread John Lim
You need to install IIS on windows 2000, and then install the PHP executables from php.net. If you are using windows 2000, IIS is probably preinstalled. Look for a wwwroot directory on your hard disk. Regards, John "Geoff" <[EMAIL PROTECTED]> wrote in message 9dpbks$qgs$[EMAIL

  1   2   3   4   5   6   >