Rodrigo San Martin:
> "Http://www.host.com/testfile.php";
>
> Need to get the filename "testfile.php".
>
> How do i do that???
if your shell doesn't support filerenaming then just use a regular FTPclient
to connect to the FTPserver, the command for renaming is rename
. If I'm not mistaken.
--
the script
> ! Any idea ?
you want to do this:
echo "\">"; right?
consider this: echo "";
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyang:
> it's giving me this now:
> Notice: Undefined index: game in C:\Xitami\webpages\index.php on line
> 5 Notice: Undefined index: game in C:\Xitami\webpages\index.php on
> line 8
>
> because i'm opening index.php without using ?game=
> is there anything I can do to not get it to say that?
t version for windows was 3.0.11.
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you have the same PHPversion in the servers?
Is register_globals set to off or on in php.ini? Same setting in both
servers?
$_COOKIES is the new super global array for cookies, don't forget that =)
I cann't see any other explaniation but I'm new to this cookiet
You cannot use the cookies in the same as you stated them.
http://www.php.net/manual/en/function.setcookie.php
see common pitfalls.
You have to do it like: set cookie > new page to check the cookies.
/brother
> -Original Message-
> From: Sjaak [mailto:[EMAIL PROTECTED]]
&g
> -Original Message-
> From: brother [mailto:[EMAIL PROTECTED]]
>
> I'm trying to install PHPWiki on my IIS server but it just don't work.
>
> If you could help me answer back and let's keep it off the
> list because of
> the O/T status on this
> -Original Message-
> From: brother [mailto:[EMAIL PROTECTED]]
>
> --
> last error:
> the images in the themes is in place but the doesn't load correct.
> they seem to be trying to be loaded of
> http://themes/xxx/zzz.png and anyone
> can tell why they w
n't load but why is the URLs wrong?
/brother (and please, let's keep it of the list)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i.e., separate from the
$_POST and $HTTP_POST_VARS arrays. For related information, see the security
chapter titled Using Register Globals. These individual globals are not
autoglobals.
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This script will make the server ping the visitor =)
';
}
?>
> -Original Message-
> From: R.S. Herhuth [mailto:[EMAIL PROTECTED]]
> Sent: den 2 juli 2002 16:17
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Getting users IP Address
>
>
>
> How do I get a users IP address using either
am I stuppid?
http://www.php.net/manual/en/function.include.php
/brother
> -Original Message-
> From: toby z [mailto:[EMAIL PROTECTED]]
> Sent: den 29 juni 2002 13:07
> To: php hlp list
> Subject: [PHP-WIN] function call
>
>
>
>
> hi guyz
>
> -Original Message-
> From: Blaine Dinsmore [mailto:[EMAIL PROTECTED]]
>
> How can I redirect to another web page based on a condition?
if ($statement) {
echo "";
} else {
echo "bla bla";
}
for instance.
/brother
--
PHP Windows Mailing List (htt
A standard IISserver does not support PHP, you have to install PHP by your
self, if you still want to try if the server is capable of handling PHPfiles
but don't wanna check via ISM just put a PHP document with, for instance,
the phpinfo() function.
/brother
> -Original Message
> -Original Message-
> From: Brad Deters [mailto:[EMAIL PROTECTED]]
>
> I have several pages that contain includes pointing to .htm
> pages. I have
> one include that points to a .php include. We recently switched from
> Netscape WebServer 3.0 to Microsoft IIS 4.0 on a Win NT 4.0
>
Or change the $submit to $_GET["submit"]
if (isset($_GET["submit"])) {
mysql_query("INSERT INTO $ntable VALUES
('','$title','$posted_by','$entry',NULL)");
print("$title\n");
serverspecifications.
[mail function]
; For Win32 only.
SMTP = an.funky.smtp.server.for.you ; for Win32 only
; For Win32 only.
sendmail_from = [EMAIL PROTECTED] ; for Win32
only
.:=| brother |=:.
ICQ: 4722160
web: http://motd.st
web: http://schattiga.st
web: http://persilja.net
web: http:/
e zillionth time, 4.2 turns
> register_globals off in
> the php.ini. If you want to access the variables directly, turn on
> register_globals in your php.ini. Otherwise, access them via
> one of the
> global arrays ($GLOBALS, $GET, $POST, etc).
$_GLOBALS, $_GET, $_POST, etc
/b
> -Original Message-
> From: brother [mailto:[EMAIL PROTECTED]]
> $var['2'] would then be the id number (I cann't recall the
> function really
> so I hope I didn't make any mistakes now =)
$var['1'] is number two in the index, my bad.
use that as an varible.
http://se.php.net/manual/en/function.explode.php
$data =
$var = explode("'",$data);
$var['2'] would then be the id number (I cann't recall the function really
so I hope I didn't make any mistakes now =)
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sensitive, I've learned it
through $_GET last week=))
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
PHP Warning: Undefined index: var_name in
> F:\bhdanas.com\index.php on line 2
>
> Any idea?
>
>
> Afan
if (!isset($_GET['var_name'])) {
$var_name = "default value";
} else {
$var_name = $_GET['var_name'];
}
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
pe']" at
> the beginning of your file. Repeat this same idea with your
> other variables
> and you should be okay.
I had tested that but forgot the casesensitive on variablenames, have I ate
any bad stuff that had my brain to blow up??
Thanks Court!
/brother
--
PHP Wind
> -Original Message-
> From: Wayne Hinch [mailto:[EMAIL PROTECTED]]
> Does this get invoked as soon as the page is opened?
>
> -Original Message-
> From: brother [mailto:[EMAIL PROTECTED]]
>
> I most often uses the standard metarefresh, you just have to
es the standard metarefresh, you just have to echo the
variabels you want to pass to the new_doc.php
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d see if there is a @ and at
leaste one . after the @.
help me =)
zzzzz
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ain\
Properties > Security > Add...
/brother
> -Original Message-
> From: Jack [mailto:[EMAIL PROTECTED]]
> Sent: den 25 mars 2002 07:26
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP-WIN] How to Pass the Username which from Windows Login
>
>
>
}
> Any 'header' command is only executed before any output is
> sent to the browser.
> Even if you've a blank space/tab/line before the your ' tag, that is
> valid HTML output, and then 'header' is obsolete. Make sure
> no actual output
>
> -Original Message-
> From: Marirose Martin [mailto:[EMAIL PROTECTED]]
>
> Bonjour, je suis sous windows et j'aimerai me servir des
> fonctions php pour payflow. Partout ils disent que php doit
> etre compiler avec l'option pour payflow, s'auriez vous où ve
> pourrait me procurer un
After installing it as a service you will be able to start and stop the
server via NET START/STOP mysql from run.
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you think it over that could be a real security hazard.
If I have a phpdoc that opens sqlconnections at server A and includes that
doc over at server B then I will be able to get stuff from server A right in
front of my eyes, or?
No one ever said that server A was my own.
/bro. (i just hate th
req. an WHERE statement it seems to fit
better in this case...
http://www.mysql.com/doc/U/P/UPDATE.html
The replace syntax may also give you some help in the problem solving.
http://www.mysql.com/doc/R/E/REPLACE.html
GL
/brother
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
Yes if you are using windows 2k/nt then IIS would be the easiest solution
for your needs, they can develop and se the chnages take place almost
imediatly.
/me
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: den 15 januari 2002 10:49
> To: Frank M. Kroma
Maybe they haven't set the mailstuff in the php.ini file?
/bro.
> -Original Message-
> From: Calcware [mailto:[EMAIL PROTECTED]]
> Sent: den 13 januari 2002 23:10
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Help with mail function
>
>
> My hosting company is running IIS version 5.0.
> -Original Message-
> From: SanjuroE [mailto:[EMAIL PROTECTED]]
>
> I am looking for a light-weight editor which supports PHP tag
> highlighting and indenting.
>
> Which editor do you recommend?
My personal favourite is EditPlus.
You find it at http://www.editplus.com where you can
Maybe I should have told you that the mysql operators on the servers are
working fine just this annoying failure.
/bro.
> -Original Message-
> From: brother [mailto:[EMAIL PROTECTED]]
> Sent: den 8 januari 2002 22:23
> To: '[EMAIL PROTECTED]'
> Subject: [PHP-W
I have put together a informationpage, the same page for two different
machines. They both run win2k server SP2, PHP 4.1.1 and MySQL 3.23.47-max.
On the first machine it still works after the installation of the new MySQL
software but the other box just ends up with complaints on odbc user and
st
37 matches
Mail list logo