Re: [PHP-WIN] HELP: USING $_SESSION instead of session_register()

2002-03-28 Thread Pac mon
Not quite... Here's something that ought to work better for you: page1-- "; echo session_id() . ""; echo ""; ?> reg_2.php page2 "; ?> Original Message Follows From: "Bossanova" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [PHP-WIN] HELP: USING $_S

Re: AW: [PHP-WIN] t1lib

2002-03-04 Thread Pac mon
Visual Studio\VC98\Bin And added that to $path But it didn't change anything ;-( Any other ideas? Thanx, oliver! -Ursprüngliche Nachricht- Von: Pac mon [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 04. März 2002 23:14 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re: [PHP-WIN]

Re: [PHP-WIN] t1lib

2002-03-04 Thread Pac mon
Well here's the big problem: configure: error: no acceptable cc found in $PATH cc is the compiler so you need to make sure that the c++ compiler: is believe it's cl.exe is in the enviroment variable PATH. Original Message Follows From: "think a Bit" <[EMAIL PROTECTED]> To: <[EMAIL PROTE

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Pac mon
Well i'd suggest triple checking that mysqld is running. Uh.. try putting: $link = mysql_connect() or die(); Just small things, but maybe it'll work.. other than that... No.. i've never had a problem with mysql, but then again i'm running apache..not IIS. Original Message Follows---

Re: [PHP-WIN] CHMOD

2002-02-24 Thread Pac mon
When you're at a unix console type this: chmod ### thefilename ###=the numbers for owner, group and global thefilename=the name of the file you want to change i was reading a php book and it says on UNIX machines i must change the CHMOD to 666 or 777, how do i do this? i never heard of the CHMO

Re: [PHP-WIN] MING

2002-02-17 Thread Pac mon
The SWFBitmap() function takes two parameters. One is optional. The first is a FILENAME the second is a file that acts as a alphamask. So to correct your problem do this: $img = new SWFBitmap($dram); Read more here: http://www.php.net/manual/en/function.swfbitmap.php Original Message Fol

Re: [PHP-WIN] Re: access database over multiple pages

2002-02-17 Thread Pac mon
You could use mysql_pconnect("server","username","password"). This will return a resource for a currently open connection if one is available otherwise it will establish a connection. i.e. --page1-- $link_id=mysql_pconnect($host,$username,$password); . //do stuff --page2-- $link_id=mysql_p

Re: [PHP-WIN] PHP header to close browser window?

2002-02-14 Thread Pac mon
You should just be able to close the window by doing something like this in javascript: newWindow = window.open(...); ... newWindow.close(); Original Message Follows Greetings, I had an extra browser window created with the HTML attribute. I would like to be able to automatically cl

[PHP-WIN] For some reason this message didn't get through before

2002-02-06 Thread Pac mon
In reference to the Tomcat+Apache port 80 issue.. here's the solution: http://www.jguru.com/faq/view.jsp?EID=415520 _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP Windows Mailing List (http://www.p

Re: [PHP-WIN] apache/tomcat/php configuration problems...

2002-02-06 Thread Pac mon
I'm not too familiar with Tomcat, but I did some breif research and I was curious if you were using mod_jk or the webapp module? > >This probably isn't a PHP problem but it does effect my php sites, so maybe >someone has some ideas what I'm doing wrong. > >The current configuration Linux (debian

RE: [PHP-WIN] undefined variable

2002-02-06 Thread Pac mon
or simply declare your variables: var $user1, $password1; > > > Hello everyone, > > I have a small question: > > How can I get rid of "Warning: Undefined variable: user1(& > > password1) in C:\WebShare\wwwroot\netk\5\login.php on line 4" > > in that program? > > > > > include ("config.php");

Re: [PHP-WIN] mail to too many users

2002-01-29 Thread Pac mon
Sounds like a mass-junk mail to me > >I need to send an email to 19000 users using a script, any suggestions. >Looping on a result set using the mail function would kill the server. >I know it can be done using a mailing list module but I'm running a >windows machine with IIS, what's the best thin

Re: [PHP-WIN] Redirection Question.

2002-01-19 Thread Pac mon
A lot of people have trouble with sending the Location header. A more effective means is sending this: header("Refresh: 1;url=/path/to/myinfo.php"); I believe that's right. I haven't done it in awhile... > >Here is where the code is failing. > >if ($myrow = mysql_fetch_array($result)) { >//if

Re: [PHP-WIN] sending an array through post

2002-01-14 Thread Pac mon
If they don't need to be visible include this form element in the form to be submited: > >Hello, >I need to send a lot of numbers with a form(post). How can I do that. I've >tried just this: > > > >But that won't work. > >How then? >polleke ___

Re: [PHP-WIN] Re: passing variables

2002-01-14 Thread Pac mon
There is NO need for that... When including a file it's as if the file were inline with the code in the spot in which include() is called. You may want to use require() to make sure that the file is actually being added. Also you just need to use $data wherever you want.. Or you can do it like

Re: [PHP-WIN] passing variable in include

2002-01-14 Thread Pac mon
Just do this: $sign = $data; >new.php > >include('xmlparse.php') > >$sign = "$data"; > >echo "$sign"; > >But my echo "$sign"; is NOT printing anything.. Whats wrong here?? > >TIA, >sands > _ Chat with friends online, try MSN Mess

Re: [PHP-WIN] New PHP

2002-01-12 Thread Pac mon
First of all there's no reason to be using and ODBC Driver. You can access mysql directly through PHP. So you can access mysql through the mysql set of functions in the php documentation at: http://www.php.net/manual/en/ref.mysql.php Secondly you can learn how to make the querys in question at

Re: [PHP-WIN] sending email out using php?

2002-01-11 Thread Pac mon
These aren't ACTUALLY set to 'server' are they? If so then you need to set 'SMTP' to an server that can send mail. Then you need to set 'sendmail_from' to an email address i.e. [EMAIL PROTECTED] > >SMTP = server ;for win32 only >sendmail_from = server ;for wi

Re: [PHP-WIN] sessions???

2002-01-10 Thread Pac mon
Possible that because session_name is a function it puking on the $session_name variable you're trying to create. Another note is this: $$session_name = "test"; Maybe I'm on crack but didn't you mean: &$session_name = "test"; Also... why did you try setting $session_name twice? Once to 'session

Re: [PHP-WIN] remote DB access

2002-01-10 Thread Pac mon
What version of PHP do you have? It sounds like the functions for mysql are loaded, but those functions have been built in since about 4.0 I believe. Include the information for both of the servers. > >Hello, > I have the code: > >#11 $db = mysql_connect("100.110.120.130", "root", "");

Re: [PHP-WIN] How to download PHP files URGENT !!!

2002-01-08 Thread Pac mon
I have used sockets previously. The biggest problem I had came when a user would try and connect to a server that was offline. The script would hang suck down the CPU and RAM. You certainly want to put an 'or die("blah")' or something in.. If the problem is that it's hanging... Otherwise I coul

Re: [PHP-WIN] $PHP_SELF

2002-01-05 Thread Pac mon
You could parse one of the other server variables or get really wild and parse document.location in javascript! > >Hi, > I understand that the variable $PHP_SELF doesn't always work. I'm >using Windows 98 SE with PHP 4.1.1. Is there any way to get $PHP_SELF to >work? >-Greg _

Re: [PHP-WIN] Apache cant find my index.htm

2002-01-05 Thread Pac mon
You must make sure that apache knows to look for index.htm as one of the valid default home pages. I forget the exact line, but if you search for index.html or whatever you should find it. I have mine set up to basically include such things as index.html index.htm index.php home.html home.htm

Re: [PHP-WIN] problem login as root

2002-01-02 Thread Pac mon
Did you mean to delete the column!? I'd suggest just backing up the data and reinstalling MYSQL. Then restoring the data. Easiest and most likely to work.. > >Help me!!! I have problem login as root at my MySQL. I remember the last >thing I did before this happened, is that I deleted the root c

Re: Fw: [PHP-WIN] Passing by reference...

2002-01-01 Thread Pac mon
passing by reference is in itself a "bad thing"perhaps a necessary >evil. > >All I'm saying is ....have the "rules" changed since I left Uni? > > > >Ignatius > > > >- Original Message - >From: "Pac mon" <[EMAIL

Re: Fw: [PHP-WIN] Passing by reference...

2002-01-01 Thread Pac mon
Some teachers will say this just because they think students are dumb. The reasoning behind it is that 'if we teach them to pass by reference some other dumb programmer can accidentally change values around and break stuff!' Simpletons! > >Isn't passing by reference a "no-no" is terms of good p

Re: [PHP-WIN] MySQL problems...

2002-01-01 Thread Pac mon
Uhm... I don't think so ... what I mean is if you access mysql directly from the mysql app then there are users and passwords. Most likely you have or at least *SHOULD* have a password set for the root user of MYSQL. When accessing the DB from PHP you in order to be able to run queries on a DB

Re: [PHP-WIN] MySQL problems...

2001-12-30 Thread Pac mon
My guess is that you have a password set for the root user in Mysql, but (from the error statement) I can see that a password was not sent to Mysql for verification. That being neccessary, of course. I believe David is referring the the exact variables in phpMyAdmin that would hold the value in

Re: [PHP-WIN] Re: Passing Logined in Name form One Form to other Page

2001-12-20 Thread Pac mon
HAHAHAHA...ok... sorry. First off.. RTFM guyz. Because it's obivious the manual hasn't been read I'm not going into great detail, but look up these functions I mention. Secondly. No need. Sessions automatically take care of cookies. session_register("thevariable"); tada.. every page will have

Re: [PHP-WIN] php warning messages

2001-12-13 Thread Pac mon
>From: Martin Lindhe <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: [PHP-WIN] php warning messages >Date: Thu, 13 Dec 2001 15:10:33 +0100 >MIME-Version: 1.0 >Received: from [66.150.5.56] by hotmail.com (3.2) with ESMTP id >MHotMailBDE2028B006D40043717429605380CA00

Re: [PHP-WIN] PHP 4.1.0 Win32 Error

2001-12-13 Thread Pac mon
You really SHOULD change the php.ini file. There ARE differences. The only error I encountered was a function not existing when it tried to load php4sapi.dll... My problem was simply that I forgot to copy php4ts.dll to the system32 directory. Other than that I've had no problems. Server info: w