its .= '0';
}
$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 infron
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
>
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 Corporat
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
Use global. Read the docs about variable scoping.
If you use php >=4.1.0 then use $_POST, $_GET,... they not need to use global. Global
scope.
";
}
show("countries");
show("cities");
?>
Regards,
Andrey Hristov
- Original Message -
From: <[EMAIL PROTEC
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
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
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
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
-
ID0015', 'Fourth row');
INSERT INTO some VALUES ( 'ID0023', 'Fifth row');
INSERT 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
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: [
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
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 P
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
ooops
sorry
The correct is :
preg_match_all('/
To: "Ando Saabas" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 1:35 PM
Subject: Re: [PHP] Extracting hyperlinks from file
> Use preg_match_all('| var_dump($the_match
Use preg_match_all('|
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 20, 2002 10:45 PM
Subject: [PHP] Extracting hyperlinks from file
> I need to produce an array of all the links(hrefs) in a remote file
> (actually those that refer to files in the same remote server, but thats
>
> another m
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: [P
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
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
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 so
This means that you do some output before calling session_start() or
session_register();
check for echo()s or blanks before
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 8:56 PM
Subject: [PHP] Sessions
> Hi,
> I try to use sessions to keep track if a user is logged in. I keep getti
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
yn_var4
When you want 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
And
(($m[0]=="-")&&($count<2))||($count++"0"))
this seems ok but
$count++"0"
is not OK. What you want to do?
Best regards,
Andrey Hristov
"Back from the exams hell"
- Original Message -
From: "brendan conroy" <[EMAIL PROTE
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
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
IK the encoder first 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 PR
ource code 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:
If you have file with name "0" , with
while ($file = readdir($dir)) {
it will be casted to false, but this is regular file. Thus !== is used.
Regards,
Andrey Hristov
- Original Message -
From: "mike cullerton" <[EMAIL PROTECTED]>
To: "php-general&qu
also 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 ne
Probably
1)You do echo before session_start()
2)You have white space before the opening
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 10, 2002 11:00 PM
Subject: [PHP] session related
> i can't use session, give me an error when use ie 6.
>
> Warning: Cannot send session cookie - headers alrea
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, Januar
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
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 unsh
ame']."";
}
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
> he
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
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 Davi
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,
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, Janua
.
Inc.';
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.
Reg
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]
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 p
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 offe
PHP which
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
>From : http://www.php.net/manual/en/features.file-upload.php
HTH
Regards,
Andrey Hristov
- Original Message -
From: "Paul Roberts" <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, De
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 scri
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
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]
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: [
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
er(so 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 u
');
?>
Produces :
<html>
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
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 nam
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:
Ususally when someone needs to select last row in a table (s)he do:
select * from some_table order by some_field desc limit 1;
but there is another possible solution for mysql :
More info here : http://www.mysql.com/doc/V/a/Variables.html
Regards,
Andrey Hristov
--
PHP General Mailing List
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 knowledg
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
login.php
other.php
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 fo
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?
> Havi
> Julio Nobrega.
>
> Um dia eu chego la:
> http://sourceforge.net/projects/toca
>
> "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
> 032e01c187db$148bfa30$0b01a8c0@ANDreY">news:032e01c187db$148bfa30$0b01a8c0@ANDreY...
> > $PHPSESSID is only ava
$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
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]>
T
First
NULL
string(5) "4.0.4"
So I think that the problem is that you haven't started any session. Before session
starting PHPSESSID is NULL. That is my opinion.
PHPSESSID by default is get as GET parameter. Do you have any GET parameter when
starting on a console?
Regards,
from 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 -
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 HT
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] multicol
Read zend.h to see the structure of zval (the main zend strucutre).
Regards,
Andrey Hristov
- Original Message -
From: "César Gómez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 10:46 AM
Subject: [PHP] read php shared memory with C
I don't know if theWap browser can support cookies but the cookies are the silent way.
also you can change the name of the Session_id (in php.ini) or generate it by
yourselft. reduce it's length but that means reduced
security.
try inserting hidden fields in the forms.
Regards,
Andr
Ants don't sleep. PHP programmers are from the whole globe so PHP also never
sleep.
Regards,
Andrey Hristov
On Thursday 13 December 2001 07:05 am, you wrote:
> Aunt is more similar very similar to PHP. Very industrious and powerful ;)
>
> - Original Message -
> Fro
ot; it will be accessible only in members and its subdirectories.
Regards,
Andrey Hristov
On Wednesday 12 December 2001 03:16 pm, you wrote:
> Still trying to get the cookie to work in my site for automatic login
> capabilities. It has it's moments of greatness, before fading into the
>
Try this :
preg_match('!(HREF|SRC)=([\"\']?)(.*?)\2!i',$Content,$reg_array);
HTH
Regards,
--
Andrey Hristov
Web Developer
Icygen Corporation
BUILDING SOLUTIONS
http://www.icygen.com
On Wednesday 12 December 2001 02:06 pm, you wrote:
> Hello there,
>
> I
It looks like it is a fixed bug.
>From PHP-DEV (today):
> ID: 14424
> Updated by: sander
> Reported By: [EMAIL PROTECTED]
> Status: Open
> Old Bug Type: Filesystem function related
> Bug Type: Documentation problem
> Operating System: Suse linux 7.2
> PHP Version: 4.1.0
> New Comment:
>
> So what
So
> Anyone interested in gaining a position should reply to:
> Andrey Zmievskiy 73021,[EMAIL PROTECTED]
Zmievski or Zmievskiy ? :
Regards,
Andrey
- Original Message -
From: "Andrei Zmievski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Mon
']]=array('name'=>$arr['name']);
rec($arr['theme_id'],$the_parent_array[$arr['theme_id']']);
}
}
$your_array = array();
rec(1,$your_array);
HTH
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Or
test message.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Test
--
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]
set error_reporting to some level which does not include E_WARNING or set it to 0 ->
no messages except fatal parser messages.
Regards,
Andrey Hristov
- Original Message -
From: "Carolyn Mescan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December
test message
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
In background :
1)$result_does_not_matter = `/path/to/your/massmailer.php 1>mail_std_out.log
2>mail_std_err.log &`;
2) use exec with cmd as the above.
With PHP you can write PHP shellscripts:
#!/usr/local/bin/php -q
HTH
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.co
Is register_globals turned on or off?
- Original Message -
From: "Gaylen Fraley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 09, 2001 6:13 AM
Subject: [PHP] session woes
> I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that
> session_reg
The code below does almost of the job. There is only one problem. If some path is
absolute to the server /aaa/bbb/ the path get
file://aaa// but I think no problems with apache.
HTH
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
a URL,
a link to an external
test
--
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]
xpl[1],$yd_expl[2],$yd_expl[3],$yd_expl[4],$yd_expl[5])
){
// do you have to do
}
HTH
Regards,
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 09, 2001
strip the from the strings and do
eval();
HTH
Regards,
Andrey Hristov
- Original Message -
From: "Sergio Mergen" <[EMAIL PROTECTED]>
To: "php List (E-mail)" <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 9:39 PM
Subject: [PHP] database with php code
noticed.
Regards and best wishes,
Andrey Hristov
-=-=-=-=-=-=-=-=-=-=--=-=-=-=-==-=-=--=-=
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>
Cc: "Alex Shi" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Fr
var_dump($HTTP_SERVER_VARS);
var_dump($HTTP_POST_VARS);
var_dump($HTTP_GET_VARS);
var_dump($HTTP_COOKIE_VARS);
var_dump($HTTP_ENV_VARS);
since 4.1.0 these are deprecated. Use
$_SERVER, $_POST, $_GET, $_COOKIE, $_ENV
Regards,
Andrey Hristov
- Original Message -
From: "Alex Shi&quo
set_time_limit(0); // no limit
set_time_limit(60); // 60 seconds
Regards,
Andrey
- Original Message -
From: "Christoph Starkmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 7:09 PM
Subject: [PHP] Maximum execution time of 30 seconds exceeded
> Hi eve
UPDATE members set passwd=PASSWORD(passwd);
"select login from members where PASSWORD($form_pass)=passwd;"
Regards,
Adnrey Hristov
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 2:32 PM
Subject: [PHP] encry
Search the list. I remember that someone posted a link from php.net where a putted
several links which points to the home pages of
editors(Linux+Windows).
Regards,
Andrey Hristov
- Original Message -
From: "Roko Roic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
mysql_query('INSERT INTO the_table (name,content)
VALUES(".$HTTP_POST_FILES['ImgFile']['name'],',',
mysql_escape_string(implode('',file($HTTP_POST_FILES['ImgFile']['tmp_name']))).');');
you ca
Read this :
http://www.mysql.com/doc/D/a/Date_calculations.html
Regards,
Andrey Hristov
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 7:19 PM
Subject: [PHP] Qukc days to time() conversion?
I
I think that I found the solution:
http://www.zend.com/manual/configuration.php
Regards
- Original Message -
From: "Andrey Hristov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 7:04 PM
Subject: Re
Try this
http://www.google.com/search?hl=en&q=%22.htaccess%22+%22override%22+%22php%22+%22settings%22&spell=1
Regards,
Anrey Hristov
- Original Message -
From: "Kurt Lieber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 7:06 PM
Subject: [PHP] possible to
function _compile_lang($key){
global $_lang;
return $_lang[$key[1]];
} // End _compile_lang
HTH
Regards,
Andrey Hristov
- Original Message -
From: "Peter Bowyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 3:45 PM
Subject
Set include_path to the place where is your php_mysql.so
and uncomment
extension=php_mysql.so
Regards,
Andrey Hristov
Bye
- Original Message -
From: "Riccardi Moreno" <[EMAIL PROTECTED]>
To: "Andrey Hristov" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]
Fatal error: Call to undefined function: mysql_connect() means to things. php is not
built with integrated mysql support, or php
cannot find php_mysql.so on your comp. What is the value of php.ini variable
include_path or something similar.
Regards,
Andrey Hristov
- Original Message
$value){
$tmp = explode($cschar,trim($value));
$tmp[count($tmp)] = $tmp[$which_column];
unset($tmp[$which_column]);
$out_cont[] = implode(",",$tmp);
}
$fd = fopen($out_fname,'w+');
fwrite($fd,implode("\r\n",$out_cont));
fclose($fd);
?&
I cannot compile this:
try that :
foreach ($HTTP_POST_VARS as $key => $var){
print "VAR: $var KEY = $key";
}
Regards,
Andrey Hristov
- Original Message -
From: "mweb" <[EMAIL PROTECTED]>
To: "phplist" <[EMAIL PROTECTED]>
Sent: Fri
it is http://www.vl-srm.net/index.php
Regards,
Andrey Hristov
P.S.
http://oasis.sourceforge.net
uses SysV semaphores and shared memory, so you can look how they are used in real life
application
- Original Message -
From: "Stefan Bergstrand" <[EMAIL PROTECTED]>
To: <[EMAIL
http://www.ispcheck.com
HTH
Andrey
- Original Message -
From: "Sondra Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 6:02 PM
Subject: [PHP] Ezmlm Hosts besides csoft.net?
> Hello everyone!
>
> I'm wondering if you guys could suggest a hosting co
101 - 200 of 321 matches
Mail list logo