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
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
', 'root', '');
$cursor = odbc_exec($db, $SQLQuery);
echo pReview posted successfully!/p;
odbc_close($db);
}
?
=
I appreciat any help given.
_
Sinceriously Cheerious,
Dr. Shim
--
PHP General Mailing List (http
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
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 PROTECTED]">news:[EMAIL PROTECTED]...
Is there
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.
Again,
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
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 results?
-Original Message-
From: 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 could
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, 2002 2:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Variable
?
Tyler Longren
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 Working in SQL
Query
I have a variab
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.
?php
if (isset($form_post))
{
echo Function
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, more problems with forms =)
Well now, here is my
function verify()
{
echo Verify called. Values are...br\n
Title: . $_POST['title'] . br\n# This works!
Author: $authorbr\n
Lead Actors: $actorsbr\n
Poster: $posterbr\n
Summ.: $summerybrbr\n\n
Rev.: $reviewbrbr\n\n;
}
--
PHP General
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 would
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 seem
Hmmm. How about this?
echo form name=\frmMovies\ method=\post\ action=\ . echo $PHP_SELF
. \;
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
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. Shim wrote:
Hmmm. How about this?
echo f
eglected 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 .
Miguel Cruz [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:
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
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):
form method=post action=?php $PHP_SELF; ?
I've changed
form method=post action=?php $PHP_SELF; ?
To
form method=post action=?php =$PHP_SELF; ?
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:
Sorry about the subject heading.
I've put in
form method=post action=?php echo $PHP_SELF; ?
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
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
~~~;
}
}
?
/body
/html
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've put in
form method=post action=?php echo $PHP_SELF; ?
But still when I click on the Log In button, thing
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 mail()
My question is can event handlers on form objects trigger PHP code?
input type=submit name=submit value=Submit Form onclick='PHP CODE
HERE'
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
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 number. 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
, 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] wrote in message
news:[EMAIL PROTECTED];
I did, and a rather informative error message
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.
Dr. Shim [EMAIL PROTECTED
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. Shim [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
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 an
, 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 tried, and tried. Reread, and reread. I can't at all find
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 [mailto:[EMAIL PROTECTE
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]
SMTP
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
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 Robley
);
?
A form is filled out and thus the $body variable contains 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
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:
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
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 type
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=3CatId=68
Found these links using Google.
God bless
42 matches
Mail list logo