RE: [PHP] HTML and PHP

2003-06-09 Thread Jaap van Ganswijk
At 2003-06-04 15:59 -0400, Edward Peloke wrote: >you would have to use echo or print statements... Yes. After a while I stopped mixing PHP and HTML parts and started writing everything in PHP using echo and print statements. That way the code is much more regular and flexible. Greetings, Jaap

[PHP] if ($xxxxx) { function not working?

2003-06-09 Thread Ben Houlton
When I use the if ($xxx) fuction to use the web addresses function to call up a command it desnt work! All it does is come up with the command line with: }else { if (!id && !edit) { echo "blah blah blah"; } } I'm using PWS and localhost//HPPAV server. Please help! -- PHP

Re: [PHP] Is It Possible to Tell PHP To Output x Decimal Places Per Float?

2003-06-09 Thread Jaap van Ganswijk
At 2003-06-09 18:22 -0400, Dan Anderson wrote: >Is it possible to tell PHP when converting a number to a string (i.e. in >an echo or print command) to use x decimal places? > >Specifically, if I > > echo '$' . $some_price; >?> > >And some_price is $1.50, it outputs: > >$1.5 This should work: pr

[PHP] Re: Printing Issue

2003-06-09 Thread Jean-Christian Imbeault
Birdto wrote: Hi All, I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same heading in every page. How can I do this? Are you di

[PHP] Printing Issue

2003-06-09 Thread birdto
Hi All, I have a problem in printing database. I have drawn some data from the MySQL and print to A4 paper. When the data are more than 1 page, it has to print on other A4 paper. The problem is, I need the program to print the same heading in every page. How can I do this? Regards, Berthold --

Re: [PHP] php and flash chat program

2003-06-09 Thread Richard Baskett
Well there really is no way of knowing if they left their computer or not, or just shutdown their computer. The only way that I know of would be to use java, but that's not what you are using. Good luck! Rick A wise women once said: " No one can help everybody, but everybody can help somebody."

Re: [PHP] post data?

2003-06-09 Thread Rasmus Lerdorf
Well, this is how millions of people build PHP. It works pretty well. -Rasmus On Mon, 9 Jun 2003, Michael A Smith wrote: > Yes I know, but I've never been able to get it to work. I just followed > the instructions on the PHP site. > > -Michael > On Mon, 2003-06-09 at 10:34, Rasmus Lerdorf wrote

Re: [PHP] Detecting Bots...

2003-06-09 Thread Evan Nemerson
This should be helpful: http://www.robotstxt.org/wc/active/all.txt On Monday 09 June 2003 07:36 pm, Steven Kallstrom wrote: > Dear List, > > So $_SERVER['HTTP_REFERER'] gives us the User Agent... is there anyway > to determine if in general the User-Agent is a bot, or do I have to > check for a

Re: [PHP] PHP vs. jsp, advice please

2003-06-09 Thread DvDmanDT
Installing JSP isn't impossible, but it can be a true pain... At least on windows... There are lots of environiment variables to set (well, two at least), config files to edit, a directory structure to understand (this is probably way simplier than I currently think it is)... However, once you get

[PHP] Sendmail Problem

2003-06-09 Thread Uma Shankari T.
Hello, I am having some problem in sendmail using this code. $MP = "/usr/sbin/sendmail -t -f [EMAIL PROTECTED]"; i am running this program in one of the server not in the main server.. actually mail will go from this server to mainserver which will deliver the mails outside..but using th

RE: [PHP] .htaccess

2003-06-09 Thread John W. Holmes
> Just one question, is there any way that when a person logs in via the > htaccess popup that i can know via my php script...and can i also get his > username? Have you read the chapter on HTTP Authentication? No. Read the very first paragraph: "The HTTP Authentication hooks in PHP are only avai

Re: [PHP] PHP vs. jsp, advice please

2003-06-09 Thread Jean-Christian Imbeault
Joel Rees wrote: You might want to look around the jakarta projects and ask questions on some of those mailing lists. Thanks for the advice. I'll try that. But I *would* like to hear the opinions of PHP'ers too. I'm worried that by asking people on that list Ill get one-sided views. What do PHP

Re: [PHP] PHP vs. jsp, advice please

2003-06-09 Thread Joel Rees
> ... > Before I start my new project I am considering whether to use PHP again > or to switch to jsp. I'm worried that PHP won't scale well. And by > scaling I don't mean under heavy load, I mean maintenance wise :) I > can't imagine having to do a feature upgrade on a PHP project with more >

[PHP] Detecting Bots...

2003-06-09 Thread Steven Kallstrom
Dear List, So $_SERVER['HTTP_REFERER'] gives us the User Agent... is there anyway to determine if in general the User-Agent is a bot, or do I have to check for a specific bot... I want to strip out all GET information from the URL so that bots can crawl my site session free... Thanks, SJK -

[PHP] Re: fetch then put record?

2003-06-09 Thread Jean-Christian Imbeault
[reply to a personal email posted here for the benefit of all :)] > Are you sure you can't? Yes. > Could ASP do something that MySQL/SQL can't? You confusing apples and oranges ... ASP is not a database. You should be comparing ASP to PHP. So the short answer is PHP does not have an equivalen

[PHP] Re: working with sessions

2003-06-09 Thread Jean-Christian Imbeault
Your original post is below for thos who want to read it :) I see what you mean now. Off the top of my head I think a better approach would be this: - user logs in, his name and a timestamp are added to the list of active users - every time a user accesses a page on your list his timestamp is

RE: [PHP] Re: working with sessions

2003-06-09 Thread Matt Palermo
I am doing this, because I am making a text file with a list of all existing sessions. Then another page checks to see if all of these are still active and exist, and if not it will take action and remove the session id from the list. It goes along with the question I asked earlier about the Flas

[PHP] Re: working with sessions

2003-06-09 Thread Jean-Christian Imbeault
Matt Palermo wrote: My question is can I search the session folder for: cf4c4f6a8cffaf3334df48b6ea1d55e4 (or any other session id) to see if that session still exists and is active, or if it is gone and doesn't exist anymore? Can this be done? Please let me know if you have any thoughts. It ca

RE: [PHP] php and flash chat program

2003-06-09 Thread Matt Palermo
I realize that this can be done, but I would like to make it as instant as possible. I don't want to wait very long for the user to be removed from the online users list. Got any other ideas? Thanks. Matt -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED] Sent: Monday,

[PHP] working with sessions

2003-06-09 Thread Matt Palermo
I was wondering if there is a way to tell if a session exists or not. For example, have a system where people login and it starts a session like: sess_cf4c4f6a8cffaf3334df48b6ea1d55e4 If the user logs out or the session is destroyed, then it won't exist anymore. I know you can use the session_

[PHP] Re: fetch then put record?

2003-06-09 Thread Jean-Christian Imbeault
Steve B. wrote: Hello, In ASP you can set records fields then call a dbupdate function. There is no such function in PHP. It appears mysql only supports update with the UPDATE query? Huh ... MySQL is a database. It understands SQL. dbupdate() is an ASP function ... don't blame MySQL if it doesn't

[PHP] fetch then put record?

2003-06-09 Thread Steve B.
Hello, In ASP you can set records fields then call a dbupdate function. It appears mysql only supports update with the UPDATE query? Here is my code: How would you do a dbrec.update (which updates just the row you changed with the variables) thanks Steve __ Do

[PHP] .htaccess

2003-06-09 Thread Ryan A
Hi, Just one question, is there any way that when a person logs in via the htaccess popup that i can know via my php script...and can i also get his username? Thanks, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP vs. jsp, advice please

2003-06-09 Thread Jean-Christian Imbeault
I've just finished a big PHP project and I'm about to start a new project. I've had both fun and pain with PHP. The new project would be another one of those database driven online store kind-of things for a somewhat large company. Before I start my new project I am considering whether to use P

[PHP] Want to move M$Access frontend to PHP/MYSQL. Need suggestions...

2003-06-09 Thread Apollo (Carmel Entertainment)
I want to move my Microsoft Access based front end (back end is already on MySQL/Linux) to PHP. MSAccess does have some forms that have VBscript in the, but I think I can figure other ways to do that.I am not a wizard with PHP, so I would interested in finding some open source apps, or something li

Re: [PHP] solved Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Kevin Stone
- Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 4:21 PM Subject: [PHP] solved Re: [PHP] sessions, IE and pop-up windows > On Mon, Jun 09, 2003 at 03:56:28PM -0600, Kevin Stone wrote: > > I still believe what's happenin

[PHP] Re: howto write a DOS file output into a file...

2003-06-09 Thread Ferhat BINGOL
I go with run.exe > out.txt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] howto write a DOS file output into a file...

2003-06-09 Thread John W. Holmes
> When I use my system command in PHP I can run a old EXE file. It makes an > output and output is automaticly printing on the web browser. I wanna save > this output at the same time into a txt. > > Anyone knows howto do it? Use backticks to capture the output... $output = `old.exe`; Note that

Re: [PHP] Is It Possible to Tell PHP To Output x Decimal Places PerFloat?

2003-06-09 Thread Lars Torben Wilson
On Mon, 2003-06-09 at 15:22, Dan Anderson wrote: > Is it possible to tell PHP when converting a number to a string (i.e. in > an echo or print command) to use x decimal places? > > Specifically, if I > >echo '$' . $some_price; > ?> > > And some_price is $1.50, it outputs: > > $1.5 > > Tha

[PHP] 2 Questions Re: Anonymous Functions

2003-06-09 Thread Timothy Boronczyk
I'm extracting a list of items from an XML document using PHP. The desired items are the attributes of different occurances of a specific element within the document; the code will not need a callback for character data or for closing tags. $list = new Array(); function start_tag($p_id, $element

RE: [PHP] Is It Possible to Tell PHP To Output x Decimal Places Per Float?

2003-06-09 Thread John W. Holmes
> Is it possible to tell PHP when converting a number to a string (i.e. in > an echo or print command) to use x decimal places? Yes, it is. > Specifically, if I > >echo '$' . $some_price; > ?> > > And some_price is $1.50, it outputs: > > $1.5 > > Thanks in advance, You're welcome. ---

[PHP] Rather unrelated

2003-06-09 Thread Thomas Hochstetter
Hi guys, sorry that i am asking this rather non-php question here. I know how anoying it is to get these unrelated mails ... it might just have to do with the apache ... or whatever: [problem] if i declare in an external stylesheet the scrollbar-track-color to be whatever, it does not show. even if

Re: [PHP] solved Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Jason k Larson
*woot!* :) I love being right. ;) -- Jason k Larson Emma Jane Hogbin wrote: What ended up working was passing the session ID to the pop-up window "manually" by including it in the function (and thus the URL). emma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Is It Possible to Tell PHP To Output x Decimal Places Per Float?

2003-06-09 Thread Dan Anderson
Is it possible to tell PHP when converting a number to a string (i.e. in an echo or print command) to use x decimal places? Specifically, if I And some_price is $1.50, it outputs: $1.5 Thanks in advance, Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] solved Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 03:56:28PM -0600, Kevin Stone wrote: > I still believe what's happening is the edit script is being executed before > the parent script has died. Are you doing some kind of looping background > process or something that's keeping the parent script from exiting? No. In fact

RE: [PHP] PHP using Linter...

2003-06-09 Thread Ralph
What is Linter? -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 2:43 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP using Linter... Hi Everyone! Have anyone here ever use the Linter software? What is your opinion on this? Have anyone expe

RE: [PHP] Cook Book Script

2003-06-09 Thread electroteque
this is easy i say do it yourself , when u get them to add the entries store their userID in a session variable and add that userID value to a column in the recipes table -Original Message- From: Wendell Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 7:59 AM To: [EMAIL PROTEC

Re: [PHP] php and flash chat program

2003-06-09 Thread Richard Baskett
What I normally do in these situations is have two fields separated by tabs or commas or whatever you want. The first field is the username and the second field is a timestamp. The timestamp can be updated every time the user writes a message, since Im sure you are logging also.. or after, say a

[PHP] Bitwise flagging in mysql database

2003-06-09 Thread Mike Mannakee
I have a script that is collecting a bunch of information, and storing this in a database. However, the rows are kinda big and I'm thinking of packing the information into flag bits, and storing this information in one string in the database. I'm wondering if I should use mysql's bitwise operator

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 03:23:16PM -0600, Jason k Larson wrote: > or a little better: > $thisSession = Session_Name().'='.Session_ID(); > openEdit("add=event&cellid=10&"); This plus a reboot did the trick, THANKYOU!! > Then of course the editsmall.php must still do a session_start somewhere. Alr

[PHP] Cook Book Script

2003-06-09 Thread Wendell Brown
I'm looking for a cook book script. I've googled for it, looked in php.resourceindex.com and hotscripts but I haven't found one that does what I'm looking for. Here's what I'm shooting for. 1) User ID registration - need to be able to have users "own" recipes and cookbooks. 2) Allow users to

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Kevin Stone
- Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 2:32 PM Subject: Re: [PHP] sessions, IE and pop-up windows > On Mon, Jun 09, 2003 at 02:27:50PM -0600, Kevin Stone wrote: > > I'll bet you're using an onLoad command to l

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Marcelo Luiz de Laia
Hi Philip and Thomas and All. Thanks very much for yours helps. I am Brazillian and I speak in portuguese, for this, I am sorry very much for my bad english. After a long time, my code works very good! But, I dont understand what was the problem! My code was: $result = sql_query("select catego

Re: [PHP] Question about current() and key()

2003-06-09 Thread Lars Torben Wilson
On Mon, 2003-06-09 at 14:38, Jim Lucas wrote: > Does anybody know any benifits to using current() and key() See below: > I will show two examples of what I mean. > > > echo ""; > > $arr1 = array(array(1 => 10), > array(2 => 12), > array(3 => 13), > ar

[PHP] PHP using Linter...

2003-06-09 Thread Scott Fletcher
Hi Everyone! Have anyone here ever use the Linter software? What is your opinion on this? Have anyone experienced compiling Apache/PHP with Linter and was it easy to use? Have anyone experienced writing a PHP script to access the Linter? All of those questions, is it giving you a headache

[PHP] Question about current() and key()

2003-06-09 Thread Jim Lucas
Does anybody know any benifits to using current() and key() I will show two examples of what I mean. "; $arr1 = array(array(1 => 10), array(2 => 12), array(3 => 13), array(4 => 14), array(5 => 15), array(6 => 16),

Re: [PHP] Re: move_uploaded_file > 1MB

2003-06-09 Thread Maurício Valente
Another thing a noticed was that when I comment the line wich uploads the file, it still give me the same error, saying server was not found. I think, maybe, the amount of memory enabled for each object of the form is limited by 1Mb. I got that idea because I use the following script: print "pat

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Jason k Larson
Try adding the SessionID to the URL. openEdit("add=event&cellid=10&"); or a little better: $thisSession = Session_Name().'='.Session_ID(); openEdit("add=event&cellid=10&"); Then of course the editsmall.php must still do a session_start somewhere. -- Jason k Larson Emma Jane Hogbin wrote: On Mon,

[PHP] php and flash chat program

2003-06-09 Thread Matt Palermo
Hey, I need some advice if anyone is willing to offer it. I have a chat program I am working on. The interface is built in flash, and it uses PHP also. There is a main chat area where the users type their messages back and forth, and there is also a smaller area which displays all of the current

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 02:27:50PM -0600, Kevin Stone wrote: > I'll bet you're using an onLoad command to launch the popup aren't you. Use > Output Buffering to keep stdout from flushing before the parent script dies. > If my assumption about onLoad is correct then that'll solve your problem. Um

[PHP] Re: howto write a DOS file output into a file...

2003-06-09 Thread R'twick Niceorgaw
look at ob_start() function. HTH R'twick "Ferhat Bingol" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > When I use my system command in PHP I can run a old EXE file. It makes an > output and output is automaticly printing on the web browser. I wanna save > this output at the

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Kevin Stone
- Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 1:08 PM Subject: Re: [PHP] sessions, IE and pop-up windows > On Mon, Jun 09, 2003 at 09:26:45PM +0200, winst0n wrote: > > Hi, try to write a @session_start(); in ur popup

Re: [PHP] Another Session Question

2003-06-09 Thread CPT John W. Holmes
So does your code work? Here's a tip: Try a simple example, like what's in the manual, and see which method works for you. If they both work, which one do you understand? Use that one... ---John Holmes... - Original Message - From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> To: <[EMAI

[PHP] howto write a DOS file output into a file...

2003-06-09 Thread Ferhat BINGOL
Hi, When I use my system command in PHP I can run a old EXE file. It makes an output and output is automaticly printing on the web browser. I wanna save this output at the same time into a txt. Anyone knows howto do it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Another Session Question

2003-06-09 Thread Pushpinder Singh Garcha
Hello all, I have php ver 4.1.1 running with register_globals() ON on my site. I am trying to use sessions to maintain state during a visit to the site. I have read thru the manual, but my mind is still cluttered with doubts. I understand that use of the $_SESSION global array will greatly ad

[PHP] Re: access a static variable of a class

2003-06-09 Thread Esteban Fernández
Do you try with the "global" sentence ? . . . global $conf; $var = 'foo'; echo $var::$conf ; ?> EF. On Mon, 09 Jun 2003 18:34:33 -0200 [EMAIL PROTECTED] (Aberindei) wrote: > Hello, > > One line to say this is my first post here, I thought about posting in > php-general,

Re: [PHP] reading/writing the value of an / text value

2003-06-09 Thread Leif K-Brooks
This has nothing to do with PHP! Bruce Douglas wrote: Hi. I have a question regarding the DOM model. Does anyone know how to write to the / text value using the DOM model. I more or less can write to / attributes of the DOM. but I can't figure out how to write (or read) the text of a - attribute

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Dear all, Fixed it! Typed again the Header syntax and it worked! Also installed Mozilla! Thanks for the help! Frank - Original Message - From: "Frank Keessen" <[EMAIL PROTECTED]> To: "Emma Jane Hogbin" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 8:59 PM Subjec

[PHP] reading/writing the value of an / text value

2003-06-09 Thread Bruce Douglas
Hi. I have a question regarding the DOM model. Does anyone know how to write to the / text value using the DOM model. I more or less can write to / attributes of the DOM. but I can't figure out how to write (or read) the text of a - attribute I'd like to be able to do something like: echo"

Re: [PHP] Session not working?

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 09:01:49PM +0200, Frank Keessen wrote: > The orignal code was in the first mail; again; > $_REQUEST["submit"]=isset($_REQUEST["submit"])?$_REQUEST["submit"]:""; > if($_REQUEST['submit']!="") > { > $dater=$_POST['$dater']; > $aantalvol=$_POST['$aantalvol']; > $aantalkind=$_PO

Re: [PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 09:26:45PM +0200, winst0n wrote: > Hi, try to write a @session_start(); in ur popup windows... it will call the > last session opened by the client. I already do thatboth the parent and the main window call a file which has the session_start in it. I believe the problem

Re: [PHP] condensing a list from MySQL

2003-06-09 Thread Pavel Janda
> How about just fixing this so it'll be easier in the future? You should > have a separate table where each "keyword" is in it's own row, with or > without duplicates (depends if you want a "count" of how often the > keyword is used), and an ID relating back to the "article" or whatever > you have

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Hi, The original code: - Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 8:49 PM Subject: Re: [PHP] Session not working? > On Mon, Jun 09, 2003 at 08:18:10PM +0200, Frank Keessen wrote: > > It's pointing towards the bo

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Hi, The orignal code was in the first mail; again; $_REQUEST["submit"]=isset($_REQUEST["submit"])?$_REQUEST["submit"]:""; if($_REQUEST['submit']!="") { $dater=$_POST['$dater']; $aantalvol=$_POST['$aantalvol']; $aantalkind=$_POST['$aantalkind']; $aantalvol=addslashes($_POST['aantalvol']); session

Re: [PHP] how to count memory used by a script

2003-06-09 Thread Philip Olson
On Mon, 9 Jun 2003, Peter Berglund wrote: > How do I count the memory usage of a script/page. As of 4.3.2, if you compile PHP with --enable-memory-limit you may use memory_get_usage(). This is documented and will show up when the next PHP manual is built. Regards, Philip -- PHP General Mail

Re: [PHP] Session not working?

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 08:18:10PM +0200, Frank Keessen wrote: > It's pointing towards the booking.php > (which is the 'sender' page..) > Exact error message: The Page cannot be displayed.. > So it's no 404.. I think.. Ah. So it's not even moving off the original page... I don't have your original

[PHP] Re: Little help

2003-06-09 Thread Pavel Janda
I've just visited your web from Czech rep... Does your script work OK? :o)) Pavel "Mike Mannakee" <[EMAIL PROTECTED]> pí¹e v diskusním pøíspìvku news:[EMAIL PROTECTED] > Hi, I have a script that records the languange and time zone of every user > that comes to the site. Currently I am testing th

[PHP] PHP/Apache - Problem with REMOTE_USER var.

2003-06-09 Thread Pavel Janda
Hello everyone, I have installed apache and PHP (using Windows :o(() on two computers, where httpd.conf and php.ini seem to be same. But, on one mashine is variable REMOTE_USER working well and on the second it is empty all the time, however apache auth.-function works well on both of them. (The c

Re: [PHP] Session not working?

2003-06-09 Thread Leif K-Brooks
Use a browser that displays errors properly, like Mozilla. Frank Keessen wrote: Hi, It's pointing towards the booking.php (which is the 'sender' page..) Exact error message: The Page cannot be displayed.. So it's no 404.. I think.. Frank - Original Message - From: "Emma Jane Hogbin"

[PHP] how to count memory used by a script

2003-06-09 Thread Peter Berglund
How do I count the memory usage of a script/page. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] post data?

2003-06-09 Thread Rasmus Lerdorf
On Mon, 9 Jun 2003, Michael A Smith wrote: > Get Apache 1.3.27 (I think). and PHP. Follow the instructions on the PHP > site! I found that those are the only one's I could get to work. Any PHP > version using --with-apxs=/usr/local/apache I couldn't get to work. Also > take a look at what you'll ne

Re: [PHP] Session not working?

2003-06-09 Thread Frank Keessen
Hi, It's pointing towards the booking.php (which is the 'sender' page..) Exact error message: The Page cannot be displayed.. So it's no 404.. I think.. Frank - Original Message - From: "Emma Jane Hogbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 09, 2003 8:10 PM S

Re: [PHP] Session not working?

2003-06-09 Thread Emma Jane Hogbin
On Mon, Jun 09, 2003 at 08:08:18PM +0200, Frank Keessen wrote: > I get page not be displayed... > Even with the full URL in the HEADER section it doesn't work.. What's the URL of the page it's trying to find? i.e. what does the location bar on your browser say? Is it the right URL, or is it lookin

[PHP] Session not working?

2003-06-09 Thread Frank Keessen
Hi, I'm I missing something? I'm trying to get data into a session (booking.php) and then print it off by a second page (test3.php). booking.php: $_REQUEST["submit"]=isset($_REQUEST["submit"])?$_REQUEST["submit"]:""; if($_REQUEST['submit']!="") { $dater=$_POST['$dater']; $aantalvol=$_POST['$aan

[PHP] sessions, IE and pop-up windows

2003-06-09 Thread Emma Jane Hogbin
I'm working on a Calendar script right now that uses sessions. When a user clicks on the "edit" button a pop-up window appears so that the full calendar is still available along with the new event that's being editted. It works fine in Mozilla but in IE the pop-up window appears to log out the user

Re: [PHP] Automatic Headers and Footers

2003-06-09 Thread Paul Chvostek
On Mon, Jun 09, 2003 at 12:26:24PM -0500, Wendell Brown wrote: > > > >OK, another waythe HTML could be read into a page (fopen()) > >containing the header/footer stuff. You'd have to deal with > >identification of which page you want loaded, but shouldn't be too hard. > > Here is what I ended

RE: [PHP] Automatic Headers and Footers

2003-06-09 Thread Wendell Brown
On Mon, 9 Jun 2003 07:21:45 -0500, Jay Blanchard wrote: >I see what you are saying, but how much modification is too much? :) > >OK, another waythe HTML could be read into a page (fopen()) >containing the header/footer stuff. You'd have to deal with >identification of which page you want load

RE: [PHP] Yearbook script?

2003-06-09 Thread Edward Peloke
not based off anything...wrote it -Original Message- From: MIKE YRABEDRA [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 9:38 AM To: PHP List Subject: Re: [PHP] Yearbook script? on 6/9/03 8:58 AM, Edward Peloke at [EMAIL PROTECTED] wrote: What script is this based off? > I agre

[PHP] Little help

2003-06-09 Thread Mike Mannakee
Hi, I have a script that records the languange and time zone of every user that comes to the site. Currently I am testing this and need some people to just surf a couple pages in the site, from around the world. If you don't mind, please just see a page or two on this site. It doesn't matter any

Re: [PHP] post data?

2003-06-09 Thread Rasmus Lerdorf
Apache-1.3.x with whatever version of PHP you want. -Rasmus On Tue, 10 Jun 2003, Billy wrote: > Thx a lot John. > > Red Hat 8.0 is bundled with Apache 2 + php 4.2 > if i needed to use Red Hat 8.0, except upgrading both program to the latest > version (which as u saidnot recommended) ,

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not avalid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Philip Olson
On Mon, 9 Jun 2003, Thomas Seifert wrote: > On Mon, 9 Jun 2003 07:35:16 -0300 [EMAIL PROTECTED] (Marcelo Luiz De Laia) wrote: > > > I use phpnuke and it have a sql_layer.php. You are correct, for mysql is > > mysql_query. But this dont is the problem, I change it and the problem > > continue! > >

RE: [PHP] IE Pagelength issue

2003-06-09 Thread Larry Brown
I found the problem. The script was creating each table within the previous table. Apparently there is a limit of 25 nested levels for IE. I separated each table and it loads all of them ok. Thanks John, Larry S. Brown Dimension Networks, Inc. (727) 723-8388 -Original Message- From: L

Re: [PHP] post data?

2003-06-09 Thread Billy
Thx a lot John. Red Hat 8.0 is bundled with Apache 2 + php 4.2 if i needed to use Red Hat 8.0, except upgrading both program to the latest version (which as u saidnot recommended) , any other combination of apache + php do u recommend? thx a lot! HPS "John W. Holmes" <[EMAIL PROTECTE

Re: [PHP] post data?

2003-06-09 Thread Billy
wouter, the checkform should be alright, coz i had been using Redhat 7.2+apache 1.3 + php 4.1.2 for a year and the program is working very good thx a lot! HPS "Esctoday.Com | Wouter Van Vliet" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???... > in that case,.. I guess something is going wro

RE: [PHP] Mutile select search engine

2003-06-09 Thread John W. Holmes
> I have a advance search page, similar to this > http://www.shaadi.com/partner_search/matrimonial_search/advancedmarriage se > arch.php (mine on local server). > > I can create the sql statement for it ...the only problem i have is > passing the all variables from page to page in record navigatio

[PHP] Mutile select search engine

2003-06-09 Thread Awlad Hussain
I have a advance search page, similar to this http://www.shaadi.com/partner_search/matrimonial_search/advancedmarriagesearch.php (mine on local server). I can create the sql statement for it ...the only problem i have is passing the all variables from page to page in record navigation..(I use f

Re: [PHP] Good Hosting company

2003-06-09 Thread Frank Keessen
Hi, you can go to www.3shost.com very cheap and very good! My collegue's have their website running their.. Due to some specific settng's i'm hosting in the Netherlands.. Regards, Frank - Original Message - From: "Awlad Hussain" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday,

[PHP] access a static variable of a class

2003-06-09 Thread aberindei
Hello, One line to say this is my first post here, I thought about posting in php-general, but ZE2 is in development, so... I want to access a static variable of a class, but I CANNOT use directly the class name, so class name is in a variable. To be clear: class foo { static $conf =

[PHP] difference twixt mod_php_memory_usage and top size/res

2003-06-09 Thread Eric Gehner
I'm trying to get reliable values for memory usage on my php scripts, some of which are making big pdfs using PDFlib. I've set up a CustomLog in my apache config file using the PHP memory usage note to apache and I'm trying to understand the discrepancies between the peak memory usage value logged

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not avalid MySQL result resource in f:\.....\none.php on line 286

2003-06-09 Thread Thomas Seifert
On Mon, 9 Jun 2003 07:35:16 -0300 [EMAIL PROTECTED] (Marcelo Luiz De Laia) wrote: > I use phpnuke and it have a sql_layer.php. You are correct, for mysql is > mysql_query. But this dont is the problem, I change it and the problem > continue! > > Any tip?? I think you are mixing the layer and nat

RE: [PHP] SAFE MODE Restriction in effect

2003-06-09 Thread Ben Edwards
Changed it to dir but not made any difference. I have root access to the server so could change php.ini. However ; Safe Mode ; safe_mode = Off ; By default, Safe Mode does a UID compare check when ; opening files. If you want to relax this to a GID compare, ; then turn on safe_mode_gid. safe_mo

[PHP] Re: This is NOT the right place to ask this but I am desperate

2003-06-09 Thread Mike Mannakee
http://127.0.0.1:8080 "Simon Thurtle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I know this is not the right group to this but I am desperate. I have just > got Apache and I am a total newbie to Apache and to playing with servers, so > as u can imagine I am flounde

RE: [PHP] SAFE MODE Restriction in effect

2003-06-09 Thread Ben Edwards
$dp = opendir( $currdir ); Basically it seems like I need to turn 'SAFE MODE' off but I dont really know what it it or how to turn it off. In fact I am not sure where the config file is on a *nix box or what is it called. Ben At 15:58 09/06/2003 +0200, winst0n wrote: what does the line

Re: [PHP] This is NOT the right place to ask this but I am desperate

2003-06-09 Thread Ryan A
Hi, Apache is a fantastically written server/program, thats why it has its own mailing list. why not write there? You will get a lot more answers to the point plus you wont bug others on this list. Cheers, -Ryan - Original Message - From: "Simon Thurtle" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [PHP] Yearbook script?

2003-06-09 Thread MIKE YRABEDRA
on 6/9/03 8:58 AM, Edward Peloke at [EMAIL PROTECTED] wrote: What script is this based off? > I agree, this would be like most gallery type pages... > > I also did a small demo page for a used vehicle dealership that could be > usedyou just substitute the people for the cars...:) > > http

[PHP] SAFE MODE Restriction in effect

2003-06-09 Thread Ben Edwards
Getting the below error from a php site I am developing. I am using a new server so I guess it is a php configuration thing, but how do I fix it. Ben Warning: SAFE MODE Restriction in effect. The script whose uid is 510 is not allowed to access /home/virtual/site4/fst/var/www/html/test owned b

[PHP] Creating Images

2003-06-09 Thread Chris Blake
Greetings learned PHP(eople), I am using the code below to create buttons based on entries that are inserted into a text field from the preceding page. I got this code from my trusty tome "PHP and MySQL Web Development" by Luke Wellign/Laura Thomson. Problem is this : If I type in more than 18

Re: [PHP] This is NOT the right place to ask this but I am desperate

2003-06-09 Thread bbonkosk
Run 'ipconfig' from a command prompt to get your IP address. (or as mentioned, localhost will work) -Brad > Hi all, > > I know this is not the right group to this but I am desperate. I have just > got Apache and I am a total newbie to Apache and to playing with servers, so > as u can imagine I am

Re: [PHP] This is NOT the right place to ask this but I am desperate

2003-06-09 Thread Randum Ian
Have you tried typing "localhost"? > Hi all, > > I know this is not the right group to this but I am desperate. I have > just got Apache and I am a total newbie to Apache and to playing with > servers, so as u can imagine I am floundering a tad at the mo!! I have > set-up and cofig'd apache 2.0.46

[PHP] This is NOT the right place to ask this but I am desperate

2003-06-09 Thread Simon Thurtle
Hi all, I know this is not the right group to this but I am desperate. I have just got Apache and I am a total newbie to Apache and to playing with servers, so as u can imagine I am floundering a tad at the mo!! I have set-up and cofig'd apache 2.0.46 on a Windows XP machine on a LAN with ADSL net

  1   2   >