[PHP] Version of PHP and Database Type

2002-05-29 Thread Dr. Shim
Sorry about that. I'm using ODBC, and PHP version 4.2.0! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DNS-less Connections With PHP?

2002-05-28 Thread Dr. Shim
Could anybody explain to me (or even give me a link to a place explaining) the creation of "DSN-less" connections? I've extensivly searched Google with this, but I couldn't find anything that was of any help to me. I know how to do this in ASP, though... -- PHP General Mailing List (http://www

[PHP] Script Cannot Read File Field

2002-05-10 Thread Dr. Shim
$day); $time = ereg_replace("'", "''", $time); $channel = ereg_replace("'", "''", $channel); $filepath = ereg_replace("'", "''", $filepath); $SQLQuery = "INSERT INTO tblTelevision(fldTitle, fldName, fldReviewer, fldDate, fldSummery, fldReview, fldDay, fldTime, fldChannel, fldPoster) VALUES('$title', '$name', '$reviewer', NOW(), '$summery', '$review', '$day', '$time', '$channel', '$filepath')"; $db = odbc_connect('ReviewDatabase', 'root', ''); $cursor = odbc_exec($db, $SQLQuery); echo "Review posted successfully!"; odbc_close($db); } ?> = I appreciat any help given. _ Sinceriously Cheerious, Dr. Shim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Alternate To Making Form Variables Global (Clerified)

2002-05-06 Thread Dr. Shim
Thank you so much Austin, and Julio! Your replies are an amazing help to me. Thanks! Maybe I'll even get this project I'm working on done this week. =) Anyhoo, Julio, you mean that option in the PHP.INI, is it "register_globals"? Well, anyhow, I'm going to "convert" my script, as you put it. Aga

[PHP] Alternate To Making Form Variables Global (Clerified)

2002-05-06 Thread Dr. Shim
work anymore. I think its probably because of the fact that I had to make those variables global (none of the variables are being read). Does any of you have an idea about how I can fix this problem? Thanks in advance. "Dr. Shim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTE

[PHP] Alternate To Making Form Variables Global

2002-05-06 Thread Dr. Shim
Is there another way then to register form variables global? I just downloaded, and instlaled the newest version of PHP, and now my form script doesn't work anymore. I had to register the form variables global in the script. I'm asking, is there a better way of doing this? I've herd it can lead t

[PHP] Streaming RealPlayer Content From an Access Database (not sending correct headers?)

2002-04-29 Thread Dr. Shim
I've almost got this working, expect that I'm not sending the correct "Content-type" header to the RealPlayer player. I've followed a tutorial from the O'Reilly network ( http://www.onlamp.com/pub/a/php/2000/09/15/php_mysql.html?page=1 ), and modified it for an Access database, and RealPlayer cont

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-02 Thread Dr. Shim
;Rick Emery" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Jason means that you should execute it from the mysql command line; In your PHP code: print $sql. Then copy from that window and paste into mysql command line and execute. What are the re

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Dr. Shim
ongren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com - Original Message - From: "Dr. Shim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 01, 2002 10:41 PM Subject: [PHP] Variable Appended To The End of a URL Is Not Wo

Re: [PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Dr. Shim
Maybe you should echo out your SQL and run it manually to see what's going on. J -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Dr. Shim [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02,

[PHP] Variable Appended To The End of a URL Is Not Working in SQL Query

2002-04-01 Thread Dr. Shim
I have a variable which is appeneded to the end of a URL, like http://www.your_web_site.com/your_page/?your_variable=your_value This would return "your_value"; echo $your_variable; But this wouldn't work, and returns an error $sql = "SELECT * FROM fldField WHERE IDField = " . $id; What coul

[PHP] Re: Function Not Accepting Variable Values From a Form

2002-03-21 Thread Dr. Shim
function verify() { echo "Verify called. Values are...\n Title:" . $_POST['title'] . "\n# This works! Author: $author\n Lead Actors: $actors\n Poster: $poster\n Summ.: $summery\n\n Rev.: $review\n\n"; } -- PHP General Mailing List (http://

[PHP] Re: Function Not Accepting Variable Values From a Form

2002-03-21 Thread Dr. Shim
Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Dr. Shim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Alas, m

[PHP] Function Not Accepting Variable Values From a Form

2002-03-21 Thread Dr. Shim
Alas, more problems with forms =) Well now, here is my problem. I have a form, "method" is set to "post", and action is set to the same page. I also have a hidden field named "form_post" and it's value is "1". Underneath this form is my PHP script. \n Title: $title\n Author: $author\n

Re: [PHP] Again, and Again, and AGAIN!

2002-03-20 Thread Dr. Shim
That's fine. I already got it going (somebody helped me). Thanks for that tip anyhow. "Mike Gohlke" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Are you hitting enter while in one of the fields or clicking the submit button. I've seen versions of IE that woul

Re: [PHP] Escaping Quotes in a String and Ending With A Quote

2002-03-19 Thread Dr. Shim
[EMAIL PROTECTED]... Are you inside a function, having neglected to do global $PHP_SELF; ? miguel On Tue, 19 Mar 2002, Dr. Shim wrote: > Strangley enough, $PHP_SELF is empty. Nothing appears when I do it the way > Bob and you suggested, the "action" property equals "".

Re: [PHP] Escaping Quotes in a String and Ending With A Quote

2002-03-19 Thread Dr. Shim
Strangley enough, $PHP_SELF is empty. Nothing appears when I do it the way Bob and you suggested, the "action" property equals "". "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 19 Mar 2002, Dr.

Re: [PHP] Escaping Quotes in a String and Ending With A Quote

2002-03-19 Thread Dr. Shim
Hmmm. How about this? echo ""; "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 19 Mar 2002, Dr. Shim wrote: > Well, this is a fairly simple problem. I'm having problems with escaping a > strin

[PHP] Escaping Quotes in a String and Ending With A Quote

2002-03-19 Thread Dr. Shim
Well, this is a fairly simple problem. I'm having problems with escaping a string, and then ending the string right after the escape! For example, echo "Then Johnathan said, \"That's exactly what I said!\""; I get a parse error on the line where the string is. Very simple problem, I just can't s

Re: [PHP] Again, and Again, and AGAIN!

2002-03-16 Thread Dr. Shim
>e-mail the text below to me." . odbc_errormsg($db) . "~~~"; } } ?> "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... On Sunday 17 March 2002 12:04, Dr. Shim wrote: > Sorry about the subject heading. > > I'v

Re: [PHP] Again, and Again, and AGAIN!

2002-03-16 Thread Dr. Shim
Oh, by the way, the "if...then" claus runs successfully, but the function never is called. Am I wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Again, and Again, and AGAIN!

2002-03-16 Thread Dr. Shim
Sorry about the subject heading. I've put in But still when I click on the "Log In" button, thing happens. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Again, and Again, and AGAIN!

2002-03-16 Thread Dr. Shim
I've changed To And I get a parse error. Could you possibly help me correct this? (I'm a newbie, so have pity on me. =) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Again, and Again, and AGAIN!

2002-03-16 Thread Dr. Shim
I've tried repediately to have a PHP script validate a form when the form is submitted. I'm quite new to PHP, and I'd really appreciate the help anybody could give me. I've been stuck on this problem far to long. I have a form (here's the code): Username: Password: An

[PHP] Re: Help Out A Newbie In Configuring PHP.INI

2002-03-16 Thread Dr. Shim
Well, I was stupid posting this question anyway. Don't worry about my problem. I have it fixed. =) Again, I will be more careful not to repeat posts (or post things I can find the answer for somewhere else). ---Original Message--- Well, aroung 14 Feb I ended up saying this to an address

[PHP] Re: Help Out A Newbie In Configuring PHP.INI

2002-03-15 Thread Dr. Shim
Uh oh, did I ask this question before? If I did, I'm very sorry. =( "David Robley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Note that I'm using the Windows version of PHP. > > Whenever I use a mai

[PHP] Help Out A Newbie In Configuring PHP.INI

2002-03-14 Thread Dr. Shim
Note that I'm using the Windows version of PHP. Whenever I use a mail() function in my PHP code I get an error of "Failed to Connect on line ". So, I'm guessing my error lies in the PHP configuration file. I searched around the PHP.INI file for anything resembililing "mail". I found these two lin

[PHP] Can Event Handlers Trigger PHP Code?

2002-03-14 Thread Dr. Shim
My question is can event handlers on form objects trigger PHP code? Or even an "onsubmit" event handler on forms? If something like this is possible, could any of you tell me how? I've tried, and tried. I've used PHP tags inside the event handler But the result is that the event handler is

Re: [PHP] A Small Bug Giving Me A Big Headache

2002-03-04 Thread Dr. Shim
OK. Is "Short" a keyword? The "Short" part in "INERT INTO Movies (Title, Actors, Review, Reviewer, Short)" is giving me the "Syntax Error" message. I will rename my tables with a "mv" suffix. Lets see if that solves the problem. "Dr.

Re: [PHP] A Small Bug Giving Me A Big Headache

2002-03-04 Thread Dr. Shim
Matt Schroebel suggested I echo "$SQLString"; The echo statement returned INSERT INTO Movies (Title, Actors, Review, Reviewer, Short) VALUES (, , , , ,) So, clearly, the error lies in the form that passes the values to this script. Thanks Matt, we're getting closer. &qu

Re: [PHP] A Small Bug Giving Me A Big Headache

2002-03-04 Thread Dr. Shim
;,'$Short')"; As the manual says: Note: Unlike the two other syntaxes, variables will not be expanded when they occur in single quoted strings. ... So maybe some your fiels requires a numeric value, but because no extraction occurs, it receives string? Dr. Shim <[EMAIL PROTECTED]>

Re: [PHP] A Small Bug Giving Me A Big Headache

2002-03-02 Thread Dr. Shim
sage news:[EMAIL PROTECTED].; Well, add this and tell us what it says: if(!$cursor) echo odbc_error($db).": ".odbc_errormsg($db); right after that odbc_exec() call. *always check for errors - and when you get one, show it!* -Rasmus On Sat, 2 Mar 2002, Dr. Shim wrote: > I've trie

[PHP] A Small Bug Giving Me A Big Headache

2002-03-02 Thread Dr. Shim
I've tried, and tried. Reread, and reread. I can't at all find out what's wrong with these two lines of code. $SQLString = "INSERT INTO Movies (Title, Actors, Review, Reviewer, Short) VALUES ('$Title','$Actors','$Review','$Reviewer','$Short')"; $cursor = odbc_exec($db, $SQLString); I have

Re: [PHP] Troubles With Mail Function

2002-02-14 Thread Dr. Shim
Yes it is. Gary helped me find it. :) "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I think the SMTP would be same as you use for your email client (outlook, eudora, other?) -Original Message- From: Dr. Shim

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Dr. Shim
Well I tried what Gary suggested. I did "smtp.mindspring.com" and it worked beutifully. I feel stupid that the problem was so simple. But, alas, I'm learing. Thanks all you. Robley, that is some very informative information, this "digging". dig -t mx alienmelon.com in console right? "David Rob

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Dr. Shim
Alright, I will show you my entire mail code here. BTW: I cannot mail using mail() function [mail function] ; For Win32 only. SMTP = mindspring.com ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path

Re: [PHP] Troubles With Mail Function

2002-02-13 Thread Dr. Shim
Actually, I don't really know what to put in it. I thought that's what it wanted. What does it want? "David Robley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Well, I did this: > > [mail function] >

Re: [PHP] Troubles With Mail Function

2002-02-12 Thread Dr. Shim
Well, I did this: [mail function] SMTP=mindspring.com sendmail_form=[EMAIL PROTECTED] <...rest I left unchanged...> Still doesn't work. :( BTW I'm using Windows at the moment to develop. -Original Message- "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT

Re: [PHP] Troubles With Mail Function

2002-02-12 Thread Dr. Shim
No I haven't. How do I do that "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Have you set up the [mail function] section of your php.ini file ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Troubles With Mail Function

2002-02-12 Thread Dr. Shim
ntains the body of the message. I get this error: Warning: Unknown error in c:\program files\apache group\apache\htdocs\email.php on line 2 I have no idea what the problem could be. Could anybody help me? ---- Dr. Shim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Re: DreamWeaver/PHP ability?

2002-02-08 Thread Dr. Shim
http://www.geocities.com/php4ud/ Seach google for php4ud God bless google! "Matt Williams" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Luke Crouch wrote: > > > I know Dreamweaver UltraDev has nice site management features > for using a > > JSP/SQL

Re: [PHP] Re: DreamWeaver/PHP ability?

2002-02-07 Thread Dr. Shim
Would this happen to be the one? http://www.interakt.ro If it is, then the extension can be found here: http://www.interakt.ro/products/PHAkt/index.php This place also has several othe extensions: http://www.udzone.com/index.asp?TypeId=3&CatId=68 Found these links using Google. God bless G