Re: [PHP] Capitalize Function ??

2001-07-24 Thread Alexander Skwar
s last time I checked IIRC. But your scottish examples were very good, indeed. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distribu

Re: [PHP] mailing in batches

2001-07-24 Thread Alexander Skwar
tter solutions which also have additional features. Handling all those bounces manually will be a mess. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de -

Re: [PHP] mailing in batches

2001-07-24 Thread Alexander Skwar
s. > > > > No matter which MTA you use. Yep, exactly. This was not intended to be a flame against sendmail. I simply used sendmail as an example for any MTA, except those highly specialized ones. It also might be a viable idea to outsource something like this. It's often chea

[PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when using IMAP?!

2001-07-24 Thread Alexander Skwar
libphp4.so: undefined symbol: krb5_defkeyname This of course causes apache to not start anymore :( I am using krb5-libs-1.1.1-27. Are those libs too old? Thanks a lot, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://ww

Re: [PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when using IMAP?!

2001-07-25 Thread Alexander Skwar
cal/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: krb5_defkeyname Someone suggested to compile the kernel without version information for the modules?!? I don't understand - how could this help? Alexander Skwar -- How to quote: http://learn.

Re: [PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when using IMAP?!

2001-07-25 Thread Alexander Skwar
: krb5-libs-1.2.2-4. However, I'm still getting this. Anyone got a clue about why this is happening? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - D

Re: [PHP] IE -> View Source

2001-07-25 Thread Alexander Skwar
So sprach »Steve Haemelinck« am 2001-07-26 um 08:32:11 +0200 : > Some sites are able to disable the source view in ie. How do you do that? You can't. You can make stupid games and disable right mouse button clicks, but that's still not going to stop anyone to get the HTML outpu

Re: [PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when using IMAP?!

2001-07-25 Thread Alexander Skwar
nabled --with-krb *G* if --with-imap is used? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen

Re: [PHP] PHP 4.0.6 on RedHat 6.2: Undefined symbols when using IMAP?!

2001-07-26 Thread Alexander Skwar
So sprach »Rasmus Lerdorf« am 2001-07-26 um 00:09:33 -0700 : > Why? Only Redhat seems to use kerborized imap libs. Excuse my ignorance, but is there no way for configure to see that the imap libs are kerborized? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://qu

Re: [PHP] IE -> View Source

2001-07-26 Thread Alexander Skwar
So sprach »Dennis Gearon« am 2001-07-26 um 08:17:28 -0700 : > Please try to read any of the browser printed text in this URL(I can't do it in > NS): > http://rwchat.com/DigiLink1/index.html wget http://sfdsadf and I can read it. Alexander Skwar -- How to quote: http://learn.to

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread Alexander Skwar
same numbers, no? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 3 days 18 hours 13 minutes

Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread Alexander Skwar
So sprach »elias« am 2001-07-26 um 11:43:36 +0200 : > Can't I reset that pointer w/ deleting the table and creating it again? Yep, DELETE FROM Table instead of dropping it. Or did you mean w/o? ALTER TABLE Table auto_increment=234; Alexander Skwar -- How to quote: http://learn.

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Alexander Skwar
S Navy (?) site and others. So, have a look at the newsletters. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Alexander Skwar
So sprach »Jack Dempsey« am 2001-07-26 um 13:16:52 -0400 : > they're doing some cool stuff integrating the website with a windows app OT: And Linux client. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

Re: [PHP] Example high-profile PHP sites

2001-07-26 Thread Alexander Skwar
So sprach »Maurice Rickard« am 2001-07-26 um 13:31:36 -0400 : > a few marquee names wouldn't hurt matters. But yeah, functionality > (which is why I'm using it in the first place) should trump > popularity. Yep, I also like that sweet dream :) Alexander Skwar -- H

[PHP] Smarty: Assigning custom function section variable

2001-08-19 Thread Alexander Skwar
sage: 1 9 1 Warning: Smarty error: math: parameter x is empty in /home/askwar/public_html/olg/html/OliG-System/smarty/Smarty.class.php on line 1090 The first "1 9 1" is correct. It's the row number and the values of x and y. How can I do this? Thanks a lot! Alexander Skwar

Re: [PHP] hacks we should know about

2001-08-21 Thread Alexander Skwar
So sprach »Seb Frost« am 2001-08-21 um 18:25:08 +0100 : > I don't host my own site so how can I put include files outside of the web > root? I log on ftp and my top level IS the web root (htdocs), I can't go > any higher. In this case you can't. Alexander Skwar

Re: [PHP] hacks we should know about

2001-08-21 Thread Alexander Skwar
t it's also possible that the provider has disabled parsing of the .htacess file. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art

Re: [PHP] Re: To jump or not to jump?

2001-08-21 Thread Alexander Skwar
try to use templates as much as possible. This doesn't clutter up your PHP code with HTML and thus makes it easier to read. I use Smarty (www.phpinsider.com). I haven't tested anything else and find it quite easy to use. Alexander Skwar -- How to quote: http://learn.to/quote (germ

Re: [PHP] Sessions, Is this behavior by design?

2001-08-21 Thread Alexander Skwar
other than NULL, FALSE, 0 and "" (empty string) is considered to be TRUE if used in a boolean context. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de

Re: [PHP] \n

2001-08-24 Thread Alexander Skwar
So sprach »Jeremy Morano« am 2001-08-24 um 11:18:10 -0400 : > echo " $team \n "; HTML? echo nl2br(" $team \n "); Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http:

Re: [PHP] The future of PHP

2001-08-27 Thread Alexander Skwar
$50/month, the developer doesn't seem to be making a lot of money. And for such micro-projects that such a guy seems to be doing - why even care about hiding source code? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) H

Re: [PHP] PHP mysql admin?

2001-08-27 Thread Alexander Skwar
So sprach »Joseph Bannon« am 2001-08-27 um 10:06:39 -0500 : > Are there any free PHP mysql database admin programs out there? yup, phpmyadmin. I'd recommend the newer versions from http://phpmyadmin.sourceforge.net. It has some nice feature additions compared to the original one. A

Re: [PHP] Re: The future of PHP

2001-08-27 Thread Alexander Skwar
ly just download MP3::Info from CPAN and can easily download and install it. It's a lot easier since there's (most of the time) no binary compile needed. (Uhm - MP3::Info, hmm, bad example *G*). Alexander Skwar -- How to quote: http://learn.to/quote (german) http://q

Re: [PHP] The future of PHP

2001-08-29 Thread Alexander Skwar
(? at least a lot) of the Mandrake configuration tools are in Perl, or cscmail was/is made in Perl. Just because PHP-GTK might not be mature YET, does not mean that it will never be. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

Re: [PHP] PHP mysql admin?

2001-08-29 Thread Alexander Skwar
se has to be open to connects from every IP address (or, if you're lucky enough to have a static IP: just your IP). The latter is a security hole, of course. So, mysqlfront, as nice as it might be, is not comparable to phpmyadmin. (Note: I'm not saying it's bad - you just cannot comp

Re: [PHP] What does PHP stand for?

2001-08-29 Thread Alexander Skwar
So sprach »Niklas Lampén« am 2001-08-28 um 14:05:54 +0300 : > Funny that there is no meanin for the first P. Well, there is. The P stands for PHP. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.

Re: [PHP] The future of PHP

2001-08-29 Thread Alexander Skwar
7;t think it's right to say that this will never ever happen, like you do. And I also do think, that it's counter-productive from you to say something like this. I mean, it would be okay (with me), if you kinda ignored this. But what's so bad about PHP-GTK that you speak so str

Re: [PHP] The future of PHP

2001-08-29 Thread Alexander Skwar
m is much more > attainable than as a good-for-everything language. This objective is quite > ambitious on its own. Okay, then I'd like to appologize. I misunderstood you. In this case, I agree to everything you said. Alexander Skwar -- How to quote: http://learn.to/quote (german) ht

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
) the file, yes. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 9 hours 0 minutes -- PHP

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »John Meyer« am 2001-08-29 um 16:15:07 -0700 : > I am getting this error: > > Undefined variable: PHP_SELF Uh? Uhmm... Is this inside a function? Or is the server running PHP in safe mode (dunno if this has anything to do with it...)? Alexander Skwar -- How to quot

Re: [PHP] Posting to oneself

2001-08-29 Thread Alexander Skwar
So sprach »Johnson, Kirk« am 2001-08-29 um 17:37:27 -0600 : > Check if register_globals is off in php.ini. If it is, you will need to Easiest to check this (and a load of other settings), is to create a small PHP file, which contains nothing but: Alexander Skwar -- How to quote: h

Re: [PHP] If statement within a variable?

2001-08-30 Thread Alexander Skwar
$var2? To circumvent these kind of problems, I always write: $var = "Hello" . ((1 == $var2)?("Mr. Bear"):("New Comer")); Or, in this case, you could have used: $var = "Hello"; if (1 == $var2){ $var .= "Mr. Bean"; } else { $var .= &q

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Alexander Skwar
So sprach »Arcadius A.« am 2001-08-31 um 05:27:04 -0700 : > $u = $SCRIPT_FILENAME; Because you did not define $SCRIPT_FILENAME anywhere. If you want to access the global variable, you've got to say so: global $SCRIPT_FILENAME; Alexander Skwar -- How to quote: http://learn.to/quote

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Alexander Skwar
al ' has 7 characters, whereas '$GLOBALS[]' has 10 characters. So, you don't type less. And with using global(), the code is more orderly, and thus easier to read. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://w

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Alexander Skwar
ction gets large, > it's easier to see where the value is coming from by using > the $GLOBALS variable. Now, that's the point I'm arguing here. I don't think so. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: ht

Re: [PHP] PHP_SELF or REQUEST_URI within Function ?

2001-08-31 Thread Alexander Skwar
echo 'opt1 is : ' . $optional1; return; } // neither $opt1 nor $opt2 are null echo 'mand is : ' . $mandatory; echo 'opt1 is : ' . $optional1; echo 'opt2 is : ' . $opt2; return; } Ale

Re: [PHP] just 10 characters from a string

2001-08-31 Thread Alexander Skwar
So sprach »Marcos Lloret« am 2001-08-31 um 09:53:01 +0200 : > i have a long string (about 255 characters) and i would like to show only 10. >how can i do it? substr Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

Re: [PHP] php's future

2001-09-02 Thread Alexander Skwar
per second (well, not really...) and which loops thru 20 values. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributione

Re: [PHP] php's future

2001-09-02 Thread Alexander Skwar
on-time PS: Quote only what's neccessary. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Up

Re: [PHP] php's future

2001-09-02 Thread Alexander Skwar
possible that they've changed it in the php.ini file. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen

Re: [PHP] for and emailmessage

2001-09-02 Thread Alexander Skwar
So sprach »Jan Grafström« am 2001-09-02 um 22:17:34 +0200 : > $i = 0; > $ii = count($vn); Sure that $vn contains anything? Add this line after the count() line to see what $vn contains: var_dump($vn); Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar
t;\r\n". $site. "\r\n". $cam. >"\r\n". $quote.; After the $quote, you've got a . - remove this, and it might work. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | ht

Re: [PHP] I dont see whats wrong!

2001-09-03 Thread Alexander Skwar
So sprach »Andy Woolley« am 2001-09-03 um 16:37:08 +0100 : > Might not work in all cases though but it's certainly easier to read. Also easy to read: $msg = array( $foo, $bar, $blah, $blub ); echo implode("\r\n", $msg); Alexander Skwar -- Ho

Re: [PHP] Newbie Question: mysqldump via PHP

2001-09-04 Thread Alexander Skwar
So sprach »Tony Frasketi« am 2001-09-04 um 13:53:10 -0500 : > section of the phpinfo listing. Do you know of a unix shell command I > could use to get the location of mysqldump? which mysqldump this should tell you. Alexander Skwar -- How to quote: http://learn.to/quote (german

Re: [PHP] Carriage return.

2001-09-05 Thread Alexander Skwar
So sprach »Johan Vikerskog (EMP)« am 2001-09-05 um 11:48:11 +0200 : > What i need to know is if there is a way to do this without involving > unix commands like "perl" "sed" "dos2unix" etc etc. I need to know if > there is a simple way to do this with just php and not some regexp > solution. I

Re: [PHP] Sending Broadcast Email - will a large loop cause a crash?

2001-09-09 Thread Alexander Skwar
s, chances are high that a lot of your will bounce. If you'll be doing something like this more often, it'll be a lot easier and a lot more successful if you outsource this to specialized companies. They know how to circumvent this kind of trouble. Alexander Skwar -- How to quote:

Re: [PHP] Why do form submissions need stripslashes() invocations?

2001-09-09 Thread Alexander Skwar
So sprach »Neil Zanella« am 2001-09-09 um 23:20:12 -0230 : > > Hi Rasmus! > > Thanks for your explanation. Unfortunately I am using a server on which I > do not have write access to php.ini. I have also been noticing that No need to; if you're allowed to, you can create a .htaccess. > a submit

Re: [PHP] Stripslashes question.

2001-09-10 Thread Alexander Skwar
s($binary) will enable you to put it in a SQL query. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-09-11 um 08:55:49 -0600 : > > We need the receive the help from Got, I believe He is the only one who can > help us on this situation Well, you know: *EXACTLY* this is the problem! Your so called "god". If it weren't for this superstition, the world wo

Re: [PHP] How to list 2-6 in while script?

2001-09-11 Thread Alexander Skwar
> } Hmm $i = 1; while (list ($key,$val) = each ($headers)){ if (2 == $i || 6 == $i){ continue; } print $val; $i++; } Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalpro

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-09-11 um 17:36:59 +0100 : > I'm sure your is the view shared by the VAST, VAST majority on both "sides". > > Michael > > > Quoting Clint Tredway <[EMAIL PROTECTED]>: > > > > > I am sorry, but the problem is the exact opposite. If people would turn > > bac

Re: [PHP] How to list 2-6 in while script?

2001-09-12 Thread Alexander Skwar
val) = each ($headers)) { > >> print ""."$val".""; > >> } > > while (list ($key,$val) = each ($headers) and >$key <= 6 and >$key >= 2) { > >print ""."$val".""; > } > > Eh? Oh, if

Re: [PHP] htmlspecialchars() and MySQL

2001-09-12 Thread Alexander Skwar
So sprach »Augusto Cesar Castoldi« am 2001-09-12 um 08:52:29 -0300 : > i'm using htmlspecialchars()... Switch to addslashes() to insert the data and stripslashes() when fetching the data from the DB + htmlentities/htmlspecialchars to display the values. Alexander Skwar -- How to quote

Re: [PHP] Verify E-Mail Address

2001-09-12 Thread Alexander Skwar
s, nor anything else. In fact, foobar@tv is a completely legal adress. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen

Re: [PHP] How do I inserting the content of a TEXT file into a PHP document?

2001-09-12 Thread Alexander Skwar
ll do this? No, it's either SHTML or PHP. IIRC, Apache 2.0 will be able to handle SHTML'd PHP files (or rather: two (or more?) handlers for one file). Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalpro

Re: [PHP] Email checking

2001-09-13 Thread Alexander Skwar
1], 'ANY')){ // Domain not existant return array('code' => -6, 'part' => $parts[1]); } if (! checkdnsrr($parts[1], 'MX')){ // No MX for domain return array('code' => -7, 'part' => $parts[1]); } /

Re: [PHP] minus in [] groups in ereg

2001-09-13 Thread Alexander Skwar
%, . and _ inside the character class? I'm not sure, but I don't think it's needed. > [[A-Za-z0-9\_\-\=\%\.]] won't work with "-" as it is supposed to > [[A-Za-z0-9\_\=\%\.\-]] is ok And finally - why two [ and ]? Why not just 1 of each? Alexander Skwar -- H

Re: [PHP] Re: Email checking

2001-09-13 Thread Alexander Skwar
known that it's a wrong adress. So, getting a "Email is okay" answer means nothing - but if you get a "Email is wrong" answer, you know that it is wrong. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

Re: [PHP] is PHP crazy, or am I?

2001-09-13 Thread Alexander Skwar
So sprach »Tom Carter« am 2001-09-14 um 03:58:50 +0100 : > maybe I'm wrong, but don't you need a return value? No, he doesn't . Have a look at the 1st parameter. PS: Fullquotes are not necessary. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://qu

Re: [PHP] Forced download??

2001-09-13 Thread Alexander Skwar
So sprach »Zhu George-CZZ010« am 2001-09-13 um 17:46:13 -0500 : > Is there a way to do that? Yes, send a "bogus" filetype, maybe something like application/x-download. PS: Please keep your lines below ~72 characters. > Thanks ahead! Yep. Alexander Skwar -- How to quote:

Re: [PHP] easy cookie question

2001-09-13 Thread Alexander Skwar
o expire. -> php.net/setcookie Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 23 hours

Re: [PHP] equivelant of ASP's #include file?

2001-09-13 Thread Alexander Skwar
So sprach »Kurth Bemis« am 2001-09-13 um 10:32:21 -0400 : > the PHP equiv is include('') Well, no, the equiv is readfile. > read the manual - You too. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.dig

Re: [PHP] dlopen - why ?

2001-09-13 Thread Alexander Skwar
general-purpose scripting language. You mean for shell scripts? #!/usr/bin/php -q That is, put a -q at the end of the first line or call php with the -q parameter. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digi

Re: [PHP] posted urls

2001-09-13 Thread Alexander Skwar
So sprach »murat« am 2001-09-13 um 14:34:31 +0300 : > how can i change variables that has two or more words to variables that > has "+" instead of blanks in that variables. > Like this: "word1 word2 word3" => "word1+word2+word3" $word1 . $word2 .

Re: [PHP] Getting ip address of client and displaying a number in decimal format.

2001-09-13 Thread Alexander Skwar
mials to the right like for money > etc.... -> php.net/number_format Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art

Re: [PHP] posted urls

2001-09-14 Thread Alexander Skwar
So sprach »Egon Schmid« am 2001-09-14 um 08:20:11 +0200 : > Alexander, please don't try to educate people with a RTFM. Your solution > to the above problem is obviously wrong. Yes, that's right. I misunderstood the question, sorry about that. Alexander Skwar -- How to quote:

Re: [PHP] Download a file with PHP

2001-09-14 Thread Alexander Skwar
et to do the job. Combined with a cron job, that's what's IMO best suited for the task. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige A

Re: [PHP] Permissions on File

2001-09-14 Thread Alexander Skwar
about this "user". For the "executed via a website" part, you need to know under which user the web server process is running. This user needs to be able to read the file, and nobody else. So, something like this: chown file chmod 400 file Alexander Skwar -- How to quote:

Re: [PHP] html formating trouble

2001-09-14 Thread Alexander Skwar
So sprach »Nikola Veber« am 2001-09-15 um 07:09:20 +0200 : > I'm having trouble with formating the html output. I have the black > background, and in function > function javni(){ > echo "ovo je javna strana " ; Here, PHP stops parsing the string which is to be printed by echo right before the #

Re: [PHP] html formating trouble

2001-09-14 Thread Alexander Skwar
So sprach »Andrew Perevodchik« am 2001-09-14 um 22:15:40 +0300 : > Or try something like this (but i'm shure you > won't want to use it :) > > echo <

Re: [PHP] html formating trouble

2001-09-14 Thread Alexander Skwar
So sprach »Andrew Perevodchik« am 2001-09-14 um 22:34:02 +0300 : > The only reason i see -- you don't have to escape > any quotes. You can just paste a piece of HTML and > insert variables in there without ;) Yep, that's the only reason I see for here-docs as well. Alexand

Re: [PHP] PHP Web Base Email

2001-09-17 Thread Alexander Skwar
So sprach »Sall Him« am 2001-09-10 um 12:17:54 +0800 : > Hi All > > Does anyone know is there any web base email system which is written in > PHP? imp -> http://horde.org Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homep

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Alexander Skwar
rent code aswell :( -> php.net/mail 3rd comment PS: Keep your lines below 72 characters/line. Thanks. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die gün

Re: [PHP] radio button help

2001-09-17 Thread Alexander Skwar
So sprach »Nikola Veber« am 2001-09-17 um 08:48:17 +0200 : > How am I suposed to handle multiple buttons(what should I change, name or the > value?) Make it an array: One Two In your PHP script, you can then easily parse the $radios array. Alexander Skwar -- How to quote: http://le

Re: [PHP] radio button help

2001-09-17 Thread Alexander Skwar
So sprach »biscut« am 2001-09-16 um 20:07:23 +0100 : > you would simply have the following: > > blah1 > blah2 > blah3 Of course I was thinking about checkboxes Nevermind :) Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en

Re: [PHP] Quick mail function help.... please!!!

2001-09-17 Thread Alexander Skwar
So sprach »Kyle Smith« am 2001-09-17 um 17:04:15 -0700 : > please someone please! ive been through the manual and i dont know anywhere > else to look so someone please gimme a kick in the right direction? well, read the manual php.net/mail 3rd comment Alexander Skwar -- How to quote:

Re: [PHP] Private functions

2001-09-19 Thread Alexander Skwar
So sprach »James Gregory« am 2001-09-19 um 19:27:27 -0400 : > Is there a way to make a function 'private' in a php class? In PHP 4.0.x - no. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.c

Re: [PHP] 4.0.7 = when?

2001-09-19 Thread Alexander Skwar
So sprach »Rasmus Lerdorf« am 2001-09-18 um 10:26:15 -0700 : > open_basedir has been around for years. It is not a new 4.0.7 feature. Uhm, what does open_basedir do? I can't find it in the manual? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to

Re: [PHP] Setting multiple values in a cookie

2001-09-19 Thread Alexander Skwar
kie. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 1 day 1 hour 39 minutes -- PHP Gene

Re: [PHP] 4.0.7 = when?

2001-09-19 Thread Alexander Skwar
So sprach »Felix« am 2001-09-19 um 09:07:04 -0500 : > That was taken from the manual: Chapter 3 [configuration file] Ah, okay, I thought it would be a function :) So, no wonder I didn't find it in the functions list *G* Thanks! Alexander Skwar -- How to quote: http://learn.to/quote

Re: [PHP] PHP vs M$.NET C#?

2001-09-19 Thread Alexander Skwar
So sprach »Christian Reiniger« am 2001-09-19 um 16:58:30 +0200 : > now. And there's nothing new / innovative in C# Well, it's from M$ which will make quite some people like it, I suppose. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (engl

Re: [PHP] Putting PHP info into a variable

2001-09-19 Thread Alexander Skwar
So sprach »Power Programmer« am 2001-09-19 um 12:23:48 -0700 : > How do I store the phpinfo() data into a variable so I can mail it to > myself? use output buffering Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage:

Re: [PHP] nimda, etc.

2001-09-22 Thread Alexander Skwar
somekind of a Sure, but you've got two Apache/PHP processes running for the sleep time. Now, imagine that 10,000 Nimda accesses happen at the same time. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.

Re: [PHP] Cannot add header information - headers already sent by

2001-09-22 Thread Alexander Skwar
tion: ".$source."?status=9&errormessage=$errormessage"); > > Any idea, why this is after update not working anymore? Thanks for help Well, because in line 321 of variables.php, there's something printed. Alexander Skwar -- How to quote: http://learn.to/quote (g

Re: [PHP] How do they do that.

2001-09-22 Thread Alexander Skwar
fter the / is not otherwise known. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 3 days 2

[PHP] Checking if session has been started

2001-09-22 Thread Alexander Skwar
Hi I need to run some code if a session has been started. However, to do this, I need to figure out IF the session has been started at all. How can I do this? Is checking for the count of elements in HTTP_SESSION_VARS the only reliable way of doing this? Like so? Thanks, Alexander Skwar

Re: [PHP] Re: Checking if session has been started

2001-09-22 Thread Alexander Skwar
So sprach »Fredrik Arild Takle« am 2001-09-22 um 18:00:37 +0200 : > session_register("valid_session"); > > OR SOMETHING LIKE THIS? > > if (session_is_registered($valid_session)) { Yep, that seems better. Thanks to both of you! Alexander Skwar -- How to quote

Re: [PHP] naming convention in php?

2001-09-22 Thread Alexander Skwar
So sprach »saif« am 2001-09-15 um 18:58:29 +0530 : > i want to know is there any naming convention followed in php as > in c/c++/java/etc. I'm trying to follow PEAR coding style -> http://php.net/manual/en/pear.standards.php Alexander Skwar -- How to quote: http://learn.to

Re: [PHP] naming convention in php?

2001-09-22 Thread Alexander Skwar
So sprach »saif« am 2001-09-23 um 00:33:27 +0530 : > thanks Chris, > i would have checked the link but it seems that online php documentation has > gone haywire. Well, it's working right now. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.

Re: [PHP] percentage problems

2001-09-22 Thread Alexander Skwar
So sprach »Tyler Longren« am 2001-09-22 um 17:14:46 -0500 : > Any other ideas? number_format ? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de -

Re: [PHP] Create Array??

2001-09-23 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-09-23 um 02:09:17 -0400 : > Hi, > > If I have a value $num = 32; based on this how can I create an Array of > numbers 1 - 32, something like this... > > $num = "32"; $arr = array(); > for ($i = 1; $i <= $num; $i++) $ar

Re: [PHP] 404 error

2001-09-23 Thread Alexander Skwar
So sprach »Richard Baskett« am 2001-09-23 um 05:40:52 -0700 : > I know how to get the web page that created the 404 error, but how do I get > the link that created the 404 error? Is there a way of doing this? Im sure Check the referer. Alexander Skwar -- How to quote: http://learn.to

Re: [PHP] Arrays Data

2001-09-23 Thread Alexander Skwar
So sprach »Alawi Albaity« am 2001-09-23 um 07:00:22 -0700 : > how can I remove duplicted values (Data) in my array ? array_unique Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.

Re: [PHP] how to get the total disk space used in a directory

2001-09-23 Thread Alexander Skwar
So sprach »sagar N Chand« am 2001-09-23 um 22:51:49 +0530 : > is there any way to get the total disk space used under a directory > including its subdirectories and all the contents. Either execute du, or sum up the sizes of all the files manually in PHP. Alexander Skwar -- How to

Re: [PHP] File permitions

2001-09-23 Thread Alexander Skwar
t? If not, then it's not possible. But normally the files should only need access for the group running the webserver process. Here at home, it's apache/apache. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.di

Re: [PHP] Screen Resolution in PHP?

2001-09-24 Thread Alexander Skwar
So sprach »Jay Paulson« am 2001-09-24 um 10:50:02 -0500 : > Is there a way to get the client's screen resolution in php? no, because, as you say, it's the client's screen resolution and PHP runs on the server. Alexander Skwar -- How to quote: http://learn.to/quote (german)

Re: [PHP] Add $String to $Num ???

2001-10-03 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-10-03 um 21:28:03 -0400 : > String1(or 2,3,4,5 etc whatever the value of $Num is)|s:9:"10,47,552"; Try: session_register(${$string . $num}); And read up on variable variables in the manual. And maybe forget this idea and use arrays instead.

Re: [PHP] Read Vs. Include

2001-01-30 Thread Alexander Skwar
So sprach Daniel Grace am Thu, Jan 25, 2001 at 07:18:52PM -0800: > readfile($filename); Why not include? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de -

Re: [PHP] Tab character

2001-02-01 Thread Alexander Skwar
So sprach Karl J. Stubsjoen am Thu, Feb 01, 2001 at 08:17:44AM -0700: > Is this a tab character \t yes Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de -

<    1   2   3   >