Re: [PHP] New York Remembrance

2001-10-03 Thread AJDIN BRANDIC
It is very nice of you to have done so. Thousands of children are being killed in the world by different groups and no one gives a s***. They are mainly killed by USA guns sold by USA guvernment who also deosn't give a s*** where those guns go or who uses them. All it is important is that gun

Re: [PHP] Re: image upload problems (diff. file size after upload)

2001-10-03 Thread AJDIN BRANDIC
I posted the same question and I have found an answer in the archive. I guess you are using php on RedHat. The problem is (as Richard sugested) extra lines that need to be triped off. NOTE: I am not sure if this is the problem with image files only or this applies to .txt, .doc, etc. this work

[PHP] image upload

2001-10-02 Thread AJDIN BRANDIC
Hi I have a problem uploading images on my server. I have foung#d similar question in the archive u no answer to it. If a file is uploaded to the server through a form it stores it in the right place with the right name but the file size is incorrect and it is not visible (though a browser).

[PHP] php java script

2001-09-14 Thread AJDIN BRANDIC
Hi I am doing a scroll bar with javascript and info pulled from MySQL. So I execute query and create an array with php called messages. Then when my page is loaded I guess this array should be available to JavaScript under the same name except the $. Am I right here or not? The java script err

Re: [PHP] Re: php

2001-09-06 Thread AJDIN BRANDIC
rned on and correct > path to script handler. > > did you try this: ./scriptname.php ? > > "Ajdin Brandic" <[EMAIL PROTECTED]> wrote in message > Pine.OSF.3.91.1010906100608.21325A-10@leofric">news:Pine.OSF.3.91.1010906100608.21325A-10@leofric...

[PHP] php

2001-09-06 Thread AJDIN BRANDIC
Hi I am trying to run a php script of the shell but am getting No Such File or Directory error. I am executing it from cgi-bin but have tried from httpdocs. chmod is 777. Path to php is /usr/local/lib/php. Any idea why is this happening. Part of my code: #

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread AJDIN BRANDIC
he .swt and generating the .swf output. > > - Tim > > On 15 Aug 2001 14:28:24 +0100, AJDIN BRANDIC wrote: > > Hi, > > > > I have RH6.2, php4, MySQL and want to generate graphs with flash. I have > > done a graph with Flash5 and Micromedia Generator. This creates a .

[PHP] apache,php,mysql,flash

2001-08-15 Thread AJDIN BRANDIC
Hi, I have RH6.2, php4, MySQL and want to generate graphs with flash. I have done a graph with Flash5 and Micromedia Generator. This creates a .swt file which takes info from a text file and, i guess, generates a .swf with the graph. I want to allow users to type graph details through an ad

[PHP] Log off

2001-08-10 Thread AJDIN BRANDIC
Hi I am using HTTP authorisation to allow users to log in to vew specific pages. What can I use for log off?. I tried using header ("HTTP/1.0 401 Unauthorised"); header ("Location: http://www.mysite.com/index.php3";); OR $PHP_AUTH_USER=0; but it didn't work. -- PHP General Mailing List (ht

[PHP] mysql_numrows

2001-08-06 Thread AJDIN BRANDIC
Hi I'm trying to get number of rows from a query. All works fine until the result is 0. Then query executes fine, returns 0 rows but mysql_numrows failes. $query="select * from mytable"; $result=mysql_query($query) or die("select failed"); $num_rows=mysql_numrows($result) or die("select count

Re: [PHP] 2D array

2001-07-27 Thread AJDIN BRANDIC
> - Original Message - > From: "AJDIN BRANDIC" <[EMAIL PROTECTED]> > To: "Wagner Tomy" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, July 27, 2001 2:34 PM > Subject: Re: [PHP] 2D array > > > > Wag, > > > >

Re: [PHP] 2D array

2001-07-27 Thread AJDIN BRANDIC
; OR: > > for($i = 0; $i < mysql_num_rows($result); $i++) { > $row = mysql_fetch_row($result); > $my2darray[$i] = $row; > } > > Wagner Tomy > Editus S.A. > > - Original Message - > From: "AJDIN BRANDIC" <[EMAIL PROTECTED]> > To: &

[PHP] 2D array

2001-07-27 Thread AJDIN BRANDIC
Hi I have been trying to do this for hours now. I have a while loop (rows from mysql db) and on each pass I want to pussh a new element into a 2D array, bot always end up with the last element of the while loop. So: table mytable myname myphone myemail john 254688 [EMAIL PR

Re: Fw: [PHP] rows not columns

2001-07-26 Thread AJDIN BRANDIC
That will display data from each db row to a row on the screen which is oposite of what i am trying to do. Ajdin On Thu, 26 Jul 2001, Balaji Ankem wrote: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] rows not columns

2001-07-26 Thread AJDIN BRANDIC
I am trying to display result of a MySQL query using php. Say I get 4 rows from my query. I want to display them verticaly in a table like this title1 field one1field one2 field one3field one4 title2 field two1field two2 field two3field two4 title3 field t

[PHP] \ problem

2001-07-24 Thread AJDIN BRANDIC
I have a string that contains "\'" and I want to remove "\" and have only "'". Tried $mynewstring=ereg_replace("\'","'",$mystring); but no luck. What is the way around this. Regards Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] date

2001-07-19 Thread AJDIN BRANDIC
What is this "On Mon, 4 Jan 1999, Duy B wrote:" On Mon, 4 Jan 1999, Duy B wrote: > Hi all, > I have a view containing a char value. I use select to_date(thoigian,'yy-mm-dd >hh24:mi:ss') from this view. But i can't see the time, it's only appear as >"DD-MON-YY". Anybody could show me how to se

Re: [PHP] Executing after certain time

2001-07-06 Thread AJDIN BRANDIC
if you are going to use a cron job and you haven't got 'php as CGI' then use something like below and save it in your crod_daily or hourly #! /bin/sh wget -q -c http://my.domain/phpfile.php3 > /dev/null Ajdin On Thu, 5 Jul 2001, Marty Landman wrote: > At 08:41 am 7/5/01 -0700, Oliver Hotz wro

Re: [PHP] search

2001-07-03 Thread AJDIN BRANDIC
.. note, does not handle multiple word > queries.. for this you would need to break the string into words (something > you would probably have to do anyway) and do this for each of those... > > For more info on substr seet http://php.net/substr > - Original Message - > Fr

[PHP] search

2001-07-03 Thread AJDIN BRANDIC
Hi all I've got search facility (php-mysql) which is very simple. If i search for 'dog' it will find any records containing words 'dog' or 'dogs' or 'dogowner' etc. But if I search for 'dogs', words 'dog' and 'dogowner' will not be found. This is a classic case so there must be a solution to

RE: [PHP] php as cron

2001-06-22 Thread AJDIN BRANDIC
Now, I don't know how you would pass > parameters to it... > > > -Original Message- > > From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, June 21, 2001 8:09 AM > > To: AJDIN BRANDIC > > Cc: [EMAIL PROTECTED] > > Subjec

RE: [PHP] php as cron

2001-06-21 Thread AJDIN BRANDIC
Thanks all Ajdin -- 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]

[PHP] php as cron

2001-06-21 Thread AJDIN BRANDIC
Hi I have PHP installed as Apache module but I want to run a cron job. I have .php script that works OK when executed through browser but is there any way I could execute it through a cron job. Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] PHP Hosting in The UK

2001-06-20 Thread AJDIN BRANDIC
try www.zenithtech.co.uk On Wed, 20 Jun 2001, Martin Wright wrote: > When do you need it Jamie we are in the process of setting something up? It > is actually focused on PHP business application software but we will be > offering hosting as well. > > Martin > > > Just a quickieDoes anyon

Re: [PHP] installing php4

2001-05-24 Thread AJDIN BRANDIC
; > Julia > > Quoting AJDIN BRANDIC ([EMAIL PROTECTED]): > > Hi > > > > I am building a web server. I installed RH6.2 and Apache was installed > > with it (as binary I guess). I have also installed MySQL (server/client) > > from binary RPM. I want to ins

[PHP] installing php4

2001-05-22 Thread AJDIN BRANDIC
Hi I am building a web server. I installed RH6.2 and Apache was installed with it (as binary I guess). I have also installed MySQL (server/client) from binary RPM. I want to install PHP4 source now. Is there any way I could install it without compiling Apache source version or do I need to ge

RE: [PHP] how to get var value

2001-04-26 Thread AJDIN BRANDIC
> > > > -Original Message- > From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 26, 2001 7:53 PM > To: [EMAIL PROTECTED] > Subject: [PHP] how to get var value > > > Hi, > > (this is just an example) > I have on one page >

[PHP] how to get var value

2001-04-26 Thread AJDIN BRANDIC
Hi, (this is just an example) I have on one page $test=1; $var1='test'; on another page I want to be able to construct variable from the value in $var1 (test in this case) and print its value. So, $newvar=$; $newvar.=echo"$var1"; now $newvar contains string '$test' but not the value of $t

Re: [PHP] Active-X

2001-03-28 Thread AJDIN BRANDIC
Thanks Elias but have you got a url that I could look at. I have tried www.javascript.com and www.javascripts.com but could not find anything. Ajdin On Wed, 28 Mar 2001, elias wrote: > I think JavaScript can, / document.plugins property check it out. > > "AJDIN BRANDIC"

[PHP] Active-X

2001-03-28 Thread AJDIN BRANDIC
Off topic but does anyone know how to detect if user/visitor has ActiveX OFF and if so then load a designated page. I had a few complaints that they cannot view my menu (done in flash) so I want to display a simple version of my menu for people with ActiveX OFF. Thanks Ajdin -- PHP General

Re: [PHP] Response.Write [OK]

2001-03-21 Thread AJDIN BRANDIC
OK I have done this. Thanks guys Ajdin On Wed, 21 Mar 2001 [EMAIL PROTECTED] wrote: > no. > > Imagine Response.write as echo. > > so it will be > > echo "OK"; > > PHP doesn't parse ASP tags > > ----- Original Message - > From: &qu

RE: [PHP] Response.Write [OK]

2001-03-21 Thread AJDIN BRANDIC
on > > > -Original Message- > From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]] > Sent: 21 March 2001 12:05 > To: [EMAIL PROTECTED] > Subject: [PHP] Response.Write [OK] > > > Hi, > > I have built a shopping cart and have made connection to an Internet >

[PHP] Response.Write [OK]

2001-03-21 Thread AJDIN BRANDIC
Hi, I have built a shopping cart and have made connection to an Internet payment company. Now once transaction is processed they want from my confirmation page to receive an "[OK]". How can I do this with php3/4? Response.Write"[OK]" is what ASP uses, I think??? Thanks Ajdin -- PHP Gen

[PHP] search

2001-03-07 Thread AJDIN BRANDIC
Hi, I have a simple text file search. I do not want users to search on words such as 'is', 'and', 'or','the',etc. or single letters or numbers. Has anyone got a dictionary with all of these in so I could do a search through it before starting the main search? Thanks, Ajdin -- PHP Genera

Re: [PHP] Credit Cards

2001-02-10 Thread AJDIN BRANDIC
hi jerry try www.bibit.com. they wil give you some example code too. easy to use and you can link to their test server until you are happy with your scripts. ajdin On Fri, 9 Feb 2001, Jerry Lake wrote: > I have a basic shopping cart setup > and I am curious as to how I go about > being able

Re: [PHP] round

2001-01-31 Thread AJDIN BRANDIC
Oh, number_format (float number, int decimals, string dec_point, string thousands_sep) Sorry Ajdin On Wed, 31 Jan 2001, AJDIN BRANDIC wrote: > Hi > > Lets say $foo=20.12345 > > In php4 you can use : $foo=$round($foo,2); to get $foo=20.12 > > What can I use in

[PHP] round

2001-01-31 Thread AJDIN BRANDIC
Hi Lets say $foo=20.12345 In php4 you can use : $foo=$round($foo,2); to get $foo=20.12 What can I use in php3 to get the same result. $foo=$round($foo); gives me $foo=20 Not what I realy want??? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

Re: [PHP] whois

2001-01-25 Thread AJDIN BRANDIC
All of them servers give my error 111, not authorised :(. Dead end again :). I have been trying to do sort this out but no luck. Any way Thanks On Thu, 25 Jan 2001, Ernest E Vogelsinger wrote: > At 15:13 25.01.2001, Andy Woolley said: > [snip] > >I kn

Re: [PHP] whois

2001-01-25 Thread AJDIN BRANDIC
am looking for a database of Top Level Domains around the world so if > anyone knows of one I would be very much obliged If I could have a copy. > > Kind Regards > > Andy Woolley > www.databasewatch.com > > - Original Message - > From: "AJDIN BRANDIC&quo

[PHP] whois

2001-01-25 Thread AJDIN BRANDIC
Perhaps not 100% php but still! Is there any way I could ping all whois servers that exist. Something like whois.* ??? I am trying to ind a whois server that holds .ba domain names information. I found some research and found that it should be held at whois.ripe.net but I have tried and not

Re: AW: [PHP] url hide

2001-01-22 Thread AJDIN BRANDIC
n two hours ago, and would like > > to express > > my interest in this same question. > > > > Sorry it for a no answer response. > > > > > > AJDIN BRANDIC wrote: > > > > > Perhaps not related to php but I was wandering, is it &

Re: [PHP] url hide

2001-01-22 Thread AJDIN BRANDIC
>useless. > > Cheers, > > Brad > > On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: > > > Perhaps not related to php but I was wandering, is it possible to hide > > site's real url and replace it with something else (some other URL). ie. > > someone clicks on

[PHP] url hide

2001-01-22 Thread AJDIN BRANDIC
Perhaps not related to php but I was wandering, is it possible to hide site's real url and replace it with something else (some other URL). ie. someone clicks on a link on www.blah.co.uk which takes the user to an designated area (ie. /house-search/) on www.foo.co.uk. I want the user still t