[PHP] PHP 4.0.4pl1 RPM download ?
Hi, Where can I find PHP 4.0.4pl1 RPM files in order to download ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Global variables - please explain me someone.
Guys, I'm former asp guy and a long time Visual FoxPro programer, so I'm carying some habbits and logic from it. I'm really glad I switched to php, but some things are confisung me. One of them are globals. From my understandig, globals are globaly seen and accessed variables from any script ( when you define global in your function too ). But in asp, there were couple types or scopes. Asp got "application" and "session". Application is something like a virtual directory, and when first time hit, it inicialize itself and actions like application.on_start fires. You can define your own application variables, that are "global" for that application. At the same time it starts a new session, where you can have your own session vars. All sessions in application can freely access application variables, which are good for storing connection strings, counter variables, etc. Session vars are good for login infos, etc. Now back to php. What I want to know is, if I declare variable global - is it global for current session or all sessions? I know about associative arrays, I use it a lot ( i don't want to clutter my scripts ). And one thing more. What EXACTLY means php configuration value: register_global? Does it mean, that all variables are default declared as globals, and I can see and MODIFY them from any session? Or they are global for the current session? Please explain somebody this to me. TIA Dezider. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] php_self
Why does php self always show php4/php.exe? how do i take it off? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to pass variables on php command line ?
From: "Leonard Schneider" <[EMAIL PROTECTED]> > I use PHP as script to generate HTML pages using the command > php -q script.php > file.html > > I would like to pass some variables to the PHP script so that it > generates a different HTML file. > I tried the -d option but it seems it doesn't work. > Is there any means of doing this ? > > > Leonard Schneider > Easiest way is using environment variables. file.html"); ?> Then in script.php you can do: Hope this helps, Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to pass variables on php command line ?
I use PHP as script to generate HTML pages using the command php -q script.php > file.html I would like to pass some variables to the PHP script so that it generates a different HTML file. I tried the -d option but it seems it doesn't work. Is there any means of doing this ? Leonard Schneider __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: [PHP] passing variables in javascript
From: "Nicholas W. Miller" <[EMAIL PROTECTED]> > > H ... is there anyway to do this without requiring the page > >with the link to use PHP? > > Well if the string you're going to urlencode() is always going to be the same, then just run it through once, grab the encoded version and hard-code it :) > >> > >>You have to encode each part of the query string on the URL correctly: > >> > >> >> . "&url=" . > >>urlencode("http://www.domain.com/biz/pubs.html#antitrust"); > >>?>', 'email','width=410,height=435')">Emailthis > >> > >> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Fwd: Re: [PHP] passing variables in javascript
> H ... is there anyway to do this without requiring the page >with the link to use PHP? > >> >>You have to encode each part of the query string on the URL correctly: >> >>> . "&url=" . >>urlencode("http://www.domain.com/biz/pubs.html#antitrust"); >>?>', 'email','width=410,height=435')">Emailthis >> >> >>Cheers >> >>Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] is there a way to set apache's auth_user from php?
I would like to have the authenticated user name appear in my apache access web logs but I am not using HTTP authentication. I am using phplib to have better control over the authentication process. Is there a way to set this apache api variable from php code so that apache will log these user names? Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
From: "W.D." <[EMAIL PROTECTED]> > yea I guess that would work better, I dunno tho, I tried setting $from = > $Email and the blasted server still served it up as nobody in the header. > But the rest would make more sense. Yes [EMAIL PROTECTED] would need a copy to > trigger an autoresponse. I know I probably seem like someone who hasnt read > much php, but Ive actually read a couple php4books, the first an easier > learning and the second PHP 4 Bible. I'm still a newbie tho so bare with me. > Okay, it sounds like you're forgetting the "From: " prefix in front of $from. This prefix is necessary because the mail message you are composing must come out looking essentially like this (this is what gets given to your SMTP mail server): To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Blah Here is the main body of the message. Now, PHP's mail() function will automatically insert the To: and Subject: headers, and the body, from the first three arguments to mail(). But to add the custom From: and Cc: headers, you have to add them yourself (correctly formatted as mail headers) using the fourth argument to mail(). Which is how we get to: mail("[EMAIL PROTECTED]", $subject, $message, "From: $from\nCc: [EMAIL PROTECTED]"); Making sense? :) > > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > > > > First Name: > > > Last Name: > > > E-mail Address: > > > Ask a > > > Question > > > > > > > > > > > > > > > > > > > > $from = $FirstName ." ". $LastName; > > > $subject = $Email; > > > $message = $Info; > > > mail("[EMAIL PROTECTED], [EMAIL PROTECTED], $subject, $message, $from); > > > ?> > > > > > > > > > See, your syntax is incorrect :P > > > > Try: > > > > > $from = $Email; > > $subject = $Email; > > $message = "Question from $FirstName $LastName:\n\n$Info"; > > > > mail("[EMAIL PROTECTED]", $subject, $message, "From: $from\nCc: > > [EMAIL PROTECTED]"); > > ?> > > > > I'm assuming you wanted to send a copy to [EMAIL PROTECTED] > > > > Please read the docs for mail(): http://php.net/mail > > > > > > Regards > > > > Simon Garner > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Counter Help
WeberDev will fix it ASAP if you tell it the number of the example :) Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Navid Yar [mailto:[EMAIL PROTECTED]] Sent: Friday, February 23, 2001 6:25 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Counter Help Chris, It worked! Thanks so much! Weberdev needs to fix it too. Navid -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 4:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Counter Help change $row[count] to $row['count'] it thinks the work [count] is some kind of conastant, it doesnt know you mean (string) 'count' -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Navid Yar"" <[EMAIL PROTECTED]> wrote in message 000101c09d2d$135683e0$[EMAIL PROTECTED]">news:000101c09d2d$135683e0$[EMAIL PROTECTED]... > Can someone help me with this script? It is an example from weberdev.com. I > ran it and it gave me the following error... > > -- Warning: Use of undefined constant count - assumed 'count' in > c:\windows\desktop\localhost\examples\counter\counter1.php on line 27 > 25 > > The number 25 is the correct number for the counter, but how do I get rid of > that error message that keeps coming up before the counter number (25)? I am > testing and learning PHP on Windows ME and am using PHP 4.0.4 with MySQL > 3.23.33. Here is the script: > > > > > > > > > > > $hostname = 'localhost'; > $username = 'username'; > $password = 'password'; > $dbName = 'database'; > MYSQL_CONNECT($hostname,$username,$password) OR DIE("Unable to connect to > database"); > @mysql_select_db("$dbName") or die("Unable to select database"); > > $name = "$SCRIPT_NAME"; > > $result = MYSQL_QUERY("SELECT * FROM counter WHERE (name = '$name')") or die > ("Bad query: ".mysql_error()); > $row = mysql_fetch_array($result); > > if($row){ > MYSQL_QUERY("UPDATE counter SET count = count+1 WHERE (name = '$name')") or > die ("Bad query: ".mysql_error()); > $count = $row[count]; > }else{ > MYSQL_QUERY("INSERT INTO counter VALUES ('', '$name', '2')") or die ("Bad > query: ".mysql_error()); > $count = '1'; > } > echo $count; > ?> > > > > > -- Navid > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Counter Help
Thanks for the great suggestion Simon, I'll definatley keep that in mind. I'm new to PHP, and the counter thing was "copied" off of Weberdev.com. They forgot to add the single quotes around counter. At least this experience helped me learn something new. Again, I thank you for your help and for Chris' help. Navid -Original Message- From: Simon Garner [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 10:32 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Counter Help From: "Chris Lee" <[EMAIL PROTECTED]> > change > > $row[count] > > to > > $row['count'] > > it thinks the work [count] is some kind of conastant, it doesnt know you > mean (string) 'count' > I have noticed a lot of people do not put quotes on their array indexes (e.g. VBulletin is a prime offender) - imho this is a really bad practice because your code becomes ambiguous. Example: "orange", "bar"=>"purple"); echo $test[foo]; ?> Now, I think that should print nothing (or an error), because there is no index matching "donkey" (the value of the constant "foo"). But for some reason PHP looks for an array index matching the string "foo" as well, encouraging this kind of sloppy programming. Regards Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
On Fri, 23 Feb 2001 16:52, W.D. wrote: > > First Name: > Last Name: > E-mail Address: > Ask a > Question > > > > > > $from = $FirstName ." ". $LastName; > $subject = $Email; > $message = $Info; > mail("[EMAIL PROTECTED], [EMAIL PROTECTED], $subject, $message, > $from); ?> > You seem to have gotten a little confuzzed here! $from should contain the email address which you are collecting as $Email and presumably $Info is the message body and I'm not quite sure what you want in the subject, but all you have available is first and last names! And then, you need a check to see what action should be taken when you call this script - at the moment every time you open the script you send, or try to send, an empty mail. Perhaps assigning a name and value to your submit button and testing for that? -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
From: "W.D." <[EMAIL PROTECTED]> > > First Name: > Last Name: > E-mail Address: > Ask a > Question > > > > > > $from = $FirstName ." ". $LastName; > $subject = $Email; > $message = $Info; > mail("[EMAIL PROTECTED], [EMAIL PROTECTED], $subject, $message, $from); > ?> > See, your syntax is incorrect :P Try: I'm assuming you wanted to send a copy to [EMAIL PROTECTED] Please read the docs for mail(): http://php.net/mail Regards Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
First Name: Last Name: E-mail Address: Ask a Question > From: "W.D." <[EMAIL PROTECTED]> > > > well this is actually what I did tho, I used an $email var and set it too > > $from which I used mail()and it still came out as nobody > > > > > Can you show us the PHP code you're using please. > > Ta > > > > > > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > > > so there is no way to pull this variable from an email form field? > > > > > > > > > > > > > Eh? Of course, $from can be set by a form field if you want. Or a > > database, > > > or any way you can set a variable. Then pass it to mail(), per my last > > > message. > > > > > > > > > > > > > > > > > > > > > > > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > > > > > > > I'm using a remote host, and when I call mail() with all the var's > > > > pulling > > > > > > values from form fields, it still shows as nobody in from header. > Is > > > > this > > > > > a > > > > > > server situation? Theyre using php4 support and they claim its > that > > > I'm > > > > > not > > > > > > using appropriate variables in the function. > > > > > > > > > > > > > > > > > > > > > > > > > > > You have to set the From header manually: > > > > > > > > > > > > > > > > > > > $to = "[EMAIL PROTECTED]"; > > > > > $from = "[EMAIL PROTECTED]"; > > > > > $subject = "Blah"; > > > > > $body = "Lorem ipsum dolor sit amet."; > > > > > > > > > > mail($to, $subject, $body, "From: $from"); > > > > > ?> > > > > > > > > > > > > > > > http://www.php.net/manual/en/function.mail.php > > > > > > > > > > > > > > > Regards > > > > > > > > > > Simon Garner > > > > > > > > > > > > > _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
From: "W.D." <[EMAIL PROTECTED]> > well this is actually what I did tho, I used an $email var and set it too > $from which I used mail()and it still came out as nobody > Can you show us the PHP code you're using please. Ta > > From: "W.D." <[EMAIL PROTECTED]> > > > > > so there is no way to pull this variable from an email form field? > > > > > > > > > Eh? Of course, $from can be set by a form field if you want. Or a > database, > > or any way you can set a variable. Then pass it to mail(), per my last > > message. > > > > > > > > > > > > > > > > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > > > > > I'm using a remote host, and when I call mail() with all the var's > > > pulling > > > > > values from form fields, it still shows as nobody in from header. Is > > > this > > > > a > > > > > server situation? Theyre using php4 support and they claim its that > > I'm > > > > not > > > > > using appropriate variables in the function. > > > > > > > > > > > > > > > > > > > > > > You have to set the From header manually: > > > > > > > > > > > > > > > $to = "[EMAIL PROTECTED]"; > > > > $from = "[EMAIL PROTECTED]"; > > > > $subject = "Blah"; > > > > $body = "Lorem ipsum dolor sit amet."; > > > > > > > > mail($to, $subject, $body, "From: $from"); > > > > ?> > > > > > > > > > > > > http://www.php.net/manual/en/function.mail.php > > > > > > > > > > > > Regards > > > > > > > > Simon Garner > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
well this is actually what I did tho, I used an $email var and set it too $from which I used mail()and it still came out as nobody > From: "W.D." <[EMAIL PROTECTED]> > > > so there is no way to pull this variable from an email form field? > > > > > Eh? Of course, $from can be set by a form field if you want. Or a database, > or any way you can set a variable. Then pass it to mail(), per my last > message. > > > > > > > > > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > > > I'm using a remote host, and when I call mail() with all the var's > > pulling > > > > values from form fields, it still shows as nobody in from header. Is > > this > > > a > > > > server situation? Theyre using php4 support and they claim its that > I'm > > > not > > > > using appropriate variables in the function. > > > > > > > > > > > > > > > > > You have to set the From header manually: > > > > > > > > > > > $to = "[EMAIL PROTECTED]"; > > > $from = "[EMAIL PROTECTED]"; > > > $subject = "Blah"; > > > $body = "Lorem ipsum dolor sit amet."; > > > > > > mail($to, $subject, $body, "From: $from"); > > > ?> > > > > > > > > > http://www.php.net/manual/en/function.mail.php > > > > > > > > > Regards > > > > > > Simon Garner > > > _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
On Fri, 23 Feb 2001 16:32, W.D. wrote: > so there is no way to pull this variable from an email form field? > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > I'm using a remote host, and when I call mail() with all the var's > > pulling > > > > values from form fields, it still shows as nobody in from header. > > > Is > > this > > > a > > > > > server situation? Theyre using php4 support and they claim its that > > > I'm > > > > not > > > > > using appropriate variables in the function. > > > > You have to set the From header manually: > > > > > > > $to = "[EMAIL PROTECTED]"; > > $from = "[EMAIL PROTECTED]"; > > $subject = "Blah"; > > $body = "Lorem ipsum dolor sit amet."; > > > > mail($to, $subject, $body, "From: $from"); > > ?> > > > > > > http://www.php.net/manual/en/function.mail.php > > > > > > Regards > > > > Simon Garner Well, you can use a variable from _anywhere_ Simon's example uses a variable set locally just so you can see exactly what is going on. But if you had a form element called, say, reply_address in which the user types an email address, you could pass that as the fourth argument to mail(). Of course, in this case you have no control over the accuracy or validity of the address entered. But that's a whole different question - search the archives for info on validating email addresses. And somebody has published a class somewhere? -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
From: "W.D." <[EMAIL PROTECTED]> > so there is no way to pull this variable from an email form field? > Eh? Of course, $from can be set by a form field if you want. Or a database, or any way you can set a variable. Then pass it to mail(), per my last message. > > > > From: "W.D." <[EMAIL PROTECTED]> > > > > > I'm using a remote host, and when I call mail() with all the var's > pulling > > > values from form fields, it still shows as nobody in from header. Is > this > > a > > > server situation? Theyre using php4 support and they claim its that I'm > > not > > > using appropriate variables in the function. > > > > > > > > > > > > You have to set the From header manually: > > > > > > > $to = "[EMAIL PROTECTED]"; > > $from = "[EMAIL PROTECTED]"; > > $subject = "Blah"; > > $body = "Lorem ipsum dolor sit amet."; > > > > mail($to, $subject, $body, "From: $from"); > > ?> > > > > > > http://www.php.net/manual/en/function.mail.php > > > > > > Regards > > > > Simon Garner > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
so there is no way to pull this variable from an email form field? > From: "W.D." <[EMAIL PROTECTED]> > > > I'm using a remote host, and when I call mail() with all the var's pulling > > values from form fields, it still shows as nobody in from header. Is this > a > > server situation? Theyre using php4 support and they claim its that I'm > not > > using appropriate variables in the function. > > > > > > > You have to set the From header manually: > > > $to = "[EMAIL PROTECTED]"; > $from = "[EMAIL PROTECTED]"; > $subject = "Blah"; > $body = "Lorem ipsum dolor sit amet."; > > mail($to, $subject, $body, "From: $from"); > ?> > > > http://www.php.net/manual/en/function.mail.php > > > Regards > > Simon Garner _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] mail prob
From: "W.D." <[EMAIL PROTECTED]> > I'm using a remote host, and when I call mail() with all the var's pulling > values from form fields, it still shows as nobody in from header. Is this a > server situation? Theyre using php4 support and they claim its that I'm not > using appropriate variables in the function. > > You have to set the From header manually: http://www.php.net/manual/en/function.mail.php Regards Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] mail prob
I'm using a remote host, and when I call mail() with all the var's pulling values from form fields, it still shows as nobody in from header. Is this a server situation? Theyre using php4 support and they claim its that I'm not using appropriate variables in the function. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP]
From: "Jonathan Sharp" <[EMAIL PROTECTED]> > well...i just finished some code for dealing with an option box that has all > the states listed... > > > Select State > $ST[] = 'AL'; $ST[] = 'AK'; $ST[] = 'AR'; $ST[] = 'AZ'; > $ST[] = 'CA'; $ST[] = 'CO'; $ST[] = 'CT'; $ST[] = 'DC'; > $ST[] = 'DE'; $ST[] = 'FL'; $ST[] = 'GA'; $ST[] = 'HI'; > $ST[] = 'IA'; $ST[] = 'ID'; $ST[] = 'IL'; $ST[] = 'IN'; > $ST[] = 'KS'; $ST[] = 'KY'; $ST[] = 'LA'; $ST[] = 'MA'; > $ST[] = 'MD'; $ST[] = 'ME'; $ST[] = 'MI'; $ST[] = 'MN'; > $ST[] = 'MO'; $ST[] = 'MS'; $ST[] = 'MT'; $ST[] = 'NC'; > $ST[] = 'ND'; $ST[] = 'NE'; $ST[] = 'NH'; $ST[] = 'NJ'; > $ST[] = 'NM'; $ST[] = 'NV'; $ST[] = 'NY'; $ST[] = 'OH'; > $ST[] = 'OK'; $ST[] = 'OR'; $ST[] = 'PA'; $ST[] = 'PR'; > $ST[] = 'RI'; $ST[] = 'SC'; $ST[] = 'SD'; $ST[] = 'TN'; > $ST[] = 'TX'; $ST[] = 'UT'; $ST[] = 'VA'; $ST[] = 'VT'; > $ST[] = 'WA'; $ST[] = 'WV'; $ST[] = 'WI'; $ST[] = 'WY'; > for($i = 0; $i < count($ST); $i++) > { > echo ' if($state == $ST[$i]) > { > echo ' selected'; > } > echo '>'.$ST[$i]."\n"; > }//For > ?> > > > First it creates an array $ST that contains a list of all the states > (includes PR and DC) > Next it loops through that array and if $state has the same value as the > state, it selects it... > > You could probably turn this into a function or something... > > =codeboy > Or better would be: $s"; } ?> PHP has many syntax features and language constructs which can significantly improve code performance and manageability -- use them! Now this code could easily be extended to give each state a descriptive name, and to create a generic listbox-drawing function which you can then re-use elsewhere in your program (or as a code snippet which you can use in other programs in the future!): \n"; foreach ($data as $key => $value) { echo "$value\n"; } echo ""; } $states = array( "AL" => "Alabama", "AK" => "Arkansas", "AZ" => "Arizona", ... etc "WY" => "Wyoming" ); drawListBox("state", $states, $state); ?> When it comes to programming, in many ways "laziness is a virtue". Instead of writing the same code 10 times over in subtly different ways, write it once and make it reusable! Not only does this save you time, it can make your program less buggy and easier to upgrade. :) Cheers Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP]
well...i just finished some code for dealing with an option box that has all the states listed... Select State '.$ST[$i]."\n"; }//For ?> First it creates an array $ST that contains a list of all the states (includes PR and DC) Next it loops through that array and if $state has the same value as the state, it selects it... You could probably turn this into a function or something... =codeboy > -Original Message- > From: Peter Houchin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 22, 2001 8:17 PM > To: PHP MAIL GROUP > Subject: [PHP] > > if i have a form with a select box in it how an i get the values > to echo a php value ... > > ie > > > ACT > VIC > > > can i change it to say > > ACT > VIC > > > so that when the page loads it shows which ever option is in the > Data base? > > Peter Houchin > Sun Rentals > [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /ext/standard exec.c
andre Thu Feb 22 21:08:15 2001 EDT Modified files: /php4/ext/standard exec.c Log: fix stas' last commit, added additional ifdefs PHP_SIGCHILD to fix win32 build Index: php4/ext/standard/exec.c diff -u php4/ext/standard/exec.c:1.50 php4/ext/standard/exec.c:1.51 --- php4/ext/standard/exec.c:1.50 Thu Feb 22 02:15:52 2001 +++ php4/ext/standard/exec.cThu Feb 22 21:08:15 2001 @@ -15,7 +15,7 @@ | Author: Rasmus Lerdorf | +--+ */ -/* $Id: exec.c,v 1.50 2001/02/22 10:15:52 stas Exp $ */ +/* $Id: exec.c,v 1.51 2001/02/23 05:08:15 andre Exp $ */ #include #include "php.h" @@ -51,7 +51,9 @@ int overflow_limit, lcmd, ldir; int rsrc_id; char *b, *c, *d=NULL; +#if PHP_SIGCHILD void (*sig_handler)(); +#endif PLS_FETCH(); FLS_FETCH(); @@ -93,8 +95,9 @@ tmp = php_escape_shell_cmd(d); efree(d); d = tmp; - +#if PHP_SIGCHILD sig_handler = signal (SIGCHLD, SIG_DFL); +#endif #ifdef PHP_WIN32 fp = V_POPEN(d, "rb"); #else @@ -104,11 +107,15 @@ php_error(E_WARNING, "Unable to fork [%s]", d); efree(d); efree(buf); +#if PHP_SIGCHILD signal (SIGCHLD, sig_handler); +#endif return -1; } } else { /* not safe_mode */ +#if PHP_SIGCHILD sig_handler = signal (SIGCHLD, SIG_DFL); +#endif #ifdef PHP_WIN32 fp = V_POPEN(cmd, "rb"); #else @@ -117,7 +124,9 @@ if (!fp) { php_error(E_WARNING, "Unable to fork [%s]", cmd); efree(buf); +#if PHP_SIGCHILD signal (SIGCHLD, sig_handler); +#endif return -1; } } @@ -146,7 +155,9 @@ if ( buf == NULL ) { php_error(E_WARNING, "Unable to erealloc %d bytes for exec buffer", buflen + EXEC_INPUT_BUF); +#if PHP_SIGCHILD signal (SIGCHLD, sig_handler); +#endif return -1; } buflen += EXEC_INPUT_BUF; @@ -212,8 +223,9 @@ FG(pclose_ret) = WEXITSTATUS(FG(pclose_ret)); } #endif - +#if PHP_SIGCHILD signal (SIGCHLD, sig_handler); +#endif if (d) { efree(d); } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP]
On Fri, 23 Feb 2001 14:46, Peter Houchin wrote: > > if i have a form with a select box in it how an i get the values to > echo a php value ... > ie > > > ACT > VIC > > > can i change it to say > > ACT > VIC > > > so that when the page loads it shows which ever option is in the Data > base? > Peter Houchin > Sun Rentals > [EMAIL PROTECTED] > I think you are asking how to show the selected value? Something like ACT -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Counter Help
From: "Chris Lee" <[EMAIL PROTECTED]> > change > > $row[count] > > to > > $row['count'] > > it thinks the work [count] is some kind of conastant, it doesnt know you > mean (string) 'count' > I have noticed a lot of people do not put quotes on their array indexes (e.g. VBulletin is a prime offender) - imho this is a really bad practice because your code becomes ambiguous. Example: "orange", "bar"=>"purple"); echo $test[foo]; ?> Now, I think that should print nothing (or an error), because there is no index matching "donkey" (the value of the constant "foo"). But for some reason PHP looks for an array index matching the string "foo" as well, encouraging this kind of sloppy programming. Regards Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Counter Help
Chris, It worked! Thanks so much! Weberdev needs to fix it too. Navid -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 4:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Counter Help change $row[count] to $row['count'] it thinks the work [count] is some kind of conastant, it doesnt know you mean (string) 'count' -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Navid Yar"" <[EMAIL PROTECTED]> wrote in message 000101c09d2d$135683e0$[EMAIL PROTECTED]">news:000101c09d2d$135683e0$[EMAIL PROTECTED]... > Can someone help me with this script? It is an example from weberdev.com. I > ran it and it gave me the following error... > > -- Warning: Use of undefined constant count - assumed 'count' in > c:\windows\desktop\localhost\examples\counter\counter1.php on line 27 > 25 > > The number 25 is the correct number for the counter, but how do I get rid of > that error message that keeps coming up before the counter number (25)? I am > testing and learning PHP on Windows ME and am using PHP 4.0.4 with MySQL > 3.23.33. Here is the script: > > > > > > > > > > > $hostname = 'localhost'; > $username = 'username'; > $password = 'password'; > $dbName = 'database'; > MYSQL_CONNECT($hostname,$username,$password) OR DIE("Unable to connect to > database"); > @mysql_select_db("$dbName") or die("Unable to select database"); > > $name = "$SCRIPT_NAME"; > > $result = MYSQL_QUERY("SELECT * FROM counter WHERE (name = '$name')") or die > ("Bad query: ".mysql_error()); > $row = mysql_fetch_array($result); > > if($row){ > MYSQL_QUERY("UPDATE counter SET count = count+1 WHERE (name = '$name')") or > die ("Bad query: ".mysql_error()); > $count = $row[count]; > }else{ > MYSQL_QUERY("INSERT INTO counter VALUES ('', '$name', '2')") or die ("Bad > query: ".mysql_error()); > $count = '1'; > } > echo $count; > ?> > > > > > -- Navid > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP]
if i have a form with a select box in it how an i get the values to echo a php value ... ie ACT VIC can i change it to say ACT VIC so that when the page loads it shows which ever option is in the Data base? Peter Houchin Sun Rentals [EMAIL PROTECTED]
Re: [PHP] Obtaining a value from dynamic list box
On Fri, 23 Feb 2001 05:21, Claudia wrote: > When selecting a value from a dynamically generated list box, the > subsequent value passed to the table truncates when > there is a blank in the string > > Here is the table structures (Mysql database) > > First table has variable course_name (varchar -- length 50) > This database will be used to generate the dynamic list box for the > course_name field. > Second table has variable issue_course_name (varchar -- length50) and > is the variable that stores the result of the selected > course name in the dynamic list box. > > Here is the code that is currently truncating all characters after the > space: > > td height="41" bgcolor="#FF"> '; > > $result = mysql_query("select course_name from coursebuild > where course_status = \"in_test\" > order by course_name asc"); > > echo ""; > echo " Select Course \n"; > > if ($myrow = mysql_fetch_array($result)) > { > do > { > echo " value=$myrow[course_name]>$myrow[course_name]\n"; > } > while ($myrow = mysql_fetch_array($result)); > echo ""; > > Insert statement > > $query = "insert into testissues ( issue_course_name) > values ( '$issue_course_name') "; > $mysql_result = mysql_query($query, $mysql_link); IIRC the relevant standards require that values in tags be enclosed in quotes if they [are likely to] contain spaces. So at minimum your OPTION tags should look like: echo "$myrow[course_name]\n"; Having said that, you could handle this better if you have an autoincrement field like course_id that uniquely defines each course_name record - then you could use the course_id as the VALUE in the option tag; you may have to do a lookup at the INSERT stage to get the value of course_name. -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] -----s--- bit
If you would like to access /etc/shadow, you probaly make a new extension that interfaces PAM. Is there PAM extensoin for PHP4?? already??. I also would like to get one if there is. -- Yasuo Ohgaki > >Hi, > >Why do you want to access /etc/shadow from your PHP?. As a general >rules of thumb that's a pretty bad idea. The reason for this is that >/etc/shadow is owned by Root and it's *should* only be readable by >Root >and noone else. > >Now in answer to your question "Why your PHP" script can't read >/etc/shadow is that if you're PHP script is running as Apache module >(or even a stand alone CGI). Your User ID would most likely *not* be >Root. >Thus you are not allowed to read the /etc/shadow. > >You are able to fix this by running the Apache process as Root! >THIS IS A VERY VERY bad idea but possible nonetheless as it is >a huge security hazard. > >To configure Apache to run as Root, check out Apache doc > >HTH. > > > Hi, > > > > I am running apache server as user/group=apache/httpd > > And want to access the shadow file to authenticate my users > > from the system. > > > > shadow file is owned by root and chmod to 400. > > > > server-root:/5:28pm>ls -al /etc/shadow > > -r 1 root sys 27695 Feb 22 10:06 /etc/shadow > > > > I can access the shadow from cgi-bin / c code by giving the > > chmod +s bit . > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] > _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Adding new data at beginning.
On Fri, 23 Feb 2001 08:34, Jan Grafström wrote: > Hi! > I am trying to put in a new data at the beginning of a file. > I have started like this; > > > > $yourfile = "test.xml"; ( this is the file.) > $fp = fopen ($yourfile, r); > $message = array(1 => '', '', '', '', '', '', > ''); > Here I need some code to get the output look like > this"" > > print_r($message); > fwrite ($fp, $message); > fclose ($fp); > > I am thankful for any help. > > Regards > Jan You need to do something like: open file for read while(condition not met) read file line by line into array endwhile add your element(s) to the array read the rest of the file into the array close file open file for write [which will truncate the file] write the array to file close file You could perhaps enhance this by writing to say a temp file and once you are satisfied the write is complete, rename the temp file to the original. The 'while condition not met' is the test you use to determine when you get to the part of the file where you want to add your bits. Cheers -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] passing variables in javascript
From: "Nicholas W. Miller" <[EMAIL PROTECTED]> > I have a text link that is coded to open a PHP file in a popup window: > > href="#"onClick="MM_openBrWindow('../email/popup.php?title=B2B+Antitrust:+Op ening+Moves+in+the+Game&url=http://www.domain.com/biz/pubs.html#antitrust',' email','width=410,height=435')">Emailthis > article > > For some reason the $url variables cuts off the anchor, so I only get this: > > $url = http://www.dttgfsi.com/ebiz/pubs_eviews.html > > I have tried escaping it (\#antitrust), but the doesn't work. > > Any suggestions would be appreciated ... > > Nick > You have to encode each part of the query string on the URL correctly: http://www.domain.com/biz/pubs.html#antitrust"); ?>', 'email','width=410,height=435')">Emailthis Cheers Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] passing variables in javascript
I have a text link that is coded to open a PHP file in a popup window: http://www.domain.com/biz/pubs.html#antitrust','email','width=410,height=435')">Emailthis article For some reason the $url variables cuts off the anchor, so I only get this: $url = http://www.dttgfsi.com/ebiz/pubs_eviews.html I have tried escaping it (\#antitrust), but the doesn't work. Any suggestions would be appreciated ... Nick
[PHP] more info: Re: [PHP] file uploads problem?
I was curious, so I uploaded a file using the upload form and transferred the same file via ftp and did a diff on the two files. Here's the results: diff -a Poster.jpg Poster_test.jpg 0a1,2 > Content-Type: image/pjpeg > Does that help? -Ed At 06:01 PM 2/22/2001 -0800, Ed Lazor wrote: >More info: > >I transferred an image to the web server via ftp and was able to view it >successfully from the web site. > >Here's an example image that was transferred using a file upload form that >won't display properly: > >http://www.atfantasy.com/attachments/3224/samurai1.jpg > >When you try to view it, it just displays a box with a small x, as if the >image wasn't there. I've verified the image is there. > >What would be doing this? > >-Ed > > >At 05:30 PM 2/22/2001 -0800, Ed Lazor wrote: >>File uploads -was- working. I reinstalled the server with the RedHat >>packages >> >> apache-1.3.14-3.rpm >> php-4.0.4pl1-3.rpm >> php-mysql-4.0.4pl1-3 >> >>I'm using the same scripts, but file uploads is not working >>now. Correction... the file uploads to the server, but doesn't view >>properly when I try to load it in a browser. If I grab it by ftp from >>the server and view it in Photoshop, it looks fine. >> >>Any ideas? >> >>-Ed >> >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >>To contact the list administrators, e-mail: [EMAIL PROTECTED] > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
php-general Digest 23 Feb 2001 03:00:44 -0000 Issue 528
php-general Digest 23 Feb 2001 03:00:44 - Issue 528 Topics (messages 41147 through 41251): PHP and PAM 41147 by: Robert Marzon Re: No GIF support in this PHP build??? 41148 by: Jeremy Gillies java servlets 41149 by: Adrian Murphy 41177 by: Michael Stearne Re: crontab help 41150 by: Joe Stump 41151 by: Joe Stump 41159 by: Arnold Gamboa 41162 by: Boget, Chris 41163 by: Joe Stump 41165 by: Dale Frohman Re: Terrible Hosting Experience 41152 by: Jeremy Gillies security? 41153 by: Conover, Ryan File Upload Mime Headers Garbled 41154 by: Joseph Koenig Re: size of directory 41155 by: Robert V. Zwink 41158 by: Christian Reiniger Re: Print in html 41171 by: Tim Ward Re: PHP vs. FreeTDS 41172 by: Michael Kimsal String manipulation with ereg_replace 41173 by: Ian LeBlanc 41176 by: Ian LeBlanc 41226 by: Simon Garner 41233 by: Christian Reiniger Re: isset() 41174 by: Steve Edberg 41186 by: Joe Stump 41187 by: Ernest E Vogelsinger Alternate 2 schedules... 41175 by: J-Frs Dubé cached fasttemplates permissions prob 41178 by: Peter Van Dijck Retrieving echoed data 41179 by: Todd Cary Re: image orientation? 41180 by: Matt McClanahan sessions and objects 41181 by: Kevin Beckford 41183 by: jeremy brand 41184 by: Cal Evans Writing to an ftp... 41182 by: Brandon Orther I have a great problem with sessions, can anybody help me!!! 41185 by: Securez International support 41188 by: Soma Interesting variable sent using pots is cat! 41189 by: kaab kaoutar 41201 by: Jason Stechschulte 41202 by: Jason Stechschulte Obtaining a value from dynamic list box 41190 by: Claudia How do I request a new feature? 41191 by: Ide, Jim 41238 by: php3.developersdesk.com Sessions and naming a file with SID 41192 by: Brandon Orther 41195 by: Ernest E Vogelsinger 41216 by: Martin A. Marques i18n 41193 by: Peter Van Dijck security and php 41194 by: Gustavo Vieira Goncalves Coelho Rios Templates & PHP 41196 by: Maamiin Passing values containing a ? and a & 41197 by: Tom Harris 41198 by: Javier Muniz 41199 by: Ernest E Vogelsinger Troubleshooting Strange Problem 41200 by: Ben Ocean 41206 by: Philip Olson books 41203 by: Gustavo Vieira Goncalves Coelho Rios 41208 by: Philip Olson 41215 by: Boaz Yahav 41229 by: Phillip Bow 41241 by: Navid Yar File command 41204 by: Liam Gibbs Solaris with 100 VHosts -- death 41205 by: Dan Debertin concatenate vars? 41207 by: W.D. 41210 by: Philip Olson 41213 by: W.D. security 41209 by: Gustavo Vieira Goncalves Coelho Rios 41211 by: Javier Muniz 41219 by: Gustavo Vieira Goncalves Coelho Rios 41223 by: Javier Muniz Annoucement: Smarty template engine 1.3.0 released 41214 by: Monte Ohrt filenames on file download 41217 by: indrek siitan 41221 by: Chris Lee best slashdot? 41218 by: Jaxon Arrays -- How do I insert a pair of data into an array 41220 by: Scott Walter 41224 by: Javier Muniz 41236 by: Christian Reiniger Adding new data at beginning. 41222 by: Jan Grafström Re: Asking Sth about PHP 41225 by: Toby Butzon Re: MySQL execution order? 41227 by: ..s.c.o.t.t.. [gts] 41230 by: Mark Maggelet Problem using META tag refresh for page re-directs 41228 by: Johnson, Kirk 41231 by: Chris Lee 41244 by: Johnson, Kirk 41246 by: Chris Lee Regex problems. 41232 by: Ian LeBlanc 41234 by: Phillip Bow Ok, this might make more sense 41235 by: YoBro 41237 by: Phillip Bow 41239 by: Chris Lee Problems sending mail to aol with the mail() function 41242 by: Steve Kenshalo Counter Help 41243 by: Navid Yar 41247 by: Chris Lee Best Way To Control Forms 41245 by: Jonathan Sharp file uploads problem? 41248 by: Ed Lazor 41250 by: Ed Lazor Location 41249 by: Brandon Feldhahn 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] -- Hello I tried to used PHP with autentification I wrote script, but I had got error : Fatal error: Call to undefined function: pam_auth() in /usr/home/httpd/html/farm/dev/test/user.php on line 2 I read some FAQ and I found the answer: For some reason, newer version of php4 do not always seem to properly update the autoconf
RE: [PHP] -----s--- bit
Hi, Why do you want to access /etc/shadow from your PHP?. As a general rules of thumb that's a pretty bad idea. The reason for this is that /etc/shadow is owned by Root and it's *should* only be readable by Root and noone else. Now in answer to your question "Why your PHP" script can't read /etc/shadow is that if you're PHP script is running as Apache module (or even a stand alone CGI). Your User ID would most likely *not* be Root. Thus you are not allowed to read the /etc/shadow. You are able to fix this by running the Apache process as Root! THIS IS A VERY VERY bad idea but possible nonetheless as it is a huge security hazard. To configure Apache to run as Root, check out Apache doc HTH. > Hi, > > I am running apache server as user/group=apache/httpd > And want to access the shadow file to authenticate my users > from the system. > > shadow file is owned by root and chmod to 400. > > server-root:/5:28pm>ls -al /etc/shadow > -r 1 root sys 27695 Feb 22 10:06 /etc/shadow > > I can access the shadow from cgi-bin / c code by giving the > chmod +s bit . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] file uploads problem?
More info: I transferred an image to the web server via ftp and was able to view it successfully from the web site. Here's an example image that was transferred using a file upload form that won't display properly: http://www.atfantasy.com/attachments/3224/samurai1.jpg When you try to view it, it just displays a box with a small x, as if the image wasn't there. I've verified the image is there. What would be doing this? -Ed At 05:30 PM 2/22/2001 -0800, Ed Lazor wrote: >File uploads -was- working. I reinstalled the server with the RedHat packages > > apache-1.3.14-3.rpm > php-4.0.4pl1-3.rpm > php-mysql-4.0.4pl1-3 > >I'm using the same scripts, but file uploads is not working >now. Correction... the file uploads to the server, but doesn't view >properly when I try to load it in a browser. If I grab it by ftp from the >server and view it in Photoshop, it looks fine. > >Any ideas? > >-Ed > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Location
Im making a website and i want the viewer to know were he of she is, what do i need to do to make a location bar (home > serverices ect...) with the $PHP_SELF command, i wasent able to figure it out so i am asking assistance from another person. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] file uploads problem?
File uploads -was- working. I reinstalled the server with the RedHat packages apache-1.3.14-3.rpm php-4.0.4pl1-3.rpm php-mysql-4.0.4pl1-3 I'm using the same scripts, but file uploads is not working now. Correction... the file uploads to the server, but doesn't view properly when I try to load it in a browser. If I grab it by ftp from the server and view it in Photoshop, it looks fine. Any ideas? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /ext/midgard preparser-scanner.l
davidg Thu Feb 22 17:08:44 2001 EDT Modified files: /php4/ext/midgard preparser-scanner.l Log: misbehavior of the preparser that translated (eg) myeval() into mymgd_eval() Index: php4/ext/midgard/preparser-scanner.l diff -u php4/ext/midgard/preparser-scanner.l:1.3 php4/ext/midgard/preparser-scanner.l:1.4 --- php4/ext/midgard/preparser-scanner.l:1.3Sat Feb 17 15:21:50 2001 +++ php4/ext/midgard/preparser-scanner.lThu Feb 22 17:08:43 2001 @@ -1,6 +1,6 @@ %{ -/* $Id: preparser-scanner.l,v 1.3 2001/02/17 23:21:50 emile Exp $ +/* $Id: preparser-scanner.l,v 1.4 2001/02/23 01:08:43 davidg Exp $ Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]> Copyright (C) 2000 The Midgard Project ry Copyright (C) 2000 Emile Heyns, Aurora SA <[EMAIL PROTECTED]> @@ -207,7 +207,7 @@ mgd_append_byte(mgdlval.gstring, mgdtext); } -[^_]"eval"{WHITESPACE}*"(" { +[^a-zA-Z0-9_]"eval"{WHITESPACE}*"(" { /* TODO: change the [^_] to make it conditional, so it's not part of the match */ mgd_append_byte(mgd_output_buffer, mgdtext); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Counter Help
change $row[count] to $row['count'] it thinks the work [count] is some kind of conastant, it doesnt know you mean (string) 'count' -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Navid Yar"" <[EMAIL PROTECTED]> wrote in message 000101c09d2d$135683e0$[EMAIL PROTECTED]">news:000101c09d2d$135683e0$[EMAIL PROTECTED]... > Can someone help me with this script? It is an example from weberdev.com. I > ran it and it gave me the following error... > > -- Warning: Use of undefined constant count - assumed 'count' in > c:\windows\desktop\localhost\examples\counter\counter1.php on line 27 > 25 > > The number 25 is the correct number for the counter, but how do I get rid of > that error message that keeps coming up before the counter number (25)? I am > testing and learning PHP on Windows ME and am using PHP 4.0.4 with MySQL > 3.23.33. Here is the script: > > > > > > > > > > > $hostname = 'localhost'; > $username = 'username'; > $password = 'password'; > $dbName = 'database'; > MYSQL_CONNECT($hostname,$username,$password) OR DIE("Unable to connect to > database"); > @mysql_select_db("$dbName") or die("Unable to select database"); > > $name = "$SCRIPT_NAME"; > > $result = MYSQL_QUERY("SELECT * FROM counter WHERE (name = '$name')") or die > ("Bad query: ".mysql_error()); > $row = mysql_fetch_array($result); > > if($row){ > MYSQL_QUERY("UPDATE counter SET count = count+1 WHERE (name = '$name')") or > die ("Bad query: ".mysql_error()); > $count = $row[count]; > }else{ > MYSQL_QUERY("INSERT INTO counter VALUES ('', '$name', '2')") or die ("Bad > query: ".mysql_error()); > $count = '1'; > } > echo $count; > ?> > > > > > -- Navid > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem using META tag refresh for page re-directs
yes I know what your saying. trans-sid will not work when the url is absolute ie. or index or header("Location: http://$SERVER_NAME/index.php"); header redirects *require* absolute url's so your going to have to add the phpsessid yourself, ie. http://$SERVER_NAME/index.php?$SID"); ?> rember "" not '' seems people get them mixed up alot. '' doesnt parse the string. I use this method to transer valid sessions accros multiple domain names on the same box. sessions will not follow absolte urls and cookies are only vaild on a per-domain name basis. use sessions and your can force a session across multiple domain names. ie. our secure server is on a differnet domain name then the regular sites. we do this to get a cheaper deal on our certificate, all our sites use one domain name for secure info. I would recomment agains php.net's sujestion os using SID ie. echo "index"; SID is only set if the a cookie is NOT set. oi. thank god $PHPSESSID is allways set :) another note too though is try and limit the amount of header re-redirects you use, search engines will not index pages that follow header redirects. spam thing or something. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks, Chris. This touches on another problem. Have you tried this with > session cookies disabled in your browser? Can you pass the session ID using > the header function? I can't seem to, but I *can* pass it using SID appended > to the URL in the META tag. This is one reason I wanted to stay with the > META refresh method, if possible, so the site still works for people with > cookies disabled. > > Thanks, again, I will play with this. > > Kirk > > - > Chris Lee replied: > > if you have output buffering on in php.ini > > output_bufffering = on > > cobine this with > > header("Location: http://$SERVER_NAME/index.php"); > exit(); > ?> > > and youve got a great cobination, zero html will be sent to the browser, > just the header, the browser will refresh for you. try it, works better then > meta tags. > > > ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have been using the code below to do my page redirects for a year and a > > half with good results. Recently, some users have reported to me that the > > actual code is being partially displayed to the screen, and the re-direct > is > > not occurring. It is as if the server stops serving the page before it is > > complete. Sometimes the problem can be corrected by the user just doing a > > manual refresh in their browser. Is anyone else that uses META tag > > re-directs having this problem? Anyone know what the solution might be? > > > > > > echo(" CONTENT=\"$delay;url=$url\">< > > /HEAD>$message"); > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Best Way To Control Forms
I have a few sites which contain forms that span multiple screens (all contained in two scripts though...) theforms.php The html for the form. The html for the form. forms.php showScreen1(); break; case 'saveScreen1': if($theForms->saveScreen1() != true) { $error = "it died!"; $theForms->showScreen1(); break; } case 'showScreen2': $theForms->showScreen2(); break; }//Switch ?> so basically I put all the html into functions in a class, and control the flow of the form with the switch statement, that way if my function that saves the data comes across an error, it get's trapped and shows that screen again... Has anybody else found a more elegant way to accomplish this? It works quite nice, but I was wondering how other people go about creating their forms. Thanks, -Jonathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Problem using META tag refresh for page re-directs
Thanks, Chris. This touches on another problem. Have you tried this with session cookies disabled in your browser? Can you pass the session ID using the header function? I can't seem to, but I *can* pass it using SID appended to the URL in the META tag. This is one reason I wanted to stay with the META refresh method, if possible, so the site still works for people with cookies disabled. Thanks, again, I will play with this. Kirk - Chris Lee replied: if you have output buffering on in php.ini output_bufffering = on cobine this with http://$SERVER_NAME/index.php"); exit(); ?> and youve got a great cobination, zero html will be sent to the browser, just the header, the browser will refresh for you. try it, works better then meta tags. ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have been using the code below to do my page redirects for a year and a > half with good results. Recently, some users have reported to me that the > actual code is being partially displayed to the screen, and the re-direct is > not occurring. It is as if the server stops serving the page before it is > complete. Sometimes the problem can be corrected by the user just doing a > manual refresh in their browser. Is anyone else that uses META tag > re-directs having this problem? Anyone know what the solution might be? > > > echo("< > /HEAD>$message"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Counter Help
Can someone help me with this script? It is an example from weberdev.com. I ran it and it gave me the following error... -- Warning: Use of undefined constant count - assumed 'count' in c:\windows\desktop\localhost\examples\counter\counter1.php on line 27 25 The number 25 is the correct number for the counter, but how do I get rid of that error message that keeps coming up before the counter number (25)? I am testing and learning PHP on Windows ME and am using PHP 4.0.4 with MySQL 3.23.33. Here is the script: -- Navid -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Problems sending mail to aol with the mail() function
Hello, I am working on a PHP script for an e-commerce site that mails out calling card pin numbers after somebody purchases them online. Turing testing I not noticed that aol users were not receiving the messages. AOL seems to be filtering them out without sending a bounce or anything. We tried it with multiple aol users, and nothing I tried when using the mail function got through, but messages sent from the server with pine and the php mail package SquirrelMail do get through. The messages are received on every other mail system I have tried. I know this is more of a mail question, but I was hoping somebody here and encountered this before and knew of a workaround. I noticed that SquirrelMail doesn't use the mail function, they chose to write their own SMPT package. I wonder why? Anyway, my test scripts look like this: I tried playing around with different headers and nothing made any difference. I sent them to myself and they sure look like valid email messages to me. Does anybody else have this problem? What did you do about it? Thanks, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] books
I think Wrox is a very good reference for any language. I have an XSLT reference from Wrox and it has helped me tremendously because it is so comprehensive (includes online reference material). I'm sure the PHP book from Wrox is just as good. Another great book for PHP, especially for beginners, is The PHP Bible. Navid -Original Message- From: Phillip Bow [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 4:52 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] books Personally I started with the Wrox Professional PHP Programming guide and still use it today(its sittin in front of me). I see they have one out now for php4 which is around $60 which I am probably going to order just to keep up to date. They cover the basics and then go into some more specific sections(broken into chapters) on useful technologies you can integrate with such as XML, LDAP, and MySQL all the while providing good reference sections in each chapter and sample code. If you haven't figured it out already I'd recommend the wrox book. -- phill > > The WROX books are popular. Also, check out the archives for previous > discussions : > > http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=book > > > Regards, > > Philip Olson > http://www.cornado.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] PDF Problems
Addressed to: Mike Tuller <[EMAIL PROTECTED]> php mailing list <[EMAIL PROTECTED]> ** Reply to note from Mike Tuller <[EMAIL PROTECTED]> Thu, 22 Feb 2001 09:05:34 -0600 > > Do you have any idea when 4.0.5 will be out? If nothing goes wrong, they hope to do it around the first of the month. Rick Widmer Internet Marketing Specialists http://www.developersdesk.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Ok, this might make more sense
Your asking a huge question and expecting a small answer ie. php_save(); the anser your looking or is not small, im sorry. your asking a big question, and with all big questions comes a big answer. Do you know how to use db's ? mysql? postgres? I'll assume you do. save you changes in a db, pull those variables rom the db and arange the client pages around this data. http://phpbuilder.com/columns/jesus19990308.php3 has an article on learning to use mysql. if you dont have a db you can use, you could use xml, I would recommend installing a db before you tackeled this, you said you have till monday, this doesnt leave alot of time to learn xml and all that is assisiated with it. your going to be pushing it to learn a db language by then. when php is run all the variables are rememberd, untill... php stops running, then all is lost, this is why you need a db, to remember all the data. you could use sessions, but this is not what your looking for. sessions are for remebering *one* persons info, not many people's, and not for long term, short term. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""YoBro"" <[EMAIL PROTECTED]> wrote in message 9746nm$gh3$[EMAIL PROTECTED]">news:9746nm$gh3$[EMAIL PROTECTED]... > Hi, > > My last message on this topic was a bit hard to translate. So here is the > thought out version. > > 1.I have a page on a server called admin.php (protected by htaccess for > admin use only) > 2.This page holds variables that are changed by form elements. > (Checkboxes etc) >And this in turn effects different parts of the site it is being used > in. > 3.I want to know how to keep the changes to the form. > > Example: If i bring up the admin.php page in my browser and click a > checkbox, it permantly keeps it changed until i decide to change it again. > > 4.Is there some sort of PHP save command, that saves the state of a > page. > 5.Any ideas? > > Please help, I gotta have this worked out by Monday or I'm dead. > > -- > Regards, > > > YoBro > - > DO NOT REPLY TO THIS VIA EMAIL > PLEASE USE THE NEWSGROUP > All emails sent to this address are automatically deleted. > This is to avoid SPAM! > - > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How do I request a new feature?
Addressed to: "Ide, Jim" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Ide, Jim" <[EMAIL PROTECTED]> Thu, 22 Feb 2001 13:48:34 -0500 > > > Hi - > > How can/should I contact the developers of PHP > to request that they add a new feature to PHP? Submit a bug report at: http://bugs.php.net/ Make sure the Type of Bug is set to Feature/Change Request Rick Widmer Internet Marketing Specialists http://www.developersdesk.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Ok, this might make more sense
You could have the page output options to a formatted plain text file. Sample Format { bold = 0; italic = 1; } and then when the page loads it reads in the options from that file and alters the page accordingly. For extra credit use a database rather than a plain text file, but if you haven't done that before (and there is a deadline) this is probably the easiest learning curve. -- phill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Arrays -- How do I insert a pair of data into an array
On Thursday 22 February 2001 22:58, Scott Walter wrote: > I am attempting to insert a set of data (actually a pair) into an > array, without much success. I would like to insert the data set > ("course number", "course title") into a numerically indexed array so > that when I want to output the array I can reference it like so: > > echo("$array[$i]["course_num"] $array[$i]["course_title"]"); Change this to echo ("{$array[$i]['course_num']} {$array[$i]['course_title']}"); -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds. - http://www.google.com/search?q=e -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Ok, this might make more sense
Hi, My last message on this topic was a bit hard to translate. So here is the thought out version. 1.I have a page on a server called admin.php (protected by htaccess for admin use only) 2.This page holds variables that are changed by form elements. (Checkboxes etc) And this in turn effects different parts of the site it is being used in. 3.I want to know how to keep the changes to the form. Example: If i bring up the admin.php page in my browser and click a checkbox, it permantly keeps it changed until i decide to change it again. 4.Is there some sort of PHP save command, that saves the state of a page. 5.Any ideas? Please help, I gotta have this worked out by Monday or I'm dead. -- Regards, YoBro - DO NOT REPLY TO THIS VIA EMAIL PLEASE USE THE NEWSGROUP All emails sent to this address are automatically deleted. This is to avoid SPAM! - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Regex problems.....
You should either do this with ereg, or strtolower and not a combination of the two, and in all actuality strtolower is specifically desinged to do this very easily so I would go with it. "; $contents = strtolower($contents); ?> Should do what you want. -- phill "Ian LeBlanc" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Guys/Gals: > > For some reason too long to explane .. i have this site that i need to make > all the image names in an > image src all lowercase.. Here is what I have so far. Please someone tell > me what I am doing wrong. > > $contents=" alt=ThisOneReallyNeedsToBeAllLowercase.gif>"; > $contents = EREG_REPLACE("([-_a-zA-Z0-9]+).gif",strtolower("\\0"),$contents); > ?> > > Output of $contents needs to equal > > alt=thisonereallyneedstobealllowercase.gif> > > > I have the top part of my script reading the whole DIR and only editing the > HTML files so > that part is taken care of All I need it help with making the images tag > all lower case. > Ian LeBlanc > 2tonecafe.com Admin > 727-517-3866 > > > > You can have [EMAIL PROTECTED] free too. Apply today! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] String manipulation with ereg_replace
On Thursday 22 February 2001 23:42, Simon Garner wrote: > This should do the trick (untested!): > > $contents = " alt=ThisOneReallyNeedsToBeAllLowercase.gif>"; > > $contents = preg_replace("/([-_a-zA-Z0-9]+)\.gif/e", > "strtolower('\\1') . '.gif'", $contents); > ?> simpler that "/([-_a-zA-Z0-9]+)\.gif/e" is "/([-\w]+)\.gif/e" -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Google results 1-10 of about 142,000,000 for e. Search took 0.18 seconds. - http://www.google.com/search?q=e -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Regex problems.....
Guys/Gals: For some reason too long to explane .. i have this site that i need to make all the image names in an image src all lowercase.. Here is what I have so far. Please someone tell me what I am doing wrong. "; $contents = EREG_REPLACE("([-_a-zA-Z0-9]+).gif",strtolower("\\0"),$contents); ?> Output of $contents needs to equal I have the top part of my script reading the whole DIR and only editing the HTML files so that part is taken care of All I need it help with making the images tag all lower case. Ian LeBlanc 2tonecafe.com Admin 727-517-3866 You can have [EMAIL PROTECTED] free too. Apply today! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Problem using META tag refresh for page re-directs
if you have output buffering on in php.ini output_bufffering = on cobine this with http://$SERVER_NAME/index.php"); exit(); ?> and youve got a great cobination, zero html will be sent to the browser, just the header, the browser will refresh for you. try it, works better then meta tags. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Johnson, Kirk"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have been using the code below to do my page redirects for a year and a > half with good results. Recently, some users have reported to me that the > actual code is being partially displayed to the screen, and the re-direct is > not occurring. It is as if the server stops serving the page before it is > complete. Sometimes the problem can be corrected by the user just doing a > manual refresh in their browser. Is anyone else that uses META tag > re-directs having this problem? Anyone know what the solution might be? > > Thanks. > > Kirk > > echo("< > /HEAD>$message"); > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] MySQL execution order?
On Thu, 22 Feb 2001 17:41:43 -0500, ..s.c.o.t.t.. [gts] ([EMAIL PROTECTED]) wrote: >mysql executes the queries in the order it recieves >them, (so if your program's logic executes a select >before an update, you'll never see results from the >update in your select... at least not normally :) well, except for insert delayed and update low_priority this might be true, but there's exceptions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] books
Personally I started with the Wrox Professional PHP Programming guide and still use it today(its sittin in front of me). I see they have one out now for php4 which is around $60 which I am probably going to order just to keep up to date. They cover the basics and then go into some more specific sections(broken into chapters) on useful technologies you can integrate with such as XML, LDAP, and MySQL all the while providing good reference sections in each chapter and sample code. If you haven't figured it out already I'd recommend the wrox book. -- phill > > The WROX books are popular. Also, check out the archives for previous > discussions : > > http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=book > > > Regards, > > Philip Olson > http://www.cornado.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Problem using META tag refresh for page re-directs
I have been using the code below to do my page redirects for a year and a half with good results. Recently, some users have reported to me that the actual code is being partially displayed to the screen, and the re-direct is not occurring. It is as if the server stops serving the page before it is complete. Sometimes the problem can be corrected by the user just doing a manual refresh in their browser. Is anyone else that uses META tag re-directs having this problem? Anyone know what the solution might be? Thanks. Kirk echo("< /HEAD>$message"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] MySQL execution order?
mysql executes the queries in the order it recieves them, (so if your program's logic executes a select before an update, you'll never see results from the update in your select... at least not normally :) Are you able to access the MySQL monitor program? if so, verify that the data really does exist before running your script (maybe the SELECT is failing beucase the actual data is incorrect, not the code...) go into the monitor and execute your SELECT statement, then run your PHP script... if the results still disagree, post some more information... - Original Message - From: "Don Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 21, 2001 5:19 PM Subject: [PHP] MySQL execution order? > Since I've always found my answers in the archive, this is my first post, so > please excuse any blunders... > > I'm trying to download info from a table as a tab-delimted text file. This > part works fine. (By disabling the UPDATE statement in the code sample > below, I can get the same data file sent time after time.) > > I need to keep the data in the table for future reference, and only want to > download each new record once, so I added a DateTime field that gets updated > after downloading. Then searching on that field gives me just the records > that haven't been downloaded yet. > > The weird part is that it seems like the LAST MySQL command (UPDATE) gets > executed before the FIRST one (SELECT), because the SELECT statement comes > up with 0 rows. > > > Here's some selected (modified) parts of the PHP code: > > > First, I perform the SQL: > SELECT * from db_table WHERE (DownloadedDateTime = '-00-00 00:00:00') > > Then, it parses and sends the info: > while ($row = mysql_fetch_row($result)) { > while (list($key, $val) = each($row)) { >$val = ereg_replace("[\n\r\t]"," ",$val); >$val = ereg_replace(" {2,}"," ",$val); >echo $val . "\t"; > } > //end of line > echo "\r"; > } > > Then I perform the SQL: > UPDATE LOW_PRIORITY db_table SET DownloadedDateTime=CURRENT_TIMESTAMP WHERE > (DownloadedDateTime = '-00-00 00:00:00') > -- > > Any ideas why the rows are getting the DownloadedDateTime field updated > before they get SELECTed? > > > Thanks, > > Don Johnson > [EMAIL PROTECTED] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] String manipulation with ereg_replace
From: "Ian LeBlanc" <[EMAIL PROTECTED]> > > I am working on a site that has over 1000 pages and all the images need to > be made lower case in the HTML. > Here is what I have so far. Please someone tell me what I am doing wrong. > > > $contents=" alt=ThisOneReallyNeedsToBeAllLowercase.gif>"; > > $contents = EREG_REPLACE("([-_a-zA-Z0-9]+).gif",strtolower("\\0"),$contents); > > > Output of $contents needs to equal > alt=thisonereallyneedstobealllowercase.gif> > > You need to use preg_replace which supports evaluating PHP code for the replacement. To use preg functions you need to have compiled PHP with PCRE (Perl Compatible Regular Expression) support. http://www.php.net/manual/function.preg-replace.php3 This should do the trick (untested!): "; $contents = preg_replace("/([-_a-zA-Z0-9]+)\.gif/e", "strtolower('\\1') . '.gif'", $contents); ?> Cheers Simon Garner -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Asking Sth about PHP
You can also use PHP for shell scripting - just add #!/path/to/php -q as the first line of your script. Note: You will still need to enclose all PHP scripting in tags. Here's an example: file: phpinfo.phpshell The preceding information was returned by PHP info. [EOF] Then run the following on your command line: machine$ cd /path/to/phpinfo.phpshell machine$ ./phpinfo --Toby Michael Stearne wrote: > > You can run php from the command line as a standalone app. > > Compole PHP as a stand-alone CGI program (read the INSTALL file) and then > run it like: > > localhost$ /path/to/php -f myFile.php > > Or you can also run it withing a shell or perl script the same way (maybe > through a system() call in perl) > > Michael > > Ng Chun Chi wrote: > > > Dear Sir, > > I have two problems in using PHP. Could you help me? > > I am using Red-Hat to build up my System. > > Could I use Perl to control some PHP program? > > Also, could I run my PHP program in Linux Console? > > > > Sorry to disturb you > > THx! > > Mr Ng > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Arrays -- How do I insert a pair of data into an array
Try: echo $array[$i][course_num] . ' ' . $array[$i][course_title]; -jm -Original Message- From: Scott Walter [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 1:59 PM To: [EMAIL PROTECTED] Subject: [PHP] Arrays -- How do I insert a pair of data into an array I am attempting to insert a set of data (actually a pair) into an array, without much success. I would like to insert the data set ("course number", "course title") into a numerically indexed array so that when I want to output the array I can reference it like so: echo("$array[$i]["course_num"] $array[$i]["course_title"]"); // where $i is just the index value that increments I tried building the array like so (where $tuple[] is a valid result set from pg_fetch_row(): $array[] = array("course_num" => $tuple[crn], "course_title" => $tuple[course_name]); But all I gets outputted is: Array["course_num"] Array["course_title"] Any help with this would be greatly appreciated. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] security
Those are the only two methods I'm aware of... Zend does offer it's Encoder Unlimited on a subscription basis though that would allow you to encode all of your users scripts (they actually list that as problem for which the encoder is a good solution). -jm -Original Message- From: Gustavo Vieira Goncalves Coelho Rios [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 10:55 PM To: Javier Muniz Cc: [EMAIL PROTECTED] Subject: Re: [PHP] security Javier Muniz wrote: > > Encode them, or set filesystem permissions in such a way (suggest using > groups) to allow apache to read files but not other users. > > For instance, if your users are all members of the users group, and apache > runs as nobody, then set your files to be owned by the user with the nobody > group (chown user:nobody ) then set it to be readable by group, but > not others (chmod 640 ). > > -jm > > -Original Message- > From: Gustavo Vieira Goncalves Coelho Rios [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 21, 2001 9:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] security > Thanks, but i am considering such an approach! Isn't there any other way out? May i consider using php in a shell server environment a stupid thing to do ? Since security is very critical in such environments! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Adding new data at beginning.
Hi! I am trying to put in a new data at the beginning of a file. I have started like this; $yourfile = "test.xml"; ( this is the file.) $fp = fopen ($yourfile, r); $message = array(1 => '', '', '', '', '', '', ''); Here I need some code to get the output look like this"" print_r($message); fwrite ($fp, $message); fclose ($fp); I am thankful for any help. Regards Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] filenames on file download
no problem :) Header("Content-Type: {$prod_r["file_type"]} "); Header("Content-Disposition: filename='{$prod_r["file_name"]}' "); echo $prod_r["file"]; this code works perfect for me, just modify the variables to meet yours. -- Chris Lee ""indrek siitan"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I'm storing files in DB. basically (what's important in this case), > I have two columns: > > file_name - contains the original filename > file_src - blob which contains the actual file > > > now the user clicks on a link something like download.php?file_id=123 > and the php script will spit out the file. is there any way (some > header magic) to make the user browser to offer the file to be > saved as "file_name" ? > > > Rgds, > Tfr > > --==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==-- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Arrays -- How do I insert a pair of data into an array
I am attempting to insert a set of data (actually a pair) into an array, without much success. I would like to insert the data set ("course number", "course title") into a numerically indexed array so that when I want to output the array I can reference it like so: echo("$array[$i]["course_num"] $array[$i]["course_title"]"); // where $i is just the index value that increments I tried building the array like so (where $tuple[] is a valid result set from pg_fetch_row(): $array[] = array("course_num" => $tuple[crn], "course_title" => $tuple[course_name]); But all I gets outputted is: Array["course_num"] Array["course_title"] Any help with this would be greatly appreciated. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] security
Javier Muniz wrote: > > Encode them, or set filesystem permissions in such a way (suggest using > groups) to allow apache to read files but not other users. > > For instance, if your users are all members of the users group, and apache > runs as nobody, then set your files to be owned by the user with the nobody > group (chown user:nobody ) then set it to be readable by group, but > not others (chmod 640 ). > > -jm > > -Original Message- > From: Gustavo Vieira Goncalves Coelho Rios [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 21, 2001 9:15 PM > To: [EMAIL PROTECTED] > Subject: [PHP] security > Thanks, but i am considering such an approach! Isn't there any other way out? May i consider using php in a shell server environment a stupid thing to do ? Since security is very critical in such environments! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] best slashdot?
I hate to post flamebait, but I genuinely want to know - what have people liked as far as a slasdot style PHP apps? I would love one that has integrated user management and mailing lists :) TIA, and sorry for the YAWIB (yet another which-is-best) post. regards, jaxon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] filenames on file download
Hi, I'm storing files in DB. basically (what's important in this case), I have two columns: file_name - contains the original filename file_src - blob which contains the actual file now the user clicks on a link something like download.php?file_id=123 and the php script will spit out the file. is there any way (some header magic) to make the user browser to offer the file to be saved as "file_name" ? Rgds, Tfr --==< [EMAIL PROTECTED] >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Sessions and naming a file with SID
Mensaje citado por: Brandon Orther <[EMAIL PROTECTED]>: > Hello, > > Is there a way to start a session and then save a temp file with the > name of > the Session ID? I thought that was what it did. :-) Read the session manual, the papers published in phpbuilder and check the session options in php.ini. Saludos... :-) System Administration: It's a dirty job, but someone told I had to do it. - Martín Marqués email: [EMAIL PROTECTED] Santa Fe - Argentinahttp://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] books
Check out : http://www.weberdev.com/index.php3?GoTo=ShowShoppingItems.php3%3FMasterCateg ory%3D156%26SubCategory%3D106%26SubCategoryName%3DPHP%26MainCategoryName%3DB ooks Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Gustavo Vieira Goncalves Coelho Rios [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 6:47 AM To: [EMAIL PROTECTED] Subject: [PHP] books May some suggest a kick ass book on php? Thanks a lot for your time and cooperation. best regards, Gustavo Rios PS: Any one here from Brazil/South America ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Annoucement: Smarty template engine 1.3.0 released
Smarty homepage: http://www.phpinsider.com/php/code/Smarty/ Changes: - built-in caching support (Monte, Andrei) - moved license from GPL to LGPL (Monte) - implemented workaround for PHP "feature" that eats carriage returns if the PHP tag is at the end of the line. (Andrei) - removed $allow_php, added $php_handling logic, fixing issues with tags and the like (Monte) - added file locking to prevent reader/writer problem. (Andrei) - made Smarty catch unimplemented modifiers and custom functions and output error messages during compilation instead of failing during run time. (Andrei) - removed short-tags at the top of the smarty scripts (Monte) - added register_function() and register_modifier() API calls to make registering stuff easier. (Andrei) - added optional 'options' attribute to html_options custom function that allows passing associative arrays for values/output. (Andrei) - modifier arguments can now contain '|' and ':' characters inside quoted strings. (Andrei) -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] concatenate vars?
Thanks, do you know if making multiple statements to eregi in line 3 is possible? 1. if(...something...) 2.{ 3. (eregi("stuff1", $one)("stuff2", $two)("stuff3", $three)) ? 4. do something : do something else; _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: php4 /ext/midgard midgard.c
davidg Thu Feb 22 12:32:20 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: Registering Midgard constants. Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.13 php4/ext/midgard/midgard.c:1.14 --- php4/ext/midgard/midgard.c:1.13 Thu Feb 22 09:39:37 2001 +++ php4/ext/midgard/midgard.c Thu Feb 22 12:32:20 2001 @@ -1,4 +1,4 @@ -/* $Id: midgard.c,v 1.13 2001/02/22 17:39:37 davidg Exp $ +/* $Id: midgard.c,v 1.14 2001/02/22 20:32:20 davidg Exp $ Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]> Copyright (C) 2000 The Midgard Project ry Copyright (C) 2000 Emile Heyns, Aurora SA <[EMAIL PROTECTED]> @@ -362,15 +362,17 @@ return SUCCESS; } +#define MGD_REGISTER_LONG_CONSTANT(name,lval,flags) +zend_register_long_constant((name),strlen(name)+1,(lval),(flags),module_number ELS_CC) /* Remove if there's nothing to do at request start */ PHP_RINIT_FUNCTION(midgard) { + int i; request_rec *r; module *midgard_module; SLS_FETCH(); MGDLS_FETCH(); - + midgard_module = ap_find_linked_module("mod_midgard.c"); if (!midgard_module) { MGDG(rcfg) = NULL; @@ -404,6 +406,13 @@ return SUCCESS; } + /* register Midgard constants */ + for(i = 1; i < MIDGARD_OBJECT_COUNT; i++) { + MGD_REGISTER_LONG_CONSTANT((char *)mgd_table_label[i], i, + CONST_CS | CONST_PERSISTENT); + + } + MGDG(mgd) = MGDG(rcfg)->mgd; ALLOC_INIT_ZVAL(MGDG(udf)); if(MGDG(udf)) array_init(MGDG(udf)); @@ -730,6 +739,7 @@ zval_dtor(args[0]); zval_dtor(args[1]); } + #endif /* HAVE_MIDGARD */ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] phpPgAdmin ?
Mensaje citado por: Oguz Demirkapi <[EMAIL PROTECTED]>: > > Hi, > > We have a PostgreSQL and Php 4.02 preinstalled Cobalt RaQ4r server and > I > want to manage PostgreSQL via pgPgAdmin. But when I try to login I got > error such as : > > > Fatal error: Call to undefined function: pg_connect() in > /home/sites/home/web/manage/phpPgAdmin/lib.inc.php on line 130 > Do you have PHP compiled to work with Postgres? Because thats what the error message says. It says that pg_connect is not defined, which means you don't have a postgres php. recompile! Saludos... :-) System Administration: It's a dirty job, but someone told I had to do it. - Martín Marqués email: [EMAIL PROTECTED] Santa Fe - Argentinahttp://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] security
Encode them, or set filesystem permissions in such a way (suggest using groups) to allow apache to read files but not other users. For instance, if your users are all members of the users group, and apache runs as nobody, then set your files to be owned by the user with the nobody group (chown user:nobody ) then set it to be readable by group, but not others (chmod 640 ). -jm -Original Message- From: Gustavo Vieira Goncalves Coelho Rios [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 9:15 PM To: [EMAIL PROTECTED] Subject: [PHP] security How may i prevent my users from reading others php scripts? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] concatenate vars?
> I need to combine two variables which are set to two form field values and > will be put into $from of mail(). Should it be $from = "$varOne . $varTwo" > ? Check out : Using Strings : - http://www.zend.com/zend/tut/using-strings.php PHP Manual : Strings: - http://www.php.net/manual/en/language.types.string.php The above will explain everything. The following will work : $var_a = 'the'; $var_b = 'dog'; $from = $var_a . $var_b; // thedog $from = $var_a . ' big ' . $var_b; // the big dog Regards, Philip Olson http://www.cornado.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] security
How may i prevent my users from reading others php scripts? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] books
"PHP Developers Cookbook" is my favorite, it and many others are listed here : http://www.php.net/books.php The WROX books are popular. Also, check out the archives for previous discussions : http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=book Regards, Philip Olson http://www.cornado.com/ On Thu, 22 Feb 2001, Gustavo Vieira Goncalves Coelho Rios wrote: > May some suggest a kick ass book on php? > > Thanks a lot for your time and cooperation. > > best regards, > Gustavo Rios > > > PS: Any one here from Brazil/South America ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] concatenate vars?
I need to combine two variables which are set to two form field values and will be put into $from of mail(). Should it be $from = "$varOne . $varTwo" ? also a way to make if(.something) (eregi("blah", $one)("blah2", $two)("blah3", $three));
Re: [PHP] Troubleshooting Strange Problem
It could have to do with the register_globals setting (within php.ini) as the following : Will print nothing if register_globals is off. The following will print it correctly, whether on or off (assuming track_vars is on) : Perhaps one script takes register_globals and track_vars into account while another does not. See : http://www.php.net/manual/en/configuration.php#ini.register-globals This setting can be seen through phpinfo(). Regards, Philip Olson http://www.cornado.com/ On Thu, 22 Feb 2001, Ben Ocean wrote: > Hi, > I moved my server, changed the IP addresses, etc., and now I'm having > strange problems with PHP. Not on all scripts, just some. Scripts that > worked just fine before I moved it. Most notably, I'm working with Phorm < > http://holotech.net > and I can no longer pass certain variables. Again: > this worked *just fine* before I moved the server. Makes me think it's got > nothing to do with the script, so what could have gone wrong with the > server? Again, certain scripts, such as FishCart < http://fishcart.org > > continue to work fine after the move. Has anybody run into anything like > this before? Your help would be appreciated. > TIA, > BenO > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Solaris with 100 VHosts -- death
I'm seeing various posts to mailing lists in the past on this subject, but there doesn't appear to be a fix. I'd love it if one of you can help out. We're running PHP 4.0.0 and Apache 1.3.12 on Solaris 7. PHP runs fine with 99 VirtualHosts, but when we add our 100th, every site on the server spits out the following error: Warning: Failed opening '/usr/local/apache/htdocs/t/www.the-url.com/htdocs/index.php' for inclusion (include_path='') in Unknown on line 0 This is regardless of whether the site uses PHP or not. Thanks, Dan Debertin -- ++ Unix is the worst operating system, except for all others. ++ Dan Debertin ++ Senior Systems Administrator ++ Bitstream Underground, LLC ++ [EMAIL PROTECTED] ++ (612)321-9290 x108 ++ GPG Fingerprint: 0BC5 F4D6 649F D0C8 D1A7 CAE4 BEF4 0A5C 300D 2387 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-I18N] International support
(I'm only cc'ing to php-i18n) On Thu, Feb 22, 2001 at 10:22:37AM -0800, Soma Interesting wrote: >I'm currently working a project that is intended to handle Japanese >character sets - and now I'm told ideally iMode too. :) The iMode isn't >such an issue at the moment - but the article below has spooked me a >little. At an early point in the project we tested if putting some input >into a web form, which ultimately was handled by php then stored in >postgres would return fully intact - and it did. This left me comfortable >that PHP and Postgres don't seem to care what language they're storing in >fields or variables. I'm 'guessing' that this is because the data, whether >its English or Japanese is being stored in binary (or something else?). Of >course I wouldn't be able to sort the data or do anything else that would >require PHP/Postgres to be able to interpret the data. However if I compile >Postgres with locals support for the character set/language in question - >then postgres will be able to sort Japanese. Is this right? I haven't touched Postgres in last four years, but I would assume you are correct. As far as MySQL goes, you can set locale (actually, charset) and sorting Japanese text should work just fine. >>Since r-newbold.com is in Japanese only, Studio Omame made sure to utilize >>PHP's Japanese character set conversion functions. However, this proved to >>be a challenge. > >Is this available for v4 of PHP yet? So far, the answer is no. I have attempted to implement Japanese extension to PHP4 before, but bumped into few problems. At that time, I had to quit working on it since I ran out of my spair time. But, we do have someone else working on this issue. I don't have any dates though. For time being, you can check out the latest version 3 that we rolled out at http://www.php.gr.jp/project/i18n/ . I have also written English README at http://www.php.gr.jp/project/i18n/README.i18n_eng.html . I hope that will get you started. Hiro -- Hironori Neal Sato <[EMAIL PROTECTED]> YYplanet.com - http://www.yyplanet.com/ -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] File command
I'm using the file command, which reads an entire file and sticks it into an array. I'm trying to read a file from mp3.com, and what I get back is basically that the connection is refused. Doesn't it just load it up like any browser would load it? Is there an equivalent command that wouldn't try to make a connection, but would just request the file like any browser would and then load it that way? I've also tried the fopen command, and I get the same results. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] books
May some suggest a kick ass book on php? Thanks a lot for your time and cooperation. best regards, Gustavo Rios PS: Any one here from Brazil/South America ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] variable sent using pots is cat!
On Thu, Feb 22, 2001 at 06:36:06PM -, kaab kaoutar wrote: > i have a problem! > i send a variable from one page to another page using post method! > but when a variable is like composed of two words , the other page receives > only the first word ! > can u please help?! Look at the form that you are posting from. Then put quotes around the form variables. -- Jason Stechschulte [EMAIL PROTECTED] -- If you remove stricture from a large Perl program currently, you're just installing delayed bugs, whereas with this feature, you're installing an instant bug that's easily fixed. Whoopee. -- Larry Wall in <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Troubleshooting Strange Problem
Hi, I moved my server, changed the IP addresses, etc., and now I'm having strange problems with PHP. Not on all scripts, just some. Scripts that worked just fine before I moved it. Most notably, I'm working with Phorm < http://holotech.net > and I can no longer pass certain variables. Again: this worked *just fine* before I moved the server. Makes me think it's got nothing to do with the script, so what could have gone wrong with the server? Again, certain scripts, such as FishCart < http://fishcart.org > continue to work fine after the move. Has anybody run into anything like this before? Your help would be appreciated. TIA, BenO -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
php-general@lists.php.net
At 20:11 22.02.2001, Tom Harris said: [snip] >I want to assign a value using the url however the value contains both a ? >and an & so PHP (or the browser) seems to get confused. > >Here's an example: > >http://www.mysite.com/index.php?id=23&url=http://www.anothersite.com/file.ph >p?qid=234&forum=4 > >Everything after url= should be the value of $url but this is not the case. >Is there a way to solve this? [snip] Have a look at the rawurlencode() and rawurldecode() functions. Generally spoken, any variable data passed as GET or POST argument should _always_ be passed in URLEncoded format. MSIE handles this quite nicely by auto-encoding unencoded data, but other browsers miss this. When constructing your GET command line, simply use the rawurlencode() function for any value. Example: "; echo $time; echo "gettime = $gettime"; ?> ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4
rasmus Thu Feb 22 11:18:10 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Doc account for Benjamin Schulz Index: CVSROOT/avail diff -u CVSROOT/avail:1.97 CVSROOT/avail:1.98 --- CVSROOT/avail:1.97 Thu Feb 22 11:05:45 2001 +++ CVSROOT/avail Thu Feb 22 11:18:10 2001 @@ -7,7 +7,7 @@ avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,hholzgra|functable avail|rasmus,sterling,jimw|pres avail|jalal,zak,andre,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben,hellekin,cnewbill|qaweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,noribsd|phpdoc +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,noribsd,eskaly|phpdoc avail|andrei,fmk|php-gtk avail|emile,davidg,alan_k|php4/ext/midgard avail|rasmus|php4/ext/aspell Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.225 CVSROOT/cvsusers:1.226 --- CVSROOT/cvsusers:1.225 Thu Feb 22 11:05:45 2001 +++ CVSROOT/cvsusersThu Feb 22 11:18:10 2001 @@ -269,3 +269,4 @@ theseer Arne Blankerts [EMAIL PROTECTED]German translation cevm Carlos Eduardo Vargas Miranda [EMAIL PROTECTED] Brazilian Portuguese translation noribsd Jaemin Byon [EMAIL PROTECTED]Korean translation +eskalyBenjamin Schulz [EMAIL PROTECTED] +Documentation Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.101 CVSROOT/gen_acl_file.m4:1.102 --- CVSROOT/gen_acl_file.m4:1.101 Thu Feb 22 11:05:45 2001 +++ CVSROOT/gen_acl_file.m4 Thu Feb 22 11:18:10 2001 @@ -3,7 +3,7 @@ dnl PHP Developers (full access to the source trees) define(`php_dev', `php_group,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile') dnl PHP Documentation Group -define(`php_doc', `chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,p
php-general@lists.php.net
URLs must be encoded if they contain special characters (and should be encoded always). See urlencode(). -jm -Original Message- From: Tom Harris [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 11:12 AM To: [EMAIL PROTECTED] Subject: [PHP] Passing values containing a ? and a & I want to assign a value using the url however the value contains both a ? and an & so PHP (or the browser) seems to get confused. Here's an example: http://www.mysite.com/index.php?id=23&url=http://www.anothersite.com/file.ph p?qid=234&forum=4 Everything after url= should be the value of $url but this is not the case. Is there a way to solve this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
php-general@lists.php.net
I want to assign a value using the url however the value contains both a ? and an & so PHP (or the browser) seems to get confused. Here's an example: http://www.mysite.com/index.php?id=23&url=http://www.anothersite.com/file.ph p?qid=234&forum=4 Everything after url= should be the value of $url but this is not the case. Is there a way to solve this? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4
rasmus Thu Feb 22 11:05:45 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Revoke CVS account - the confirmation email bounced Index: CVSROOT/avail diff -u CVSROOT/avail:1.96 CVSROOT/avail:1.97 --- CVSROOT/avail:1.96 Thu Feb 22 11:01:21 2001 +++ CVSROOT/avail Thu Feb 22 11:05:45 2001 @@ -7,7 +7,7 @@ avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,hholzgra|functable avail|rasmus,sterling,jimw|pres avail|jalal,zak,andre,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben,hellekin,cnewbill|qaweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,adonias,noribsd|phpdoc +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,noribsd|phpdoc avail|andrei,fmk|php-gtk avail|emile,davidg,alan_k|php4/ext/midgard avail|rasmus|php4/ext/aspell Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.224 CVSROOT/cvsusers:1.225 --- CVSROOT/cvsusers:1.224 Thu Feb 22 11:01:21 2001 +++ CVSROOT/cvsusersThu Feb 22 11:05:45 2001 @@ -268,5 +268,4 @@ ernaniErnani Joppert Pontes Martins [EMAIL PROTECTED] Brazilian Portuguese translation theseer Arne Blankerts [EMAIL PROTECTED]German translation cevm Carlos Eduardo Vargas Miranda [EMAIL PROTECTED] Brazilian Portuguese translation -adonias Adonias Malosso [EMAIL PROTECTED] Brazilian Portuguese translation noribsd Jaemin Byon [EMAIL PROTECTED]Korean translation Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.100 CVSROOT/gen_acl_file.m4:1.101 --- CVSROOT/gen_acl_file.m4:1.100 Thu Feb 22 11:01:21 2001 +++ CVSROOT/gen_acl_file.m4 Thu Feb 22 11:05:45 2001 @@ -3,7 +3,7 @@ dnl PHP Developers (full access to the source trees) define(`php_dev', `php_group,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile') dnl PHP Documentation Group -define(`php_doc', `chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,sam
[PHP] Templates & PHP
Where can I find some help, how to make & use page templates on my webpages??? Needs this some add-ons to my PHP3(Linux-main)/PHP4(win98+pws)? THNX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Sessions and naming a file with SID
At 19:55 22.02.2001, Brandon Orther said: [snip] >Is there a way to start a session and then save a temp file with the name of >the Session ID? [snip] RTFM: session_start(); session_register(); Controlled by the INI file section [Session]. Given that you use the builtin session.serialize_handler (either php, or wddx), and the default session.save_handler (files), files will be named after the session ID, and be stored in the directory pointed to by the session.save_path setting. ...ebird >O Ernest E. Vogelsinger (\)http://www.1-at-web.at/ ^ ICQ# 13394035 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4
rasmus Thu Feb 22 11:01:21 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Doc account for Jaemin Byon Index: CVSROOT/avail diff -u CVSROOT/avail:1.95 CVSROOT/avail:1.96 --- CVSROOT/avail:1.95 Thu Feb 22 10:59:40 2001 +++ CVSROOT/avail Thu Feb 22 11:01:21 2001 @@ -7,7 +7,7 @@ avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,hholzgra|functable avail|rasmus,sterling,jimw|pres avail|jalal,zak,andre,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben,hellekin,cnewbill|qaweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,adonias|phpdoc +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,adonias,noribsd|phpdoc avail|andrei,fmk|php-gtk avail|emile,davidg,alan_k|php4/ext/midgard avail|rasmus|php4/ext/aspell Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.223 CVSROOT/cvsusers:1.224 --- CVSROOT/cvsusers:1.223 Thu Feb 22 10:59:40 2001 +++ CVSROOT/cvsusersThu Feb 22 11:01:21 2001 @@ -269,3 +269,4 @@ theseer Arne Blankerts [EMAIL PROTECTED]German translation cevm Carlos Eduardo Vargas Miranda [EMAIL PROTECTED] Brazilian Portuguese translation adonias Adonias Malosso [EMAIL PROTECTED] Brazilian Portuguese translation +noribsd Jaemin Byon [EMAIL PROTECTED]Korean +translation Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.99 CVSROOT/gen_acl_file.m4:1.100 --- CVSROOT/gen_acl_file.m4:1.99Thu Feb 22 10:59:40 2001 +++ CVSROOT/gen_acl_file.m4 Thu Feb 22 11:01:21 2001 @@ -3,7 +3,7 @@ dnl PHP Developers (full access to the source trees) define(`php_dev', `php_group,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile') dnl PHP Documentation Group -define(`php_doc', `chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,m
Re: [PHP-I18N] International support
"Ok the next part of this message is an article I thought would be generally interesting so I'm not hesitating to post it entirely. It was forwarded to me so I'm not sure of the source." here: http://www.zend.com/zend/cs/newbold.php Peter ~ http://liga1.com ,a weblog on: - Localisation - Internationalisation - Globalisation - Accessibility -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4
rasmus Thu Feb 22 10:59:40 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Doc account for Adonias Malosso Index: CVSROOT/avail diff -u CVSROOT/avail:1.94 CVSROOT/avail:1.95 --- CVSROOT/avail:1.94 Thu Feb 22 10:56:52 2001 +++ CVSROOT/avail Thu Feb 22 10:59:40 2001 @@ -7,7 +7,7 @@ avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,hholzgra|functable avail|rasmus,sterling,jimw|pres avail|jalal,zak,andre,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben,hellekin,cnewbill|qaweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm|phpdoc +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm,adonias|phpdoc avail|andrei,fmk|php-gtk avail|emile,davidg,alan_k|php4/ext/midgard avail|rasmus|php4/ext/aspell Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.222 CVSROOT/cvsusers:1.223 --- CVSROOT/cvsusers:1.222 Thu Feb 22 10:56:52 2001 +++ CVSROOT/cvsusersThu Feb 22 10:59:40 2001 @@ -268,3 +268,4 @@ ernaniErnani Joppert Pontes Martins [EMAIL PROTECTED] Brazilian Portuguese translation theseer Arne Blankerts [EMAIL PROTECTED]German translation cevm Carlos Eduardo Vargas Miranda [EMAIL PROTECTED] Brazilian Portuguese translation +adonias Adonias Malosso [EMAIL PROTECTED] +Brazilian Portuguese translation Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.98 CVSROOT/gen_acl_file.m4:1.99 --- CVSROOT/gen_acl_file.m4:1.98Thu Feb 22 10:56:52 2001 +++ CVSROOT/gen_acl_file.m4 Thu Feb 22 10:59:40 2001 @@ -3,7 +3,7 @@ dnl PHP Developers (full access to the source trees) define(`php_dev', `php_group,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile') dnl PHP Documentation Group -define(`php_doc', `chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,ph
[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4
rasmus Thu Feb 22 10:56:53 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Doc account for Carlos Eduardo Vargas Miranda Index: CVSROOT/avail diff -u CVSROOT/avail:1.93 CVSROOT/avail:1.94 --- CVSROOT/avail:1.93 Thu Feb 22 10:53:51 2001 +++ CVSROOT/avail Thu Feb 22 10:56:52 2001 @@ -7,7 +7,7 @@ avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,hholzgra|functable avail|rasmus,sterling,jimw|pres avail|jalal,zak,andre,ultrapingo,lyric,jmoore,ronabop,sbergmann,joey,sniper,torben,hellekin,cnewbill|qaweb -avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer|phpdoc +avail|andi,andrei,jimw,rasmus,rubys,sas,ssb,thies,zeev,shane,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile,php_ext,chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,mgx,mj,corean,pandach,brown,cycle98,vizvil,openlife,regina,cynic,jpm,dams,alponce,menuconfig,obst,topgoods,karoora,pcraft,suvia,zak,zimt,mgx,sintoris,jmoore,ftfuture,uttam,ag315,ropik,jbi1979,bbonev,malo,afortaleza,neotron,cg,delrom,dickmeiss,jkj,hellekin,kgergely,andreroq,eduardh,cnewbill,fuzzy74,inki,bjoern,fams,smasiello,dim,lucasr,cpereira,lagflores,kjh90,ernani,theseer,cevm|phpdoc avail|andrei,fmk|php-gtk avail|emile,davidg,alan_k|php4/ext/midgard avail|rasmus|php4/ext/aspell Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.221 CVSROOT/cvsusers:1.222 --- CVSROOT/cvsusers:1.221 Thu Feb 22 10:53:51 2001 +++ CVSROOT/cvsusersThu Feb 22 10:56:52 2001 @@ -267,3 +267,4 @@ kjh90 Juhyon Kim [EMAIL PROTECTED] Korean translation ernaniErnani Joppert Pontes Martins [EMAIL PROTECTED] Brazilian Portuguese translation theseer Arne Blankerts [EMAIL PROTECTED]German translation +cevm Carlos Eduardo Vargas Miranda [EMAIL PROTECTED] +Brazilian Portuguese translation Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.97 CVSROOT/gen_acl_file.m4:1.98 --- CVSROOT/gen_acl_file.m4:1.97Thu Feb 22 10:53:51 2001 +++ CVSROOT/gen_acl_file.m4 Thu Feb 22 10:56:52 2001 @@ -3,7 +3,7 @@ dnl PHP Developers (full access to the source trees) define(`php_dev', `php_group,fmk,hirokawa,jah,eschmid,dbeu,sbergmann,samjam,avsm,ronabob,derick,sterling,venaas,stas,hholzgra,cmv,phildriscoll,jmoore,andre,sniper,changelog,sr,david,jdonagher,chagenbu,jon,elixer,joosters,jason,mysql,kalowsky,opaquedave,steinm,phanto,gluke,shuric,svanegmond,rjs,vlad,jimjag,emile') dnl PHP Documentation Group -define(`php_doc', `chad,torben,lynch,kk,ted,kwazy,aka,affinity,paul,skaag,pglat,mbritton,coar,lwest,joey,bibi,mrobinso,lwh,perugini,hamoralesr,tzwenny,hirokawa,drews,paulsen,hartmann,philross,leon,valdirh,dmarion,dubois,jonen,tschuer,tfromm,manuel,stas,danbeck,sli,jmcastagnetto,mohrt,cris,goba,samesch,jon,soneca,kaufm,ronabop,glace,latoserver,phpguru_dk,lojmann,rafael,jan,jcmeloni,chrullrich,mk,sbergmann,troels,mathieu,voize,phaethon,m