use php
command line interface
Anyone disagree?
-Leo-
Leo Jokinen wrote:
Hi all,
I've been banging my head into the wall cause I can't get ibm_db2
extension working with Apache 2.0.59 and PHP 5.2.1 (as apache module).
(Operating system is winxp pro SP2)
For some reason, this code
le php5_module "C:/php-5.2.1/php5apache2.dll"
PHPIniDir "C:/php-5.2.1/"
Can someone point out the right direction for me?
Regards
Leo Jokinen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(
[imageID] => 3
)
)
After intersection instead of me getting 3 as a result, I got the array 1
unchanged. Seems like intersection doesn't take place at all. Anyway to solve
this problem?
Regards,
Leo
Reality starts with Dream
_
array_pop(); function it will only pop the last element inside the
array and the array will become
{a,b,c,d,e}
Anyway to search the desire element inside the array and took it out from the
array?
Regards,
Leo
Reality starts with Dream
__
Do You Yah
Hi Tedd,
you may want to check out a Blog-Software like Wordpress if it fulfills your
requirements and relaunch your website using it. From what i see on your
page, it could pretty much replace the functionality and add the benefits of
comments, nice urls, etc
Greets
Rocco
--
New Identity AG
Taksam wrote:
Now, my question is: can I use Apache version 2 with PHP? And, even if I can
use it in my development environment... is it safe to use Apache 2+PHP in a
production environment?
running apache 2 with php 4, not 5...
--
Leo G. Divinagracia III
[EMAIL PROTECTED]
--
PHP
On March 27, 2003 09:15 pm, Charles Kline wrote:
> I am storing my dates as unix timestamp (epoch). Am I right in
> assuming that if I need to add or subtract days from this it is
> done in seconds?
yes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/
erefor not display it.
so rearange the two lines like this:
$message = $no_permission;
include ($_SERVER['HTTP_REFERER']);
and it should work.
HTH,
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rrer is outputting something unexpected.
Use some print statements to debug this..
print("{$userlevel} and {$neededlevel}");
print($_SERVER['HTTP_REFERER']);
Of course make sure $no_permission actually contains a string...
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the original page no matter where they;re coming from.
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p.exe as well as access to uploadtemp and sessionsdata directories.
Also in IIS enable script execution for your website or virtual
folder.
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On March 11, 2003 09:35 pm, Justin French wrote:
> READ THE F***ING MANUAL!!!
>
> http://php.net/round clearly shows you how to round to a whole
> number.
>
> if you want to round ALL decimals up, then you might have to create
> something from scratch, but
ceiling and floor functions are part of n
is:
>
> The value= has been
> stripped from the code
Look really hard at that second line.. Notice anything missing? I
dont know why its stripped from your browser source but theres an
obvious mistake.
leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
f it was correct I would start a session, register the variables
and redirect the user. This wouldn't work most of the time in IE.
For some reason it always took a few tries to login. Then I moved
the call to session_start() to the beginning of the script and it
worked fine. Not sure if
; and & are identical except that if
you use &, PHP will not short circuit the expression.
like:
$x = 0;
if(false && $x++)
print "impossible";
print $x; // should print 0
$x = 0;
if(false & $x++)
print "impossible";
print $x; // shoul
On March 7, 2003 09:15 pm, Leo Spalteholz wrote:
> Hi,
> I have a table that stores all the "boxes" that my website will
> display on the sides. So far the content is simply stored in a
> text field and then substituted for the box body. However this way
> I can't
e code in
the string?
2. If I instead include a file would it have access tio the local
variables?
Ie. In a class I have this:
$strContent = "blah, this is the content I got from the database";
include("includefilefromdatabase.php");
Is the $strContent variable then availab
> >> }
> >>
> >> I've submitted the ICQ # 2264532680, but it validates. Any
> >> ideas?
>
> My icq is 6 digits
Would be kinda cool if your scirpt did a search on icq.com and if it
found a result then the ICQ # is valid.. of course that means you're
relying on the icq server to be up and the search page to stay
consistant..
leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng them, but
> > this seemed kind of messy and the long way around
>
> You can use array_sum().
What about "SELECT SUM(Goals), SUM(assists)"?
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On February 28, 2003 10:41 am, Leif K-Brooks wrote:
> Try $timeb <> ''.
>
Well whatta ya know I learn something new every day.. I thought the
only valid not equal operator was !=... I'm used to using <> only
for SQL server stored procedures or VB..
leo
-
nstructive, and then
starts the main script. So you set some variables but where are
these used? The only configuration a php script may need will be so
specific that a general interface cannot handle it.
Leo
PS: Microsoft copyrighted images. Commercial app. Bad idea. Seriously.
On February 24
On February 23, 2003 11:08 pm, John Taylor-Johnston wrote:
> Which variable should I use?
>
> _SERVER["HTTP_HOST"]
> _SERVER["SERVER_NAME"]
> HTTP_HOST
> Server_NAME
> Host
Docs are your friend. or JUST TRY IT.
leo
--
PHP General Mailing List (http://
>
> Can anyone suggest how I can make text flash on a PDA considering
> that the PDA browsers do not support many Javascript commands?
No! Just when I thought the tag was finally dead and gone
someone wants to bring it to PDAs... :)
Leo
--
PHP General Mailing List (http://www.
For help with getting MSSQL to work with php, check the comments for
the mssql_execute and mssql_bind functions in the online php manual.
You need some extra dlls.
Leo
On February 21, 2003 09:43 pm, John W. Holmes wrote:
> > I wish to run PHP on a Win 2000 server, MS SQL and II
sql_bind
function) I ran the stored procedure and the @returnCode variable is
set correctly there so that isn't the problem.
Does anyone know what could be the problem there? I guess I could
return @ReturnCode in the recordset but that would be kinda hokey.
Thanks,
Leo
--
PHP Gener
hrough obscurity, everyones favorite way :)
Thanks,
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e that MAC address with
a (previously obtained) database of addresses and if it matches they
would automatically be logged in. So I could preauthorize my friends
and remember other users once they have signed up.
It seemed like a cool idea but is this at all possible or am I just
insane?
Thanks,
Le
Never mind. Apparently I can't tell the difference between a capital
and a lowercase B. time to crash methinks.
leo
On February 13, 2003 11:59 pm, Leo Spalteholz wrote:
> I just ran into a somewhat strange problem with an include failing.
> I have the following in my script:
> i
file fails
(Failed opening for inclusion). My directory structure is:
/LNDataBase
LNDataBase.php
/LNScreens
LNScrMain.php
index.php
The file exists and it seems to be the exact same syntax as what I
used to include the other file. What else could possibly be wrong?
Thanks for an
handling(20). Ok thats my (very unrealistic) wishlist for
PHP :)
leo
On February 9, 2003 02:09 pm, David Eisenhart wrote:
> you may find the following link interesting
> http://www.tek271.com/articles/JavaOrPhp.html
>
> David Eisenhart
--
PHP General Mailing List (http://www.
ah! thank you very much. Thats exactly what I was looking for.
Leo
On February 9, 2003 01:49 pm, David Eisenhart wrote:
> yes, you can call a static method on a class by specifying the
> class name, then 2 colons and finally the function name:
>
> classname :: functionname([arg,...
like to have it more seperate.
Thanks,
Leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d with $lastname=" " but no change. how can I check if a varible is
empty or not?
leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i want a logical function (true or false) that search a character into a
string.(like indexOf() in javascript)
example: i want to find char '@ ' in the string [EMAIL PROTECTED]
leo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, all!
I have one problem i can't bild php --with-gdbm support.
I have it on my Linux: gdbm-1.8.0-10
and during install there are no errors, but when i try use function in
my program (dbmopen(), dblist().) PHP write that it is undefined
function.
Thanks!
--
PHP General Mailing List
hi
i'm currently programming a php web application and i have the following
problem: i need a login scheme; programmed a simple one. Whichever page the
user reaches, in some i need their userid, for extra validation. so
basically, i'm looking for a mechanism to share a variable between multip
36 matches
Mail list logo