RE: [PHP-WIN] get Url

2002-11-25 Thread brother - Martin Bagge
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. --

RE: [PHP-WIN] How to echo the end marker '?>'

2002-11-08 Thread brother - Martin Bagge
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

RE: [PHP-WIN] i need help with an undefined variable

2002-10-02 Thread brother - Martin Bagge
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?

RE: [PHP-WIN] PHP 2 for WINDOWS

2002-09-30 Thread brother - Martin Bagge
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

RE: [PHP-WIN] Cookies do not work

2002-09-23 Thread brother - Martin Bagge
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

RE: [PHP-WIN] Cookies do not work

2002-09-23 Thread brother - Martin Bagge
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

RE: [PHP-WIN] PHPWiki + IIS

2002-08-15 Thread brother
> -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

RE: [PHP-WIN] PHPWiki + IIS

2002-08-15 Thread brother
> -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

[PHP-WIN] PHPWiki + IIS

2002-08-15 Thread brother
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

RE: [PHP-WIN] PHP & "POST"

2002-08-14 Thread brother
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

RE: [PHP-WIN] Getting users IP Address

2002-07-02 Thread brother
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

RE: [PHP-WIN] function call ????

2002-06-29 Thread brother
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 >

RE: [PHP-WIN] How do I redirect to another page using PHP?

2002-06-13 Thread brother
> -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

RE: [PHP-WIN] PHP with IIS

2002-06-07 Thread brother
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

RE: [PHP-WIN] .server side includes on Windows IIS 4.0

2002-06-06 Thread brother
> -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 >

RE: [PHP-WIN] Re: Form Problem

2002-06-06 Thread brother
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");

RE: [PHP-WIN] Re: mail() problem

2002-05-28 Thread brother
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:/

RE: [PHP-WIN] Undefined variables (was php_gd.dll and Windows XP)

2002-05-15 Thread brother
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

RE: [PHP-WIN] Return portion of a string

2002-05-15 Thread brother
> -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.

RE: [PHP-WIN] Return portion of a string

2002-05-15 Thread brother
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

RE: [PHP-WIN] Sessions under PHP 4.2

2002-05-13 Thread brother
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

RE: [PHP-WIN] register_globals and php 4.2

2002-05-10 Thread brother
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

RE: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread brother
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

RE: [PHP-WIN] Forward Link

2002-04-18 Thread brother
> -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

RE: [PHP-WIN] Forward Link

2002-04-18 Thread brother
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

[PHP-WIN] checking for characters

2002-04-09 Thread brother
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

RE: [PHP-WIN] How to Pass the Username which from Windows Login

2002-03-25 Thread brother
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 > > >

RE: [PHP-WIN] Re: create an AUTOLINK?

2002-03-21 Thread brother
} > 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 >

RE: [PHP-WIN] how to use payflow

2002-03-21 Thread brother
> -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

RE: [PHP-WIN] Error::

2002-03-14 Thread Brother Bagge
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

RE: [PHP-WIN] Include()

2002-01-22 Thread brother
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

RE: [PHP-WIN] PHP & MySQL problems, updating database..

2002-01-17 Thread brother
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,

RE: Re: [PHP-WIN] Please help a newbie -- have pity!

2002-01-15 Thread brother
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

RE: [PHP-WIN] Help with mail function

2002-01-14 Thread brother
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.

RE: [PHP-WIN] Editor

2002-01-10 Thread brother
> -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

RE: [PHP-WIN] mysql_get_server_info(

2002-01-08 Thread brother
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

[PHP-WIN] mysql_get_server_info(

2002-01-08 Thread brother
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