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
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
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
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/)
>
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
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
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:
> 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
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
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
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
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
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
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
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
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
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
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
<>
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
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
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
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
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
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).
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
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
"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 :
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
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
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
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
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
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
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
34 matches
Mail list logo