Hello php-world!
I'm working on Apache 22, php 4.1.0 and try to work with MsSQL 2000.
PHP is configured
'./configure' '--with-apache=../apache_1.3.22' '--with-mysql'
'--with-sybase=/usr/local/freetds' '--enable-track-vars'
Everything works fine when using mssq-Functions, except extracting imag
Total Links 0/unlimited
Application Name PHP 4.0
Client API Version
- Original Message -
From: "Brian Clark" <[EMAIL PROTECTED]>
To: "PHP is not a drug." <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 4:59 PM
Subject: Re: [PHP] MsS
> OK, we're talking about Linux, right?
No ;) FreeBsd 4.x don't know exactly about x
> I'll bet `cat /proc/sys/fs/file-max` gives you 4096
>
> Try upping the file descriptor limit in /proc/sys/fs/file-max. That
> may or may not solve the problem; worth a try. How much memory does
> the client ma
Mail() function works fine on win32, you need enter smtp server in your
php.ini and sendfrom address.
example:
SMTP = 10.1.25.1 ; for Win32 only
sendmail_from = [EMAIL PROTECTED]
Valentin Petruchek (aki Zliy Pes)
*** ??? ?? ***
http://zliypes.com.ua
mailto:[EMAIL PROTECTED]
- Origina
Hello list.
Need you help.
My aim is to str_replace ($word,"$word",$str). But: i want
str_replace not to differ uppers and lowers:
Rector => Rector
after str_replace ('rec',"rec","Rector") in other words.
It seemes to me ereg can help, but i'm still not good at it. Help please
Valentin Petru
Hello, Masters!
I'm sending a mail through with imap_mail() and want to save a copy of it in
"Sent Items" folders.
I can not find function which an do it.
It seemes to me it should look like saving letter to specified mailbox (e.g.
"Drafts").
Thank you
Val.zp.ua.
--
PHP General Mailing Lis
Try to create an instant of the class like this:
table;
}
}
$test = new Test;
echo $test->showName();
?>
- Original Message -
From: "Matt Williams" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>; "PHP_UK@egroups."
<[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 4:25
Hello, Professionals!
I've such problem: i need to change parameters from php.ini (such as
sendmail_from) during execution script.
Is it possible to perform and if is, how can i do it.
Thanks
Val.zp.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECT
Sorry and thanks - have not use it before/
But i've tried this:
qtable = 'val';
return $this->qtable;
}
}
echo test::showName();
?>
worked :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Is it possible to use imap_mail() on php 4.0.6 on NT machine?
Maybe anyone has dll for this.
Thank you
Val.zp.ua
--
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
Send your codes to mailing list.
If they are not very secret :)
- Original Message -
From: "Srinivasan Ranganathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 3:21 PM
Subject: [PHP] Update Query - Urgent
> Hi
>
> I have a php script generate a sql update
What if use mysql_select_db()?
- Original Message -
From: "Srinivasan Ranganathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 23, 2001 4:22 PM
Subject: [PHP] Update Query - Urgent -- Yes, Full Rights!
> Hi
>
> Yes, I do have full rights!
>
>
>
> __
Use this:
- Original Message -
From: "Ozgur Demirtas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 9:47 AM
Subject: [PHP] redirecting the browser
> Hi all,
>
> I have a PHP script and at one point of the script I am trying to redirect
> my browser to a c
If I understand you properly you need smth like this
function checkmail ($email) {
return (eregi("^[_\.0-9a-z-]+@([0-9a-z][-0-9a-z\.]+)\.([a-z]{2,3}$)",
$email, $check));
}
- Original Message -
From: "Rosen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 24, 2001 10
Look in http://www.php.net/manual/en/ref.imap.php
- Original Message -
From: "Nigam Chheda" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 12:41 PM
Subject: [PHP] regardnig receiving mails
> Hi
> For sending mail php has a function ma
What if pass some parameters to function - i mean not use global $comment
but
do like function replace_text_smiley($comment)
- Original Message -
From: "Daniel Harik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 28, 2001 12:20 AM
Subject: [PHP] Replace text
> Hello g
What if you single quotes like this:
'$REMOTE_ADDR'
???
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 27, 2001 3:20 PM
Subject: [PHP] HELP PLEASE!! Get query error when inserting into MySql
> Hi There,
>
> I have a query whenever I try to
Try this:
var $VAL_ID;
var $VAL_TICKER;
var $VAL_ID_FEED;
--
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]
Hello everyone!
Here i'm not going to ask community about smth.
I would like to present results of one test speed.
i perform the same query to MsSQL directly (using mssql_...) and through
ODBC (odbc_...)
In first case (direct connection) php works SLOWER than through ODBC.
My server is on NT 5.1
Hi everyone!
Is there any limitation for length of url like this
accept.php?set=qwerty...
What is the maximum $set length i can pass to script as a parameter?
Zliy Pes: http://zliypes.com.ua
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
You see, I call for php script from Delphi program...
I can do it with InternetOpen() so the only method available for me is GET -
i can use page url only
Or I'm mistaken and it's possible to use POST here? who knows?
- Original Message -
From: "Christoph Starkmann" <[EMAIL PROTECTED]>
To
Try this code:
$str="eins zwei drei vier fünf sechs";
$Wort = explode (' ',$str);
$n=count($Wort);
for($i=0;$i<$n;$i++){echo "$i: $Wort[$i]";}
It should works
Zliy Pes [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
You can protect folder where your scripts lie with NT/2000 security - so
only allowed users will be able to run scripts from this folder.
- Original Message -
From: "SED" <[EMAIL PROTECTED]>
To: "'Feroze Md. Arif'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 200
Hello everyone! sorry, but thing i'm asking for is interesting for Ru.Net
users only so i'm gonna write it in Russian:
çÏÓÐÏÄÁ ÄÅ×ÅÌÏÐÅÒÙ! ðÏÍÏÇÉÔÅ ÓÔÕÄÅÎÔÕ - ÐÒÉÍÉÔÅ ÕÞÁÓÔÉÅ × ÓÏÃÉÏÌÏÇÉÞÅÓËÏÍ
ÏÐÒÏÓÅ, ËÏÔÏÒÙÊ Ñ ÐÒÏ×ÏÖÕ × ÒÁÍËÁÈ ÉÚÕÞÁÅÍÏÇÏ ËÕÒÓÁ ÓÏÃÉÏÌÏÇÉÉ.
ïÐÒÏÓ ÐÒÏ×ÏÄÉÔÓÑ ÎÁ ÔÅÍÕ ÉÓÐÏÌØÚÏ×ÁÎÉÑ
';
}
?>
Zliy Pes, http://www.zliypes.com.ua
--
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]
$id = '10002'; //comes from form
$defaultvalue = '13';
$id = intval($id);
if (($id<1)||($id>)) $id = $defaultvalue;
echo $id;
Zliy Pes, http://zliypes.com.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Use smth like this ->
$need_prices = '01,02';
$prices = new Array();
$sql = "select * from price_list where id in ($need_prices)"
$result = mysql_query ($sql);
{//cycle while $result is not empty - for every record
$row = mysql_fetch_array($result);
$prices[$row["id"]] = $row[
- Original Message -
From: "Valentin V. Petruchek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 6:35 PM
Subject: [PHP] ereg help
> I'm not new for php, but have no experience working with ereg functions.
My
> problem is
Try this:
";
print_r ($temp);
echo "";
?>
and look for $temp content.
Zliy Pes http://zliypes.com.ua
- Original Message -
From: "Fred" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 7:58 PM
Subject: [PHP] Re: Something wrong with the file() command.
> When
Set the form receiver to $PHP_SELF. When data is posted (use $HTPP_POST_VARS
to check if is) check it for correctness. If everything is ok, use
Header("Location: work_for_authorized.php") otherwise show the current (i.e.
login page) with $user, $pass available...
Zliy PEs, http://www.zliypes.com.
phpinfo() is a function itself. It needn't echo:
Zliy Pes, http://www.zliypes.com.ua
- Original Message -
From: "Brian C. Doyle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 8:07 PM
Subject: [PHP] phpinfo() returning Zero Sized Reply
> hello all,
>
> I h
Try to specify absolute path to the jpeg - possible php do not look up for
jpeg in current folder...
(or use './image.jpg')
Zliy Pes, http://zliypes.com.ua
- Original Message -
From: "Miguel Loureiro" <[EMAIL PROTECTED]>
To: "php-gen" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001
Hello world!
I'm using php 4.0.6 to work with MsSQL (FreeBSD 4.4, Apache 1.3.20).
How should i compile php to enable mssql functions?
Thanks
Zliy pes, http://www.zliypes.com.ua
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
Thanks, i've looked in previously downloaded manual and 've found nothing ;)
- Original Message -
From: "Jon Farmer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 11:55 AM
Subject: Re: [PHP] MsSQL question
> > Hello world!
> > I
Your problem is GD, not PHP.
Use gd library corresponding to PHP 4.0.6 and PNG will be ok (tested by
myself).
Zliy Pes
- Original Message -
From: "Robert Covell" <[EMAIL PROTECTED]>
To: "Neil Freeman" <[EMAIL PROTECTED]>; "Php-General"
<[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001
It's from manual do not remember it's chapter exactly:
// starting word
$word = new COM("word.application") or die("Unable to instanciate Word");
print "Loaded Word, version {$word->Version}\n";
//bring it to front
$word->Visible = 1;
//open an empty document
$word->Documents->Add();
//do some
Use $QUERY_STRING instead
- Original Message -
From: "Daniel Urstöger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 08, 2001 1:51 PM
Subject: Re: [PHP] Costum Error Page
> Opps, sorry, I had a bug, now I have this problem:
> Browser is showing this URL:
> http:/
I've tested given url..
If there is no image php script return file = '139'.
Check if file content is different from 139.
or try to get image size of file:
$size = GetImageSize
("http://waptopic.supereva.it/loghiesuonerie.it/LogoGen.php?id=1100";);
and check what happens if there is no image
Security, you know...
Browser will not allow you to save files on LOCAL drive
Otherwise Internet should be very dangerous thing
- Original Message -
From: "Helmut Habiger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 5:57 PM
Subject: [PHP] file downlaod
Hello world of php-programmers!
It seemes to me PHP is very powerful tool and very popular among
web-programmers, too. As for me I use php for solving web tasks for 2 years
and I'm very satisfied with it.
It seemes to me current PHP logo (can be found by
http://www.php.net/gifs/logo.gif) doesn't
My experince: MsSQL is keeping silence even freetds or sybase is not
installed at all...
- Original Message -
From: "Dave Brotherstone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 7:58 PM
Subject: [PHP] Returned error messages
>
> Has anyone got error mes
Not necessary on the top, but before any html begins
Zliy Pes, http://zliypes.com.ua
- Original Message -
From: "Steve Osborne" <[EMAIL PROTECTED]>
To: "PHP-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 9:39 PM
Subject: [PHP] Setting Cookies
> I am attempting to
As I started all these I propose to go to next stage of discuss: i.e.
drawing proposed logos.
We've got plenty of variants...
So if anyone has enough free time and ability to develop a GRAPHICAL logo -
lets post them!
Zliy Pes, www.zliypes.com.ua
--
PHP General Mailing List (http://www.ph
Try cookies. They help me greatly ;)
What
- Original Message -
From: "Ward, Mark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2001 4:15 PM
Subject: [PHP] login, and
> I've got a question about how I should implement my logins with PHP..
>
> I'm working on a
Aunt is more similar very similar to PHP. Very industrious and powerful ;)
- Original Message -
From: "PHPGalaxy.com" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 1:31 PM
Subject: Re: [PHP] Logo proposal
> Actually I heard it's 50 times it'
";
print_r($size);
echo "";
?>
userfile is file you want to get size of.
Zliy Pes, http://www.zliypes.com.ua
- Original Message -
From: "Tommy Straetemans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 4:32 PM
Subject: [PHP] pictures width and height
> H
----
> >
> >Powerful hosting from www.inovicahosting.com
> >
> >
> >
> > > -Original Message-
> > > From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]]
> > > Sent: 13 Decembe
myself :)
> >
> >Someone put up a voting script !
> >
> >Ade
> >
> >--- i n o v i c a h o s t i n g . c o m ------
> >
> >Powerful hosting from www.inovicahosting.com
> >
> >
> >
Mail() function works fine on win32, you need enter smtp server in your
php.ini and sendfrom address.
example:
SMTP = 10.1.25.1 ; for Win32 only
sendmail_from = [EMAIL PROTECTED]
Zliy Pes, http://zliypes.com.ua
- Original Message -
From: "William Sanchez Sanchez" <[EMAIL PROTECTED]>
To
Hello, cannot find function to convert all dangerous symbols (spaces,dots
etc) into %20 variant.
Is there any standard, or i have to develop my own?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
www.php.net/urlencode
>
> Merry Christmas!
>
> James Cox
>
> > -Original Message-
> > From: Valentin V. Petruchek [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 24, 2001 3:58 PM
> > To: PHP
> > Subject: [PHP] Looking for a function
> >
>
51 matches
Mail list logo