RE: [PHP] Pagination Part 2

2003-03-13 Thread Ford, Mike [LSS]
> -Original Message- > From: conbud [mailto:[EMAIL PROTECTED] > Sent: 12 March 2003 19:12 > > > Hi, Ive been trying to get this to work but I keep getting this error > > Parse error: parse error, unexpected $ in > /home/conbud/nrlug/test3.php > on line 72 > > line 72 is just the endin

RE: [PHP] sessions garbadge

2003-03-13 Thread John W. Holmes
> My gc_maxlifetime = 3600 (1 hour) and my probability = 100 , just for > testing . When i create a session on my site and i dont log out , the > session var will still remain on the server , ok , after an hour (not > exactly an hour) , when i surf the site , the collector destroys that var > on >

RE: [PHP] session variables

2003-03-13 Thread John W. Holmes
> Is it wise or wrong to put long strings into a session variable ? Is it > better to keep the values short ? The more data you put into your session, the more data that has to be read and written to a file on your server each time someone accesses a page. More data is going to slow things down.

Re: [PHP] removing appended chars - solved!!! Thanks

2003-03-13 Thread Adriaan Nel
Thanks, I solved it "Adriaan Nel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks, I tried the trim function and it solves most of my problems, but I > still get duplicatesit's so weird, could any1 please just quickly > check through these lines of code and tell m

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread - Edwin
Hi, "Bev" <[EMAIL PROTECTED]> wrote: [snip] > I wanted to fixed sized cells and that when I type do not > increase/decrease the surronding cells.Can this be done? [/snip] Try having your with a fixed width as well: Ex. then with your columns: I think you also have to take no

Re: [PHP] removing appended chars - please help, quite urgent

2003-03-13 Thread Adriaan Nel
Thanks, I tried the trim function and it solves most of my problems, but I still get duplicatesit's so weird, could any1 please just quickly check through these lines of code and tell me if you see anything thats wrong The records in the dbase are uploaded with another php file, which

Re: [PHP] Threading objects

2003-03-13 Thread alex
As i rember apache can not handle a threading php ... if you whant threads you need to run php from command prompt in a linux/unix enviroment(windows dosen't support threads i I'm not wrong).Look for a threads project in PEAR(http://pear.php.net/). Hope it helps, Best regards, Alex. > Is it possib

[PHP] Is there any reason...

2003-03-13 Thread Leif K-Brooks
That replies on this list go to the person who originally posted the message by default? It seems to me that the reply-to header should be set to the list, or is it not possible with the mailing list system this list uses? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] include dosn't after Provider-Change - I have it!

2003-03-13 Thread Oliver Witt
After the Tip: You can't execute PHP from an HTML page. My guess is that your old provider had PHP parsing enabled for .html files, shich most don't. Now I have created an .htaccess in the home-folder with: AddType application/x-httpd-php .php .php4 .html It works... Thanxs! Olly -Ursprüng

Re: [PHP] PHP/HTML table layout?

2003-03-13 Thread Leif K-Brooks
This has absolutley nothing to do with PHP. I believe that it will stay if you set the width with CSS, but no promises. Bev wrote: Is there any simple way to stop the Cells of a Table from Moving, say for a simple table I want the first column to be always fixed at 100 pixels(col A) and the sec

[PHP] PHP/HTML table layout?

2003-03-13 Thread Bev
Is there any simple way to stop the Cells of a Table from Moving, say for a simple table I want the first column to be always fixed at 100 pixels(col A) and the second to be fixed at 500(col B). Thing is though, I have specified pixels for each column BUT they still let me type on past the fixed a

RE: [PHP] Re: Your script possibly relies on a session side-effect which existed until PHP 4.2.3

2003-03-13 Thread Niklas Lampén
LOL! :D -Original Message- From: Rudolf Visagie [mailto:[EMAIL PROTECTED] Sent: 13. maaliskuuta 2003 10:56 To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Your script possibly relies on a session side-effect which existed until PHP 4.2.3 I would have thought a genius would be able to spell

RE: [PHP] Re: Your script possibly relies on a session side-effect which existed until PHP 4.2.3

2003-03-13 Thread Rudolf Visagie
I would have thought a genius would be able to spell geniuses. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:46 AM To: chris; [EMAIL PROTECTED] Subject: Re: [PHP] Re: Your script possibly relies on a session side-effect which existed unti

Re: [PHP] include dosn't after Provider-Change

2003-03-13 Thread Leif K-Brooks
You can't execute PHP from an HTML page. My guess is that your old provider had PHP parsing enabled for .html files, shich most don't. Oliver Witt wrote: Hallo, after a Provider-Change my counter-script dosn't work again. My entry is: in an html-document. Is there an Error inside? My server

Re: [PHP] removing appended chars - please help, quite urgent

2003-03-13 Thread - Edwin
Hi, "Adriaan Nel" <[EMAIL PROTECTED]> wrote: > Do any1 know how I can check for spaces here, > and remove them if present http://www.php.net/manual/en/function.trim.php ? http://www.php.net/manual/en/function.rtrim.php ? http://www.php.net/manual/en/function.lrim.php ? - E __

[PHP] include dosn't after Provider-Change

2003-03-13 Thread Oliver Witt
Hallo, after a Provider-Change my counter-script dosn't work again. My entry is: in an html-document. Is there an Error inside? My server show no error-messages... Thanx for Help. Olly -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] removing appended chars - please help, quite urgent

2003-03-13 Thread Ernest E Vogelsinger
At 09:59 13.03.2003, Adriaan Nel said: [snip] >I need to update records in a mysql dbase, from a .csv file, everything >works fine, but the index column, $npr_nr from below sometimes has a space >at the end, this causes the dbase index not to match this one,

[PHP] removing appended chars - please help, quite urgent

2003-03-13 Thread Adriaan Nel
Hi every1, I need to update records in a mysql dbase, from a .csv file, everything works fine, but the index column, $npr_nr from below sometimes has a space at the end, this causes the dbase index not to match this one, therefore this record isn't updated. Do any1 know how I can check for spaces

Re: [PHP] Follow-up to Hacker problem

2003-03-13 Thread Ernest E Vogelsinger
At 23:42 12.03.2003, Pag said: [snip] > Your tips were nice, guys, thanks a lot. I tried a few things and i >decided to go for making all the checks server side, cant go safer than that. > Just have a doubt on one of the checks, at least so far.

[PHP] Re user Identifying

2003-03-13 Thread Peter Goggin
My site uses shopping baskets to record what the user wants to but. These records are stored in a database against the user. This requires the user to register and log onto the site. Is it possible to avoid this by the use of cookies or some other method? Is it possible to use both methods in p

Re: [PHP] Force refresh of graphic - how?

2003-03-13 Thread Ernest E Vogelsinger
At 23:33 12.03.2003, Justin French said: [snip] >Put this code in your shared library of functions (adapted from manual, >untested): >function randNumber($min=1000,$max=9) >{ >// build a seed >list($usec, $sec) = explode(' ', microtime()); >

[PHP] RE: what is session_name?

2003-03-13 Thread Uttam
it is the name of cookie variable which stores the unique session ID string. suppose you set session.name to SESSID in php.ini then a cookie variable named SESSID will be sent to client in which session ID string will be stored by client browser. If URL is used to propogate session variable then

Re: [PHP] php errors while displaying database fields

2003-03-13 Thread Ernest E Vogelsinger
At 23:30 12.03.2003, Boulytchev, Vasiliy said: [snip] >I have searched the archives, and have found nothing on these errors >I am getting. Here is the apache error logs capture: > >PHP Notice: Undefined index: REMOTE_ADDR in >/home/www/customflagcompan

Re: [PHP] how to force a refresh?

2003-03-13 Thread - Edwin
Or, just: ...if the same page. Note: "1" is the number of seconds... - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP] session variables

2003-03-13 Thread Shaun van den Berg
Hi, Is it wise or wrong to put long strings into a session variable ? Is it better to keep the values short ? Thanks Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our website: www.novtel.co.za -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] how to force a refresh?

2003-03-13 Thread - Edwin
> There is an HTML solution, but I can't remember offhand what it > is. http://where2go.after"; /> ? - E __ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- PHP General Mailing List (http://www.php.net/) To unsubscri

<    1   2   3