functions is just interface for IMAP protocol.
--
Sincerely, val petruchek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Have a look the the Pear mail.php or google for "php smtp auth"
already done, but i've my own smtp class anyway.
i hoped to avoid rewriting code which used mail().
thanks
--
Sincerely, val petruchek
"Jason Wong" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ
don't be afraid - it works perfect.
i mean mail() on win32 server
my question is - how to set up SMTP
authorization in php ini
(if smtp server requires pop auth)
is it possible or should i use direct smtp
connection?
--
Sincerely, val petruchek
--
PHP General Mailing List
*/1 * * * * val /usr/local/bin/lynx -source
http://php.net/crontab/steward.php
- example of how to call script every minute
--
Sincerely, val petruchek
"Maas" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
rver.
--
Sincerely, val petruchek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I receive this sh!t everytime i post message here.
Can we get him out of the list?
> Hello,
>
>
>
> I will be on vacation from 07/08/02 till 07/19/02 . If you need assistance
with your website, please contact either Chris : [EMAIL PROTECTED] or
Dave : [EMAIL PROTECTED]
>
>
>
> Best Regards,
>
>
Check Apache limitations
--
Sincerely, val petruchek
"Norman Zhang" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> I can't seem to upload file bigger than 5M even if I set the
>
-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
--
Sincerely, val petruchek
"Skyhawk" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔ
If you don't like arrays you can use objects:
function multireturn()
{
$result->first = "Ticket #1";
$result->second = "Ticket #2";
return $result;
}
--
Sincerely, val petruchek
"Andy" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×
tion and
doesn't report about error.
Maybe this helps
--
Sincerely, val petruchek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check for eval function
--
Sincerely, val petruchek
"Tom Beidler" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm wondering if this can be done, and if so, what's the proper way to do
> it.
Hi again, php gurus!
Does anyone of you have any experience working with revecom rfom php script?
Will be grateful for any comments and links to articles of the subject
--
Sincerely, val petruchek
http://val.zp.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
test msg pls ignore
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$s = substr($s,0,strlen($s)-1);
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "marcbey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 1:48 PM
Subject: [PHP] last char in
IL PROTECTED]>
> Sent: Wednesday, February 13, 2002 7:36 PM
> Subject: Re: [PHP] Re-Importing .CSV file into Database
>
>
> > Val,
> >
> > quite frankly, i'm not quite sure i know what you're
> > talking about. i don't think i know enum() function!
ankly, i'm not quite sure i know what you're
> talking about. i don't think i know enum() function!!
>
> T. Edison jr.
>
> --- val petruchek <[EMAIL PROTECTED]> wrote:
> > > Hi Rick,
> > >
> > > Thanks for the support!
> >
> Hi Rick,
>
> Thanks for the support!
> This is the mySQL Table Structure :
>
> $sql = "CREATE table fanlist_try (ID bigint(21) NOT
> NULL auto_increment, name varchar(50), email
> varchar(70), age int(10), sex varchar(20), country
> varchar(50), PRIMARY KEY (ID))";
sex varchar(20) sounds great.
$data = file ($certain_file);
echo "{$data[0]}\n";
echo "{$data[3]}\n";
echo "{$data[7]}\n";
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "John Gurley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
$data = file ($certain_file);
echo "{$data[0]}\n";
echo "{$data[3]}\n";
echo "{$data[7]}\n";
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "John Gurley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
AIL PROTECTED]>
Sent: Tuesday, February 12, 2002 3:06 PM
Subject: Re: [PHP] MsSQL PASSWORD()
> At 09:26 AM 2/12/2002 +0200, val petruchek wrote:
> >My current project runs on Win2k, MsSQL 2k, and PHP 4.0.6
> >
> >My problem is that i can not enable md5 extension because
Call phpinfo() and search for necessery variable ($SERVER_NAME maybe)
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Christian Blichmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Februa
n't work!
> 1) You meant to write: if (((int)$string==$string) && ($string>0))
>
> 2) (int)'5a' == 5, so this formula would result is 5a == 5!
>
> --Daniel
>
>
> > -Original Message-
> > From: val petruchek [mailto:[EMAIL PROTECTED]]
if ((int($string)==($string)) && ($string>0)) {then positive integer}
not sure exactly, but try
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "B. Verbeek" <[EMAIL PROTECTED]>
To: "Php-Db-Help (E-mail)
IMHO escribed feature is not a bug.
most probably this 'bug' is a special hole just in case.
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Lars Torben Wilson" <[EMAIL PROTECTED]>
To: "Jerry Verhoef (U
entin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Michael Sims" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 12, 2002 2:29 AM
Subject: Re: [PHP] MsSQL PASSWORD()
&g
$remote_addr returns exactly client ip; but if user is behind proxy then
$remote_addr will return you proxy ip and you can do nothing with it
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.ph
You can add hidden field in form and before posting set it value to js
variable value that can be easily used by PHP script
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
> Don?t really want to bother you with these quickies - but:
>
> If i have a result from mysql that is a date (2002-02-09) - how do i
change
> that into a variable with only the first 7 characters (2002-02)?
>
SELECT year(data), month (data) from table;
Valentin Petruchek (aki Zliy Pes)
*** Cut
> Hi,
>
> i can?t seem to get my head to wake up...
>
> How would i do to count how many different values that exists in a mysql
> field? Ie i have a date-field and need to know how many different dates
that
> exists in the table.
select count(distinct name) from site; in Mysql
Valentin Petruche
USE MANUAL!
I don't know to configure MySql Database On Apache Server in Windows System.
What I must do? (step by step)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Or use such method:
1. create form with $PHP_SELF as action
2. in the beginning of php script check if form was posted and if was check
it for correctness
3. if form is ok, save post data and then redirect user with Header(to
certain page)
4. if form is bad, stay at this script and display both: e
Let prices(id,price etc.) be table of prices, products(NUM,name etc).
Try smth like this:
SELECT DISTINCT * FROM PRODUCTS P, PRICES P1, PRICES P2
WHERE P.NUM=P1.ID AND P.NUM=P2.ID AND P1.SIZE=SIZE1 AND P2.SIZE=P2
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
count($array)
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "David Orn Johannsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 1:50 PM
Subject: [PHP] Array length
Isin't there a function to
Thanks! Exactly what i need! Thanks a lot!
> By default, PHP's output is buffered.
>
> To disable output buffering use
>
> ob_implicit_flush();
>
> somewhere in your script.
>
> This flushes previous output to the client and disables buffering.
>
> For more info look at the manual's chapter on 'Ou
Hello, list!
I've php script that works for seveeral minutes (3-5) - it indexes my site
and when page is indexed it echoes a one-row table (page bla.bla.bla
indexed). But browser shows it only when it gets all the page.
I want it to show line by line... I know it can be done in perl
(www.tracert
> Suppress the error message:
> $result = @mysql_query("sql statement",$db);
DL Neil, thank you: INSERT IGNORE is exactly what i need. You helped me
greatly!
Matt, thaks you for help too, but my non-perfect english doesn't allow me to
express my thoughts correctly.
Thanks!
Valentin Petruchek (
Sorry, incorrect subj!
Hello!
a have following mysql problem:
i need to execute several inserts at one query like this->
$sql->action("insert into words(word) values ('php');
insert into words(word) values ('general');
insert into words(word) values ('list');");
The word fild is unique
My prob
Hello!
a have following mysql problem:
i need to execute several inserts at one query like this->
$sql->action("insert into words(word) values ('php');
insert into words(word) values ('general');
insert into words(word) values ('list');");
The word fild is unique
My problem is: when certain wo
Hello, list!
I have in my page and want it to insert \tabs when clicking Tab
instead of focusing on the next control element. Any thoughts or
suggestions?
Thanks
Valentin Petruchek (aki Zliy Pes)
*** Cut the beginning ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
--
PHP General Maili
> Hello,
>
> I was wondering, how would I pass commands to a program and print the
> results on my screen?
> For instance, to add an FTP user the command would be:
> "pure-pw useradd joeblow -u ftpuser -d /home/joeblow"
> How would I make a php script do that and display it's output when it's
> do
Hello, php-world!
I know my question a little offtopic;), but:
we have apache running under user "nobody".
now we want to change this user to another one on certain folder.
We want php to run under this new user.
We cannot change set httpd.conf to do it.
can anyone give an example of such sol
> Hello to everyone
>
> Problem :
>
> A php form contains a listbox (named foolist) with n Items which can be
> multiple selected and form posted to
> results.php how can results.php determine which items were selected in
order
> to add all the items in a Mysql table ???
>
> thanks in advance f
Hello, php-world!
I'm developing web-based file manager and need to call unlink(), copy(),
mkdir().
May be you've already guessed that i failed with them because of "Permission
denied".
How can i avoid this? Maybe using `command line` and logging in before
calling funcs.
I'm using php 4.1.0 on
> ok.. well an echo goes
> echo "what u want to echo";
> so u would do it this way
>
> echo "html code.. making sure u dont use a " in any of ur html code";
> php stuff
> echo "$phpvariable & more html code.. if u want to use a " use a '
> instead.";
> more php stuff.
>
If u want to use " use \"
> Dear all
> I had open a webpage which design from my company's pervious staff!
> This page is a input form, and when i look at the properity of the Form i
> saw this:
>
> form name="o_form" action="deposit_admin.php?save=yes" method="post"
>
> What is the "?" mean in the Action part?
>
after ?
> How about creating a mailing list will 19000 users and
> then using the mail() function to send mail to that
> list. so that you will not have to loop through.
The main disadvantage (not sure of such long $to) is that EVERY user will
receive e-mail's of others.
Valentin Petruchek (aki Zliy Pe
http://www.php.net/manual/en/ref.com.php
Valentin Petruchek (aki Zliy Pes)
*** ??? ?? ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Mihail Bota" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 24, 2002 9:52
http://www.php.net/manual/en/ref.datetime.php
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[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 ad
> Even with straight HTML, a server's load capacity is not infinite. If
> my own server, an old Pentium with 4 GB of hard drive space, and which
> serves nothing but static HTML pages, got hit with more than a couple
> hundred hits in a short period of time, it would bomb.
>
> I must be misunders
> It seems to me that the major problem with news sites such as cnn.com or
> msnbc.com on dates like 9/11 was the sheer number of visitors coming to
> the site. No matter how the pages were served up, the load was
> unbearable for the servers.
You see, giving user static or dynamic pages differs
> Since reading your first post I've been racking my brains/teasing my
memory. I'm sure there's an article on one
> of the popular PHP sites that talks about exactly this: creating a web
page dynamically, but serving it as
> static HTML (ie with no back-end db access per serving).
This idea came
> I am running Apache 1.3 on WindowsXP just for some developement stuff that
I
> do at home. I just installed PHP to the server but I can't get it to
> recognize .php as an extension and to have it load those as if they were
> .html files. IE index.php it just shows a directory listing inste
> How can I, using:
>
> specify the file extension.
> I want the user only to upload *.jpg.
You can only check $userfile_type to detect the type of uploaded file. You
can specify nor extension to browse dialog neither default path for
browsing... Security, you know
Valentin Petruchek (aki Zliy
> > The greatest way of doing this is
> > 1. develope php-script for generating updated html from moved
php-script
> > and updating index.html (e.g. ;)
> > 2. develope another script or program which will call the first one
> > periodically (once an hour, e.g.)
>
> I like that.
> It sounds
> But at 300,000 page views a day, even if the caches only have a ttl of 1
> hour I'm still saving over %90 of the traffic from having to query the
> database.
>
> During our busy times I have a bottle neck with the database maxing out
> the CPU's, so If I can cut the queries the server won't be
intval (2.05);
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Jerry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 3:35 PM
Subject: [PHP] Integer in PHP
> Hi,
>
> I'm new in PHP, coming from Java
Not sure this is exactly what you need but try this:
@Draw_Table() or default_func();
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "S. Murali Krishna" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, Janu
"/19" is ok, but "\19" really fails. Try put "\\19" instead.
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: "Scott Fletcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 7:45 PM
Subject: [PHP] "/19
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, January 19, 2002 2:47 AM
Subject: [PHP] Variable Problem
>
>
> How do I combine the following so it is treated as one
in index.html you write
in aaa.php you write
You have to create separate php script for creating image and then use it in
you html (php) file.
>
> Hi!
> How do I change this if I will use the Image direct in my html-code?
> Do I need to save it first.
> $im = @ImageCreate (240, 80)
>
> If this isn't in the PHP FAQ (I couldn't find it), it definitely should
be,
> because somebody asks this question at the very least once a week on this
> list.
Very useful feature, i think :) and better to add it to the manual III.
Features section
(with file apploading, image functions etc)
V
> This works
> header("Location: http://www.foo.com/data/register.php?exist=1";);
> How can I pass exist value as parameter ???
If i understand you right like this:
header("Location: http://www.foo.com/data/register.php?exist=$exist";);
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
ma
> I want from a Form page to pass a couple of values (fooa, foob, fooc)
> which are not form fields
> when submit button pressed to the submited page...
Use hidden fields:
Valentin Petruchek (aki Zliy Pes)
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (ht
63 matches
Mail list logo