RE: [PHP] cookies malfunctioning moving from windows to linux

2004-05-29 Thread Ryan Schefke
I don't think that is it. I believe session.save_path is only for sessions, not cookies. I'm only using cookies in the application. Can someone please help? Thanks, Ryan -Original Message- From: Daniel Clark [mailto:[EMAIL PROTECTED] Sent: Saturday, May 29, 2004 5:55 PM To: Php-Gener

Re: [PHP] Text file wont' have newlines?

2004-05-29 Thread Ashwin Purohit
Ok, thanks much! It works now. Needs a new line and return. fwrite($fp, ($credit . "\n\r") ); >>Hi everybody, >> >>I have this script in a file that allows users to upload files, and I want >>to know who submitted what so I write $userfile_name and $credit1(their >>name) to CREDIT.txt in the same

[PHP] Link Management Software

2004-05-29 Thread Matt Palermo
Hey everyone. I just wanted to say thank you to everyone who has helped me out with various questions on here. I appreciate your help. I have just finished the first version a new PHP script called TotalLinker. This is a link management submission/management systems and has many more built in f

Re: [PHP] CVS web front end

2004-05-29 Thread Brian V Bonini
On Sat, 2004-05-29 at 15:01, Johan Holst Nielsen wrote: > Lists wrote: > > > <> > > > > you're so right. I meant to send the link for horde > > > > http://www.horde.org/chora/ > > Are you able to check out files? check in etc.? > As far as I can see - it is just a web cvs viewer? > > The reque

RE: [PHP] CVS web front end

2004-05-29 Thread Brian V Bonini
On Sat, 2004-05-29 at 13:49, lists wrote: > tortoise is nice > > http://www.tortoisecvs.org/ So is Cervisia but not sure what that has to do with the original question... ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text file wont' have newlines?

2004-05-29 Thread Daniel Clark
Needs a new line and return. fwrite($fp, ($credit . "\n\r") ); >>Hi everybody, >> >>I have this script in a file that allows users to upload files, and I want >>to know who submitted what so I write $userfile_name and $credit1(their >>name) to CREDIT.txt in the same directory like so : >> >>$cr

[PHP] RewriteUrl + open_basedir

2004-05-29 Thread Markus Post
Hello everybody, I want to use RewriteUrl and open_basedir-restriction in a virtual host-directive together. 1) RewriteUrl DocumentRoot /srv/www RewriteRule ^/(.*)/(.*)$/$1/$2 This redirects the request http://domain.de/dir1/dir2 to the local files /srv/www/dir1/dir2/ and works

Re: [PHP] Text file wont' have newlines?

2004-05-29 Thread Torsten Roehr
"Ashwin Purohit" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi everybody, > > I have this script in a file that allows users to upload files, and I want > to know who submitted what so I write $userfile_name and $credit1(their > name) to CREDIT.txt in the same directory like so :

[PHP] Text file wont' have newlines?

2004-05-29 Thread Ashwin Purohit
Hi everybody, I have this script in a file that allows users to upload files, and I want to know who submitted what so I write $userfile_name and $credit1(their name) to CREDIT.txt in the same directory like so : $credit = $userfile_name.': '.$credit1."\n"; $fp = fopen('CREDIT.txt','a'); fwr

Re: [PHP] cookies malfunctioning moving from windows to linux

2004-05-29 Thread Daniel Clark
Apache must have read and write privs on the tmp directory. >>Hi, I developed a Poll system that uses cookies. It works fine under Windows >>(Apache and MySQL), but it does not work properly under Linux. - I >>transitioned my site from my windows based server to a linux machine. >> >>Cookies does

[PHP] cookies malfunctioning moving from windows to linux

2004-05-29 Thread Ryan Schefke
Hi, I developed a Poll system that uses cookies. It works fine under Windows (Apache and MySQL), but it does not work properly under Linux. - I transitioned my site from my windows based server to a linux machine. Cookies does not work properly when I use the system under Linux (Apache and MySQL).

RE: [PHP] CVS web front end

2004-05-29 Thread lists
ah, well I sent the tortoise link because that's what I use to check in/out files but it's a local application and you're right, chora is a web browser, not checkin/out. i wasn't paying close enough attention to the request. Sorry. I don't know that there is a web-based check in/out system. It see

Re: [PHP] How to obtain MAC address of server where PHP is running

2004-05-29 Thread Andrei Verovski (aka MacGuru)
Hi, Gerard, Thanks a lot ! On Saturday 29 May 2004 08:09 pm, Gerard Samuel wrote: > On Saturday 29 May 2004 12:35 pm, Andrei Verovski (aka MacGuru) wrote: > > Hi, Gerard, > > > > Can you please be so kind to post your code snippet you have described > > below? > > > ob_start(); > > passthru('/sb

Re: [PHP] CVS web front end

2004-05-29 Thread Johan Holst Nielsen
Lists wrote: <> you're so right. I meant to send the link for horde http://www.horde.org/chora/ Are you able to check out files? check in etc.? As far as I can see - it is just a web cvs viewer? The request was "Not just a file/project browser..." Anyway - thanks for the link to tcvs :D I have down

[PHP] Re: PHP Coding Standards

2004-05-29 Thread Michael Nolan
charles kline wrote: Hi all, I was having a conversation with a friend and talking about coding standards in the open source community (focusing on PHP). I seem to remember there being a document out there that sort of laid it out pretty well. Anyone know where I might find a copy? PEAR has a p

RE: [PHP] CVS web front end

2004-05-29 Thread lists
<> you're so right. I meant to send the link for horde http://www.horde.org/chora/ chris http://www.semioticpixels.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CVS web front end

2004-05-29 Thread Johan Holst Nielsen
Lists wrote: tortoise is nice http://www.tortoisecvs.org/ As far as I can see, it have nothing to do with an web frontend? -- Johan Holst Nielsen Freelance PHP Developer http://phpgeek.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CVS web front end

2004-05-29 Thread lists
tortoise is nice http://www.tortoisecvs.org/ -chris http://www.semioticpixels.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to obtain MAC address of server where PHP is running

2004-05-29 Thread Gerard Samuel
On Saturday 29 May 2004 12:35 pm, Andrei Verovski (aka MacGuru) wrote: > Hi, Gerard, > > Can you please be so kind to post your code snippet you have described > below? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CVS web front end

2004-05-29 Thread Brian V Bonini
n e 1 know of a web based front end for CVS? Not just a file/project browser but a fully functioning web based GUI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to obtain MAC address of server where PHP is running

2004-05-29 Thread Andrei Verovski (aka MacGuru)
Hi, Gerard, Can you please be so kind to post your code snippet you have described below? Thanks. On Saturday 29 May 2004 05:36 pm, Gerard Samuel wrote: > On Saturday 29 May 2004 10:21 am, Andrei Verovski (aka MacGuru) wrote: > > Hi, > > > > Anyone knows ho to obtain MAC address of server where

Re: [PHP] PHP Coding Standards

2004-05-29 Thread Gerard Samuel
On Saturday 29 May 2004 08:55 am, charles kline wrote: > Hi all, > > I was having a conversation with a friend and talking about coding > standards in the open source community (focusing on PHP). I seem to > remember there being a document out there that sort of laid it out > pretty well. > > Anyon

Re: [PHP] How to obtain MAC address of server where PHP is running

2004-05-29 Thread Gerard Samuel
On Saturday 29 May 2004 10:21 am, Andrei Verovski (aka MacGuru) wrote: > Hi, > > Anyone knows ho to obtain MAC address of server where PHP is running (with > PHP function, of course)? > > Thanks in advance for any suggestion(s) > I use passthru() to execute shell commands, and use preg_match() to

Re: [PHP] Preg_match question

2004-05-29 Thread Daniel Clark
Great quote Jeroen. >>Always code as if the guy who ends up maintaining your code will be a violent >>psychopath who knows where you live. >> -- Martin Golding -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to obtain MAC address of server where PHP is running

2004-05-29 Thread Andrei Verovski (aka MacGuru)
Hi, Anyone knows ho to obtain MAC address of server where PHP is running (with PHP function, of course)? Thanks in advance for any suggestion(s) Andrei -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Coding Standards

2004-05-29 Thread charles kline
Hi all, I was having a conversation with a friend and talking about coding standards in the open source community (focusing on PHP). I seem to remember there being a document out there that sort of laid it out pretty well. Anyone know where I might find a copy? Thanks, Charles -- PHP General Ma

RE: [PHP] Preg_match question

2004-05-29 Thread Marco Tabini
> Is there a preg to find a "?" in a string since a "?" is used for > calculations as I see it. > You just need to escape it with a backslash, e.g. \? Good luck, Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Preg_match question

2004-05-29 Thread Dave Carrera
Thanks Marco, I worked it out, with trial and error but I will refine what I have by reading your examples. Is there a preg to find a "?" in a string since a "?" is used for calculations as I see it. Thank you and others for all the help with this Dave Carrera -Original Message- From:

RE: [PHP] Preg_match question

2004-05-29 Thread Marco Tabini
I guess the simplest would be to use preg_match_all on '//i' Assuming that all your links are in that format, this will extract all the contents of the href portion of the links in your string. There was a regex series on our magazine that also covered more complex examples of this kind. Cheers

Re: [PHP] Preg_match question

2004-05-29 Thread Jeroen Serpieters
On Sat, 29 May 2004, Dave Carrera wrote: > > Link returned = Of to some page > > The bit I want to play with is ./somepage.php. > $str = 'Of to some page'; if( preg_match("//Ui", $str, $matches) ) echo $matches[1]; else echo "string didn't match"; -- Jeroen Always code as if t

Re: [PHP] Re: PHP 4.3.6 shows as 4.3.4?

2004-05-29 Thread Murray @ PlanetThoughtful
Hi, Thank you - that was exactly the problem! Much warmth, Murray http://www.planetthoughtful.org On 5/29/2004 4:06:15 AM, Yasin Inat ([EMAIL PROTECTED]) wrote: > be sure, u have updated php4ts.dll correctly in ur system path ... > > -- > PHP General Mailing List (http://www.php.net/) >

[PHP] Preg_match question

2004-05-29 Thread Dave Carrera
Hi List, I have managed to list files on my website using a combination of preg_match_all and str_replace in an array. What I would like to know is how do I lift out of a tag the contents from href=". Example: Link returned = Of to some page The bit I want to play with is ./somepage.php. I t

[PHP] Re: PHP 4.3.6 shows as 4.3.4?

2004-05-29 Thread Yasin Inat
be sure, u have updated php4ts.dll correctly in ur system path ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP 4.3.6 shows as 4.3.4?

2004-05-29 Thread Murray @ PlanetThoughtful
Hi All, I've just recently downloaded and (I believe) installed PHP Ver 4.3.6. I was previously running PHP Ver 4.3.4 (Win XP Pro, Apache 1.3.28). When I run phpinfo(), it tells me that I'm still running PHP Version 4.3.4, though in the apache information segment in phpinfo, it says: Ap