[PHP] Re: can't call htpasswd using PHP

2003-06-09 Thread HPS
more information in Red Hat 7.2, i was using PHP 4.1.2 while in Red Hat 8.0, it is PHP 4.2.2 thx a lot~ HPS Billy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dear all, i can't call the htpasswd command after i used RedHat 8 ( which i can do so in Red Hat 7.2) do u have any

RE: [PHP] status of current online users

2003-06-09 Thread Boaz Yahav
Display Users Online Based On Page Viewing http://articles.weberdev.com/ViewArticle.php3?ArticleID=254 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] stripping newlines from a string

2003-06-09 Thread Boaz Yahav
How to remove new line / CrLf from a string http://examples.weberdev.com/get_example.php3?count=3577 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Charles Kline [mailto:[EMAIL PROTECTED] Sent: Monday, June

RE: [PHP] Where to start?

2003-06-09 Thread Boaz Yahav
Try this : http://www.weberdev.com/index.php3?GoTo=search.php3%3Fcategory%3DEcommer ce%26searchtype%3Dcategory Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Simon Thurtle [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] Hi I get some problems while using eregi_replace

2003-06-09 Thread Boaz Yahav
Try these : A function that parses a string and replaces http://whatever with a link, and email addresses with a mailto link. This function was designed for the motd package. But will work freely on its own. http://examples.weberdev.com/get_example.php3?count=1235 How to change all of the

RE: [PHP] regexp for URL

2003-06-09 Thread Boaz Yahav
Try this : How to use regular expressions to get the list of links from an HTML page http://examples.weberdev.com/get_example.php3?count=1401 extract_links(); Extract all local links from a URL http://examples.weberdev.com/get_example.php3?count= Sincerely berber Visit

Re: [PHP] Re:[PHP] Re: What program do you use to Create PHP Application?

2003-06-09 Thread poetbox
hi, fongming£¡ What about HTML-KIT? === 2003-05-28 00:12:00 you wrote£º=== Yes, I also use PHPEd to program, I've been using it's free verison until now. I've been search another better, but PHPEd is the best for me after all. Fongming from Taiwan.

Re: [PHP] Re:[PHP] Re: What program do you use to Create PHP Application?

2003-06-09 Thread poetbox
hi, fongming£¡ table width=460 style=TABLE-LAYOUT:fixed;word-wrap:break-word border=1 bordercolor=black trtdpoetbox,this is the test11abcccff /table === 2003-05-28 00:12:00 you

[PHP] Checkboxes and put value in db

2003-06-09 Thread Frank Keessen
Hi, Maybe you can help me with the following: I have a list of visitors that want some documentation.. I'm displaying a list with a checkbox so i can check the one's that received the documentation. So what is must do; it must update a table called prospects and set the value of a field called

Re: [PHP] stripping newlines from a string

2003-06-09 Thread Charles Kline
Yes. Is weird. I thought this would work too, but for some reason it was not removing them all. I wonder if re-saving the files with UNIX linebreaks (or try DOS) would have any effect. Will report back. - Charles On Monday, June 9, 2003, at 02:24 AM, Joe Pemberton wrote:

Re: [PHP] stripping newlines from a string

2003-06-09 Thread Lars Torben Wilson
On Sun, 2003-06-08 at 22:44, Charles Kline wrote: Hi all, How would i go about stripping all newlines from a string? Thanks, Charles Something like this: ?php error_reporting(E_ALL); $str = This string has unix\n and Windows\r\n and Mac\r line endings.; $new_str =

Re: [PHP] stripping newlines from a string

2003-06-09 Thread Philip Olson
On Mon, 9 Jun 2003, Charles Kline wrote: Yes. Is weird. I thought this would work too, but for some reason it was not removing them all. I wonder if re-saving the files with UNIX linebreaks (or try DOS) would have any effect. Will report back. $str = str_replace (array(\r, \n), '', $str);

[PHP] post data?

2003-06-09 Thread HPS
Dear all, i am using PHP 4.2.2 with Red Hat 8.0 i had a form in form.php, which has a form like this input class=text type=text name=course_id size=10 maxlength=10 value= say, i enter 6 in the text box. After i click the submit button and i echo the value of course_id, it returned

RE: [PHP] project users manual howto

2003-06-09 Thread electroteque
if you dont mind an example would be nice the site is totally confusing of course i have read the documentation -Original Message- From: Armand Turpel [mailto:[EMAIL PROTECTED] Sent: Sunday, June 08, 2003 11:06 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] project users manual howto With

RE: [PHP] post data?

2003-06-09 Thread esctoday.com | Wouter van Vliet
What does your form tag look like? -Oorspronkelijk bericht- Van: HPS [mailto:[EMAIL PROTECTED] Verzonden: maandag 9 juni 2003 9:32 Aan: [EMAIL PROTECTED] Onderwerp: [PHP] post data? Dear all, i am using PHP 4.2.2 with Red Hat 8.0 i had a form in form.php, which has a form like this

RE: [PHP] Execute command which has root privileges

2003-06-09 Thread esctoday.com | Wouter van Vliet
Probably you should look over here for info about suexec http://httpd.apache.org/docs/suexec.html, or check the 'sudo' man pages... With that you could gain root privilages.. -Oorspronkelijk bericht- Van: vijaypatel [mailto:[EMAIL PROTECTED] Verzonden: maandag 9 juni 2003 6:06 Aan: [EMAIL

[PHP] Re: urldecode problem :(

2003-06-09 Thread Rosen
Thanks, But how can I understand when to decode string and when not ? Rosen Seairth Jacobs [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rosen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] HI, I'm using urldecode function to decode string from

[PHP] Sending output to audio device from PHP

2003-06-09 Thread Edwin Boersma
Hi, I have written an MP3 Jukebox server with PHP and MySQL, that runs on Linux server with Apache. To play music, I use the external program plaympeg from the SDL package. It works fine, but I cannot have any control over the player. To play the next song, I have to wait for the player to

[PHP] Good Hosting company

2003-06-09 Thread Awlad Hussain
anyone knows any good cheap hosting company in UK/US?? with good support. Many thanks awlad ___ Sheridan Phoenix Company The Business Centre Kimpton Road Luton Bedfordshire LU2 0LB Email: [EMAIL PROTECTED] Phone:

[PHP] Re: Good Hosting company

2003-06-09 Thread Dustin Pate
http://www.meubox.net is a good hosting company. Check out the prices, and if you would like to setup an account contact me at [EMAIL PROTECTED] Awlad Hussain [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] anyone knows any good cheap hosting company in UK/US?? with good support.

[PHP] Re: reading a file into variable for using in a javascript

2003-06-09 Thread Madhusudhana Rao Sunkara
you could try using file() or readfile(). while file reads the content of the file in to an array, readfile reads a file and writes it to the output buffer. - Madhu Charles Kline wrote: Hi all, I am reading the content of a text file into a variable to be used in a javascript. I am reworking

[PHP] No input file specified

2003-06-09 Thread Dave Hartburn
I'm running a couple of php scripts from the cgi-bin directory on Slackware linux 8.1, under apache 1.3.20. The most simple example of a script is: #!/usr/local/pkg/php4.3-withsnmp/bin/php ?php printf(Bob\n); ? If I install php-4.3.0, this will run fine, however compiling php-4.3.2 with the

Re: [PHP] post data?

2003-06-09 Thread HPS
the form tag is form action=syn2.php method=post onSubmit=return checkform(this); Thx! HPS Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What does your form tag look like? -Oorspronkelijk bericht- Van: HPS [mailto:[EMAIL PROTECTED]

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 Thomas and All, why are you using sql_query through your code? its mysql_query for mysql! 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?? Thanks Marcelo - Original

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 Janet, I dont have know how in php. I inserted the function mysql_error() in my code and it dont return any message! Thanks Marcelo This means that when you did: $result = mysql_query($sql); $result did not end up with a valid resource in it. Then, when you do the fetch row command

RE: [PHP] project users manual howto

2003-06-09 Thread electroteque
i'll make this a bit more clear i'm looking for tutorials or howtos on technical writing , and maybe structures of laying out technical documentation , phpdoc is for developer documentation , phat chance i'm gonna put user level documentation embedded into the comments of the scripts thats just

[PHP] categorise list

2003-06-09 Thread Awlad Hussain
I am dispalying data from mysql database using the codes below: $while($row=mysql_fetch_array($result)) { echo $row[name]; } How can i format the above data in this format as shown below? in alphabetical order A

[PHP] what is the OOP structure for PHP

2003-06-09 Thread See Kok Boon
Dear Experts, Is there an OOP (object oriented programming) structure for PHP? If so, could someone show me the basic structure of such an object? An exmple with definition and implementation would be great. Thanks! Yours sincerely, Mr See Kok Boon

[PHP] $HTTP_POST_VARS

2003-06-09 Thread Awlad Hussain
Whats the advantage (or shall i say disadvantage )of passing form variables to a function like shown below: function function_name($var,$var1,$var2) { } rather than passing the $HTTP_POST_VARS array to the fuction like: function function_name($HTTP_POST_VARS) { } Is any better than other?

[PHP] Yearbook script?

2003-06-09 Thread MIKE YRABEDRA
Anyone know of a good yearbook script? One that will show a listing of photos, that when clicked on, will bring up a page with more info on the individual? TIA ++ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop

RE: [PHP] Yearbook script?

2003-06-09 Thread John W. Holmes
Anyone know of a good yearbook script? One that will show a listing of photos, that when clicked on, will bring up a page with more info on the individual? I'm sure any gallery type script could be used for this. Just get one that allows comments for the pictures. Maybe adapt the commenting a

[PHP] condensing a list from MySQL

2003-06-09 Thread Tony Crockford
Hi all, not sure where to start with this. I have a keywords field in a mysql database - allows up to 100 characters of words seperated by spaces. at a late stage in the development process the client would now like a summary list of keywords that they've entered. I guess what I need to do is

Re: [PHP] $HTTP_POST_VARS

2003-06-09 Thread Àíòîí
Hi AH Whats the advantage (or shall i say disadvantage )of passing form variables to a function like shown below: AH function function_name($var,$var1,$var2) AH { AH } AH rather than passing the $HTTP_POST_VARS array to the fuction like: AH function function_name($HTTP_POST_VARS) AH { AH }

RE: [PHP] post data?

2003-06-09 Thread esctoday.com | Wouter van Vliet
in that case,.. I guess something is going wrong in your checkform javascript function .. probably you attach the name and value (by mistake) to eachother in there -Oorspronkelijk bericht- Van: HPS [mailto:[EMAIL PROTECTED] Verzonden: maandag 9 juni 2003 12:16 Aan: [EMAIL PROTECTED]

RE: [PHP] post data?

2003-06-09 Thread John W. Holmes
It's an Apache2 / PHP bug. Upgrade to the latest versions of each (although Apache2 and PHP are still not recommended). ---John W. Holmes... Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E PHP Architect - A monthly magazine for PHP Professionals. Get your copy today.

Re: [PHP] categorise list

2003-06-09 Thread Bas Jobsen
$letter=''; $while($row=mysql_fetch_array($result)) { if($letter!=$row[name][0]) { echo $row[name][0].'br'; $letter=$row[name][0]; } echo $row[name].'br'; } Op maandag 09 juni 2003 12:41, schreef u: I am dispalying data from mysql database using the codes below:

Re: [PHP] filter out with date?

2003-06-09 Thread A. Lyse
John W. Holmes [EMAIL PROTECTED] wrote Wouldn't it be smarter to only fill this array with items matching the date you want in the first place?? How? Anyhow...now you'll have to loop through each ingress Object and see if substr($obj-publisert,-2) matches the month you want. Dont know if I

RE: [PHP] condensing a list from MySQL

2003-06-09 Thread John W. Holmes
I have a keywords field in a mysql database - allows up to 100 characters of words seperated by spaces. at a late stage in the development process the client would now like a summary list of keywords that they've entered. I guess what I need to do is open each keyword field, extract the

Re: [PHP] $PHP_AUTH_USER question...

2003-06-09 Thread Wendell Brown
On Fri, 6 Jun 2003 11:36:51 +0100, [EMAIL PROTECTED] wrote: How can I get that to talk to $PHP_AUTH_USER? I'm not sure this is exactly what you want (actually, I'm pretty sure this is coming at it from the opposite end), but here is a way I used it for a very simple / low security situation. I

RE: [PHP] filter out with date?

2003-06-09 Thread John W. Holmes
Wouldn't it be smarter to only fill this array with items matching the date you want in the first place?? How? I don't know. You do create this array at some point, right? How do you do it? How do you create the date field in the ingress Object ? Whenever/However you're creating this list,

RE: [PHP] what is the OOP structure for PHP

2003-06-09 Thread John W. Holmes
Is there an OOP (object oriented programming) structure for PHP? If so, could someone show me the basic structure of such an object? An exmple with definition and implementation would be great. Thanks! http://us2.php.net/manual/en/language.oop.php ---John W. Holmes... Amazon Wishlist:

RE: [PHP] categorise list

2003-06-09 Thread John W. Holmes
I am dispalying data from mysql database using the codes below: $while($row=mysql_fetch_array($result)) { echo $row[name]; } How can i format the above data in this format as shown below? in alphabetical order A

RE: [PHP] Automatic Headers and Footers

2003-06-09 Thread Jay Blanchard
[snip] The reasonn for my difficult answer was because the criteria for his solution indicated that he did not want to modify the html pages themselves. Thus the above solution is invalid :| [/snip] I see what you are saying, but how much modification is too much? :) OK, another waythe HTML

RE: [PHP] Yearbook script?

2003-06-09 Thread Edward Peloke
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:\\www.peloke.webhop.org -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent:

[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

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 on a

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

[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

[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

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...:)

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] 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

[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 floundering a

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.

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 native

[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

[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: ?PHP class foo { static

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, June

[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

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 navigation..(I

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 wrong

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 PROTECTED]

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:

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! 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) , any

[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

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

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 loaded,

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 up

[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.

[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['$aantalvol'];

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 looking

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

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 need

[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] 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] 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

[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 this

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

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

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_start();

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

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. I

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] 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'];

[PHP] reading/writing the value of an UL/LI 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 UL/LI text value using the DOM model. I more or less can write to select/option attributes of the DOM. but I can't figure out how to write (or read) the text of a UL-LI attribute I'd like to be able to do

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 Subject: Re:

Re: [PHP] reading/writing the value of an UL/LI 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 UL/LI text value using the DOM model. I more or less can write to select/option attributes of the DOM. but I can't figure out how to write (or read) the text

[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, but

[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

[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,

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: [EMAIL

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

[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 same

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] 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

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

[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. ?php echo PRE; $arr1 = array(array(1 = 10), array(2 = 12), array(3 = 13), array(4 = 14), array(5 = 15), array(6 = 16),

[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

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. ?php echo PRE; $arr1 = array(array(1 = 10), array(2 = 12), array(3 = 13), array(4

  1   2   >