php-windows Digest 10 Oct 2002 03:47:18 - Issue 1380
Topics (messages 16288 through 16305):
php/mySQL ... using different port
16288 by: Wolfgang Schneider
16296 by: Rich Gray
confirm box
16289 by: Davy Obdam
16290 by: Craig Donnelly
Re: [PHP] confirm box
Use an ampersand (&) like follows:
echo "Press to continue";
-Dash
Faith, n:
That quality which enables us to believe what we know to be
untrue.
On Wed, 9 Oct 2002, db wrote:
> this is a follow-up question to my question about passing a variable through
> a link ie,
>
> echo "Pre
this is a follow-up question to my question about passing a variable through
a link ie,
echo "Press to continue";
how would i go about passing more than one variable, say $i and $j?
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Vers
I just manual installed php in my W2K Professional workstation.
Php4isapi.dll is added to the App Mapping and ISAPI Filter in IIS. The
php.ini is in winnt; php4isapi.dll and php4ts.dll are in winnt\system32.
But when calling up a test.php (with only phpinfo() in it) in the
browser all I got is
I'm attempting to install PEAR and from what I can tell, I only need to add
the PEAR installation directory to the include_path...
The website already has an extensive use of include in directory
d:\here\is\a\path
but, when I change the indlue_path from
include_path "D:\here\is\a\path"
to
inc
this works on a windows XP machine i have but when i put it on a w2kserver
it doesn't work?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
To quote from the manual (which is where you should have started):
"You will require the appropriate SDK for your platform, which may be
downloaded from within the manager interface once you have registered."
Mikey
> -Original Message-
> From: Blue Presley [mailto:[EMAIL PROTECTED]]
> S
Hello, I have the newest build of PHP for windows and want to implement the
payflow pro functions/extension. However, I cannot find reference to the
actual extension (.dll) in the php.ini. How do I access these if I'm on a
windows system? i don't have the option to build from source code (or
Ik heb een script en dit moet werken om mee te uploaden.
Dat doet het ook alleen ik heb 1 probleem:
Wanneer ik ongeveer een bestand heb van 1MB, dan wordt ik na ingeveer 20
sec. doorgestuurt naar de 404 pagina waar staat dat de pagina niet gevonden
is etc...
Weet iemand hoe (zonder dat je de time
that was it! thanks! i needed the 'else' statement in there. odd though, i
assumed it would default to that, but oh well. thanks a lot!
by the way, Ignatius, i tried your way with the same result. i still need
that 'else'.
thanks again guys!
"Rich Gray" <[EMAIL PROTECTED]> wrote in message
Try ...
mysql_connect('server:','user','password');
Where '' is the alternate port number.
HTH
Rich
-Original Message-
From: Wolfgang Schneider [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2002 15:34
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] php/mySQL ... using different port
He
So you're doing this right?
";
$i++;
echo "Press to continue";
?>
-Original Message-
From: db [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2002 15:58
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] problem passing variables...
at first, it was as though no variables were passed so the out
I remember having met interpolation trouble with such code bits as
...passtest.php?i=".$i."\"/...
in echo "Press to continue";
What I do now is write it this way:
echo "Press to continue";
And everything works fine.
This has the additional advantage of clarity.
BTW, you have an erroneous slash
Hi Archie,
Thanks it works. Great i knew i was forgetting something.
Best regards,
Davy Obdam,
mailto:[EMAIL PROTECTED]
-Original Message-
From: Archibald Zimonyi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 4:44 PM
To: Davy Obdam
Cc: PHP Mailinglist; PHP-WIN Mailing
at first, it was as though no variables were passed so the output looked
like:
1
Press to continue
pressing to continue added '?i=2' to the address, but the output remained
the same.
then, as per Rich Gray's suggestion, i capitalized $_GET (from '$_get'),
which had weirder results. $i
Hi there,
> echo "
> ";
> //The rest of my form
>
I am not exactly sure about this but I think you have to define the
onSubmit with a return, otherwise it will always fall through, onSubmit
only fails the submission if it returns a false value, otherwise it
will always continue.
Add the follow
On your submit button put the following:
Hope that helps,
Craig
"Davy Obdam" <[EMAIL PROTECTED]> wrote in message
001a01c26f9e$a1c78a80$960a@davy">news:001a01c26f9e$a1c78a80$960a@davy...
> Hi people,
>
> Maybe a bit off-topic, but i thought lets ask anyway. I have a guestbook
> ad
Hi people,
Maybe a bit off-topic, but i thought lets ask anyway. I have a guestbook
admin page were i can delete multiple items from the database using
checkboxes. So when i click on the Submit button i would like a
javascript confirm box coming up. I have done that, but it deletes the
item(s) an
Hello,
trying to connect to a mySQL database that runs on a 2nd mySQL server
and not the standard one, the 2nd mySQL has been assigned a different
port number
How do I change the connect to mySQL lines so the php file is trying
to open a connection to the mySQL server on the alternate port
php-windows Digest 9 Oct 2002 14:31:12 - Issue 1379
Topics (messages 16266 through 16287):
Re: ODBC connection parameters
16266 by: Uttam
Linux/Windows
16267 by: Nino V
Re: Apache 1.3.x PHP module and php.ini precedence
16268 by: Claudio Bustos
16269 by: Fr
What output *are* you getting?
(V)
"db" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> i've seen a lot of posts about this, but none helped. i've broken the
script
> down to its simplest components and still no luck.
>
>
> IF(!isset($_get['i'])) {
>
> $i = 1;
>
> }
>
> echo
I have this query that I performing on the database.
Unfortunately, it is returning all the same information for all rows.
The table has three rows of data in it
Tbl_IDTbl_NameTbl_Age
1Horse21
2Cow 30
3
What happens if you use $_GET['i'] instead of $_get['i']?
PHP vars are case sensitive.
Rich
-Original Message-
From: db [mailto:[EMAIL PROTECTED]]
Sent: 09 October 2002 14:41
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] problem passing variables...
i've seen a lot of posts about this, but n
Thanks - I found that out.
"Brian McGarvie" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> you dont/should'nt need it, ODBC is built into php as a standard module...
>
> "Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PR
i've seen a lot of posts about this, but none helped. i've broken the script
down to its simplest components and still no luck.
";
$i++;
echo "Press to continue";
?>
i've tried using empty(), $_post['i'] and $i, but none will work. i've been
trying to pass the variable back to the page itsel
Well, as far is i know both have more options concerning permitions, both
have an admin etc. so there may be a slight difference in how this works on
your vs. my system, I don't know for sure though.
Anyway, it wasn't the idea to turn this into a discussion about file
systems. You gave your advic
win xp AND 2000 pro
--- Aidal <[EMAIL PROTECTED]> wrote: > Are you working
on a UNIX/Linux box?
> It might make a difference due to the difference on
> file systems etc.
> I'm working with Win98 at the moment.
>
>
> "Toby z" <[EMAIL PROTECTED]> wrote in message
>
[EMAIL PROTECTED]">news:[EMAIL
Are you working on a UNIX/Linux box?
It might make a difference due to the difference on file systems etc.
I'm working with Win98 at the moment.
"Toby z" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> well aidal
> for me it did it just WOULDN create the file
you dont/should'nt need it, ODBC is built into php as a standard module...
"Douglas F. Keim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I can't find it anywhere.
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
well aidal
for me it did it just WOULDN create the file otherwise
:$ :|
toby
--- Aidal <[EMAIL PROTECTED]> wrote: > Dona that
\\nef\\articles makes no difference.
>
> "Toby z" <[EMAIL PROTECTED]> wrote in message
>
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > or u could add an other \ to
Dona that \\nef\\articles makes no difference.
"Toby z" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> or u could add an other \ to tha path
>
> "c:\\name.txt", "wb"
>
> luck
>
> toby
>
> --- Luis Moreira <[EMAIL PROTECTED]> wrote: > When you
> refer to a
I disagree.
I personally use MDaemon from ALT-N Technologies and it has many many
features. It is used by a few big named companies and will serve the uses
of any small company to even very large companies. So I'd say that it is
very versitile and worth a try. It is NOT free, but they do have
or u could add an other \ to tha path
"c:\\name.txt", "wb"
luck
toby
--- Luis Moreira <[EMAIL PROTECTED]> wrote: > When you
refer to a ROOT; to create a file, you are
> not referring to the MACHINE's root, but to the FILE
> SYSTEM ROOT.
> That is why the file goes to HTDOCS.
> Try creati
tony
if you want it to be printed inside the table it has
to be INSIDE the table inside a ROW and a COLUMN
just like you have done with all other tr and td
echo("" . $current . "");
godd luck
toby
--- Anthony Ritter <[EMAIL PROTECTED]>
wrote: > I'd like to have the record data - $
When you refer to a ROOT; to create a file, you are not referring to the MACHINE's
root, but to the FILE SYSTEM ROOT.
That is why the file goes to HTDOCS.
Try creating the file using an ABSOLUTE PATH, e.g "c:\Docs\example-dir\54.txt"
Regards,
Luis
- Original Message -
From: "Sviss" <[E
hi Radovan
To acccess the previous URL in history:
use $HTTP_REFERER
i came accross this function n saved it it is somevere
in function list on php.net
hope it helps
(by the way how do u pronounce ur name n vat does it
meen :S)
goodluck
toby
--- Radovan Radic <[EMAIL PROTECTED]> wrote: >
I think the best you can do is retrieve the path of your script and add
to your desired filepath, with something like
$file=dirname($PHP_SELF)."nef/articles/54.txt";
and continue.
In article <[EMAIL PROTECTED]>, you say...
> Hi NG.
>
> I'm having problems creating files at a certain location
I disagree.
I personally use MDaemon from ALT-N Technologies and it has many many
features. It is used by a few big named companies and will serve the uses
of any small company to even very large companies. So I'd say that it is
very versitile and worth a try. It is NOT free, but they do have
If Apache work as Apache module php.ini *MUST BE* in system root env like
C:\winnt\php.ini
If Apache work as CGI php.ini *MUST BE* in the path where php it is
installed.
Like this Apache directives:
#PHP 4.2.1 come CGI
ScriptAlias /php/ "D:/Php/php-4.2.1-Win32/"
AddType application/x-httpd-php
In c:\windows or c:\winnt is the first place where to look ;)
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I'm trying to figure out the rules that PHP uses when looking for a
> php.ini file. In what exact order does it check what specific places.
> I've got numerous php.ini file
Hi,
another problem! (I hope to be luckier this time).
Can anyone help me to convert these instruction so that they can work on
Win2k/EasyPhp?
system ("mv index.html main.html");
system ("cp -R $system_root/export/templates/*
$kurs_home_path/$kid/modules",$x);
system("chmod +r $path2/$filnamn",$
41 matches
Mail list logo