php-general Digest 6 Sep 2004 18:37:58 -0000 Issue 2980

Topics (messages 195959 through 195989):

Re: Session variables does not get sent
        195959 by: Peter Brodersen
        195960 by: Marek Kilimajer
        195961 by: Chris Shiflett
        195965 by: Dre
        195966 by: Marek Kilimajer
        195967 by: Jason Wong

safe_mode, sym-links and stat
        195962 by: Christian Jul Jensen

Problem
        195963 by: Jorge
        195970 by: Burhan Khalid

Re: htmlentities and foreign characters from MS Word
        195964 by: Monty
        195968 by: Octavian Rasnita

Re: Session again !!!
        195969 by: Burhan Khalid

Re: PHP5 - How Do I Let Users Download Music Files?
        195971 by: Burhan Khalid
        195972 by: Pablo M. Rivas
        195977 by: Daniel Schierbeck
        195979 by: Daniel Schierbeck
        195980 by: John Nichel
        195982 by: Daniel Schierbeck
        195983 by: Daniel Schierbeck

Dinamic generate PDF : which way ? (classes, docbook)
        195973 by: robert mena
        195988 by: Saqib.N.Ali.seagate.com

PDF, MSWORD, GRAPHS
        195974 by: CBharadwaj
        195984 by: raditha dissanayake

refresh withou erasing
        195975 by: devil_online
        195976 by: M. Sokolewicz
        195978 by: devil_online

Re: arrow values in command line php
        195981 by: Marek Kilimajer

Re: Regex for Validating URL
        195985 by: Stut

Re: tool to increase your web site?s profitability
        195986 by: Burhan Khalid

Re: installing PHP on winXP
        195987 by: Burhan Khalid

Multi-User Text-Editing
        195989 by: Daniel Schierbeck

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
On Mon, 6 Sep 2004 13:33:02 +0800, in php.general
[EMAIL PROTECTED] (Jason Wong) wrote:

>>   $username = trim(addslashes($_POST['user_name']));
>>   $pass = trim(addslashes($_POST['password']));
>
>addslashes() is not needed as you're performing SELECT query and not an INSERT 
>query.

How did you come up with that? The escape mechanism is the same for
SELECT and INSERT.

addslashes() is not needed if magic_quotes is enabled, though. But if
it isn't, it could be easy to login as another user, e.g. post:

other_user' OR user_name = 'foo

.. as user_name.

In that case the attacker could login as other_user.

-- 
- Peter Brodersen

--- End Message ---
--- Begin Message --- Dre wrote:
and by the way ..
I'm using MS Windows XP Pro. which I do believe that it has some hand in the
problem :)

Like you did not change session.save_path setting in php.ini from /tmp to whatever it is supposed to be on windows.




"Dre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

I do know this
and what happen is that the $_SESSION array become empty once I redirect
from the login page (after login) to another members' area page .. !!


"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Dre wrote:

I don't know why but session variables does not get posted .. is there

any

thing in the php.ini that I should configure as
I can't find any thing wrong in the code I'm using !!


Session variables are not posted, they are kept on the server. Only the session id is sent as a cookie, get or post variable. Session variables are available in $_SESSION array



--- End Message ---
--- Begin Message ---
--- Jason Wong <[EMAIL PROTECTED]> wrote:
> > $username = trim(addslashes($_POST['user_name']));
> > $pass = trim(addslashes($_POST['password']));
> 
> addslashes() is not needed as you're performing SELECT query
> and not an INSERT query.

That's not true, since he's using user data in the SQL statement. The
query method has nothing to do with whether data should be escaped.

Of course, addslashes() is sort of a last result with regard to escaping
data for use in a query. The more preferable options are those native to
the database you're using, if they exist. MySQL users can use
mysql_escape_string(), for example.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

--- End Message ---
--- Begin Message ---
no I did this a long time ago
(I did have this problem before :o) )

"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dre wrote:
> > and by the way ..
> > I'm using MS Windows XP Pro. which I do believe that it has some hand in
the
> > problem :)
>
> Like you did not change session.save_path setting in php.ini from /tmp
> to whatever it is supposed to be on windows.
>
> >
> >
> > "Dre" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >>I do know this
> >>and what happen is that the $_SESSION array become empty once I redirect
> >>from the login page (after login) to another members' area page .. !!
> >>
> >>
> >>"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
> >>news:[EMAIL PROTECTED]
> >>
> >>>Dre wrote:
> >>>
> >>>>I don't know why but session variables does not get posted .. is there
> >>
> >>any
> >>
> >>>>thing in the php.ini that I should configure as
> >>>>I can't find any thing wrong in the code I'm using !!
> >>>>
> >>>
> >>>Session variables are not posted, they are kept on the server. Only the
> >>>session id is sent as a cookie, get or post variable. Session variables
> >>>are available in $_SESSION array
> >
> >

--- End Message ---
--- Begin Message --- Dre wrote:
no I did this a long time ago
(I did have this problem before :o) )

Try echo $_REQUEST[session_name()]; in members/main.php. It should print the session id. Then there should be a session file sess_[session id].



"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Dre wrote:

and by the way ..
I'm using MS Windows XP Pro. which I do believe that it has some hand in

the

problem :)

Like you did not change session.save_path setting in php.ini from /tmp to whatever it is supposed to be on windows.



"Dre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]


I do know this
and what happen is that the $_SESSION array become empty once I redirect

from the login page (after login) to another members' area page .. !!


"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]


Dre wrote:


I don't know why but session variables does not get posted .. is there

any


thing in the php.ini that I should configure as
I can't find any thing wrong in the code I'm using !!


Session variables are not posted, they are kept on the server. Only the session id is sent as a cookie, get or post variable. Session variables are available in $_SESSION array




--- End Message ---
--- Begin Message ---
On Monday 06 September 2004 14:08, Peter Brodersen wrote:
> On Mon, 6 Sep 2004 13:33:02 +0800, in php.general
>
> [EMAIL PROTECTED] (Jason Wong) wrote:
> >>   $username = trim(addslashes($_POST['user_name']));
> >>   $pass = trim(addslashes($_POST['password']));
> >
> >addslashes() is not needed as you're performing SELECT query and not an
> > INSERT query.
>
> How did you come up with that? The escape mechanism is the same for
> SELECT and INSERT.

Sorry, you're right. I'll go back to sleep now!

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A beautiful woman is a blessing from Heaven, but a good cigar is a smoke.
                -- Kipling
*/

--- End Message ---
--- Begin Message ---
Hi

I'm running PHP in safe mode, and have symlinked executables to the
execution_dir, that works great. With one exception, it is not
possible to check the existence of the files, before executing them.

It seems to me that stat / lstat resolves the ownership of the orig
executables and safe_mode decides that I cannot have access, which is
true, but I only want to know if the files that I'm about to execute,
ie. the symlinks, exists.

Is this a bug, or have I misunderstood something. Any suggestions on
how I can solve this.

Example:
<?php
$smed = ini_get('safe_mode_exec_dir');

$id = $smed.'identify';

var_dump(stat($id));
var_dump(lstat($id));

echo '<br />is_file: ';
var_dump(is_file($id));
echo '<br />is_link: ';
var_dump(is_link($id));
echo '<br />is_executable: ';
var_dump(is_executable($id));
echo '<br />is_readable: ';
var_dump(is_readable($id));


echo '<br /><br /><br />';

passthru($id.' -version');
?>

Result:

Warning: stat() [function.stat]: SAFE MODE Restriction in effect. The script whose 
uid/gid is 33/33 is not allowed to access /var/lib/typo3/shared/smexec/identify owned 
by uid/gid 0/0 in /var/www/file_existence_check.php on line 6

Warning: stat() [function.stat]: stat failed for /var/lib/typo3/shared/smexec/identify 
in /var/www/file_existence_check.php on line 6
bool(false)
Warning: lstat() [function.lstat]: SAFE MODE Restriction in effect. The script whose 
uid/gid is 33/33 is not allowed to access /var/lib/typo3/shared/smexec/identify owned 
by uid/gid 0/0 in /var/www/file_existence_check.php on line 7

Warning: lstat() [function.lstat]: Lstat failed for 
/var/lib/typo3/shared/smexec/identify in /var/www/file_existence_check.php on line 7
bool(false)
is_file: bool(false)
is_link: bool(false)
is_executable: bool(false)
is_readable: bool(false)


Version: ImageMagick 6.0.6 08/31/04 Q16 http://www.imagemagick.org Copyright: 
Copyright (C) 1999-2004 ImageMagick Studio LLC 



--
./Christian Jul Jensen

--- End Message ---
--- Begin Message ---
I have a problem when I do login for go to the page of administration on my web, Go 
back and can't entry this is the code that control this. Where is the problem?

Thank you in advance

<?
        session_start();
        //echo session_id();

        if (!isset($_SESSION['id'])){

                echo("<script>top.location.href='../portada.php';</script>");
        }
?>

--- End Message ---
--- Begin Message ---
On Mon, 2004-09-06 at 11:03, Jorge wrote:
> I have a problem when I do login for go to the page of administration on my web, Go 
> back and can't entry this is the code that control this. Where is the problem?

Please read the Newbie Guide first before posting.  WHat does your
subject tell us about the problem?

Add error_reporting(E_ALL); as the first line of PHP code and run your
script again.

--- End Message ---
--- Begin Message ---
That did it! It seems that my version of MySQL doesn't support Unicode
encoding, only the various ISO encodings. So, I guess this translation is
necessary before storing all text in the DB so foreign characters aren't
broken when I retrieve them from the DB.

Thanks! 


I2eptilex wrote:
> 
> Well it seems you have a UTF-8 encoded text after your function. Use
> iconv to change it. See http://de3.php.net/manual/en/ref.iconv.php .
> 
> try doing this with your array before inserting it into the DB
> 
> foreach($insert_array as $key => $var){
> $new_arr[$key] = iconv("UTF-8", "ISO-8859-1", $var);
> }
> 
> It can be that your array has a different coding than UTF-8 check the
> manual for the htmlentities function, but i'm pretty shure that should
> solve it.
> 
> I2eptilex
> 
> Monty wrote:
> 
>> I'm having a problem figuring out how to deal with foreign characters in
>> text that was copied from an MS Word document and pasted into a form field.
>> 
>> I'm not how sure this is getting stored in the MySQL database, but, when I
>> run htmlentities() on this text, each foreign character is converted into 2
>> other foreign characters that don't at all represent the original.
>> 
>> For example, a lowercase u with an umlat over it (�) is somehow displayed as
>> an uppercase A with an umlat over it followed by the 1/4 symbol after parsed
>> by htmlentities(). A lowercase o with an ulmat displays as an uppercase A
>> with an umlat over it followed by the paragraph symbol. It seems that the
>> uppercase A w/umlat is a constant, and the next character changes.
>> 
>> The ord() function returns the same number for all of these foreign
>> characters: 195. So, I'm not sure what's happening with these foreign
>> characters, and if there's any way to convert them to proper htmlentities
>> before being displayed in a browser. I thought htmlentities would do this,
>> actually.
>> 
>> Thanks!
>> 
>> Monty.

--- End Message ---
--- Begin Message ---
You could store those texts as binary in MySQL...

----- Original Message ----- 
From: "Monty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 06, 2004 11:07 AM
Subject: [PHP] Re: htmlentities and foreign characters from MS Word


> That did it! It seems that my version of MySQL doesn't support Unicode
> encoding, only the various ISO encodings. So, I guess this translation is
> necessary before storing all text in the DB so foreign characters aren't
> broken when I retrieve them from the DB.
> 
> Thanks! 
> 
> 
> I2eptilex wrote:

--- End Message ---
--- Begin Message ---
On Sun, 2004-09-05 at 17:32, Dre wrote:
> I really did
> and it behaves the same
> 
> I tried isset() also but there is no good it still does not work !!!

"Does not work" <-- explain this part.

add error_reporting(E_ALL); as the first line of code, in addition to
all the other suggestions.  Check your server logs also.

[ trimmed the rest ]

--- End Message ---
--- Begin Message ---
On Sun, 2004-09-05 at 05:41, [EMAIL PROTECTED] wrote:

> I want to build a music site, all copyrights intact, and I want users to be
> able to download mp3 or realplayer files using a one-click link. When they
> click on a link they will simply be given a typical download window to save
> that music file. How do I go about doing that and how should my file
> structure work? What should the link include? Is it possible to just say,
> for example, http://somesite.com/music/something.mp3? Also, if I wanted them
> to listen to streamed music does PHP have any specialized functions I could
> use to achieve that? I just need some direction. Any help would be
> appreciated. Thank you.

For the downloading part, Google "php force download". If you just give
the users a link (like in your example) there is nothing that's stopping
them from simply requesting the URL. I would suggest you store the files
outside your webroot and then have PHP access them (this way, Apache
can't see them).

Listening to streaming music really doesn't have much to do with PHP.
You would need a streaming server (like Windows Media Services, or the
open source Darwin Streaming Server (from Apple)).  Other options
include shoutcast, real media, etc.

--- End Message ---
--- Begin Message ---
Take a look at:
http://netjuke.sourceforge.net/

I'm using in my local network, and works fine!!!


On Mon, 06 Sep 2004 12:10:13 +0300, Burhan Khalid <[EMAIL PROTECTED]> wrote:
> 
> 
> On Sun, 2004-09-05 at 05:41, [EMAIL PROTECTED] wrote:
> 
> > I want to build a music site, all copyrights intact, and I want users to be
> > able to download mp3 or realplayer files using a one-click link. When they
> > click on a link they will simply be given a typical download window to save
> > that music file. How do I go about doing that and how should my file
> > structure work? What should the link include? Is it possible to just say,
> > for example, http://somesite.com/music/something.mp3? Also, if I wanted them
> > to listen to streamed music does PHP have any specialized functions I could
> > use to achieve that? I just need some direction. Any help would be
> > appreciated. Thank you.
> 
> For the downloading part, Google "php force download". If you just give
> the users a link (like in your example) there is nothing that's stopping
> them from simply requesting the URL. I would suggest you store the files
> outside your webroot and then have PHP access them (this way, Apache
> can't see them).
> 
> Listening to streaming music really doesn't have much to do with PHP.
> You would need a streaming server (like Windows Media Services, or the
> open source Darwin Streaming Server (from Apple)).  Other options
> include shoutcast, real media, etc.
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 



-- 
Pablo M. Rivas. http://pmrivas.ipupdater.com
-----------------------------------------------------------

--- End Message ---
--- Begin Message --- [EMAIL PROTECTED] wrote:
Thanks Anders and Daniel. Daniel, I like your approach. I want to make it as
secure as possible. I'm going to place the files outside the web directory
and use authentication to approve that the user can download some particular
song. I didn't know you could do a forced download. I will definitely have
to try that. Thanks again.

Nilaab

No problem mate, and by the way, i think a friend of mine has a site that streams mp3 files - I'll ask him out about it.


--
Daniel Schierbeck

--- End Message ---
--- Begin Message --- [EMAIL PROTECTED] wrote:
Thanks Anders and Daniel. Daniel, I like your approach. I want to make it as
secure as possible. I'm going to place the files outside the web directory
and use authentication to approve that the user can download some particular
song. I didn't know you could do a forced download. I will definitely have
to try that. Thanks again.

Nilaab

It seems that you can just replace the content-type of my previous example with:


        audio/mpegurl

That should force a stream (haven't tested it though).

Good luck

--
Daniel Schierbeck

--- End Message ---
--- Begin Message ---
Daniel Schierbeck wrote:
<snip>

Hey Daniel, do me a favor if you would, and add a year to the date on your computer. Thanks.

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com

--- End Message ---
--- Begin Message --- Daniel Schierbeck wrote:
[EMAIL PROTECTED] wrote:

Thanks Anders and Daniel. Daniel, I like your approach. I want to make it as
secure as possible. I'm going to place the files outside the web directory
and use authentication to approve that the user can download some particular
song. I didn't know you could do a forced download. I will definitely have
to try that. Thanks again.


Nilaab


It seems that you can just replace the content-type of my previous example with:

    audio/mpegurl

That should force a stream (haven't tested it though).

Good luck

make that "audio/mpeg" :)

--
Daniel Schierbeck

--- End Message ---
--- Begin Message ---
John Nichel wrote:

Daniel Schierbeck wrote:
<snip>

Hey Daniel, do me a favor if you would, and add a year to the date on your computer. Thanks.

Oooops... Sorry, i have a crappy, ehh, "legal" *cough* version of Adobe Photoshop, it won't work unless i put the time on my PC back a year, and sometimes i forget to put it back... :)

--
Daniel Schierbeck

--- End Message ---
--- Begin Message ---
Hi,

I plan to dynamic generate some of the documents I need on a regular
basis.  Sometimes they only differ by the name of the company so my
first attempt would be to generate "templates" in word and ask/replace
for the values needed.

I am evaluating the http://www.ros.co.nz/pdf/, www.fpdf.org and php
classes that generate pdf and as another option use docbook to
convert.

I am not sure which way is better.

>From my point of view:
a) Both classes seem to be fine but in order to generate (static)
tables and other elements I will need a lot of programming
calls/variables.  So I'd have a manual and perhaps tedious/error
procedure to convert the document into the "programable-version" of
it.

b) I do not have experience with DocBook (even tough I can code html
and latex) but I could use  an editor to generate the document with
the tables, place images etc.  Identify the template variables and
call docbook to generate the pdf.  I'd still have to manually convert
the file but would not need a lot of calls to generate a table or even
use a php programmer.  I am assuming the the tags needed are more
easly understanded than $pdf->addCell($data,width..)

Any ideias ?

--- End Message ---
--- Begin Message ---



Hello Robert,

I would suggest that if your data is such that it can use DocBook,
definitely go the DocBook route. You can also use Apache's Cocoon publish
your DocBook content to PDF/HTML/RTF/SVG/TXT etc.

Here are some samples that use Apache Cocoon to perform dynamic conversion
to PDF/HTML: http://www.xml-dev.com/blog/#88

Here are some other utilities to convert to PDF:
http://www.xml-dev.com/blog/#101

This one is pretty good: http://html2pdf.seven49.net/seven49.aspx?


Thanks.
Saqib Ali
http://validate.sf.net

robert mena <[EMAIL PROTECTED]> wrote on 09/06/2004 04:56:18 AM:

> Hi,
>
> I plan to dynamic generate some of the documents I need on a regular
> basis.  Sometimes they only differ by the name of the company so my
> first attempt would be to generate "templates" in word and ask/replace
> for the values needed.
>
> I am evaluating the http://www.ros.co.nz/pdf/, www.fpdf.org and php
> classes that generate pdf and as another option use docbook to
> convert.
>
> I am not sure which way is better.
>
> From my point of view:
> a) Both classes seem to be fine but in order to generate (static)
> tables and other elements I will need a lot of programming
> calls/variables.  So I'd have a manual and perhaps tedious/error
> procedure to convert the document into the "programable-version" of
> it.
>
> b) I do not have experience with DocBook (even tough I can code html
> and latex) but I could use  an editor to generate the document with
> the tables, place images etc.  Identify the template variables and
> call docbook to generate the pdf.  I'd still have to manually convert
> the file but would not need a lot of calls to generate a table or even
> use a php programmer.  I am assuming the the tags needed are more
> easly understanded than $pdf->addCell($data,width..)
>
> Any ideias ?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Dear all,

I  have to generate  MS WORD Reports, PDF Reports, Graphs
using PHP5 + MYSQL.

can any body give good links . 


Thanks in advance.
Bharadwaj.

--- End Message ---
--- Begin Message ---
Read the previous message in this thread. the first sentence applies to you.

--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

--- End Message ---
--- Begin Message ---
Hi want to put information on a page without erasing the previous on(like
for every 5 minutes), and I think I must do an arrays and a foreach
loop...how can I do that?

thanks

--- End Message ---
--- Begin Message ---
You want to put information on a page. That's nice.

You want to refresh every 5 minutes? that's also fine.

You want it to refresh but to not refresh at the same time... somehow, magically, your browser should know that it only needs to add information...


To avoid that issue, you could best store the info in some temporary file (or database) and then each time loop trough it, and issue it to the user. Make sure to include a 5-min.-delay redirect to the same page (refresh).



Devil_online wrote:
Hi want to put information on a page without erasing the previous on(like
for every 5 minutes), and I think I must do an arrays and a foreach
loop...how can I do that?

thanks

--- End Message ---
--- Begin Message ---
thanks..and can you give a hand in the code?



> To avoid that issue, you could best store the info in some temporary
> file (or database) and then each time loop trough it, and issue it to
> the user. Make sure to include a 5-min.-delay redirect to the same page
> (refresh).
>
>
> Devil_online wrote:
> > Hi want to put information on a page without erasing the previous
on(like
> > for every 5 minutes), and I think I must do an arrays and a foreach
> > loop...how can I do that?
> >
> > thanks


--- End Message ---
--- Begin Message --- [EMAIL PROTECTED] wrote:
A while back I decided I wanted a simple interactive interpreter for PHP.
So I wrote a little PHP script that essentially did a read from stdin,
and ran eval on that. Worked for most situations I was in.

I'm trying to add some more features now, namely recalling a list of commands
using the up and down arrow, and making each line left/right arrow editable.
But I'm not sure exactly how to read the input from the arrow characters.
Could someone tell me how or point me to a good resource on doing this
kind of thing?

Thanks,

        Weston


http://www.php.net/readline

--- End Message ---
--- Begin Message ---
I know this is an old thread but I've been away for the weekend and I
really want to say this...

On Thu, 2 Sep 2004 20:40:45 +0200, Nick Wilson <[EMAIL PROTECTED]> wrote:
> You know guys? I think you all take this a bit too seriously,
> perdanticness (is there such a word?) is all well and good for an FBI
> agent but I stand by the claim that my original question really was
> rather simple.

What you fail to realise is that none of us get paid to do this. I'm
sure we all have different reasons, but I contribute when I can
because this list (and the others I contribute to) have helped me in
the past, and I'm absolutely certain they'll help me in the future. I
used to be a lot more active here, but life changes and I've not had
so much spare time. Others, like John, dedicate a lot more of their
time to helping others out. That's the only way lists like this can be
successful.

What annoys a lot of us (fairly regularly) is that a seemingly large
number of people assume that if they ask a question here they will
get, or more likely that they are "entitled" to get the solution
rather than help or advice. All we ask is that you do a bit of
research, try and solve it yourself and if you're still stuck post a
question that gives all the relevant information so we can avoid
wasting our "good intentions and precious time" (ta Jason :)).

Anyway, back to my day job. Where did I leave my scythe...

-- 
Stut

--- End Message ---
--- Begin Message ---
On Sun, 2004-09-05 at 19:29, Octavian Rasnita wrote:
> Does this list have a moderator?
> 
> Teddy

Please learn to TRIM!! No need to post the entire message (spam no
less), again -- especially if all you are contributing is one line (to
which, I might add, the answer can be found by searching the archives).

--- End Message ---
--- Begin Message ---
On Sun, 2004-09-05 at 19:39, Gerben wrote:
> my install-paths are still the same. the real problem (I think) is that I'm 
> missing the php4apache dll for some peculiar reason ||:-|
> Thanks anyway. I'll try downloading the zip file and doing it manually.

I think the binary installer doesn't include all the .dll files (that
was the case the last time I did a binary install of PHP on Windows).

On Windows, I always use the zip package, which contains almost all the
.dll files.

Also note that for Apache2, you would need to use php4apache2.dll (I
realize that you are using Apache 1.x, but this is for the benefit of
those that are reading the thread).

Cheers.

--- End Message ---
--- Begin Message --- I'm developing a site with information about songs, albums and artists. I would like to have the song lyrics as well, but i don't know how i should approach it.

What i want is basically a way for many users to update, add or delete parts of a text (the lyric). It will probably only be 'trusted' users that'll be able to do it (users that has added more than x artists/albums/songs). How can i make a CVS-like system, where you can see the changes people made, maybe roll back to an earlier version etc. etc.?

I think i'll use MySQL, but if you think it's easier to use XML or something else, that'll be fine with me (as long as it's generally available).

Thank you in advance guys :)

--
Daniel Schierbeck

--- End Message ---

Reply via email to