Re: [PHP] Call to undefined function problem

2001-09-11 Thread Andrey Hristov
if (!define("__FUNCTIONS__") ) must be: > if (!defined("__FUNCTIONS__") ) Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: "Doug Farmer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 6:50 AM Subject

[PHP] JavaScript MD5()

2001-09-11 Thread nicolas costes
Hellorgh, all !!! Does anyone knows if there is a way to MD5-encode strings with JavaScript ? I use MD5() to encode passwords then insert them in my account database, and when a user logs in, i do MD5($password_provided_by_form) to compare it with the one stored in the DB. Ok, fine, I cannot see

Re: [PHP] IE and '404 not found' custom script

2001-09-11 Thread nayco
I use an HTML file like this : < html > < head - title ... > < body > < img src="my_picture_of_a_404_peugeot.jpg > < !-- then, here comes the way i found to grow the file's size : 512+ bytes of invisible text... / / -- > < /body > < /html > I think headers are not counted by the browser in the t

Re: [PHP] locking a mysQL row

2001-09-11 Thread nayco
Try to insert in your 'locked' field an Unix date instead of 'locked' . One field, two effects (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Justin French <[EMAIL PROTECTED]> To: php <[EMAIL PROTECTED]> Se

[PHP] Weird PHP problem...Example code...

2001-09-11 Thread Dana Holt
Ok, this code is used on the index page of on of my sites. It prints out a list of links from a database. I am using PHP sessions. When I open a new browser and go the site for the first time the HTML that is output by my code is not correct. This is only on SOME of the lines, but it is always o

Re: [PHP] Problem regarding select boxes

2001-09-11 Thread nayco
Try something like < script language="JavaScript"> if (inv_name.value=='mobile') { inv_imei.style.visibility=visible; . based on CSS and JS !!! but this is VERY fast written and may only work on IE, not NS . (°-Nayco, //\[EMAIL PROTECTED] v_/_ h

[PHP] Re: JavaScript MD5()

2001-09-11 Thread Arve Bersvendsen
Nicolas Costes wrote in 00fd01c13a94$e3329b80$0100a8c0@p2333:">news:00fd01c13a94$e3329b80$0100a8c0@p2333: > Hellorgh, all !!! > Does anyone knows if there is a way to MD5-encode strings with > JavaScript ? The algorithm is described in RFC 1321. http://www.ietf.org/rfc/rfc1321.txt> > I use MD

[PHP] Re: Problem regarding select boxes

2001-09-11 Thread _lallous
IT's something like that friend, New Document MobileTest 12 "Balaji Ankem" <[EMAIL PROTECTED]> wrote in messa

[PHP] Re: NT?

2001-09-11 Thread _lallous
it works fine under 2000 Pro +IIS5 "Jeremy Morano" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > Sorry to bother everyone. I was just wondering if php runs on NT? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

Re: [PHP] Re: JavaScript MD5()

2001-09-11 Thread nayco
thanx... yeah, I forgot that the problem is not what the sniffer sees, the problem is : how can i do to prevent him from seeing anything Is SSL difficult to use in PHP ??? Can someone shortly explain it to me ??? (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://n

[PHP] Problem regarding select boxes

2001-09-11 Thread Balaji Ankem
Hi! friend,   I had one html form .   In that i had 5 inputs.   First  input is a select box.   If the selected item in first input is Mobile then only i want to display  second andthird input boxes. Otherwise i want to hide those two options.How can i endure that?Please give the solution

Re: [PHP] Problem regarding select boxes

2001-09-11 Thread David Robley
On Tue, 11 Sep 2001 17:35, Balaji Ankem wrote: > Hi! friend, >I had one html form . >In that i had 5 inputs. >First input is a select box. >If the selected item in first input is Mobile then only i want to > display second and third input boxes. Otherwise i want to hide those >

[PHP] Re: Weird PHP problem...Example code...

2001-09-11 Thread _lallous
Yes, I see this problem before, There was a setting that you turn on/off in the php.ini file..forgot which one.. maybe these: ; use transient sid support if enabled by compiling with --enable-trans-sid. session.use_trans_sid = 1 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeen

[PHP] Re: JavaScript MD5()

2001-09-11 Thread Arve Bersvendsen
Arve Bersvendsen wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: > The algorithm is described in RFC 1321. > http://www.ietf.org/rfc/rfc1321.txt> BTW: I found a Javascript-implementation of MD5. http://pajhome.org.uk/crypt/md5/md5src.html> -- Arve «The pessimist sees difficulty

[PHP] Sessions Getting Broken

2001-09-11 Thread Niklas Lampén
I have a database update system and I regonize users with sessions. Sometimes sessions just broke with no sane (for me at least) reason. Any ideas what may cause this, it's pretty anoying if you have updated 20 fields, try to submit the form and then you get kicked out of the system!?! Otherwise

Re: [PHP] Re: JavaScript MD5()

2001-09-11 Thread nayco
thanx. maybe this will not really secure the password transmission , but it'll be good to studie (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Arve Bersvendsen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: T

[PHP] Executing graphical application (linux)

2001-09-11 Thread Chris Lambert
Is it possible to execute a graphical application using exec() or one of the related commands? I have tried running it directly and from an external script but neither work. Thanks, -- Chris Lambert [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Executing graphical application (linux)

2001-09-11 Thread nayco
have you tried with specifiing th e display to use > something like EXEC ("my_app --display 0:0") well this may be possible, everything is possible with a keyboard and many imagination ;~p (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.f

[PHP] PHP module unloadable

2001-09-11 Thread Kevin Way
I'm having a problem building a loadable PHP module with mysql support. without mysql support, there's absolutely no problem. the module appears to load correctly, until you start apache, at which point I receive: Syntax error on line 227 of /usr/www/conf/httpd.conf: Cannot load /usr/www/libexec

[PHP] Wheres my cookie?

2001-09-11 Thread Randal Pitt
Hi All, I have a web application that uses .php and .jsp files, I use php sessions and normal cookies and I can get to these cookies from php no problem. The trouble starts when I try to get the cookie values from the .jsp files. The only cookie that is saved in the browser is the normal cookie,

Re: [PHP] Executing graphical application (linux)

2001-09-11 Thread Chris Lambert
[EMAIL PROTECTED] (Nayco) wrote in 017601c13a9d$f3614840$0100a8c0@p2333:">news:017601c13a9d$f3614840$0100a8c0@p2333: > have you tried with specifiing th e display to use > > > something like EXEC ("my_app --display 0:0") > > well this may be possible, everything is possible with

[PHP] stripslashes strips too much

2001-09-11 Thread Christian Haines
hi all, i am experiencing a bit of a problem with stripslashes stripping too much data. For example: it will strip abc's -> abc has anyone else experienced this? is there a solution? many thanks in advance, christian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] php apache server problem

2001-09-11 Thread itü
Hello php-general, Ive got a virtual hosted site at this site Ive got some php files which are taking images from database but tey stopped operating since a overloading of the server the code of the taking pictores are here. Is there anyone who has an idea. codes are like that m

Re: [PHP] Executing graphical application (linux)

2001-09-11 Thread nayco
well, I don't know if that's possible . you're writting a local admin application with PHP (I mean, this script is used on the local machine, not through the network ???) I think there should have a way to get this to work (°-Nayco, //\[EMAIL PROTECTED]

Re: [PHP] stripslashes strips too much

2001-09-11 Thread nayco
I 've got the same problem on many scripts using mysql and forms ... it's hard to handle the " ' " character.. i'd like some advices too !!! (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Christian Haines <[EMAIL

[PHP] Re: JavaScript MD5()

2001-09-11 Thread _lallous
Yes, there is Md5() for javascript ;) http://pajhome.org.uk/crypt/md5/ I tried it and it works just fine! :) "Nicolas Costes" <[EMAIL PROTECTED]> wrote in message 00fd01c13a94$e3329b80$0100a8c0@p2333">news:00fd01c13a94$e3329b80$0100a8c0@p2333... > Hellorgh, all !!! > Does anyone knows if there

[PHP] variables

2001-09-11 Thread webgenie
Hello, Is it possible to transfer certain variables to a new scripts, but not doing this as uri-parameters (../bla.php?var1=var&var2=var#) I need it for Usernames and passwords and when the pages get cached the usernames and pwd's can be viewed in the Temp-inetfiles-folder in Windhoze. Thanks,

[PHP] Re: Sessions Getting Broken

2001-09-11 Thread _lallous
Maybe it's getting timed out? "Niklas lampén" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a database update system and I regonize users with sessions. > Sometimes sessions just broke with no sane (for me at least) reason. > > Any ideas what may cause

Re: [PHP] variables

2001-09-11 Thread nayco
Maybe using cookies ??? (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: <[EMAIL PROTECTED]> To: Php-General <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 11:10 AM Subject: [PHP] variables > Hello, > > Is it po

[PHP] Re: More thoughts about PHP: Taglibs

2001-09-11 Thread _lallous
Yep this is not bad! > > Hello, . Your last login was . > and now using PHP's short tags, you can make it even prettier: Hello, . Your last login was . Right? "Dr. Evil" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > It seems to me that one of th

[PHP] Re: More thoughts about PHP: Taglibs

2001-09-11 Thread nicolas costes
maybe one day, PHP will implement user defined tags this could be an idea, if this is prooved to be useful. (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr ORIGINAL MESSAGE-> Yep this is not bad! > > He

[PHP] Re: variables

2001-09-11 Thread _lallous
Sure you can! consider this simple example: click here to go to next page it's using hidden forms... you can also use sessions... <[EMAIL

[PHP] Re: Some problem...

2001-09-11 Thread _lallous
You're running PHP in safe mode where some restrictions apply. try turning safe mode off! (in PHP.ini) ; ; Safe Mode ; safe_mode = Off "Oòkó‰öårzòËèkó" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sveiki, php-general, > > I got this message: > Warni

[PHP] regexp (?:

2001-09-11 Thread Andrew Perevodchik
Why doesn't this simple example work? ereg ("aaa(?:bbb|ccc)aaa", $string); It causes an error. However "?:" command is documented in a manual of my version of PHP4. -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] Re: regexp (?:

2001-09-11 Thread Franklin van Velthuizen
"Andrew Perevodchik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why doesn't this simple example work? > > ereg ("aaa(?:bbb|ccc)aaa", $string); > > It causes an error. However "?:" command is > documented in a manual of my version of PHP4. It would probably

[PHP] Re: regexp (?:

2001-09-11 Thread _lallous
The ereg() is not is not a a Perl Compatible regexp element! try using preg_match() instead! "Andrew Perevodchik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Why doesn't this simple example work? > > ereg ("aaa(?:bbb|ccc)aaa", $string); > > It causes an err

[PHP] suming up in MySQL

2001-09-11 Thread Teqila MAN
Hello, How to sum up all the values from a MySQL row ex. id - price 1 1000 2 300 3 200 How to sum up price row ? teqilaman thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP] Apache redirection by PHP

2001-09-11 Thread Andrew Perevodchik
I have the DNS alias on my server for "*" (which means any name). So that any requests for http://anyname.my.host are recieved by one virtual server. I need to make apache return /anyname/files/example.txt rather than /files/example.txt (which is actually requested). "anyname" depends on the user'

Re: [PHP] suming up in MySQL

2001-09-11 Thread David Otton
On Tue, 11 Sep 2001 11:51:05 +0200, you wrote: > How to sum up all the values from a MySQL row ex. >id - price >1 1000 >2 300 >3 200 > >How to sum up price row ? SELECT SUM(price) unsurprisingly enough... djo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Stripslashes question.

2001-09-11 Thread Christian Reiniger
On Monday 10 September 2001 23:57, Sean C. McCarthy wrote: > Hi, > > Didn't help. I tried it before that is why I tried with addcslashes. Not addcslashes. addslashes. Note the missing "c" -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) Nothing is more dangerous than an idea if i

Re: [PHP] suming up in MySQL

2001-09-11 Thread Andrew Perevodchik
TM> id - price TM> 1 1000 TM> 2 300 TM> 3 200 TM> How to sum up price row ? This can be done by MySQL rather than PHP. mysql_query ("SELECT SUM (price) FROM table"); -- Andrew Perevodchik [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] variables

2001-09-11 Thread David Otton
On Tue, 11 Sep 2001 11:10:20 +0200, you wrote: >Is it possible to transfer certain variables to a new scripts, but not doing >this as uri-parameters (../bla.php?var1=var&var2=var#) method=post forms cookies >I need it for Usernames and passwords and when the pages get cached the >usernames and

RE: [PHP] Re: variables

2001-09-11 Thread webgenie
Thanks for the fast answer1 Yes I thought of that, but I also got the problem using the $vars in frames: I'm using a authenticationform for users to get to a frameset. Now I'm transfering the usernames/pwds in the uri-string to all the framepages. In all framepages I check for $PHP_AUTH_USER to

RE: [PHP] Re: Sessions Getting Broken

2001-09-11 Thread Niklas Lampén
Hmm.. How do I know how fast they timeout? And it seems that all of my users drop at the same time, not sure about it thou. session.cache_expire is set to 180. session.cookie_lifetime is 0. Maybe those do tell you something and you tell me more! :) Niklas -Original Message- From: _lal

Re: [PHP] Re: variables

2001-09-11 Thread _lallous
In that case you'll have to use session_variables or cookies. mostly session_variables are better especially for authentication and login/logout systems... <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for the fast answer1 > > Yes I thought of that

Re: [PHP] Re: Sessions Getting Broken

2001-09-11 Thread _lallous
Can't tell like that No more ideasmaybe somecode would help?! "Niklas lampén" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hmm.. How do I know how fast they timeout? And it seems that all of my users > drop at the same time, not sure about it thou. >

RE: [PHP] Re: variables

2001-09-11 Thread webgenie
Thanks, I'll implement sessions... :) regards Bart -Oorspronkelijk bericht- Van: _lallous [mailto:[EMAIL PROTECTED]] Verzonden: dinsdag 11 september 2001 13:30 Aan: [EMAIL PROTECTED] Onderwerp: Re: [PHP] Re: variables In that case you'll have to use session_variables or cookies.

RE: [PHP] Re: Sessions Getting Broken

2001-09-11 Thread Niklas Lampén
session_start(); if (!session_is_registered("Session")) { toStart(2); exit; }; $Session = $GLOBALS[Session]; This is what I do on every page. I don't think it's timeout, since the session might get broken just after 5 minutes. function toStart() is used to move user to the login

[PHP] Re: regexp (?:

2001-09-11 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Andrew Perevodchik) wrote: > ereg ("aaa(?:bbb|ccc)aaa", $string); > > It causes an error. However "?:" command is > documented in a manual of my version of PHP4. AFAIK, that is only documented in the preg_* chapter, and only applies to the pr

Re: [PHP] Apache redirection by PHP

2001-09-11 Thread Tim
Look in the Apache manual at the section on mod_rewrite. - Tim On Tue, 2001-09-11 at 05:58, Andrew Perevodchik wrote: > I have the DNS alias on my server for "*" (which > means any name). So that any requests for > http://anyname.my.host are recieved by one virtual > server. I need to make apach

Re: [PHP] More thoughts about PHP: Taglibs

2001-09-11 Thread Tim
A good template library (and there's quite a few out there) will take care of this issue. You can have nearly pure HTML files and pure PHP files and maintenance and readability of your projects is much improved. - Tim http://www.phptemplates.org On Tue, 2001-09-11 at 01:04, Dr. Evil wrote: >

[PHP] preg_replace is modifying the type of replacement parameter !!

2001-09-11 Thread Nicolas Guilhot
Hi guys, When I use preg_replace with an array of integer as the replacement parameter, this function modifies the type of each array element to string. I don't understand why it alters the content of the array while this variable is not pass by reference (True or not ??). I have just upgraded t

Re: [PHP] MySQL query help

2001-09-11 Thread Michael George
On Mon, Sep 10, 2001 at 03:59:36PM -0500, Sheridan Saint-Michel wrote: > Well, I played with this a little more and it seems to be acting oddly when > you first > call this select unless you set the variable first. So if the below doesn't > work try > actually doing this > > $query="set @count=N

[PHP] SSL and PHP = problems?

2001-09-11 Thread Magnus
I have a webpage that uses php4 and a SSL connection for some sensitive information like credit card number and such, it's a registration process. When MacOS users access the page it all goes well and no problems at all. But... when PC/Windows users access the page they get some problems and it s

Re: [PHP] Anagram Solution in PHP

2001-09-11 Thread David Otton
On Mon, 10 Sep 2001 01:25:36 -0700, you wrote: >So let's say the word 'acronym' > >A + C + R + 0 + N + Y + M >26 + 24 + 9 + 12 + 13 + 2 + 14 = 100 > >My thoughts were to download a list of words in the dictionary, then read >the file and somehow replace each letter by its number, then add ea

Re: [PHP] preg_replace is modifying the type of replacement parameter !!

2001-09-11 Thread Andrey Hristov
Hmmm, RegEx work on strings, so the engine needs strings. Because of that your integers are converted to strings, if you want to give their life back make foreach ($arr as $k=>$v){ $arr[$k]+=0; } Now all are integers. Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS

[PHP] how to ?

2001-09-11 Thread Clint Tredway
is there a way to tell if an insert failed while a in a loop. I tried this: $query = "my query"; if (!$query) { logic here } but this is not working... is this even possible? thanks! Clint -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

[PHP] a bug???

2001-09-11 Thread hassan el forkani
hi, i'm recently observing a strange behaviour of php when using a combination of ob_start() and ignore_user_abort() in the same page, php hangs (after the script is executed) and is unable to create/write to /destroy sessions!! i'm observing this on my win98 machine with apache 1.20 and php 4

Re: [PHP] how to ?

2001-09-11 Thread Andrey Hristov
Look for mysql_affected_rows() docs. Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: "Clint Tredway" <[EMAIL PROTECTED]> To: "Php General MailingList" <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001 3:40 PM Subject: [PHP] how

Re: [PHP] how to ?

2001-09-11 Thread David Otton
On Tue, 11 Sep 2001 08:40:05 -0400, you wrote: >is there a way to tell if an insert failed while a in a loop. I tried this: $query = >"my query"; >if (!$query) >{ >logic here >} > but this is not working... is this even possible? By query, are you talking about SQL? I'm assuming you're trying t

[PHP] Re: how to ?

2001-09-11 Thread _lallous
$ok = mysql_query("INSERT INTO table(field) VALUE('asdf')"); if (!$ok) { echo "error!"; } else { echo "good!"; } "Clint Tredway" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > is there a way to tell if an insert failed while a in a loop. I tried this: $qu

Re: [PHP] Anagram Solution in PHP

2001-09-11 Thread nayco
maybe you forgot something like: . $letter=26-(ord($word[$i])-65);// excellent !!! if (($letter<1)||($letter>26)) $letter=0; $total+=$letter; (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: David

Re: [PHP] how to ?

2001-09-11 Thread Clint Tredway
thanks for the help! I am using MySQL. -- Original Message -- From: "Andrey Hristov" <[EMAIL PROTECTED]> Date: Tue, 11 Sep 2001 15:44:08 +0300 Look for mysql_affected_rows() docs. Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS

RE: [PHP] preg_replace is modifying the type of replacement parameter !!

2001-09-11 Thread Nicolas Guilhot
I understand that RegEx works on strings, but I don't understand why this function modifies the replacement parameter as it is not pass by-reference. Nicolas -Message d'origine- De : Andrey Hristov [mailto:[EMAIL PROTECTED]] Envoyé : mardi 11 septembre 2001 14:34 À : [EMAIL PROTECTED] Ob

[PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Lewi Hirvela

[PHP] Re: World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread alex Deh
what is it for a f.. day america? from germany realex "Lewi Hirvela" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Jeff Lewis
Yeah not really a PHP topic but a very serious one! I can't believe this! Two planes with the WTC, one into each tower. One of the towers have now collapsed as well. A helicopter crashed into the Pentagon with unconfirmed reports of a third hijacked plane also crashing into the Pentagon. A pla

[PHP] Problem with session_destroy

2001-09-11 Thread Rosen
I have the code: "") {session_destroy();} } When the page loads the first time I receive error: "Warning: Session object destruction failed in main.php on line 9" but when I make "Refresh" of page, there is no error !! Can someone any ideas ? Thanks Rosen -- PHP General Mailing Lis

[PHP] problem in the small code

2001-09-11 Thread Balaji Ankem
What is the problem with following code.. if ( $row!=0 ) { $res=mysql_fetch_object($result); if( $res->inv_status=="ASSIGNED") { echo "It is in assigned state. Please first return it and then change the status"; exit; } elseif( $res->inv_status=="AVAILABLE

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread nayco
?> This is not PHP, yeah, but important enough ... Don't you fear a GLOBAL $war; ??? It smells bad . the ones who did that are ugly Mo**rs, but very strong how could they do that ??? http://nayco.free.fr - Original Message - From: Jeff Lewis <[EMAIL PROTECTED]> To:

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread ignacio . estrada
We need the receive the help from Got, I believe He is the only one who can help us on this situation Atte. Ignacio Estrada F. Centro Nacional de Control de Energia Area de Control Occidental 025+6463, 025+6464, 025+6469

Re: [PHP] Re: More thoughts about PHP: Taglibs

2001-09-11 Thread Michael Kimsal
Perhaps you should just use cold fusion then, if you're that hot and heavy into tag-based languages. tagservlet.com has a Java/CF hybrid which may hold some interest. PHP's strength, IMO, is that it's NOT a tag-based language. You can create any functions you want and call them already from a

[PHP] Re: problem in the small code

2001-09-11 Thread Robin Vickery
[EMAIL PROTECTED] (Balaji Ankem) writes: > What is the problem with following code.. > $sql1="DELETE from tinventory where inv_tag='$inv_tag'; no closing doublequote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

[PHP] Once more, with feeling

2001-09-11 Thread billfarr
Dear All: Due to popular demand I've put the newest version of the Code Red detector on one of my servers in public, anonymous FTP. The URL is ftp://ftp.compuphrase.net/pub/codered . After some research (annotated in the propaganda), I added the last 10

Fwd: Re: [PHP] Just had a cool idea!

2001-09-11 Thread B. van Ouwerkerk
This reply was send to my private mailbox.. >how may i go around doing this though... and sorry for yelling Think logical. Visitor is 499, the next comes along, one visitor is added so your current visitor is 500 and BINGO he just won the jackpot.. your link.. whatever. Before asking any furt

[PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread Zhu George-CZZ010
Hi, I once had the Javascript codes to detect the browser type/version (but unfortunately, I lost the codes), does anyone have the Javascipt code? or can PHP do the same job (how?) Thank you very much in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [E

Re: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread nayco
with some environnement variable er, i'm going to take a look, wait. (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Zhu George-CZZ010 <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11, 2001

[PHP] mysql_db_query create table error

2001-09-11 Thread mkrisher
All, I am trying to create a table in a mySQL database, seems like it would be easy enough, but for some reason it is not working, below is the code: // Query to create table and columns $sql = "CREATE TABLE 'products' ( id INTEGER UNSIGNED NO

Re: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread B. van Ouwerkerk
Yes. STFW --> www.php.net type detect browser in the searchbox --> click pulldownbox --> select online documentation and click on the little arrow.. http://www.php.net/manual/en/function.get-browser.php http://www.php.net/manual/en/language.variables.predefined.php Next time you can search the

[PHP] Php

2001-09-11 Thread Nael Mohammad
Has anyone had luck with apache 2.0 beta, jakarta, and php 4.06 on solaris 8 on netra t-1.? If so email me: how go about it, I get tons of compiling errors. But on my linux box, it works , no problems. Is incompatable with certain glibc librarys? I have glibc 2.01. Help me community! Nael Moh

[PHP] Translation table not working

2001-09-11 Thread Peter Ostry
I cannot manage correct HTML encoding, here is the example from the manual: --- $trans = get_html_translation_table(HTML_ENTITIES); $str = "Hallo & & Krämer"; $encoded = strtr($str, $trans); The $encoded variable will now contain: "Hallo & & Krämer". --- If I do exactly the same, I get:

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Alexander Skwar
So sprach »[EMAIL PROTECTED]« am 2001-09-11 um 08:55:49 -0600 : > > We need the receive the help from Got, I believe He is the only one who can > help us on this situation Well, you know: *EXACTLY* this is the problem! Your so called "god". If it weren't for this superstition, the world wo

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Clint Tredway
I am sorry, but the problem is the exact opposite. If people would turn back to God and seek his face and live according to His will, the World would benefit greatly. My 2 cents. -- Original Message -- From: Alexander Skwar <[EMAIL PROTECTED]> Date: Tue,

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread mstearne
I'm sure your is the view shared by the VAST, VAST majority on both "sides". Michael Quoting Clint Tredway <[EMAIL PROTECTED]>: > > I am sorry, but the problem is the exact opposite. If people would turn > back to God and seek his face and live according to His will, the World > would benefit

RE: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread Brian Paulson
Here is something that I use and works good Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain Online [EMAIL PROTECTED] http://www.chieftain.com > -Original Message- > From: nayco [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 11, 2001 9:48 AM > To: Zhu George-CZZ

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Sean C. McCarthy
Dear All, Please I beg you not to start a discussion over this. It is a very sad moment, and I think everybody agrees with me. I send my condolences to all the people who has family in these tragic terrorism acts. Sean C. McCarthy Clint Tredway wrote: > > I am sorry, but the problem i

[PHP] How to list 2-6 in while script?

2001-09-11 Thread Jan Grafström
Hi! I have this script and wonder how to change it to get it list only number 2 to number 6 and not each? while (list ($key,$val) = each ($headers)) { print ""."$val".""; } Thanks in advance. Regards Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread Erik Mathy
"Sean C. McCarthy" <[EMAIL PROTECTED]> said: > Dear All, > > Please I beg you not to start a discussion over this. It is a very sad > moment, and I think everybody agrees with me. I send my condolences to > all the people who has family in these tragic terrorism acts. > > Sean C. McCart

[PHP] Unable to find stream pointer

2001-09-11 Thread Andreas Gietl
Hi PHP-Users, I am having problems with php and imap now for several days on several servers. I just get the following Error: Warning: Unable to find stream pointer in on line This error does not occur in every execution, but only sometimes. I read a lot about this error on the internet, bu

[PHP] single quote replace

2001-09-11 Thread Clint Tredway
Does anyone have a function that will replace single quotes inside a string? Thanks! -- 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]

Re: [PHP] How to list 2-6 in while script?

2001-09-11 Thread Alexander Skwar
So sprach »Jan Grafström« am 2001-09-11 um 16:48:59 + : > Hi! > I have this script and wonder how to change it to get it list only number 2 to >number 6 and > not each? > while (list ($key,$val) = each ($headers)) { > print ""."$val".""; > } Hmm $i = 1; while (list ($key,$val) = each ($hea

RE: [PHP] single quote replace

2001-09-11 Thread Jack Dempsey
php does;-) $text = str_replace("'","replace_text",$text); -Original Message- From: Clint Tredway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 1:33 PM To: [EMAIL PROTECTED] Subject: [PHP] single quote replace Does anyone have a function that will replace single quotes i

[PHP] MySql Help

2001-09-11 Thread Jared Mashburn
Hello, I have a database with 4 Columns |ID|First|Second|Third| I am tring to run a query On the First Column and place the data into an array. The problem that I am running into Is that there are doubles, triples, and sometimes more of the same name in that column.

Re: [PHP] MySql Help

2001-09-11 Thread Alnisa Allgood
At 12:31 PM -0600 9/11/01, Jared Mashburn wrote: > >I am tring to run a query On the First Column and place the data into an >array. The problem that I am running into >Is that there are doubles, triples, and sometimes more of the same name >in that column. Each name represents something differn

[PHP] Uploading Photos to MySQL

2001-09-11 Thread Mike Gifford
Hello, Has anyone developed another class for uploading images to a MySQL database? I downlaoded upload_db.zip from: http://circle.ch/scripts/ as it was a phplib based and it looks like it should do what is required. However it doesn't seem to be working. Does anyone else have any goo

[PHP] How do I get the resolution of my screen?

2001-09-11 Thread Don
Hi, I have a link that opens a small window. I'd like to center it in the screen regardless of the resolution in use. Does PHP have a way of returning the width/height of the current screen in pixels? Thanks, Don

Re: [PHP] How do I get the resolution of my screen?

2001-09-11 Thread MailingLists
nope, it don't... but you could easily do this in JavaScript: function OpenCenter() { // we're going to center the popup screen nLeft = ( screen.width - 350 ) / 2 ; nTop = ( screen.height - 300 ) / 2; // open the window var newWind = window.open( "som

[PHP] PHP and SecurID

2001-09-11 Thread Scarbrough, Jeb (ISS Atlanta)
Has anyone used PHP with SecurID and Netscape Enterprise server? Can this be done? Jeb Scarbrough [EMAIL PROTECTED] Internet Security Systems, Inc. 6303 Barfield Road Atlanta, Georgia 30328 Phone: 404-236-3292 Fax: 404-236-2626 _ -- PH

[PHP] PROBLEM SOLVED - was [PHP] Rasmus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY]

2001-09-11 Thread Badger
This is a forwarded message From: Badger <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Monday, September 10, 2001, 11:04:54 PM Subject: [PHP] Rasmus HELP ! Fwd: [PHP] mail() ERROR - WHY, WHY, WHY ===8<==Original message text=== This is a forwarded message From: Badger <[

[PHP] Other lists

2001-09-11 Thread Seb Frost
I've found this list so helpful - can anyone recommend a similar thing for javascript/html/etc? cheers, - seb --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.277 / Virus Database: 146 - Release Date: 05/09/2001 -- PHP General

  1   2   >