try to start the sql at a prompt
and post the error which mysql returns
Regards,
Andrey Hristov
- Original Message -
From: Rodrigo Peres [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Monday, December 17, 2001 4:04 PM
Subject: [PHP] multicolumn table
Hi list,
I've tried
Maybe you use 4.1.0 and register_globals is off (in php.ini).
try this var_dump($HTT_SERVER_VARS);
Regards,
Andrey Hristov
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, December 17, 2001 4:27 PM
Subject: [PHP] Using PHP in an HTTP 404 error document
the socket until feof($fp) but stopped somewhere before the end of
data and close()-ing socket after that. After
this intervention the time which the scripts uses is 4!!! seconds.
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From
when
starting on a console?
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
--
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
The problem is here
$pos = strrpos($file, \);
must be
$pos = strrpos($file, \\);
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: Alex Elderson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 18
$PHPSESSID is only available if the session is started before current executed script.
Regards,
Andrey
- Original Message -
From: Julio Nobrega Trabalhando [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 18, 2001 1:45 PM
Subject: [PHP] Re: $PHPSESSID on PHP 4.1.0
Hi
/projects/toca
Andrey Hristov [EMAIL PROTECTED] wrote in message
032e01c187db$148bfa30$0b01a8c0@ANDreY">news:032e01c187db$148bfa30$0b01a8c0@ANDreY...
$PHPSESSID is only available if the session is started before current
executed script.
Regards,
Andrey
--
PHP General Mail
Try $_FILES array, if it works that means that register_globals is off.
Regards,
Andrey
- Original Message -
From: Ron Dyck [EMAIL PROTECTED]
To: PHPList [EMAIL PROTECTED]
Sent: Wednesday, December 19, 2001 4:41 PM
Subject: [PHP] HTTP_POST_FILES not working with 4.1.0?
Having
avaiable and preferable.
?
Regards,
Andrey Hristov
- Original Message -
From: Jack [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, December 20, 2001 9:30 AM
Subject: [PHP] Passing Logined in Name form One Form to other Page
Dear all
I had
May be by using IFRAME, this:
Does anybody out there know how to embed pdf in a web page
can be succeeded.
Regards,
Andrey Hristov
- Original Message -
From: Bogdan Stancescu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 3:22 PM
Subject: Re: [PHP] embed pdf
Nope
$test();
Regards,
Andrey
- Original Message -
From: Bogdan Stancescu [EMAIL PROTECTED]
To: Emile Bosch [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 3:43 PM
Subject: Re: [PHP] Question about CREATE_FUNCTION
Why do you need this? To my knowledge you get
memberInfo where member_id=@a;');
$brr=mysql_fetch_array($res);
mysql_free_result($res);
var_dump($brr);
?
More info here : http://www.mysql.com/doc/V/a/Variables.html
Regards,
Andrey Hristov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I wrote this because maybe the ordering is more expensive than 2 queries (one one
indexed field possibly).
Regards,
Andrey
- Original Message -
From: Andrey Hristov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 5:18 PM
Subject: [PHP] last row in the table
Try this :
$fp = fopen(C:\\WINNT\\Temp\\adodb_9002b91d2d52c10124c949e2b415a980.cache, r);
HTH,
Andrey
- Original Message -
From: Garth Dahlstrom [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 5:24 PM
Subject: [PHP] Re: Issues with fopen long file names?
I
?php
$test='htmlspecialchars';
echo $test('html');
?
Produces :
lt;htmlgt;
Regards,
Andrey
- Original Message -
From: Alexander Skwar [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 5:35 PM
Subject: Re: [PHP] Question about
no thread enviroment). I
suppose that I've to build php4ts because my current Apache/php config uses this dll
in company of php4ts.lib.
Last question : Why the compile time is bigger in times compared to linux?
TIA
Andrey Hristov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
The sql is
select name from members limit offset,10;
you have to generate offet which _must_ be an integer.
Regards,
Andrey Hristov
- Original Message -
From: Rambo Amadeus [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 23, 2001 6:06 PM
Subject: [PHP] Prev ... Next
What PHP version do you use(4.1.0?)
Regards,
Andrey Hristov
- Original Message -
From: Bogdan Stancescu [EMAIL PROTECTED]
To: Chris Cocuzzo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, December 27, 2001 2:18 PM
Subject: Re: [PHP] This makes NO SENSE!
Most probably you
It is for the author of This makes NO SENSE!
Regards,
Andrey Hristov
--
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]
Read the docs about copy_uploaded_file() (this is the function with some more docs, as
I remember).
HTH
Andrey Hristov
- Original Message -
From: Paul Roberts [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 28, 2001 2:41 PM
Subject: [PHP] is_uploaded_file
I'm on PHP
Under *nix - SysV semaphores
HTH
Regards,
Andrey Hristov
- Original Message -
From: Nicolas Guilhot [EMAIL PROTECTED]
To: Php General MailingList [EMAIL PROTECTED]
Sent: Friday, December 28, 2001 4:31 PM
Subject: [PHP] Only one instance of a script at a time !
Running a php script
Hristov
- Original Message -
From: Paul Roberts [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 28, 2001 5:13 PM
Subject: Re: [PHP] is_uploaded_file
no it's move_uploaded_file and it's 4.03 or greater as well.
i'm using empty() as i
changed after that version.
If one of your boxes is 4.0.2 and the other 4.0.3 use the output of phpinfo() with
some kind of hack to determine wich one of the
function to use, or just write a wrapper which decides pipe to which function to make.
Regards,
Andrey Hristov
--
PHP General Mailing List
Brainbench?
Regards,
Andrey Hristov
- Original Message -
From: clint [EMAIL PROTECTED]
To: PHP General [EMAIL PROTECTED]
Sent: Friday, December 28, 2001 11:13 PM
Subject: [PHP] PHP certification
Does anyone know if there are plans to offer a PHP certification in the future?
I
I think it is $HTTP_SERVER_VARS['HTTP_REFERER']
Regards,
Andrey Hristov
- Original Message -
From: Kelly Meeks [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 02, 2002 8:15 PM
Subject: [PHP] easy quickie..
Happy New Year,
Does php set a variable that tells you
Try array_unique()
Regards,
Andrey Hristov
--
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]
.';
or better
select employee.* from employee left join companies using(company_id) where
company_name='Some Ltd Inc.';
I do not have links to literature about relational model but I remember that on
www.phpbuilder.com there is/are some info on it.I
think from y.2000.
Regards,
Andrey Hristov
That means the sql is not correct and the mysql_query()(mysql at all) didn't succeded
to execute it
Check you sql statement.
Regards,
Andrey Hristov
- Original Message -
From: Gurhan Ozen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 06, 2002 9:52 PM
Subject: [PHP-DB
try :
for ($i=0; $i $num_results; $i++)
{
$some= $$GLOBALS[variable];
// $some[$i] is what you need.
}
Regards,
Andrey Hristov
- Original Message -
From: Rodney Davis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 07, 2002 6:11 PM
Subject: [PHP] global generation
Ooops, no $$ before GLOBALS, single $
for ($i=0; $i $num_results; $i++)
{
$some= $GLOBALS[variable];
// $some[$i] is what you need.
}
Regards,
Andrey Hristov
- Original Message -
From: Andrey Hristov [EMAIL PROTECTED]
To: Rodney Davis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent
Possibilities:
1)There was an error when mysql_query(). Possibly the SQL statement is not correct.
Trace with var_dump()/mysql_errno().
2)You give as parameter to some of mysql_* functions a variable not returned from
mysql_query().
HTH
Regards,
Andrey Hristov
- Original Message
;
}
Regards,
Andrey
- Original Message -
From: Dan McCullough [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Sent: Tuesday, January 08, 2002 7:00 PM
Subject: Re: [PHP] Supplied argument is not a valid MySQL result resource
here is the sql
$parent_sql = SELECT * FROM categories
Try array_merge()
Regards,
Andrey Hristov
- Original Message -
From: Marc Logghe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 09, 2002 10:55 AM
Subject: [PHP] unshift a key value pair
Hi,
I was wondering how you could unshift a key value pair onto an array
, there is no set PHPSESSID cookie, so PHP WILL NOT have
$GLOBALS['PHPSESSID'] variable (assuming
register_globals is on in php.ini).
If you want the id. Get it from session_id().
HTH
Regards,
Andrey Hristov
- Original Message -
From: Ryan Kelley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
Probably here :
$header .= User-Agent: PHP/4.0.6 (Apache/1.3.20)\r\n\r\n;
you have two new lines instead of one.
HTH
Regards,
Andrey Hristov
- Original Message -
From: Sandeep Murphy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 09, 2002 6:23 PM
Subject: [PHP] php
suppres echo's to be sent
to the browser with ob_start() as the furst
instructuion in the Php, and ob_end() after the last header is sent.
Regards,
Andrey Hristov
- Original Message -
From: Mark Chin, Apoll Displays [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 10, 2002 11
makes type comparison.
Regards,
Andrey Hristov
- Original Message -
From: mike cullerton [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 5:01 PM
Subject: [PHP] RTFM code snippet
hey folks, hope the new year is treating everyone well.
i was RTFMing
untouched(no compiling on it).
It is interesting if one can make compiler for php to Java bytecode. I saw that there
is a such compiler for Ada.
Regards,
Andrey Hristov
- Original Message -
From: charlesk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 5:57 PM
Subject
optimizes somehow the code and then encode it to make a
bruteforce attack harder to do.
Regards,
Andrey Hristov
- Original Message -
From: Henning Sprang [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 6:31 PM
What do you mean : session persist?
Whe you close the browser the file(the most common case) is not deleted till the
session expires.
So if the expire time is 30 min it will stay in the /tmp for minimum 30 mins(the
session garbage collector is not started on
every request). The cookie which is
Hi,
if you want to save an array and the structure is not known when you make the database
schema definition,
you have to serialize(), put the string in the DB, and when you restore it from the DB
do unserialize().
Best regards,
Andrey Hristov
Back from the exams hellReady to help again
is not OK. What you want to do?
Best regards,
Andrey Hristov
Back from the exams hell
- Original Message -
From: brendan conroy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 7:46 PM
Subject: [PHP] VERY novice question!
Thanks for reading
to show them in the parsed html do:
$counter=0;
while(isset(${your_dyn_var.$counter++})) echo ${your_dyn_var.($counter-1);}
or
for ($tmp_count=0;$tmp_count$counter;$counter++){ echo ${your_dyn_var.$counter};}
Best regards
Andrey Hristov
- Original Message -
From: Honey House Designs
you want to remove a char at position $x.
so
$the_string =
substr($the_string,0,$x).substr($the_string,$x+1,strlen($the_string)-1-$x);
you can do some juggling in the second substr() with negative values for the
parameters but they will not be more fast than this.
Best regards,
Andrey Hristov
This means that you do some output before calling session_start() or
session_register();
check for echo()s or blanks before ? . Also there have not to be any html before ?
when using sessions.
Best regards,
Andrey Hristov
- Original Message -
From: Morten Nielsen [EMAIL PROTECTED
till it is sent to the end user.
Best regards,
Andrey Hristov
- Original Message -
From: James Taylor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 9:02 PM
Subject: [PHP] Sessions
Speaking of sessions, I was wondering if something like this is even
possible
Maybe the content of the page is cached. Try to reload/to clear the cache of the
browser.
Best regards,
Andrey Hristov
- Original Message -
From: Rodrigo Peres [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Saturday, February 16, 2002 4:50 PM
Subject: [PHP] My Session don't expire
Try this :
$d1=strtotime('d-m-Y',$str);
$d2=strtotime('d-m-Y',$str1);
var_dump($d2-$d1);
Best regards,
Andrey Hristov
- Original Message -
From: Uma Shankari T. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 19, 2002 10:50 AM
Subject: [PHP] Difference between two
in 4.1.0 at least in a CVS 4.1.0-pre
version. Try with 4.1.x
Best regards,
Andrey Hristov
- Original Message -
From: Nicolas BOUTET [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 3:57 PM
Subject: RE: [PHP-DEV] Get an application/octet-stream from
Use preg_match_all('|a.*?href=(|'|)(.*?)(|')|i', $the_string,$the_matches);
var_dump($the_matches);
Regards,
Andrey Hristov
- Original Message -
From: Ando Saabas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 20, 2002 10:45 PM
Subject: [PHP] Extracting hyperlinks
ooops
sorry
The correct is :
preg_match_all('/a.*?href=(|'|)(.*?)(|')/i', $the_string,$the_matches);
var_dump($the_matches);
- Original Message -
From: Andrey Hristov [EMAIL PROTECTED]
To: Ando Saabas [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 1:35 PM
Subject
look at the mysql docs
at www.mysql.com/doc/
there are some functions about times. it is easy to work with time intervals.
Best regards,
Andrey Hristov
- Original Message -
From: Sven Jacobs [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 5:56 PM
Subject: [PHP
warning but probably
lose the second which is useful.
Best regards,
Andrey Hristov
- Original Message -
From: Narvaez, Teresa [EMAIL PROTECTED]
To: 'Sanduhr' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 21, 2002 6:05 PM
Subject: RE: [PHP] Re: NULL value for variable
I
Try with preg_match_all()
PCRE functions are up to 25% faster than POSIX(ereg).
Best regards,
Andrey Hristov
- Original Message -
From: DigitalKoala [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 1:44 PM
Subject: [PHP] function that extracts numbers from
Better is:
$index=0;
for (index=0; $index $rowcount; $index++){
$formvar=${'formvar'.$index};
}
- Original Message -
From: george Pitcher [EMAIL PROTECTED]
To: Michael Romagnoli [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 2:40 PM
Subject: Re: [PHP]
INTO some VALUES ( 'ID0026', 'Sixth row');
Try this sql on this table:
select * from some where id'ID0015' order by id desc limit 0,1;
select * from some where id'ID0015' order by id limit 0,1;
Best regards,
Andrey Hristov
- Original Message -
From: Mark Lo [EMAIL PROTECTED]
To: [EMAIL
identificator do :
if ($res){
...
}else{ echo something went wrong;;}
I think the problem is etiher the sql query is not successful or php cannot connect to
the mysql.
$db = mysql_connect(localhost, , );
the username is empty??
Regards,
Andrey Hristov
- Original Message -
From: Todor Stoyanov
Did you restarted the Apache service?
Regards,
Andrey Hristov
- Original Message -
From: Mike Brackenridge [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 7:00 PM
Subject: [PHP] imagecreate with Windows .exe installer
php4 installed with Apache on Windows ME
get all from the string which is between the tags and use the substring with eval();
Best regards,
Andrey Hristov
- Original Message -
From: neko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 22, 2002 5:42 AM
Subject: [PHP] resolving php tags in a string
I have
Vulcan Logic SRM
www.vl-srm.net
Every your task is a banana.
Regards,
Andrey Hristov
- Original Message -
From: Paul Roberts [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 23, 2002 1:05 PM
Subject: [PHP] fork?
how do i do two things at the same time, i'm thinking
);
show(cities);
?
Regards,
Andrey Hristov
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 23, 2002 7:31 PM
Subject: [PHP] Associative array key as a variable
Hi.
I have the following PHP program executed from an HTML form where I pass
In 4.1.x series there are new vars (global scope)
$_GET,$_POST,$_COOKIE,$_FILES,$_SESSION
not available in 4.0.x versions. For old scripts could be problem that
register_globals is off in the 4.1.x tree(for new
installations, not upgrades). But this is for good.
Regards,
Andrey Hristov
Try doing it by yourself.
$the_str = str_replace('','\',$the_str);
$the_str = str_replace(',\\',$the_str);
This is a little hack until you find what is the problem with addslashes();
Best regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message
Try unset($GLOBALS[var]);
Best regards,
Andrey Hristov
- Original Message -
From: Enrico Weigelt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 28, 2002 9:44 AM
Subject: [PHP] unsetting global variables from an function
hi folks,
is there a way for unsetting
';
}
$topic_id = $leading_digits.$myrow[topic_id] ;
Best regards,
Andrey Hristov
- Original Message -
From: Andy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 28, 2002 9:56 AM
Subject: [PHP] Inserting leading 0 infront of a variable
Hi guys
Hi,
Is there someone who knows good places with information about Web Services? Such as
SOAP, XML-RPC, WSDL etc.
TIA
Andrey Hristov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
by andy:web . so identify fails.
Maybe my problem and yours have something in
commong.
try :
strace your_command_here
and see the output.
Best regards,
Andrey Hristov
- Original Message -
From: Nicke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, March 01, 2002
When register_globals is on try this:
if ($open_why_good_consult){
}
Regards,
Andrey
- Original Message -
From: John Fulton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:45 PM
Subject: [PHP] empty() texarea
I can't seem to get empty() to check if someone
It is in the TODO list of PHP. The behaviour will be changed in such a case.
You can get the string from $QUERY_STRING
explode it with $ar=explode('',$QUERY_STRING);
and some other small things to get all stuff with same name in an array
Regards,
Andrey
- Original Message -
From: Diana
Hi Erik,
I think that you look for array_count_values().
Regards,
Andrey
- Original Message -
From: Erik Price [EMAIL PROTECTED]
To: John Fulton [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 6:58 PM
Subject: Re: [PHP] empty() texarea
On Friday, March 1,
locate mysqld
whereis mysql
Regards,
Andrey
- Original Message -
From: Sean Kennedy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 7:05 PM
Subject: [PHP] trouble with telnet.
Hello,
I telneted to my web server and I would like to see if they have MySQL. Is there
I think - no mysql is available
what did locate mysql returned?
Regards,
Andrey
- Original Message -
From: Sean Kennedy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 7:27 PM
Subject: [PHP] hmm.. more trouble with telnet.
Hello,
When I type in 'whereis mysql'
.cfm are ColdFusion files(like .php or .pl)
Regards,
Andrey
- Original Message -
From: Sean Kennedy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 7:36 PM
Subject: [PHP] mysql and telnet.
Hello,
Thanks for the advice... But now I need to know what all this
check you php.ini if you need to change sendmail -t -i to something other.
Regards,
Andrey
- Original Message -
From: andy thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 02, 2002 11:04 AM
Subject: [PHP] Bizarre mail() problem
I have written a script to do some
pcntl extension. But only *nix.
Best regards,
Andrye Hristov
- Original Message -
From: Gaylen Fraley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 02, 2002 6:33 PM
Subject: [PHP] Threads and PHP
Is it possible to use threads to perform an operation while another
Untared php 4.1.1 into /usr/local/src/php4.1.1
Untared apache 1.3.22 into /usr/local/src/apache-1.3.22
ran ./configure in apache
there is /var/www/bin/apxs
When configuring php : ./configure --with-mysql --with-apxs=/var/www/bin/apxs
--with-xml
error occurs that says either perl is not
. If they are the
same as the parsed the date is valid, otherwise
not.
Best regards,
Andrey Hristov
- Original Message -
From: Andy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 05, 2002 11:27 AM
Subject: [PHP] How to validate this date: 2002-02-31
Hi there,
I am still
in this way :
for ($i=0;$i10;$i++){
$ar['foo'.$i] = 'bar'.$i;
}
Best regards,
Andrey Hristov
P.S.
There is in PHP's ToDo list such feature.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes.
If you know what is garbage collector then you will understand why it is
there. The GC is started from time to time and cleans expired session data.
Best regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
On Thursday 07 March 2002 07:54 pm, you wrote:
Firstly i create
behaviour. Before it leaded to fatal error if some the file that has to be
required is not found. Now it works just like include (just notice or warning
- not sure).
For more info read the docs ar : http://www.php.net/
Best regards,
Andrey Hristov
On Thursday 07 March 2002 07:25 pm, you wrote
You can use a string to keep the file content. And then put it the
mysql(probably a BLOB field)
Best regards,
Andrey Hristov
IcyGEN Corporation
On Thursday 07 March 2002 11:30 pm, you wrote:
hello everyone.
i'm wondering if i can do the following:
FIRST,
using php, can i create/generate
. Then if I use the standart foreach() statement PHP will have to
copy $ar[$k] to $v :)))
Best regards and fun with PHP,
Andrey Hristov
On Thursday 07 March 2002 08:48 pm, you wrote:
On Thu, 2002-03-07 at 09:53, Andrey Hristov wrote:
The code below is too weird. I spent 15 min writing
ooops
?php
echo foo.$i++;
echo \n;
echo bar.($j+++0);
?
On Thursday 07 March 2002 09:09 pm, Andrey Hristov wrote:
try this:
?php
echo foo.$i++;
echo \n;
echo bar.($+++0);
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
array_count_values()
Best regards,
Andrey Hristov
On Friday 08 March 2002 04:45 pm, you wrote:
Does anybody has a clever way to summarize the
number of different words (with multiple occurences)
from an array into an array with all the different words
and the times they occured?
Thanks
Read the docs. Look at the assertion part. ?= and the opposite of it.
Best regards,
Andrey Hristov
On Friday 08 March 2002 05:51 pm, you wrote:
Hello!
I use
$txt = preg_replace(#((?php .*?/A)|$search)#se, '\2==\1?
\1:$replace', $txt);
to replace some text in $txt. The problem: Parts
to distinguish whether this is xmlrpc
packet or soap envelope.It is bad that the extension
is compilable only under Linux. There is no version for windows. I was forced to
switch to Linux to use it.
Hope that helps.
Best regards,
Andrey Hristov
On Monday 11 March 2002 06:52 am, you wrote:
Who has had
AFAIK the problem is not afecting windows users. Because of that there is no windows
binary.
Best regards,
Andrey Hristov
- Original Message -
From: Gabor Hojtsy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 9:42 AM
Subject: [PHP-DEV] PHP 4.1.2 for windows
Hi
There was a discussion on PHP-DEV. Win32 binaries will be available soon.
Best regards,
Andrey Hristov
- Original Message -
From: Marcel Besancon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 6:43 PM
Subject: [PHP] Installing PHP 4.1.2
Hi everybody
$new=preg_replace('/\s/','',$old);
Best regards,
Andrey Hristov
- Original Message -
From: Lee P Reilly [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 6:56 PM
Subject: [PHP] removing ALL whitespace from a string
Can somebody tell me
last_timenow() interval 60 min; not sure for the query but
that is the idea.
Best regards,
Andrey Hristov
- Original Message -
From: Andy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 6:46 PM
Subject: [PHP] limiting the livetime of a session possible?
Hi there,
I am
on gtk.php.net there is a link to PHPMole. Built with PHP requires GTK. Not sure but I
think that there is gtk lib for OSX since it
is BSD.
Best reagrds,
Andrey Hristov
- Original Message -
From: Jordan S. Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 2:23
and the end.
Regards,
Andrey Hristov
- Original Message -
From: Richard Davey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 3:57 PM
Subject: [PHP] Is there a faster way to escape special characters in a regex?
Hi all,
At the moment I'm doing this to escape all
Yes they are identical. The rule is that the first and the last(excluding
modificators) symbol must be identical so
|abc|
~abc~
/abc/
%abc%(not sure for that)
are equivalent. The docs uses // syntax because it is the most popular.
Regards,
Andrey Hristov
- Original Message -
From
I used it few times. You have to make modifications to index.php, so the engine will
know where to look to for .php scripts that
have to be documented.
I've attached my index.php
- Original Message -
From: S.Murali Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12,
Probably the value you want to sent to the php page is on the page but not between
form and /form.
Regards,
Andrey Hristov
- Original Message -
From: John Gurley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 5:26 PM
Subject: [PHP] question
don't know exactly
http://marc.theaimsgroup.com/?l=php-generalr=1w=2
Regards,
Andrey
- Original Message -
From: Jim Long [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 8:51 PM
Subject: [PHP] archive
Hello,
Is there a searchable archive of this PHP- general subscriber list?
Hristov
- Original Message -
From: S.Murali Krishna [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]
Cc: S.Murali Krishna [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 7:41 AM
Subject: Re: [PHP] Help in PHPDoc
Hi Andrey
Thanks for your kind response first. I
not nagging(not sure for the word) at you.
Best regards,
Andrey Hristov
- Original Message -
From: Richard Davey [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 6:52 PM
Subject: Re: [PHP] How to access arrays from $GLOBAL?
Mike Ford [EMAIL PROTECTED] wrote
Sources.
Andrey
- Original Message -
From: Hunter, Ray [EMAIL PROTECTED]
To: 'Rasmus Lerdorf' [EMAIL PROTECTED]; Richard Davey [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 6:59 PM
Subject: RE: [PHP] How to access arrays from $GLOBAL?
Where is some good
to add that $GLOBALS has reference to itself but when used in non-function context.
Try ?php var_dump($GLOBALS);? and ?php
function a(){ var_dump($GLOBALS); } a(); ?
Regards,
Andrey Hristov
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Hunter, Ray [EMAIL PROTECTED]
Cc
1 - 100 of 310 matches
Mail list logo