ing with the FastCGI
from Microsoft.
Thanks for the help though. Hopefully someone else finds all of this
information useful.
-Original Message-
From: James Crow [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 8:08 AM
To: Patrick Farley
Cc: php-windows
Subject: Re: [PHP-WIN] Can&
thout any
issue.
Have tried both mysql.dll and mysqli.dll
I have searched Google with out any success.
Is this something with PHP or my MySQL install? I'm out of ideas.
Patrick
en a fan of AOL to begin with.
Has anyone else ever experienced this with AOL?
thanks-
Patrick
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
include_path = ".;c:\wamp\www\bonds\libs/PEAR"
any help on this would be great!
P
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--
PHP Windows Mail
Greetings,
I am using:
in my html code which displays the following in black:
Fri 25th Mar,2005 08:24 pm
How can I change this to white and center it in a
table cell?
Thanks in advance.
P
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--
PHP Windows
am very much mistaken, PHP does not invent
> spaces whiel concatenating strings.
> Insert one space before the words FROM and WHERE,
> otherwise you will get something like
>
>
> SELECT furn_picFROM crostWHERE item_num = ...
>
> Luis
>
>
> Patrick Roane wrote:
>
> >
uot;;
$result = mysql_query($sql)or die("Couldn't get file
list");
if(mysql_num_rows($result) == 1)
/*-if row returned from our query, we save its
actual data to a variable,
$fileContent.--*/
{
$fileContent = @m
oad_type' )";
if ( ! mysql_query( $query, $link ) ) {
$dberror = mysql_error();
return false;
}
return true;
}
function write_form() {
print '
file Description:
Choose a file
';
}
?>
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
oad_type ";
echo "File size: $fileUpload_size ";
echo "Uploaded to: $fileUpload ";
echo "Add Another File";
return true;
}
function write_form() {
print '
file Description:
Choose a file
venue have its own equipment?
What kind of food deal?
What kind of drink deal?
What is our compensation?
e ";
echo "File type: $fileUpload_type ";
echo "File size: $fileUpload_size ";
echo "Uploaded to: $fileUpload ";
echo "Add Another File";
//}
?>
=
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This has been solved. The problem was 'pilot error'.
This is indeed the right syntax to change a table
name.
--- Patrick Roane <[EMAIL PROTECTED]> wrote:
> I am trying to rename my table, but I get a syntax
> error.
>
> ALTER TABLE myblobs RENAME myBlobs;
>
&g
I am trying to rename my table, but I get a syntax
error.
ALTER TABLE myblobs RENAME myBlobs;
Can anyone tell me where the problem is here? I went
to the mysql ref. site and I think this is the right
way to do this.
thanks-
=
Patrick Roane
Web design and development
www.franklin-band.com
t; On Wed, 9 Feb 2005 17:21:03 -0800 (PST), Patrick
> Roane
> <[EMAIL PROTECTED]> wrote:
> > I'm trying to execute my php code from w/in the
> same
> > page as my form. I've done this before, but
> recently
> > i've been getting some parse errors.
: $fileUpload_name ";
echo "File type: $fileUpload_type ";
echo "File size: $fileUpload_size ";
echo "Uploaded to: $fileUpload ";
echo "Add Another File";
?>
=
Patrick Roane
Web design and development
www.franklin-band.com
Fox River Grove, Il.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do a search for you phpinfo.php on the 'C:' drive.
Make sure that its in your 'www' folder or in your
apach/htdocs folder. Once you've determined this, go
to www.php.net and review the section on 'installing
php on windows'. If all else fails, go to www.wamp.com
and instal the bundle.
--- Sun
second param.
>
> -M
>
> > -Original Message-
> > From: Patrick Roane [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 02, 2005 6:08 PM
> > To: php-windows@lists.php.net
> > Subject: [PHP-WIN] $subject = "form results "
> caus
I was wondering why when I insert the $subject = "form
results", I get the ...echo "Message failed to send";
error.
But when I comment this out, everything works fine.
Please see below.
0) {
foreach($errors as $err)
echo "$err\n";
echo "Please use your browser's Bac
thing in the lines of:
>
> if (isset($_POST["submit"])) {
>
> email sending code here...
>
> }
>
> If not, the users, when they reach the page will
> send an empty form to
> the email...
>
> Cheers,
> Luis Ferro
>
>
>
> Pa
I am trying to include form-parsing code on the same
page as my hard-coded HTML form- but I'm doing
something wrong. The name of my file is chair1.html
Please see below:
thanks!
http://www/w3/org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
form
Item
Ch1-1
»Arm C
Can anyone suggest a good tutorial on creating a user
login screen?
=
"forget your lust for the rich man's gold. All that you need, is in your soul.
You can do this if you try. All that I want for you my son, is to be satisfied"
~ Lynard Skynard
--
PHP Windows Mailing
Thanks for the tip:
ALTER TABLE specs MODIFY food CHAR(30);
does the trick!
--- Thomas Vanhal <[EMAIL PROTECTED]> wrote:
> Did you try a ALTER table?
> - Original Message -
> From: "Patrick Roane" <[EMAIL PROTECTED]>
> To:
> Sent: Friday, January
I was wondering if there is a quick way to change the
value of my VARCHAR from 10 to 30 characters w/out
having to drop and recreate the column?
thanks-
=
"forget your lust for the rich man's gold. All that you need, is in your soul.
You can do this if you try. All that
hat kind of drink deal?
>
>
>What is our compensation?
>
> value="submit!" />
>
>
>FORM';
> }
>
> //==end of new function...do not include this
> line==
>
&
Parse error: syntax error, unexpected $end in
c:\wamp\www\php_excercises\schedule.php on line 81:
line 81 is all the way at the bottom.
Here is my code:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
Listing 13.1 Opening a Connection to a
Database
\n";
} else {
I am trying to est. a connection to mysql via PHP5 on
my win XP and I keep getting the undefined function
error. By the way I am running apache 1.3.23.
I believe I've made the necessary adjustments to the
php.ini. (uncommented the extension=php_mysql.dll) and
copied this to my windows dir.
There
I need some help configuring php on win XP to use DBA
handlers. Does anyone have experience with this?
I looked at the php manual and it says to download and
install one of several types of DBM systems like:
db4 and gdbm.
The manual also says to install by:
... using the --enable-dba=shared co
the configuration file AKA php.ini! Ok ... moving
forward now.
--- Patrick Roane <[EMAIL PROTECTED]> wrote:
> The steps I've taken so far to solve this are as
> follows:
>
> 1. I got rid of WAMP in favor of installing php5.0.3
> manually.
>
> All i need hel
-
configure switch?
thanks
--- Patrick Roane <[EMAIL PROTECTED]> wrote:
> I need to use DBM-style abstraction layer functions
> see: http://www.php.net/manual/en/ref.dba.php
>
>
> I am trying to find out if I compiled php (I
>
I need to use DBM-style abstraction layer functions
see: http://www.php.net/manual/en/ref.dba.php
I am trying to find out if I compiled php (I actually
installed WAMP 5:
--
Apache version : Apache/1.3.33 (Win32)
PHP version : 5.0.3
MySQL version :
I created a form that asks for the users 1st and last
name. I than try and attempt to save this data to a
file. Next, I'd like to read the data from this file
and write its contents to the browser.
I only get so far before I get a wierd response after
hitting the submit button:
Resource id #3
S
Thanks-
I will look into session vars.
--- Jason Barnett <[EMAIL PROTECTED]> wrote:
> Patrick Roane wrote:
> > I am tring to store and display the number of
> requests
> > that a user has submitted via a hidden field. I've
> > created a form that does a some s
I am tring to store and display the number of requests
that a user has submitted via a hidden field. I've
created a form that does a some simple addtion.
Everything works, but I need some direction as to how
I can store each number the user puts in and to
display them.
Please see below:
http://
The inludes folder is thrown around as more of a
generic term for a directory that includes important
files. Is this a pretty good definition for the
purpose of an 'includes' folder?
Also, I've seen the following syntax before:
(__FILE__). Why the underscores?
thanks-
--- Jason Barnett <[EMA
ly 'log in' and type in the
details himself.
--- Jason Barnett <[EMAIL PROTECTED]> wrote:
>
> >
> > Here is my code (which I can't get to work):
> >
> >
> /** Note that my code / comments are untested, but
> should be h
I am trying to create a function that works with two
arguments. the 1st needs to be a suername. The 2nd
needs to be an email address. Next, I have to use case
conversion functions to capitalize the first letter of
the username and convert the email add. to lowercase
characters and finaly check that
I am trying some excercises in a book and one of the
excercises says to:
Assign values to two variables. Use comparison
operators to test whether the first value is:
1. the same as the second
2. less than the second
3. Print the result of each test to the browser.
My question is, how do I prin
I'm using the basic MySQL.exe console and I'm creating
a simple database for practice purposes. I've made
some errors. Do I have to start all over again? Or, is
there a way to back in the code and re-write just the
part that I goofed.
Thanks-
=
"forget your lust for the
Thanks for all of your input. I didn't realize that I
had to 1st create the database:
mysql> create database phonelist;
Database "phonelist" created.
and than follow that up with:
mysql> use phonelist
Database changed
next:
mysql> create table table01(
id INT(100) PRIMARY KEY,
firstNa
Ok,
No syntax errors this time, but when I hit enter
(after I type in the code below), I get 'error 1046,
no database selected'
CREATE TABLE phonelist(
id INT(100) PRIMARY KEY,
firstName VARCHAR(15),
lastName VARCHAR(15),
email VARCHAR(20),
phone VARCHAR(15)
);
There must
I am learning the mysql basics and was wondering what
I'm doing wrong. I'm using the MySQL.exe console to
create a simple table, but I keep getting these syntax
errors.
All I'm doing is typing the code and than pressing
enter. Is there more I have to do? Here is my code:
CREAT TABLE phonelist(
where can I find a tutorial that can help me use mysql
to update data 'dynamically'(content, URLs'
etc.)contained in an html table, instead of going into
the html code itself?
=
"forget your lust for the rich man's gold. All that you need, is in your soul. You can
do th
I have problems running php scripts under w2k. for example, a form to send a mail. I
has 3 fields, name, email and msg. The actions goes through POST to a file send.php.
In send.php i try to use the variables $name, $email and $msg, but it says they are
not declared. The same script works fine u
Patrick Roane has invited you to "Franklin's Kind show!".
Click below to visit Evite for more information about the event and also to RSVP.
http://www.evite.com/pages/invite/viewInvite.jsp?inviteId=XQNYSJAKFHYTNVBCQCVH&src=email
**If you are having trouble viewing the abov
Gaguwd a écrit :
How do you try to recover it?
You must use this type of variable to recover your data:
$_POST['variable_name'] and $_GET['variable_name']
Yeah! I just found it there:
http://www.php.net/manual/en/faq.using.php#faq.using.variables
Why register_globals is now OFF by default? I p
I recently installed PHP under Microsoft Server 2000 / IIS 4.0 and I'm
having
problem with POST and GET. If I put my form in METHOD=POST, I cannot
recover
the string in the destination page.
If I put METHOD=GET in my form, I'm able to get back my string but they are
displayed in the URL.
Why I
I have been away from my computer for many months and thus, have forgotten many of the
php basics.
I'm trying to get "back into the swing of things" and the problem I'm having is that
my php code is not being parsed. Instead, its being treated like HTML and the code
just shows up on the screen
Hello,
I am newbie to PHP and have been trying to install PHP on my local W2k IIS4
until I get the chance to setup a Linux box. I used the window binary from
php.net with installer PHP 4.3.0 installer (CGI)
The installation ran smoothly. and I checked for permissions although I am
not on NTFS .
The
sperate now. is there any
way or am i trying in vain ?
thx,
patrick
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Johan,
The globals that PHP sets up have changed since since PHP 4.2.x
See: http://www.php.net/release_4_2_0.php
You can turn on register_globals in the php.ini file but it is
recommended to use the more secure $_GET['test'] type variables.
Best Regards,
Patrick Lynch.
Optip Ltd
I have run into this problem before. When using Windows, make sure you
are using the CRLF sequence for hard returns rather than just LF.
i.e.
\r\n
instead of
\n
a simple str_replace will allow you to format it correctly before sending.
good luck
p.
Adolfo Meneses wrote:
> Welcome to the club
hi.
i'm storing events in a mysql-db, using epoch timestamps to pinpoint the
exact date/time for an event.
so far, I have been using localtime, being aware that there are
inconsistencies
in the number of epoch-seconds, when DST flips on and off. nevertheless, that
works fine as long as you
yes
like
but it's dont works
/-----/
Patrick Silva
Gestion serveurs et domaines
Cyse Informatique
105 avenue du Général Leclerc
77400 Lagny sur marne (France)
tel : (33)1 64303232 - Fax : (33)1 64303222
tel direct : (33)5 55805498 - Fax : (33)5 558
Hello
I have to redirect to an ssl with header function
is it possible to force _top in header ?
thanks
/-/
Patrick Silva
Gestion serveurs et domaines
Cyse Informatique
105 avenue du Général Leclerc
77400 Lagny sur marne (France)
tel : (33)1
Hell
I have PHP 4.0.6 with IIS5 on W2000 server
I need to use socket function but I can't find the dll
how can I use this on W2000 ?
if someone can help!!!
many thanks
/-----/
Patrick Silva
Gestion serveurs et domaines
Cyse Informatique
105 aven
er 20, 2001 4:48 PM
> Subject: Re: [PHP-WIN]How to know how long a person stay
>
>
> > I do not believe that this is possible, not as you would it to work
> anyway.
> > Something like this might be realized with sessions set to a very short
> > timeout, but then your u
Hello
is it possible with PHP to know how much time a person stay on a web page?
thanks
/-/
Patrick Silva
Gestion serveurs et domaines
Cyse Informatique
105 avenue du Général Leclerc
77400 Lagny sur marne (France)
tel : (33)1 64303232 - Fax : (33)1
Hello
How to replace echo by ?
I can't find how to configure PHP4 for this on NT
thanks
/-----/
Patrick Silva
Gestion serveurs et domaines
Cyse Informatique
105 avenue du Général Leclerc
77400 Lagny sur marne (France)
tel : (33)1 64303232 - Fax :
le compiled
for Windows 2000.
--
=======
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
The lips of the righteous nourish many, but fools die for lack
of judgment.
-- Proverbs 10:21
http://www.heartlight.or
her have a binary instead of compiling it.
>And since we are at it, where can I find the postgresql binaries for w2k?
Windows is not one of the supported Postgres platforms, though it has been
tested.
--
=======
Patrick D
On 24 Apr 2001 03:53:46 -0700 AD in php.windows, James Abbey said:
>Hi
>Does anyone knows how to configure fronpage 2000 with php so it does not
>changes my php code
Try using <% and %> tags
--
=======
s helped you to solve
>the problem
>
Yes it is all working properly with JPEG files now.
--
=======
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
The grace of the Lord Jesus Christ be with your spirit
. are these DLLs complete and don't need any other files to be installed?
--
=======
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
The grace of the Lord Jesus Christ be with your spirit. Amen.
-- Philip
On 23 Apr 2001 01:11:05 -0700 AD in php.windows, Alessio Bernesco Làvore
said:
>GDLib should be also included in the php 4 distribution, so you already have
>the compiled dll (look in php\extensions for php_gd.dll)
>To be able to use gd functions you have to edit php.ini (probably in your
>\win
On 23 Apr 2001 01:11:05 -0700 AD in php.windows, Alessio Bernesco Làvore
said:
>GDLib should be also included in the php 4 distribution, so you already have
>the compiled dll (look in php\extensions for php_gd.dll)
>To be able to use gd functions you have to edit php.ini (probably in your
>\win
ilers.
--
===
Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/
Therefore, my dear brothers, stand firm. Let nothing move you.
Always give yourselves fully to the work of the Lord, because you
know that your labor in the Lord is not in vain.
-- 1 Corint
"Chris" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for the reply.
>
> I went to mysql bin directory and typed mysql.exe, I get an error
> message
> "Error 2003: Can't connect to MySQL server on 'localhost' (10061)"
>
> What's the problem? Please adv
;;
?>
#
\r\n";
print "\r\n";
print " New Document \r\n";
print "\r\n";
print "\r\n";
exec('D:\Xitami\temp\cleanup.bat', $returnstring,$returnvar);
print "Return var: ".$returnvar."\r\n";
print "Pr
""Boget, Chris"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Further the above, this is the exact error message I'm
> > getting (I've been fooling around with the include path
> > and so that's why it says something different here):
>
> Warning: Fail
""Guido E. Smit"" <[EMAIL PROTECTED]> wrote in message
9b4tur$6ah$[EMAIL PROTECTED]">news:9b4tur$6ah$[EMAIL PROTECTED]...
> I have the same problem, running W2K and IIS5:
> print "\n";
> exec('LUII.exe rpc3.ingrammicro.com 058DY12 1', $returnstring,
$returnvar);
> print "Return var: ".$returnva
""Helmut Himmelstoss"" <[EMAIL PROTECTED]> wrote in message
9b21na$iu7$[EMAIL PROTECTED]">news:9b21na$iu7$[EMAIL PROTECTED]...
> I copied the Program Ping.exe to the same directory as my script and the
> User the IUSR_[Machine name] hast the permissions.
>
> echo"";
> $dd=system("ping p
""Helmut Himmelstoss"" <[EMAIL PROTECTED]> wrote in message
9avht3$kc3$[EMAIL PROTECTED]">news:9avht3$kc3$[EMAIL PROTECTED]...
> HI,
>
> system(), exec() etc. don't work properly under Windows.
> they just don't hand back the output.
>
> Has anyone got these functions working (e.g. Ping.exe)??
>
and I thought only M$ did stuff like that :o)
"Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 11:53 01.04.2001 -0700, Alain Samoun wrote:
> >Well guys, party is over, we all are going to have to switch to Linux...
> >See:
> >http://www.
");
$result = mysql_list_tables ("MYSQL")
or die ("Invalid query");
print ("Connected successfully");
while ($i < mysql_num_rows ($result)) {
$tb_names[$i] = mysql_tablename ($result, $i);
echo $tb_names[$i] . "";
$i++;
}
?>
this is from the php manual
""paul morgan"" <[EMAIL PROT
Warning: Supplied argument is not a valid MySQL result resource in
e:/apache/apache/htdocs/tr.php on line 7
huum this is the error I got. you need to read a bit more mysql
documentation
and perhaps the mysql functions in php.
what data base are you trying to show_tables on ?
""paul morgan"" <[
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello again,
> Ok, I began thinking about your problem, and I think I remeber something
> about this, I was not able to do just "php" on the actions and aliases, I
had
> to do php4 for some reason. but I loaded u
execution. here's the call I have
system("C:\\program files\\apache group\\apache\\cgi-bin\\sendmail
poshea\@antioch-college.edu < mail");
Could someone please let me in on what I'm doing wrong? I'd really
appreciate it. THanks.
Patrick O'Shea
--
PHP Wi
77 matches
Mail list logo