[PHP] Error in host server data stream

2002-12-05 Thread Daniel
my php code is working on one machine and not on another. I am now getting
the error
Warning: SQL error: [unixODBC][IBM][iSeries Access ODBC Driver]Error in host
server data stream., SQL state S1000 in SQLExecDirect

working machine: unixodbc 2.2.2-2 php-odbc4.1.2-7.2.4
non working:unixodbc 2.2.2-3 php-odbc4.2.2-8.0.5

any ideas would help!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] HELP with ODBC Connection

2002-12-06 Thread Daniel
Please help. I have a basic scipt:

$connection_id=odbc_connect("$DSN","$user","$pass");
$sql="select * from whatever";
$stmt=odbc_prepare($connection_id,$sql);
$result=odbc_execute($connection_id,$stmt);

this script used to work on RH-7.3 with php-4.1.2
the script will not work anymore when i installed RH-8 using php-4.2.2
the connection IS successful, but when i try anything after that i get this
error:

Warning: SQL error: [unixODBC][IBM][iSeries Access ODBC Driver]Error in host
server data stream., SQL state S1000 in SQLPrepare

i can connect,prepare and execute statements from c++ so it must be php
specific?
please help!!



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] php5 cvs

2003-01-12 Thread daniel
right ok , but obviously it wouldnt have an effect anyway prior to php5 thanks 
anyway.
>= Original Message From "Sean Malloy" <[EMAIL PROTECTED]> =
>No the documentaton you are talking about, was that prior to ZE2 people were
>using underscores to denote private functions/variables. With ZE2, they
>wouldn't have to.
>
>-Original Message-
>From: Dan Rossi [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, 12 January 2003 11:23 PM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: [PHP] php5 cvs
>
>
>its cool , i cant remember where i saw the reference , but it was claiming
>to prefix the functions with underscores to denote private functions in php
>4  for the rollover of php5, it was a pretty legit resource i cant remember
>where though have too many bookmarks, oh well at least i know now , i think
>it meant to underscore them , to make the private functions recognisable so
>then the rewrite for the proper OO in php5 can be easy as adding private
>where the underscores are ??, i gave  5 a test, compiled with no problems
>except my ming extension didnt seem to load properly so will stick with for
>4.3 for now.
>aparantly its still not true OO as you have to add the constructor of the
>base class inside the sub class constructor where other languages dont need
>to do this, i was told from my c++ flatmate of mine but correct me if i'm
>wrong but sadly i dont know much c++ apart from modding source code now and
>then :D
>
>-Original Message-
>From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, January 12, 2003 11:13 PM
>To: electroteque
>Cc: [EMAIL PROTECTED]
>Subject: Re: [PHP] php5 cvs
>
>
>Not sure what you mean by 'changed', but the way to denote private
>functions is by adding 'private' to the method declaration, and not by
>prefixing them with _.
>
>You can do it using:
>
>class bar {
> private function foo()
> {
> ...
> }
> ...
>};
>
>Zeev
>
>At 09:43 12/01/2003, electroteque wrote:
>>hmm has the public and private function accessor changed ? i have been
>>building my classes with test() and _test() to differentiate from public
>and
>>private and have been waiting to try it out but i can still access both !
>??
>>
>>"Electroteque" <[EMAIL PROTECTED]> wrote in message
>>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> > lol no , i am gonna try and upgrade my workfrom dinasour php3 to php
>4.3,
>>i
>> > have a development box here @ home i just upgraded to the 4.3 release
>from
>> > rc3 and am gonna try out version 5 then it doesnt matter how stable it
>is
>>at
>> > home really :D
>> >
>> > "Danny Shepherd" <[EMAIL PROTECTED]> wrote in message
>> > 000b01c2b9d2$ae5e46c0$6400a8c0@DANNYS">news:000b01c2b9d2$ae5e46c0$6400a8c0@DANNYS...
>> > > It includes the latest CVS build of ZendEngine 2.0 - AFAIK it hasn't
>>even
>> > > reached beta status yet, so don't even think about using it for
>>production
>> > > work. That said, I didn't have any problems building it and it seems
>> > pretty
>> > > stable.
>> > >
>> > > A list of changes and features can be found at
>> > > http://www.php.net/ZEND_CHANGES.txt.
>> > >
>> > > HTH
>> > >
>> > > Danny.
>> > >
>> > > - Original Message -
>> > > From: "electroteque" <[EMAIL PROTECTED]>
>> > > To: <[EMAIL PROTECTED]>
>> > > Sent: Saturday, January 11, 2003 6:50 PM
>> > > Subject: [PHP] php5 cvs
>> > >
>> > >
>> > > > hi guys just noticed php5 cvs in the snaps page , does this have the
>> > zend
>> > > > 2.0 engine ? more specific question has it got the proper OO built
>in
>> > yet
>> > > ?
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > PHP General Mailing List (http://www.php.net/)
>> > > > To unsubscribe, visit: http://www.php.net/unsub.php
>> > > >
>> > >
>> >
>> >
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Video clip

2003-03-08 Thread daniel
definbately OT dude , use the windows media player object embed code
>= Original Message From Anthony Rodriguez <[EMAIL PROTECTED]> =
>Hi!
>
>In PHP, does anyone know how I would display a video clip (.avi?) on a
>specific spot on a Web page?
>
>Thanks!
>
>Tony
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Php +Xml?

2003-03-08 Thread daniel
wot exactly does the xml parse do over sablot ? and what benfit do u get 
xml'ing an entire site , where some processes which come easy to do in php are 
insanely tedious to replicate in xsl :|

>= Original Message From "James" <[EMAIL PROTECTED]> =
>There is nothing to install.
>
>By default php usually comes with XML parser methods - however if you want
>to invest time in running XSLT/XPATH styles against XML you need to install
>server side software such as Sablotron or Saxon.  We run Sablotron and it's
>very good.  We've also invested in Stylus Studio which is a good xml/xslt
>development tool.
>
>I'm not really sure what you want to do so it's difficult to help you
>further.If you give a small idea of what it is you want to achieve then
>it might be easier to help you on your way.
>
>Jim.
>
>
>"Dhaval Desai" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> Hello people,
>>
>> I want to start using Xml with php. How do I install xml on Apache with
>Php?
>> I am running redhat 7.2,Apache 1.3.12 and php latest version.
>>
>> How do I install xml? I am totally new to Xmland want to start
>> somewhere...
>>
>> -Dhaval
>>
>>
>>
>>
>>
>> _
>> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
>> http://join.msn.com/?page=features/virus
>>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Php +Xml?

2003-03-08 Thread daniel
what is domxml ? is it similar to sablot ?
>= Original Message From "Alexandru COSTIN" <[EMAIL PROTECTED]> =
>Hello,
>
>> Hello people,
>>
>> I want to start using Xml with php. How do I install xml on Apache with
>Php?
>> I am running redhat 7.2,Apache 1.3.12 and php latest version.
>If you want to use SAX, you should already have it installed if you have
>compiled PHP with '--with-xml'. (BTW, have you compiled PHP yourself? - do
>you know how to compile PHP?).
>
>First of all you should upgrade to a newer apache, as as far as I know
>Apache 1.3.12 had some problem when ran with Sablotron (this would be needed
>if you will want to use XML with XSL transformations)
>
>Then you should use the domxml extension (add '--with-dom'
>'--with-dom-xslt' '--with-dom-exslt' to your configure patch when you are
>compiling PHP). After you compile PHP, you should have support for SAX, DOM
>and XSL transformations.
>
>And if you want a bootstrap to start using XMLs for content publishing,
>you should also look at Krysalis at
>http://www.interakt.ro/products/Krysalis/
>
>Alexandru
>
>>
>> How do I install xml? I am totally new to Xmland want to start
>> somewhere...
>>
>> -Dhaval
>>
>>
>>
>>
>>
>> _
>> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
>> http://join.msn.com/?page=features/virus
>>
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP5 + PHP4

2003-03-08 Thread daniel
i forgot who asked but just to show u

PHP4.3.1 :
http://electroteque.dyndns.org:1023/phpinfo.php

PHP5:
http://electroteque.dyndns.org:1025/phpinfo.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Array - Newbie question

2003-03-08 Thread daniel
would this work ?

$EricCodesArray[2][2] ?
>= Original Message From [EMAIL PROTECTED] =
>New at this, somewhat:
>
>#http://www.php.net/manual/en/ref.array.php
>$EricCodesArray = array (
>"CO" => "Description", "Input Name", "Select Name", "Option Name",
"Option Selected",
>"AN" => "ERIC Number", "EricAN", "SelAN", "AN", "AN «Annotation»",
>"TI" => "Title", "EricTI", "SelTI", "BT", "BT «Book Title»"
>);
>
>echo $EricCodesArray=>TI[2]; //should display "SelTi"
>
>?>
>
>I want to display "SelTi". How to code for it? I know I should know this.
>EricCodesArray where TI = [2]
>
>? :)
>John
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Array - Newbie question

2003-03-08 Thread daniel
sorry yeh its not a numbered key as like the next posts $EricCodesArray[TI][2]
>= Original Message From [EMAIL PROTECTED] =
>echo $EricCodesArray[2][2];
>
>No.
>
>
>> would this work ?
>> $EricCodesArray[2][2] ?
>> > #http://www.php.net/manual/en/ref.array.php
>> $EricCodesArray = array (
>> "CO" => "Description", "Input Name", "Select Name", "Option Name",
>> "Option Selected",
>> "AN" => "ERIC Number", "EricAN", "SelAN", "AN", "AN «Annotation»",
>> "TI" => "Title", "EricTI", "SelTI", "BT", "BT «Book Title»"
>> );
>>
>> echo $EricCodesArray=>TI[2]; //should display "SelTi"
>>
>> ?>
>>
>> I want to display "SelTi". How to code for it? I know I should know this.
>> EricCodesArray where TI = [2]
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] More array syntax

2003-03-08 Thread daniel
here is a tricky question , as i've probably said work is still using php3 and 
mysql 3.22 which has no random select function , and the only way i can 
randomise results is place them into an array and use shuffle , although 
shuffle will not randomise on a two dimensional array , how can i get this to 
work in php3 i have to call the microtime seed function first before shuffle 
it works for one dimensional arrays?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] RE: tricky exec problem

2003-03-10 Thread daniel
hi guys i am having a problem getting certain command line output bak to php
i am using the time binary to show the ammount of time it takes for the php 
script to be compiled using the command line php although i am not getting any 
output

exec("/usr/bin/time php -q /www/sbsmain/worldarts/index.php3 > /dev/null 
2>&1",$results,$err);

i have tried this but it wont work , any ideas ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] trikky string limit question

2003-03-13 Thread daniel
hi there , i am trying to show news content , the page may get pretty huge if 
they all show on the same page , i have been considering a caption of 255 
chars max , i would like to know if i could prob limit the front to 255 chars 
and if its between a word somehow show it till the last . probably meaning the 
end of the sentence ? this could be a better option then show a more link for 
it ??



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Enabling GD library

2003-03-13 Thread daniel
here is my configure line

http://electroteque.dyndns.org:1023/phpinfo.php

sorry i cannot find the classic gd install tutorial it helped alot

>= Original Message From "Sebastian" <[EMAIL PROTECTED]> =
>Hello all.
>
>I have php version 4.3.1, on linux. I want to enable GD library, my guess
>it's already included in the package.
>How does one enable it? Please give me a step by step mini tutorial how to
>enable it, a link would be great as well.  I don't know a lot about linux,
>so any help is appreciated.
>
>warm regards,
>- Sebastian



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] trikky string limit question

2003-03-13 Thread daniel
never mind i worked it out

function create_caption($content,$max_length,$primaryID,$ID) {
if (strlen($content) > $max_length) {
$paragraph_i=".";
$position=strpos($content,$paragraph_i);
if (is_integer($position)) {
$preview=substr($content,0,$position);
$preview.="... [  More ]";
return $preview;
}
} else {
return $content;
}
}
explodes and splits were not getting the "." properly
>= Original Message From daniel <[EMAIL PROTECTED]> =
>hi there , i am trying to show news content , the page may get pretty huge if
>they all show on the same page , i have been considering a caption of 255
>chars max , i would like to know if i could prob limit the front to 255 chars
>and if its between a word somehow show it till the last . probably meaning 
the
>end of the sentence ? this could be a better option then show a more link for
>it ??
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] preg_replace question,

2003-03-13 Thread daniel
yes another one sorry, i'm trying to find the most efficient way to do a 
replactment over this 
eregi_replace("\[f$key\f\]","$value",format_content($content));, would 
preg_replace be quicker and how could i go about it ?

i'd need to replace [f1247f] with its replacement value better still maybe 
even [1313431] is needed ? i dont know why they has f's in there ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] preg_replace question,

2003-03-13 Thread daniel
the current function been put in place replaces [f1253f] with a file, for 
inside cms content , where 1253 is the key or the id of the filename in the 
database , therefore to denote its an ftool they added f's around the keys , 
so maybe i could get away with [1253], what else i'm asking if preg_replace is 
more efficient over eregi_replace ?

>= Original Message From <[EMAIL PROTECTED]> =
>> yes another one sorry, i'm trying to find the most efficient way to do
>a
>> replactment over this
>> eregi_replace("\[f$key\f\]","$value",format_content($content));, would
>> preg_replace be quicker and how could i go about it ?
>>
>> i'd need to replace [f1247f] with its replacement value better still
>maybe
>> even [1313431] is needed ? i dont know why they has f's in there ?
>
>What exactly are you trying to match and replace? Anything between [ and
>]? Is 'f' the only letter that might appear? Is there a limit on the
>amount of numbers that'll be between [ and ]? Are you replacing all
>matches with the same $value?
>
>---John W. Holmes...
>
>PHP Architect - A monthly magazine for PHP Professionals. Get your copy
>today. http://www.phparch.com/
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] building a large-scale application using oop

2003-03-16 Thread daniel
have a look at my class , i had to do it from scratch as pear db + mdb have
too much weight and needed a faster app, being that its going to be on a mysql
database only, i send my login variables to a connect function, and those
login variables i store in a file outside the web directory

http://electroteque.dyndns.org:1023/benchmark/DB.phps

and in connect, the file with the login info is a directory up from htdocs
>= Original Message From Charles Kline <[EMAIL PROTECTED]> =
>Not sure how to answer your question as I am real new to PHP, but you
>may want to look at PEAR if you have not done so. I know there are
>libraries that folks have been talking about recently that handle just
>these sorts of things. If you don't use them - you may find your
>answers by looking at the sources.
>
>- Charles
>
>On Sunday, March 16, 2003, at 12:57 PM, [EMAIL PROTECTED] wrote:
>
>> Hi,
>>
>> I am currently working on transforming a rather large software package
>> to
>> oop. I do have a few years of experience with php, but just started to
>> use oop.
>> One of the first question that arose was how to handle configuration
>> vars.
>> These should ideally be stored in a file:
>>
>> >
>> $db_user = "user";
>> $db_password ="secret";
>>
>> etc.
>>
>> ?>
>>
>> Now, I have to access these vars from a class.
>>
>> class database {
>>
>> var $db_user;
>> var $db_password;
>>
>> function connect()
>>  {
>>
>> }
>>
>> }
>>
>> What is the best way to access these variables? I want to avoid global
>> vars.
>> I also don't like to set the vars using $object->db_user = $db_user;
>> every
>> time I use it.
>>
>> Also, is there any large open-source php - application which could
>> serve as
>> an example of best practice?
>>
>> best regards,
>>
>> Raul
>>
>> --
>> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
>> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] List tables

2003-03-16 Thread daniel
use mysql_list_tables ?
>= Original Message From "shaun" <[EMAIL PROTECTED]> =
>Hi,
>
>i would like to list all of the tables and field names in my database
>
>e.g.
>
>table 1
>  field 1
>  field 2
>  field 3
>table 2
>  field 1
>  field 2
>  field 3
>table 3
>  field 1
>  field 2
>  field 3
>etc
>
>is there a simple way to do this?
>
>thanks for your help
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] RE: ignore html

2003-03-16 Thread daniel
hi guys trikky question , i would like to ignore html in content that i am 
replacing news lines with page breaks , how is it possible ? at the moment and 
new line like so \r\n in content will be replaced with a  but happens to 
work on say tables tags within the content aswell and need to ignore this.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php - printer button

2003-07-01 Thread daniel
lol we we just discussing this at work  the printer functions are only for
windoze , there is jscript window.print() to bring up the printer dialog ,
a project i just did implemented htmldoc which outputted the formatted
content to pdf which was a more well formed format for printing rather than
from the browser itself

> hi,
>
> PHP dos have some printer_* functions. had a look? :-)
>
> -shiva
>
> <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>>
>> Dear all,
>>
>> I have research about library automation engine in my library.
>> developing on PHP + MySQL
>> We need to develop printer utility at some module to get print out
>> transaction.
>>
>> Can I do this utility using SUBMIT BUTTON under HTML & PHP?
>> how to make the php printer script?
>> help... please & thanks
>>
>> Regard,
>> Nasar
>>
>>
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP to Excel Export

2003-07-03 Thread daniel
excel has a char limit of 255 , if you can find a work around for it please
do let me know , also , check out the bifwriter , i think the pear packages
just outputs csv right ?

> Hi Group,
>
> I am working on an app the creates an Excel file. Right now I am using
> the PEAR package Spreadsheet_Excel_Writer. It works great but I have
> one problem.  I have a field greater then 255 to export and the PEAR
> package truncates anything over 255.
>
> Has anyone used or know of a Excel class that allow fields greater then
> 255.
>
> Thanks, Mark.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] fwrite not working in php3

2003-07-16 Thread daniel
hi there i have a little problem writing files on a php3 server this code
worked yesterday but isnt

$handle = fopen("/www_tools/apache/htdocs/phptest/temp_real/test.inc",'a');
$buffer = "test";
echo fwrite($handle,$buffer,4000);
fclose($handle);

i get a filesize of 0 and nothing writes to it what could it be ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pdf information..

2003-07-16 Thread daniel
hmtldoc rulez , i have tried fpdf and is tedious u have to draw the tables

>> What's the problem with paying for something if
>
> nothing.. nothings wrong, but if the free GNU software can do it also,
> i switch to free software.
>
> Like php is :) At first not that mature but look at it now..
>
> people have different opinions, and i respect yours.
>
>
>
> --
> Thank you,
> Louie Miranda ([EMAIL PROTECTED])
>
>
> - Original Message -
> From: "Justin French" <[EMAIL PROTECTED]>
> To: "Louie Miranda" <[EMAIL PROTECTED]>
> Cc: "php" <[EMAIL PROTECTED]>
> Sent: Thursday, July 17, 2003 9:48 AM
> Subject: Re: [PHP] pdf information..
>
>
>>
>> On Thursday, July 17, 2003, at 11:38  AM, Louie Miranda wrote:
>>
>> > i never tried FPDF but  just downloaded it. i'll try in a while..
>> > have you tried making a business card using this?
>> >
>> > i've testing the pdflib it works great, but the sad thing is i have
>> > to pay
>> > for it.
>>
>> What's the problem with paying for something if
>>
>> a) it does the job
>>
>> b) saves you hundreds of hours in development
>>
>> c) provides your business with an income stream (you aren't giving
>> away these business cards, are you?)
>>
>> I agree it isn't cheap, but don't rule it out based on price alone.
>> Consider the ROI (return on investment).
>>
>> And no, I don't work for PDFLib -- I've never even used it!
>>
>>
>> Justin
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] fwrite not working in php3

2003-07-16 Thread daniel
sorry guys the server was full again , doesnt return any error at all funny
hey

> On Thursday 17 July 2003 09:46, [EMAIL PROTECTED] wrote:
>> hi there i have a little problem writing files on a php3 server this
>> code worked yesterday but isnt
>>
>> $handle =
>> fopen("/www_tools/apache/htdocs/phptest/temp_real/test.inc",'a');
>> $buffer = "test";
>> echo fwrite($handle,$buffer,4000);
>> fclose($handle);
>>
>> i get a filesize of 0 and nothing writes to it what could it be ?
>
> What does the error logs say? And try following the examples in the
> manual  which incorporates the error checking that your code lacks.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> --
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> --
> /*
> The wages of sin are unreported.
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] radio button arrays and php3

2003-07-22 Thread daniel
hi there i dont know if this happens in php4 but say i have a list of radio
buttons in an array like



it only returns the one selected into the array, so instead of having 2
keys i only get the one , the empty one doesnt seem to get submitted , how
can i make both turn up in the array ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] radio button arrays and php3

2003-07-22 Thread daniel
umm yes i had to use select menus instead

> * Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
>> hi there i dont know if this happens in php4 but say i have a list of
>> radio buttons in an array like
>> 
>> 
>>
>> it only returns the one selected into the array, so instead of having
>> 2 keys i only get the one , the empty one doesnt seem to get submitted
>> , how can i make both turn up in the array ?
>
> You can't that is how html forms behave.  You'll have to work around
> it.
>
>
>
> Curt
> --
> "I used to think I was indecisive, but now I'm not so sure."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] splitting content into pages

2003-07-30 Thread daniel
hi there , i have an issue trying to split content into pages , we have a
popup with content and a background image with a set height , when there is
more content the background repeats , theoretically i'd want to split the
content into pages after a given length or line length or where it meets
the background image height how can i do this ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] splitting content into pages

2003-07-30 Thread daniel
ok let me explain , its straight up text content from the database , say
its scrolls for ages , i need to split it into pages , so i get the length
of the string up to the last paragraph which fits i need to split it there
any idea ?

> [EMAIL PROTECTED] 
>on Wednesday, July 30, 2003 6:35 PM said:
>
>> hi there , i have an issue trying to split content into pages , we
>> have a popup with content and a background image with a set height ,
>> when there is more content the background repeats , theoretically i'd
>> want to split the content into pages after a given length or line
>> length or where it meets the background image height how can i do this
>> ?
>
> This can be easy.
>
> 1. Make sure the content does not adjust itself based on the size of
> the browser window. That is to say that the space that contains the
> content should be a fixed width.
>
> 2. Then you need to calculate how many words you can legitimately fit
> into this fixed space without going over.
>
> If you 150 words will fit in the space but go right up to the very edge
> and are almost spilling into a new "page" you should pull the number of
> words back to 120 or something to try and make sure that the text will
> not spill over.
>
> You can be more precise if you use a fixed width font like Courier New.
> If you use a variable width font (not sure if that is the technical
> term) you'll have to do a little more guessing because 10 i's are not
> the same width as 10 w's.
>
>
> hth,
> chris.
>
> p.s. There is no space before a comma!




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] splitting content into pages

2003-07-30 Thread daniel
maybe somehow with a substr function that gets the position of the last
paragraph ??

> ok let me explain , its straight up text content from the database ,
> say its scrolls for ages , i need to split it into pages , so i get the
> length of the string up to the last paragraph which fits i need to
> split it there any idea ?
>
>> [EMAIL PROTECTED] 
>>on Wednesday, July 30, 2003 6:35 PM said:
>>
>>> hi there , i have an issue trying to split content into pages , we
>>> have a popup with content and a background image with a set height ,
>>> when there is more content the background repeats , theoretically i'd
>>> want to split the content into pages after a given length or line
>>> length or where it meets the background image height how can i do
>>> this ?
>>
>> This can be easy.
>>
>> 1. Make sure the content does not adjust itself based on the size of
>> the browser window. That is to say that the space that contains the
>> content should be a fixed width.
>>
>> 2. Then you need to calculate how many words you can legitimately fit
>> into this fixed space without going over.
>>
>> If you 150 words will fit in the space but go right up to the very
>> edge and are almost spilling into a new "page" you should pull the
>> number of words back to 120 or something to try and make sure that the
>> text will not spill over.
>>
>> You can be more precise if you use a fixed width font like Courier
>> New. If you use a variable width font (not sure if that is the
>> technical term) you'll have to do a little more guessing because 10
>> i's are not the same width as 10 w's.
>>
>>
>> hth,
>> chris.
>>
>> p.s. There is no space before a comma!
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] splitting content into pages

2003-07-30 Thread daniel
this isnt a client side issue it'll defeat the purpose if i dont repeat the
background image and then let the text flow over it , its supposed to look
like a notepage for a blogger
> Is there a reason this can't be solved with a CSS background-repeat:
> repeat-y;  ? Or is download time of individual pages an issue?
>
> This is really a client-side issue. The math is going to vary depending
> on  each user's settings- which font is used, the size of the font,
> random  browser stupidity, etc. Even if you try to specify such things,
> you'll have  issues. If you try to use a specific font, what if the
> user doesn't have it?  What if they have vision problems and have
> ordered fonts to be larger than  usual? IMHO it would be better to just
> use CSS and put everything on the same  page
>
>
>
>
> On Wednesday 30 July 2003 07:06 pm, [EMAIL PROTECTED] wrote:
>> maybe somehow with a substr function that gets the position of the
>> last paragraph ??
>>
>> > ok let me explain , its straight up text content from the database ,
>> > say its scrolls for ages , i need to split it into pages , so i get
>> > the length of the string up to the last paragraph which fits i need
>> > to split it there any idea ?
>> >
>> >> [EMAIL PROTECTED] 
>> >>
>> >>on Wednesday, July 30, 2003 6:35 PM said:
>> >>> hi there , i have an issue trying to split content into pages , we
>> >>> have a popup with content and a background image with a set height
>> >>> , when there is more content the background repeats ,
>> >>> theoretically i'd want to split the content into pages after a
>> >>> given length or line length or where it meets the background image
>> >>> height how can i do this ?
>> >>
>> >> This can be easy.
>> >>
>> >> 1. Make sure the content does not adjust itself based on the size
>> >> of the browser window. That is to say that the space that contains
>> >> the content should be a fixed width.
>> >>
>> >> 2. Then you need to calculate how many words you can legitimately
>> >> fit into this fixed space without going over.
>> >>
>> >> If you 150 words will fit in the space but go right up to the very
>> >> edge and are almost spilling into a new "page" you should pull the
>> >> number of words back to 120 or something to try and make sure that
>> >> the text will not spill over.
>> >>
>> >> You can be more precise if you use a fixed width font like Courier
>> >> New. If you use a variable width font (not sure if that is the
>> >> technical term) you'll have to do a little more guessing because 10
>> >> i's are not the same width as 10 w's.
>> >>
>> >>
>> >> hth,
>> >> chris.
>> >>
>> >> p.s. There is no space before a comma!
>> >
>> > --
>> > PHP General Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Status: 0
> Content-type: text/html
>
> [cgi]
> "To be true to the mythical conception of a God is to be false to the
> interests of mankind."
>
> -E. Haldeman-Julius




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] splitting content into pages

2003-07-30 Thread daniel
ok i have an idea , i have a solution which may work i dont know just yet ,
ok say the strlen of the entire content is 1675 , the strlen of the content
up to the last paragraph is 1300 , how can i substr this to get the next
block of text from 1300 and also increment if there is more pages ??
> Evan Nemerson 
>on Wednesday, July 30, 2003 7:17 PM said:
>
>> Is there a reason this can't be solved with a CSS background-repeat:
>> repeat-y; ? Or is download time of individual pages an issue?
>
> That can look funny of course if the picture doesn't tile well.
>
>> The math is going to vary
>> depending on each user's settings- which font is used, the size of the
>> font, random browser stupidity, etc. Even if you try to specify such
>> things, you'll have issues.
>
> Too true.
>
>> If you try to use a specific font,
>> what if the user doesn't have it? What if they have vision problems
>> and have ordered fonts to be larger than usual?
>
> Right again.
>
>> IMHO it would be
>> better to just use CSS and put everything on the same page
>
> But the problem with this is that people don't like really long pages.
> It makes them (I've read this in a few places and I know I feel this
> way) feel like it's going to take forever to read a really long article
> instead of maybe five "screen length" pages.
>
> I think pages are a good idea for long articles but I agree that it's a
> sticky situation to try and accomate everyone, especially with the
> original posters requirements (wants more than one page because of the
> background).
>
>
>
> Chris.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] splitting content into pages

2003-07-30 Thread daniel
your example doesnt work , and the whole purpose of this is because the
background image wraps if there is too much text , i'm also trying to
figure out of leaving it this way and add a few page breaks at the certain
length so the text doesnt go over the dark edge as u cant see it any ideas ?
> Excellent point. A compromise, then?
>
> How about using the background-repeat: repeat-y; and not trying to do
> any  math. Just decide how long the content should be, and wrap the
> page at the  next sentence. That way, you make the end users happy, but
> don't risk an ugly  page. For 150 characters, (untested)
>
> 
> background-repeat: repeat-y;
> 
> 
> 
> 
>  $x = 150;
> while ( $c != '.' )
>   $c = substr($str, $x, 1);
> echo substr($str, 0, $x);
> echo "Next page"; ?>
> 
>
>
>
> On Wednesday 30 July 2003 07:44 pm, Chris W. Parker wrote:
>> Evan Nemerson 
>>
>> on Wednesday, July 30, 2003 7:17 PM said:
>> > Is there a reason this can't be solved with a CSS background-repeat:
>> > repeat-y; ? Or is download time of individual pages an issue?
>>
>> That can look funny of course if the picture doesn't tile well.
>>
>> > The math is going to vary
>> > depending on each user's settings- which font is used, the size of
>> > the font, random browser stupidity, etc. Even if you try to specify
>> > such things, you'll have issues.
>>
>> Too true.
>>
>> > If you try to use a specific font,
>> > what if the user doesn't have it? What if they have vision problems
>> > and have ordered fonts to be larger than usual?
>>
>> Right again.
>>
>> > IMHO it would be
>> > better to just use CSS and put everything on the same page
>>
>> But the problem with this is that people don't like really long pages.
>> It makes them (I've read this in a few places and I know I feel this
>> way) feel like it's going to take forever to read a really long
>> article instead of maybe five "screen length" pages.
>>
>> I think pages are a good idea for long articles but I agree that it's
>> a sticky situation to try and accomate everyone, especially with the
>> original posters requirements (wants more than one page because of the
>> background).
>>
>>
>>
>> Chris.
>
> --
> "He died in AD 33. Get over it."
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] splitting content from database into pages again

2003-07-31 Thread daniel
hi guys regarding my question yesterday here is exactly what i want to do

http://www.evilwalrus.com/articles.php?aid=42

this is obvioiusly splitting the content up when pull from the database

here is an example but is uses text files

http://www.evilwalrus.com/viewcode.php?codeEx=522

is there a way to stream the data from the database into an fopen ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] splitting content from database into pages again

2003-07-31 Thread daniel
ok this seemed to work using the text paging example replace the file line
with this $afile = explode("\r\n", $string);
> hi guys regarding my question yesterday here is exactly what i want to
> do
>
> http://www.evilwalrus.com/articles.php?aid=42
>
> this is obvioiusly splitting the content up when pull from the database
>
> here is an example but is uses text files
>
> http://www.evilwalrus.com/viewcode.php?codeEx=522
>
> is there a way to stream the data from the database into an fopen ?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] splitting content from database into pages again

2003-07-31 Thread daniel
function page_content($content,$limit = 10,$page) {
$limit=20;

$afile = explode("\r\n", $content);
$maxline = count($afile);   // count existing lines
$max = $maxline - 1;
$page ? $page = $page : $page = 1;
$s=$page+$limit;
for ($i=$page; $i<$s; $i++) {
   $dtrow = explode("|", $afile[$i]);
   $row = "$dtrow[0]";
   $formatted_content .= $row."\n";
}

$p = 1;
$u = ceil($max/$limit);
for ($t=1; $t<=$u; $t++) {
   $formatted_content .= "$t ";
$p=$p+$limit;
}
return $formatted_content;
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] splitting content into pages

2003-08-03 Thread daniel
thanks to the poster on the substr page i made a modification to it so it
now splits the content into pages lemme know anyone if this is useful

usage: page_content($content,15,$_GET['page']);

function page_content($content,$limit,$page)
{
$array = explode("\r\n", $content);
$maxline = count($array);
if ($maxline > $limit) {
$max = $maxline - 1;
$page ? $page = $page : $page = 1;
$page ? $next = $limit * ($page - 1) + 1 : $next =
1;
$s=$next+$limit;
for ($i=$next; $i<$s; $i++) {
if ($array[$i]!="") $formatted_content .=
$array[$i]."\n\n";
   //$dtrow = explode("|", $array[$i]);
   //$row = "$dtrow[0]";
   //$formatted_content .= $row."\n";
}
$p = 1;
$u = ceil($max/$limit);
for ($t=1; $t<$u; $t++) {
   $t == $page ?
$formatted_content .= "$t  " : $formatted_content .= "$t  ";
   $p=$p+$limit;
}
return $formatted_content;
}
return $content;
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Fusebox

2003-08-05 Thread daniel
i have used this before , its a wierd system and you have to echo the html
absolutely painful

> I am trying to standardize my development process and have been looking
> at the different frameworks out there.
>
> One of the philosophies I like is that of Fusebox, although originally
> developed for ColdFusion it is now available for PHP:
>
> http://bombusbee.com/
>
> Anybody have any experience working with Fusebox, or can anybody
> recommend any other frameworks that I should also look at? I am looking
> for a framework that will be developed going into PHP 5 also.
>
> Your help is appreciated.
>
> Ralph
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Fusebox

2003-08-05 Thread daniel
really tedious logic

>Hello,
>You could also take a look at Krysalis Foundation -
> http://www.interakt.ro/products/Krysalis/
>
>It implements the MVC approach by defining a sitemap with the
>request
> serving rules, and by separating the model from the view using XML
> trees as the output of the model and XSL to add the presentation layer
> over it.
>
>Alexandru
>
> --
> Alexandru COSTIN
> Chief Operating Officer
> http://www.interakt.ro/
> +4021 312 5312
> "Tariq Murtaza" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hi Ralph!
>>
>> I suggest MVC.
>>
>> http://phrame.sourceforge.net/
>> http://www.phpmvc.net/
>>
>> Regards,
>> TM.
>>
>> Ralph Guzman wrote:
>>
>> >I am trying to standardize my development process and have been
>> >looking at the different frameworks out there.
>> >
>> >One of the philosophies I like is that of Fusebox, although
>> >originally developed for ColdFusion it is now available for PHP:
>> >
>> >http://bombusbee.com/
>> >
>> >Anybody have any experience working with Fusebox, or can anybody
>> >recommend any other frameworks that I should also look at? I am
>> >looking for a framework that will be developed going into PHP 5 also.
>> >
>> >Your help is appreciated.
>> >
>> >Ralph
>> >
>> >
>>
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Display Records in Multiple Pages help please !

2003-08-07 Thread daniel
100k = 100k records = 200 meg hehe
> a sample from my db class, i had to store the total in a session as
> calling the total on every page on a large database was painful doing
> count(*) or even SQL_CALC_FOUND_ROWS, on a small database u just cant
> tell but on a database of 100k + it was painful to load each page ;)
>
> function page_query($per_page, $query, $page, $session_var, $debug =
> null, $start_session = null) {
>   if ($start_session) session_start();
>   if(!$page) {
>$this->page = 1;
>   $this->start = 0;
>} else {
>   $this->page = $page;
>   $this->start = ($this->page - 1) * $per_page;
>   }
>
>   if ((!$page && !$_SESSION[''.$session_var.'']) || (!
> $_SESSION[''.$session_var.''])) {
>   $query = preg_replace("/SELECT|select/","\\0
> SQL_CALC_FOUND_ROWS",$query);
>   $query = "$query LIMIT $this->start, $per_page";
>   $result = $this->query($query);
>   if ($debug) $this->debug();
>   $row = $this->getOne("SELECT FOUND_ROWS() as
> total_rows");
>   $_SESSION[''.$session_var.''] = $row['total_rows'];
>   $this->total = $_SESSION[''.$session_var.''];
>   } else {
>   $query = "$query LIMIT $this->start, $per_page";
>   $result = $this->query($query);
>   if ($debug) $this->debug();
>   $this->total = $_SESSION[''.$session_var.''];
>   }
>   $this->pages = ceil($this->total / $per_page);
>   return $result;
>}
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] preventing output dump of passthru()

2003-08-08 Thread daniel
the whole idea of passthru is to output the stdout

i'd use exec and the stdout is stored as an array
> Hello,
>
> Trying to prevent the output dumping of passthru() and instead store
> the output in a variable.
>
> I read an article that suggested this:
>
> ob_start();
>
> passthru("command");
>
> $output = ob_get_contents();
>
> ob_end_clean();
>
> But that didn't work. Is there *ANY* way to achieve what I want?
>
>
> Thanks,
> Chris.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] [Fwd: [ERR] Re: [PHP] Configuring PHP to use aspell]

2003-08-09 Thread daniel
how do we get this guy off the list

 Original Message 
Subject: [ERR] Re: [PHP] Configuring PHP to use aspell
From: [EMAIL PROTECTED]
Date: Sun, August 10, 2003 11:17 am
To: [EMAIL PROTECTED]

Transmit Report:

 To: [EMAIL PROTECTED], 402 Local User Inbox Full ([EMAIL PROTECTED])


talking of aspell how could i intergrate this into a search engine, so i
could correct typos in a search ?
> I have the following set up...
>
> RH Linux version 7.3
>
> PHP 4.3.2
>
> Aspell installed on the server
>
> I have NEVER configured PHP and am looking for some assistance in
> configuring PHP to use Aspell so I can take advantage of this great
> feature that (as I can see from my searches) is not as well documented.
>
> I'm not sure of the path to my Aspell either...
>
> Jeff




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] hanmir.com

2003-08-09 Thread daniel
http://www.hanmir.com/ anyone know korean , we need to speak to the
administrator of the server to turn this bloody annoying message off , i've
never seen anything like this before how rude to send auto messages back



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Configuring PHP to use aspell

2003-08-10 Thread daniel
talking of aspell how could i intergrate this into a search engine, so i
could correct typos in a search ?
> I have the following set up...
>
> RH Linux version 7.3
>
> PHP 4.3.2
>
> Aspell installed on the server
>
> I have NEVER configured PHP and am looking for some assistance in
> configuring PHP to use Aspell so I can take advantage of this great
> feature that (as I can see from my searches) is not as well documented.
>
> I'm not sure of the path to my Aspell either...
>
> Jeff




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PHP Fusebox

2003-08-10 Thread daniel
ok i have a standard of executing things i use a switch case to switch $_GET
['action'] , so i can have ?action=add_entry ?action=edit ?action=insert ?
action=update ?action=delete etc .. this works well for a cms system

> Hi Ralph!
>
> I suggest MVC.
>
> http://phrame.sourceforge.net/
> http://www.phpmvc.net/
>
> Regards,
> TM.
>
> Ralph Guzman wrote:
>
>>I am trying to standardize my development process and have been looking
>>at the different frameworks out there.
>>
>>One of the philosophies I like is that of Fusebox, although originally
>>developed for ColdFusion it is now available for PHP:
>>
>>http://bombusbee.com/
>>
>>Anybody have any experience working with Fusebox, or can anybody
>>recommend any other frameworks that I should also look at? I am looking
>>for a framework that will be developed going into PHP 5 also.
>>
>>Your help is appreciated.
>>
>>Ralph
>>
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-11 Thread daniel
>
> Calling someone a twat is not going to persuade anybody to change
> how you think a proper reply should be.
>
> If I dont understand someone's question, should I not let them know
> that if that make themselves a little clearer a better answer may
> be given instead of 12 people shooting in the dark giving answers
> to problems that are not the issue the person is having?
>

ok apologies i went a bit far there , but you know what i mean , it terms
of a wasted post he/she should say that offlist i reckon then the poster
can problem reverify him/her self with a better question.

but i've had stuff like i dont understand anything u just said , something
on those lines , maybe something like can you please rephrase your question
might be better.

>
> : skips comment on RTFM :)
>
> Yes the list is about helping people out, but we (those who help
> people) arn't here to write someone elses code.  If and when that
> is done people become too lazy and rely on the list to have their
> problems solved, instead of the user doing research himself to
> find out if this is a common problem.
>

i dont think in particular this is what the list is about and i am not
implying this , i usually head str8 to php.net then to google then to the
list, most of my issues that i ask are regex related and even then, i dont
get an exact answer it merely leads me into the right direction where i can
modify the example to do what i need it to do

> Like for example, when people are asking for examples a simple
> google search for '' example', usually results with
> some good examples.

yeh ok we've had stuff like 'is there a script out there that does this', a
trip to hotscripts first should have helped them out , but from the time
i've started here i dont think there has been any guidelines set on this ,
and even then , i dont think ppl will read them :\




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] dbx

2003-08-12 Thread daniel
hi there , i am interested to know more about dbx, especially the error
handling

$link   = dbx_connect(DBX_MYSQL, "localhost", "db", "username", "password")
or die ("Could not connect");

is there such an error feature where it can die to the screen with a custom
error message instead of doing the error checking for every single query
and connection ?

and there is also no example of how to get a list of results like

while ($row = $result->fetchRow()) {

}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] project management php system

2003-08-14 Thread daniel
Hi guys ok i am doing it now, but i'm not asking for you to code something
for me, i'm looking for a classy project management system possibly in an
open source format in PHP and Mysql.

I was wondering who has implemented such a system they could recommend, i
am investigation to look into customising an already developed system or we
have to develop one from scratch to suit our needs.

Let me know.

Thanks

Dan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-14 Thread daniel
obviously our asp windoze counterparts look over us as inferior, but i dont
see it that way, but how about java , looking into the future how inferior
or superior comparing php and java ?

> I tend to think that PHP will take over the world
> Just my $0.02.
>
>
> Robert Cummings wrote:
>
>>Hitler began his conquest by taking a country here, a country there
>>while other countries sat around saying to each other oh he won't keep
>>doing it. Let's DO NOTHING! Obviously that plan was flawed -- and that
>>is what I was referring to -- not that by being quiet suddenly the
>>world will be plunged into war again (not that it isn't already).
>>
>>Cheers,
>>Rob.
>>
>>On Wed, 2003-08-06 at 17:11, Chris Sherwood wrote:
>>
>>
>>>Hitler is it?
>>>
>>>why is it everytime someone mentions a proper ettiquette, or some
>>>common sense thing that it is immeadiately taken to an extreme..
>>>
>>>is this reasonable behaviour? does it portray us as adults, maybe
>>>adults who have a major chip on our shoulders... all I am saying is if
>>>you feel nasty ... keep it to yourself
>>>
>>>now how does that equate to being like or bringing back hitler?
>>>
>>>
>>>- Original Message -
>>>From: "Robert Cummings" <[EMAIL PROTECTED]>
>>>To: "Chris Sherwood" <[EMAIL PROTECTED]>
>>>Cc: <[EMAIL PROTECTED]>
>>>Sent: Wednesday, August 06, 2003 2:04 PM
>>>Subject: Re: [PHP] Stop neurotic posting
>>>
>>>
>>>
>>>
On Wed, 2003-08-06 at 16:36, Chris Sherwood wrote:


>or what does it take to actually give a reasonable answer... if I am
>
>
>>>gonna
>>>
>>>
>be rude I  wont say anything... doesnt any one remember their mother
>
>
>>>telling
>>>
>>>
>them if you dont have anything nice to say dont say anything at all?
>
>
>
That kind of thinking leads to things like Hitler :| If we never say
anything then it becomes the norm for people to continue their
behaviour. Currently the question being debated is what constitutes
poor behaviour/etiquette within this mailing list. While I agree that
this forum is primarily for answering questions -- I disagree that it
is for answering silly little questions that would be common
knowledge if the asker had bothered to read any tutorials or
documentation -- most especially when it appears that the poster
didn't even bother to do any kind of searching for themselves. I mean
really, questions like "does X do Y" is often as simple as writing 1
to 5 lines of test code which is probably shorter than the email
itself and doesn't pollute the mailing list with 5 to 10 replies of
"yes" or "no".

Cheers,
Rob.
--
.-.
| Worlds of Carnage - http://www.wocmud.org   |
:-:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the  |
| stuff of nightmares grasp for your soul.|
`-'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




>>>
>>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Old version of PHP

2003-08-14 Thread daniel
actually u can explicitly turn on registered globals with a setting in
a .htaccess file



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] find string

2003-08-14 Thread daniel
what exactly is action ?

i usually use a action setup like follows

?action=update

switch ($_GET['action']) {
   case 'update':
  //do stuff here
   break;
   case 'insert':
  //do stuff here
   break;

}

very clean

> Here's the problem I have:
> I have $action which can be anyone of a1, a2, a3, a4.
> I tried
>
> if ($action!='a1' || $action!='a3') //tried == also
> {
> //do stuff
> }
> else
> {
> //do other stuff
> }
>
> Problem is that if() only seems to take one option so my construct
> above doesn't work.
> What function can I use to do something like:
> if ($action is among the items of 'a2,a4') kind of construct?
> I tried strpos('a1a2a3',$action) but with the same results.
> TIA
>
> --
> Regards, Andu Novac
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Screen Resoultion

2003-08-14 Thread daniel
lol jscript dude , dont get the boyz and girlz started , it would be nice
if php could do client stuff like asp

>
> Hello,
>
>  Can anyone pls tell me is it possible to get the screen resoultion
>  using
> php script ??
>
> Regards,
> Uma
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Pls Help-Looking for PHP Product for Articles

2003-08-14 Thread daniel
select the article then get the comments joined to that article id ??

> Thanks Alexandru,
>
> I've been reading about KompleteLite, but it looks like you have to
> install the Kyrsalis Enterprise server before being able to use
> KompleteLite, and I don't think I'll be able to get that through our IT
> people. Any other ideas for how to create a page structured like this:
> http://www.php.net/manual/en/ref.dbx.php (with an article at the top
> and comments below...)
>
> Thanks,
>
> Steve
>
> Alexandru Costin wrote:
>
>> Hello,
>> You could take a look at Komplete Lite - allows you to publish
>> articles
>> and associate forums on them.
>>
>> Even if the user roles are not very powerful in the open version -
>> basically you will have what you want.
>>
>> http://www.interakt.ro/products/KompleteLite/
>>
>> Alexandru
>>
>> --
>> Alexandru COSTIN
>> Chief Operating Officer
>> http://www.interakt.ro/
>> +4021 312 5312
>> "Stephen Toutonghi" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > Hi,
>> >
>> > I'm looking for a product that will help me create a documentation
>> > system. I'd like to be able to post individual articles on an
>> > intranet, and have user's create comments on the articles that
>> > become part of the article. And editor could then review the
>> > comments and add to the article where appropriate, remove comments
>> > where appropriate. A good example of what I'm looking for is the
>> > kind of format used on this page:
>> >
>> > http://www.php.net/manual/en/ref.dbx.php
>> >
>> > where there's an article, and comments below it.
>> >
>> > Any ideas?
>> >
>> > Thanks,
>> >
>> > Steve
>> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Screen Resoultion

2003-08-14 Thread daniel
oh right sure thats easy done , i assumed u meant the variable itself

document.formname.fieldname.value=somevar;

> Use JS to set the value of a hidden form-field and then have it
> immediately submit the form and it can be passed to php.  Not
> impossible.
>
> Greg
> --
> phpDocumentor
> http://www.phpdoc.org
>
> [EMAIL PROTECTED] wrote:
>> how is it possible to send a jscript variable to php thats impossible
>>
>>
>>>You can do so with JavaScript and have that pass the information onto
>>>your PHP scripts to do whatever it is that you want.
>>>
>>>-M
>>>
>>>-Original Message-
>>>From: Uma Shankari T. [mailto:[EMAIL PROTECTED]
>>>Sent: Tuesday, August 12, 2003 12:12 AM
>>>To: PHP
>>>Subject: [PHP] Screen Resoultion
>>>
>>>
>>>
>>>Hello,
>>>
>>> Can anyone pls tell me is it possible to get the screen resoultion
>>> using
>>>php script ??
>>>
>>>Regards,
>>>Uma
>>>
>>>
>>>--
>>>PHP General Mailing List (http://www.php.net/)
>>>To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>
>>>
>>>--
>>>PHP General Mailing List (http://www.php.net/)
>>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Imagick

2003-08-14 Thread daniel
yeh i have found even if you give the path the jpeg-v6 it wont configure it
the first time round takes about 5 goes !

> * Thus wrote Jacob Marble ([EMAIL PROTECTED]):
>> Excuse me, I accidentally sent that last incomplete message.
>> I have successfully compiled PHP 4.3.3RC3 with the --with-imagick flag
>> after compiling and installing ImageMagick 5.5.7 (that was a headache
>> on it's own).  The following error keeps cropping up:
>
> yeah, imagick is a pain to install, i've done it before :)  If
> you're just wanting imagick to do resampling or converting, i would
> suggest using gd, it might be able todo what you want and is easier to
> use:
>
> http://us2.php.net/gd
>
>
>
>>
>> Fatal error: Call to undefined function: imagick_readimage() in
>> /usr/local/lib/php/docs/imagick/examples/border.php on line 5
>>
>> I've tried compiling PHP without the --with-imagick flag and then
>> doing a "pear install imagick" to get the pear version 0.9.7 package.
>> The same problem occurs.  I don't even know how to use imagick yet; I
>> can't get the thing to work with example files, so I can't start
>> writing my own stuff yet. Does anyone at this NG use the imagick
>> tools?  Is there something I have to include maybe?  Like "require
>> 'imagick.php'" or something?  I can't find any files that look
>> appropriate for that.
>
> There is a pear mailing list/news group, you might get better help over
> there. http://us3.php.net/mailing-lists.php
>
> HTH,
>
> Curt
> --
> "I used to think I was indecisive, but now I'm not so sure."
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Object method overloading

2003-08-14 Thread daniel
What is the point of overloading an object again?

> Hello,
>
> I realize this stuff isn't set in stone yet, but might I eventually
> expect the following to make two assignments rather than one?
>
> 
> class overload_test
> {
>function __set($name, $value) {
>echo "__set($name, $value)\n";
>$this->$name = $value;
>return true;
>}
> }
>
> overload('overload_test');
>
> $t = new overload_test;
> $t->a = 'Foo';
> $t->b[0] = 'Bar';
> print_r($t);
>
> ?>
>
> Output:
> __set(a, Foo)
> overload_test Object
> (
>[a] => Foo
> )
>
> Thanks,
> -Dan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Display Records in Multiple Pages help please !

2003-08-14 Thread daniel
a sample from my db class, i had to store the total in a session as calling
the total on every page on a large database was painful doing count(*) or
even SQL_CALC_FOUND_ROWS, on a small database u just cant tell but on a
database of 100k + it was painful to load each page ;)

function page_query($per_page, $query, $page, $session_var, $debug = null,
$start_session = null) {
if ($start_session) session_start();
if(!$page) {
$this->page = 1;
$this->start = 0;
} else {
$this->page = $page;
$this->start = ($this->page - 1) * $per_page;
}

if ((!$page && !$_SESSION[''.$session_var.'']) || (!
$_SESSION[''.$session_var.''])) {
$query = preg_replace("/SELECT|select/","\\0
SQL_CALC_FOUND_ROWS",$query);
$query = "$query LIMIT $this->start, $per_page";
$result = $this->query($query);
if ($debug) $this->debug();
$row = $this->getOne("SELECT FOUND_ROWS() as
total_rows");
$_SESSION[''.$session_var.''] = $row['total_rows'];
$this->total = $_SESSION[''.$session_var.''];
} else {
$query = "$query LIMIT $this->start, $per_page";
$result = $this->query($query);
if ($debug) $this->debug();
$this->total = $_SESSION[''.$session_var.''];
}
$this->pages = ceil($this->total / $per_page);
return $result;
}




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-14 Thread daniel
what a silly elitist view you have

> perhaps there should be two lists (novice and advanced), and the
> advanced listed shouldn't
> answer questions if it's considered trivial enough for the novice list
> to answer.
>
>
>
> Curt Zirzow wrote:
>
>>* Thus wrote andu ([EMAIL PROTECTED]):
>>
>>
>>>This is a very busy list, over 100 message in a quiet day and most
>>>people  are helpful and decent, don't mind reading and learning.
>>>Unfortunately  there are some who mostly post stuff like 'read the
>>>manual' and other shit  like that. Stuffing e-mailboxes with such
>>>garbage day after day doesn't do  anybody any good even if the manual
>>>is  not being read as much as it should
>>>
>>>
>>
>>
>>Yes it is a busy list, I have 1000+ messages for 7 days worth.
>>
>>I'm not sure the noisyness of the list is entirely on the ones that are
>>helping.  There does seem to be a problem of people posting
>>questions that are plain as day in the manual, or have been
>>repeatedly answered here on the list (thus the joke, has it been 4 days
>>already, being so funny :)
>>
>>if more people would read the manual or know how to find commonly asked
>>and solved quetions this list would probaly drop in 20% (very rough
>>estimate) of posts.  Getting that information to the people who arn't
>>reading the manual is a difficult task, cause if they
>>arn't reading the manual, why would they even bother with reading the
>>information on how to find the answer.
>>
>>Now noisyness from the 'helpers'...  I have noticed at times that a
>>question is answered the same way like 10 times by 10 different
>>people; this I consider more noisy than a RTFM post.
>>
>>
>>
>>
>>>be. Is it too difficult to not answer the post at all if you disagree
>>>with  the content?
>>>
>>>
>>
>>Now, I kinda wondered at first if I should not respond to this
>>cause it's rather in a disagreement tone :)
>>
>>I think this shouldn't be considered a bad thing to do.  If you
>>find something you disagree with and have (legit) arguments, I
>>would insist that the person reply to it. Of course this only helps if
>>it was in a constructive manor, which I hope this reply was
>>done.
>>
>>
>>Cheers,
>>
>>Curt
>>
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Screen Resoultion

2003-08-14 Thread daniel
umm sorry i wouldnt know i've never sold my soul to the devil

> [EMAIL PROTECTED] wrote:
>
>>oh right sure thats easy done , i assumed u meant the variable itself
>>
>>document.formname.fieldname.value=somevar;
>>
> Well, ASP can't do any more in that area than PHP can, nor should it be
>  able to.
>
> --
> The above message is encrypted with double rot13 encoding.  Any
> unauthorized attempt to decrypt it will be prosecuted to the full
> extent of the law.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread daniel
sorry i just made the notice too i hope it works
> On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote:
>>
>> I'm surprised the email address hasn't been taken off the list yet.
>> [EMAIL PROTECTED] you are my arch-nemesis!!
>
> [EMAIL PROTECTED]  is the place to kvetch about users
> like  this.  I already did.  A subject of " bouncing" is
> clear.  Might  you do the same to make the point clear?
>
> --Dan
>
> --
> FREE scripts that make web and database programming easier
>   http://www.analysisandsolutions.com/software/
> T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
> 4015 7th Ave #4AJ, Brooklyn NYv: 718-854-0335   f: 718-854-0409
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] what's going on with the hanmir.com guy?

2003-08-14 Thread daniel
i didnt undertstand a word you said , is he off the list yet

> On Tue, Aug 12, 2003 at 03:58:19PM -0700, Chris W. Parker wrote:
>>
>> I'm surprised the email address hasn't been taken off the list yet.
>> [EMAIL PROTECTED] you are my arch-nemesis!!
>
> [EMAIL PROTECTED]  is the place to kvetch about users
> like  this.  I already did.  A subject of " bouncing" is
> clear.  Might  you do the same to make the point clear?
>
> --Dan
>
> --
> FREE scripts that make web and database programming easier
>   http://www.analysisandsolutions.com/software/
> T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
> 4015 7th Ave #4AJ, Brooklyn NYv: 718-854-0335   f: 718-854-0409
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Screen Resoultion

2003-08-14 Thread daniel
how is it possible to send a jscript variable to php thats impossible

> You can do so with JavaScript and have that pass the information onto
> your PHP scripts to do whatever it is that you want.
>
> -M
>
> -Original Message-
> From: Uma Shankari T. [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 12, 2003 12:12 AM
> To: PHP
> Subject: [PHP] Screen Resoultion
>
>
>
> Hello,
>
>  Can anyone pls tell me is it possible to get the screen resoultion
>  using
> php script ??
>
> Regards,
> Uma
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mail with no sendmail on linux

2003-08-14 Thread daniel
i have a class that can sewnd through smtp , but i think there i a package
setup in php classes there is also a pear class to do this

> Is there a workaround for not having sendmail installed on my linux
> machine and using instead my isp's mail server. I am practically behind
> 2 firewalls so I don't even think i could use sendmail even if I wanted
> to which is not the case.
>
> --
> Andu
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Stop neurotic posting

2003-08-14 Thread daniel
> This is a very busy list, over 100 message in a quiet day and most
> people  are helpful and decent, don't mind reading and learning.
> Unfortunately  there are some who mostly post stuff like 'read the
> manual' and other shit  like that. Stuffing e-mailboxes with such
> garbage day after day doesn't do  anybody any good even if the manual
> is  not being read as much as it should  be. Is it too difficult to not
> answer the post at all if you disagree with  the content?
>
>
> Andu
>
> --

good on you , i'm sick and tired of twats replying with i dont understand
your question or RTFM , i absolutely "hate" RTFM , the idea of the list is
to help eachother out and even post back to the list the completed code
someone was stuck on to share with everyone , if there is no decent asnwer
to reply with dont reply at all



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Fatal error: [] operator not supported for strings

2003-08-18 Thread Daniel
hi, how do i solve this error?

Fatal error: [] operator not supported for strings
in /var/www/html/p.../magazin/cos.php on line
13

line 13 is this line:

$_SESSION["id_produs"][]=$_POST["id_produs"];

no error when i run in local host , when i upload
in server (with PHP 4.2.2) only got this error.

first time click is fine, but when i click the
product once again, i got tat fatal errorhow
can i solve it?? pls advice. thanks.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Fatal error: [] operator not supported for strings

2003-08-19 Thread Daniel
I checked ant that is not the cause of this problem.
Any other sugesstion?


"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Daniel wrote:
>
> > hi, how do i solve this error?
> >
> > Fatal error: [] operator not supported for strings
> > in /var/www/html/p.../magazin/cos.php on line
> > 13
> >
> > line 13 is this line:
> >
> > $_SESSION["id_produs"][]=$_POST["id_produs"];
> >
> > no error when i run in local host , when i upload
> > in server (with PHP 4.2.2) only got this error.
> >
> > first time click is fine, but when i click the
> > product once again, i got tat fatal errorhow
> > can i solve it?? pls advice. thanks.
>
> Sounds like you've already assigned a value to $_SESSION['id_produs']
> and are now trying to turn it into an array.
>
> $_SESSION['id_produs'] = 'string value';
> $_SESSION['id_produs'][] = 'some other value';
>
> Check your code...
>
> -- 
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> PHP|Architect: A magazine for PHP Professionals – www.phparch.com
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread daniel
how are they ever getting through ?

the funniest of all is the windows update spam virus shit, obviously
targetting the ladite and the weak.

> Steelhead wrote:
>
>> yup, I got 5 instances. I am being slammed by viral messages today, 7
>> from another client.
>
>
>27 so far have been quarantined on my end (not all originating from
> this list.)
>
> --
> H| I haven't lost my mind; it's backed up on tape somewhere.
>  +
>  Ashley M. Kirchner    .   303.442.6410 x130
>  IT Director / SysAdmin / WebSmith . 800.441.3873 x130
>  Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
>  http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Your details

2003-08-19 Thread daniel
i got it 10 times today

> [EMAIL PROTECTED] wrote:
>
>> Please see the attached file for details.
>>
>
> Did anyone's AV pick up a virus in this email? It went right through
> mine but obviously doesn't belong on this list. I just got the latest
> definitions from Norton, too...
>
> --
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> PHP|Architect: A magazine for PHP Professionals – www.phparch.com
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] virus on the list

2003-08-21 Thread daniel
what is happening why am i keep getting these from php ppl ?

i have recieved them from rasmus and anyone with a php.net domain aswell as
from ppl on the list is there a virus on the list server?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread daniel
aparantly it was designed to slow the web down, and its proved that, but
also aparantly it infects by not even opening an attatchment but it could
possibly have vb script within a html email :\

> On Wed, Aug 20, 2003 at 11:11:43AM -0400, andu wrote:
>> Is this worm/virus windows specific?
>>
>>
> It appears so but considering a good percent of users are MS/Outlook
> users this is a bad one. Got over 100 yesterday, 100+ the day before
> and looking at the same today. Considering I hardly ever have seen a
> wild virus emailed to me, this is a bad one.
> --
> Jerry M. Howell II
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] OT-Re: worm on th list

2003-08-21 Thread daniel
yes my spamassasin does this it adds spam like {spam?} and viruses {virus?}
how can i filter that though in outlook like the damn thing only filters
emails.

> Get your mail sysadmins to install spamassassin, which I believe is
> OpenSourced PHP, and the filter your {SPAM} directly into the
> garbaaage. if everyone did this, and therefore stopped opening
> dangerous mail, maybe we could slow some of this down. :) Oh well, just
> my 2¢
>
>
>
>> On Wed, Aug 20, 2003 at 11:11:43AM -0400, andu wrote:
>> > Is this worm/virus windows specific?
>> >
>> >
>> It appears so but considering a good percent of users are MS/Outlook
>> users this is a bad one. Got over 100 yesterday, 100+ the day before
>> and looking at the same today. Considering I hardly ever have seen a
>> wild virus emailed to me, this is a bad one.
>> --
>> Jerry M. Howell II
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] RE: muliple form array values

2003-03-16 Thread daniel
hi guys i have multiple media to update in an entry for instance



where 123 is the fileid of the media in the database , how could i possibly 
loop through the post vars of fileedit and get each entry to update ?




so therefore i could have something like this , loop through and update id 123 
and update 124 ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Which is quicker, if-else statements

2003-03-18 Thread daniel
hmm now u are talkin about caching , our systems guy is planning on using 
squid as the caching system is this a good idea  ?
>= Original Message From Jason Sheets <[EMAIL PROTECTED]> =
>As a note Turck mmcache does optimization and also caches the compiled
>scripts into shared memory. Zend also has the Zend Optimizer and Zend
>Encoder.
>
>Turck mmcache is available at http://www.turcksoft.com/en/e_mmc.htm
>
>The benchmarking I did with Turck mmcache showed that Turck was a little
>over 15% faster than APC for my applications (over 35,000 lines with
>over 25 classes).  Turck comes with a nice web interface where you can
>disable the cache or optimizer and also view the cached scripts.
>
>Jason
>
>On Tue, 2003-03-18 at 20:38, -{ Rene Brehmer }- wrote:
>> On Wed, 19 Mar 2003 00:39:11 +0100, Ernest E Vogelsinger wrote about "Re:
>> [PHP] Which is quicker, if-else statements" what the universal translator
>> turned into this:
>>
>> >Noticeable? Probably not, except you're timing loops of a million or more
>> >cycles... but it's clear that the second method needs more time (in terms
>> >of cpu cycles) than the first one.
>> >
>> >In Intel speak, what would a compiler translate these code examples to?
>> >
>> >if (a == b) {} else {}
>> >mov  eax,   {a}
>> >cmp  eax,   {b}
>> >jnz  L01
>> >; the "true" block goes here
>> >jmp  L02
>> >L01:
>> >; the "false" (else) block goes here
>> >L02:
>> >
>> >As you can see there's two memory operations and one comparison.
>>
>> I'm totally lost here ... what does that mean???
>>
>> Reminds me of assembler, except that assembler is more like:
>> 0001 jnp e002 e003 0005
>> 0002 jmp e002 e003 0008
>>
>> And so on (not sure if that's fully correct ... haven't touched assembler
>> since '92) ...
>>
>> Please ellaborate Ernest ...
>>
>> >However, PHP is _not_ a compiler, it's an interpreter. It "compiles" code
>> >at runtime and has not the ability to perform exhaustive optimizations
>> >which would cost far more time than can be gained within a single
>> >execution. Additionally there's the time needed to parse the input stream
>> >(tokenize, add to symbol table, execute token and expression parser, etc
>> >etc). With interpreting languages the differences will rocket skyhigh
>> >compared to compiled executables.
>>
>> Doesn't PHP precompile the files and shove the result into the cache? Or
>> did I get that wrong ???
>>
>> Rene
>>
>> --
>> Rene Brehmer
>>
>> This message was written on 100% recycled spam.
>>
>> Come see! My brand new site is now online!
>> http://www.metalbunny.net
>--
>Jason Sheets <[EMAIL PROTECTED]>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] session variables

2003-03-19 Thread daniel
u have to start the session first then check with $_SESSION['tu'];
>= Original Message From Pag <[EMAIL PROTECTED]> =
>   HI,
>
>   Am trying to give controlled access to who logs in to my site. Have a
>quick doubt:
>
>   I register a session var named $tu (value is taken from the DB) when a
>user logs in, how can i reference to that var? I mean, if i want to check
>its value, if i do print($tu);, it doesnt seem to work.
>   Thanks.
>
>   Pag
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] dynamically splitting a paragraph for a preview of content

2003-03-19 Thread daniel
hi guys , i assumed i had this working but i stand corrected, it basically 
will get the first dot in content which should denote a end of paragraph and 
show that as a preview, although say i put g.w bush in it will split off there 
which i dont want , is there a way i can do this with a paragraph that may 
look like this

rweqijr riopjwrpioqwrj pqwrojrqwiopj rqwpjwrio oqrwqwriojwqijwroij. iojwrqioj

where the dot and space should denote a paragraph or

rweqijr riopjwrpioqwrj pqwrojrqwiopj rqwpjwrio oqrwqwriojwqijwroij ojwrqioj.

wejkqwqwpokwrop rqpokqwopr poqwrkp oqwrkw

where the newline should denote a pagraph, let me know thanks.

function create_caption($content,$max_length,$primaryID,$ID) {
if (strlen($content) > $max_length) {
$paragraph_i=".";
$position=strpos($content,$paragraph_i);
if (is_integer($position)) {
$preview=substr($content,0,$position);
$preview.="  [  
More ]";
return $preview;
}
} else {
return $content;
}
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] require_once for php3

2003-03-23 Thread daniel
hi there is a way to include files once in php3 ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] flush not flushing?

2003-03-25 Thread daniel
hi , i have had similar issues its worked by doing a ob_flush before flush 
then u want a sleep statement so maybe try

ob_flush();
flush();
sleep(2);

??

>= Original Message From Bryan Koschmann - GKT <[EMAIL PROTECTED]> =
>Hello,
>
>I'm including a script I use to automatically e-mail overdue customers. My
>problem is I have to have it sleep to avoid upsetting the mailserver, but
>when I do, it seems to pause and sleep the total time (number of users x
>sleep(1)) then output the whole block. I'm testing it now by printing the
>name and email to the screen.
>
>Instead of:
>
>Customer 1 - [EMAIL PROTECTED]
>pause 1 sec
>Customer 2 - [EMAIL PROTECTED]
>pause 1 sec
>Customer 3 - [EMAIL PROTECTED]
>pause 1 sec
>
>I get
>
>big big big pause
>Customer 1 - [EMAIL PROTECTED]
>Customer 2 - [EMAIL PROTECTED]
>Customer 3 - [EMAIL PROTECTED]
>
>
>Here is the script. Any help would be great!
>
>Thanks,
>
>   Bryan
>
>
>
>
>$myname = "My Company";
>$myemail = "[EMAIL PROTECTED]";
>
>$now = strtotime("now");
>$nowdate = date("l, F jS Y", $now);
>$nowtime = date("H:i", $now);
>$nowmonth = date("F", $now);
>$nowyear = date("Y", $now);
>
>$duedate = strtotime("25 $nowmonth $nowyear");
>$duedate = date("l, F jS Y", $duedate);
>
>$t = mktime(0,0,0,date('m')+1,1,date('Y'));
>$expdate = date("l, F jS Y", $t);
>
>$expdatenum = date("w", $t);
>
>if ($expdatenum == "6") {
>$rendate = date("l, F jS Y", strtotime("$expdate +2 days"));
>} else {
>$rendate = date("l, F jS Y", strtotime("$expdate +1 day"));
>}
>
>
>$query = htmlspecialchars("execute goToExpire");
>
>$fp = fsockopen ("111.222.333.444", 45678, $errno, $errstr, 30);
>
>// return_format can be either "delimited" or "xml"
>$connect = "
>
>   
>   Provider=SqlOleDb;
>   Data Source=(local);
>   Initial Catalog=MyCompany;
>   Integrated Security=SSPI;
>   
>   
>   delimited
>   ~
>   
>   
>   
>   $query
>   
>
>";
>
>$usercount = "0";
>
>if (!$fp) {
>   echo "$errstr ($errno)\n";
>} else {
>   fputs ($fp, "$connect");
>   flush();
>
>   // Create some headings for the table
>
>   while (!feof($fp)) {
>   $buffer = fgets($fp, 4096);
>   $row = explode('~', $buffer);
>
>   if (!empty($row[0])) {
>   if ($row[0] == "ERROR") {
>   echo " color=#ff>$row[0]: $row[1] 
$row[2]\n";
>   } else {
>   if (username($row[4]) !== "") {
>
>   $isbiz = str_replace("\r\n", "", $row[6]);
>   $accountnum = account($row[0]);
>   $amountdue = amount($row[5]);
>
>   if ($isbiz == "True") {
>   $fullname = name($row[1]);
>   } elseif ($isbiz == "False") {
>   if (miname($row[3]) == "") {
>   $fullname = name($row[2]) . " " . 
> name($row[1]);
>   } else {
>   $fullname = name($row[2]) . " " . 
> miname($row[3]) . " " . name($row[1]);
>   }
>   }
>   flush();
>   $subject = "Account Status: #" . account($row[0]);
>   $message =  "\r\n" .
>   "$fullname\r\n" .
>   "Account #" . account($row[0]) . 
> "\r\n\r\n" .
>   "Payment Reminder!\r\n\r\n" .
>   "Our records indicate that we have not 
> received your payment of 
\$$amountdue due\r\n" .
>   "on $duedate for your Internet access 
> account. Please\r\n" .
>   "send in your payment to prevent any 
> interruption in your service. 
Any\r\n" .
>   "accounts with an open balance will 
> expire on $expdate\r\n" .
>   "at 5:00pm, and cannot be reactivated 
> until $rendate at 
9:00am.\r\n\r\n" .
>   "If you have already sent in payment, 
> please disregard this reminder. 
If\r\n" .
>   "you believe your account to be 
> up-to-date or believe this message to 
be in\r\n" .
>   "error, feel free to call us at (555) 
> 123-4567 or reply to this message 
to\r\n" .
>   "discuss your account.\r\n\r\n\r\n" .
>   "\tMy COmpany\r\n"

RE: [PHP] Re: Formatting code.

2003-03-25 Thread daniel
this code doc is excellent thanks , although some of it i agree on but i do 
differently , naming conventions etc .. i usually follow the PEAR standard 
although i dont do any pear code , its been the best thing ever to happen for 
php , as for a newbie when pear first came around it helped alot , its the 
only way i got my head around learning OO.

>= Original Message From Philip Hallstrom <[EMAIL PROTECTED]> =
>here's one.
>
>http://utvikler.start.no/code/php_coding_standard.html
>
>google will probably find a lot more... maybe not all PHP specific, but
>still relevant.
>
>On Wed, 26 Mar 2003, Philip J. Newman wrote:
>
>> Is there any documents on how code should be layed out?
>>
>>
>> --
>> Philip J. Newman.
>> Head Developer
>> [EMAIL PROTECTED]
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] formatting textarea input on output

2003-03-25 Thread daniel
/**
* converts line break and spaces to page break
*
* @access   public
*/

function nlbr($string) {
return preg_replace("/(\r\n|\n|\r)/", "\n", $string);
}

here is one i use , what i'm still trying to work out , its a way to splita  
long peice of content into a preview caption with a more link , my current 
code will break say if there was a G.W Bush , as it soughta gets the first . 
but need a way to get the first "." plus a \n

so efwerui.

qwroirwjoiwrj

is consider a new sentence so will only show efwerui. any ideas ?
>= Original Message From Charles Kline <[EMAIL PROTECTED]> =
>hi all,
>
>i have a textarea in a form which gets inserted into a table in my
>database (mySQL). When displaying this text back to the screen, how do
>i retain the line breaks etc. that were in the original input?
>
>thanks
>charles
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] formatting textarea input on output

2003-03-25 Thread daniel
umm nl2br doesnt work most the time ,

"nl2br --  Inserts HTML line breaks before all newlines in a string "

sorry to give a wrong example this is for splitting your content into 
paragraphs obviously where there is a break in the content like so

efwojeiowerjwetwpjwewoj

eioptejoiejiojtei

it wont br every bloody newline ! which doesnt give good results all the time

>= Original Message From "CPT John W. Holmes" <[EMAIL PROTECTED]> 
=
>> /**
>> * converts line break and spaces to page break
>> *
>> * @access public
>> */
>>
>> function nlbr($string) {
>> return preg_replace("/(\r\n|\n|\r)/", "\n", $string);
>> }
>
>ummm www.php.net/nl2br() ??
>
>Start a new thread for your question, don't hijack someone else's thread.
>
>---John Holmes...
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Possible to check quality / compression of a JPEG ?

2003-03-26 Thread daniel
would exif work ? or maybe the binary jhead would work, it gets information 
out fo jpeg files , but they maybe have to be generated only from digital 
cameras i dont know.

>= Original Message From "Juan Antonio Ruiz Zwollo" <[EMAIL PROTECTED]> 
=
>Hello:
>
>Is it possible with PHP to check at what quality/compression a JPEG file has
>been saved? I.e. I have "dummy.jpg" that I got from somewhere else and I
>want to know with what quality it was saved.
>
>The second Note of the User Contributed Notes on the PHP manual regarding
>the function imagejpeg (http://www.php.net/manual/en/function.imagejpeg.php)
>mentions such a code, and the user hints that he/she is able to read the
>quality of a jpeg, but there is no code given (I have tried contacting the
>user but the comment is quite old):
>==
>"If you call imagecreatefromjpeg and load a jpeg with 75% quality and output
>it with imagejpeg u can specify the new quality for e.g. 90% and u can
>increase quality, but output will look like 75% quality picture with the
>only difference that the new pic is bigger.
>
>So u should check the source quality before u alter output quality. In most
>cases a quality of 75% is sufficient. For previews i use 50%.
>
>But i make a check if source quality is lower than my personal output
>quality, i will not chance source quality !
>
>Hope that helps your Webserver and keeps the traffic low :-)"
>==
>
>Regards,
>
>
>Juan Antonio
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Uploading Files Via PHP

2003-03-26 Thread daniel
possibly a permissions problem , dir needs to be 777 and owned by httpd
>= Original Message From "Jennifer Goodie" <[EMAIL PROTECTED]> 
=
>http://www.php.net/manual/en/features.file-upload.php
>
>From the page listed above: "Related Configurations Note: See also the
>file_uploads, upload_max_filesize, upload_tmp_dir, and post_max_size
>directives in php.ini"
>
>I would read that manual page as it deals with file uploading support.
>
>-Original Message-
>From: Vernon [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 26, 2003 4:41 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP] Uploading Files Via PHP
>
>
>Is there some thing that needs to be turned on in the php.ini in order to be
>able to upload photos VIA php? I have the same script on one machine with
>the right permissions on the upload dirs on one machine and am moving to
>another machine which is not being uploaded. Funny thing is I'm not getting
>any errors in the Apache logs.
>
>Thanks
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] logging ip address when submitting a form

2003-03-27 Thread daniel
this is a major problem , $_SERVER['HTTP_X_FORWARDED_FOR'] should get the ip 
being the isp proxy , but some proxies including the stupid windoze one we 
have at work will hide the ips behind it, so its rendered useless

>= Original Message From Justin French <[EMAIL PROTECTED]> =
>$_SERVER['REMOTE_ADDR'] will contain the remote user's IP address IF it is
>set by the user agent (browser).
>
>It's also worth noting that this IP address could be faked, could be rotated
>by their ISP on a request-by-request basis (eg all AOL users), could be that
>of their firewall or network gateway, etc etc.
>
>It's fine to log it, but don't rely on it for future visits, or anything
>like that :)
>
>
>Justin
>
>
>on 28/03/03 5:04 AM, Joakim Larsson ([EMAIL PROTECTED]) wrote:
>
>> Hello,
>>
>> Is there a command in php that would logg the ip address of the user 
viewing
>> the php file.
>> I need someway of finding out who posted the form.
>>
>> thanx
>>
>>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Re: Internet Explorer toolbar

2003-03-27 Thread daniel
yes simply buffer the exact javascript code and then echo it

ie

$buffer .= '';

sorry i forget the no toolbar part from the top of my head.
>= Original Message From Leif K-Brooks <[EMAIL PROTECTED]> =
>Correct, but he asked about doing it with PHP.
>
>Peter Houchin wrote:
>
>> yes there is java script
>>
>> Dan wrote:
>>
>>> On Thu, 27 Mar 2003 12:32:06 -0800 (PST), [EMAIL PROTECTED] (Manuel
>>> Ochoa) wrote:
>>>
>>>
>>> Is there any way of using php to launch a new browser without the IE
>>> toolbars?
>>>
>>>
>>>
>>> No. PHP is server side, not client side.
>>>
>>>
>>
>>
>
>--
>The above message is encrypted with double rot13 encoding.  Any unauthorized 
attempt to decrypt it will be prosecuted to the full extent of the law.
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] upload question

2003-03-29 Thread daniel
there is no indication what exactly you want to know , its too ambiguous , but 
all i can say this book sounds like a dud, terrible explanation on file 
uploads, check out this pear package, it helped a great deal ,although i had 
to mod it to also do a check for mimetypes , as say i allowed only the 
extension types of jpg , or zip , i could rename an executable file to a jpg 
or zip and maybe it could be executed , anyway i had to mod it to also do a 
mime types allow check but anyway check it out 
http://pear.php.net/package-info.php?pacid=20

also do a print_r($_FILES); this will show u what you may need to know



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] mysql_field_table problem

2003-03-29 Thread daniel
hi guys this seems to return on the first letter of the table name ?? return 
@mysql_field_table($this->result,0); what could bne the problem ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] webeditor

2003-03-29 Thread daniel
here is a version i did which is a heavily modified version , 
http://www.electroteque.org/demo/wysiwyg/ , i think the editworks uses the new 
mshtml style of the dhtml editor , the buggy ativex versions are now non 
compliant so i should do some upgrading :D

>= Original Message From olinux <[EMAIL PROTECTED]> =
>Here's another that was posted recently. looks cool.
>http://www.interactivetools.com/products/htmlarea
>
>
>--- Miles Thompson <[EMAIL PROTECTED]>
>wrote:
>>
>> http://www.editworkspro.com/index.php
>>
>> I've not used it, and it requires IE - but the demo
>> was impressive.
>> Miles
>>
>>
>> At 11:21 AM 3/28/2003 -0800, Daniel Guerrier wrote:
>> >Does anyone know of an open source webeditor that I
>> >can use to enter information into a text area
>> field.
>> >I have a custom CMS and I would like to add
>> webeditor
>> >functionality to the textarea fields
>
>__
>Do you Yahoo!?
>Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
>http://platinum.yahoo.com
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] mysql_field_table problem

2003-03-29 Thread daniel
ok i worked out the problem possible bug ??

SELECT f.filmID, f.programID, prg.name FROM films f LEFT JOIN EPG.TblProgram 
prg ON f.programID=prg.programID WHERE f.alive=1 AND ((NOW()>=f.start_date) 
AND (NOW() <= f.end_date))

the mysql_field_table wont show up properly on a join or even when selected 
fields

this worked though

select * from films

how can i make it work with a join ?
>= Original Message From daniel <[EMAIL PROTECTED]> =
>hi guys this seems to return on the first letter of the table name ?? return
>@mysql_field_table($this->result,0); what could bne the problem ?
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Is there a PHP for Dummies?

2003-03-29 Thread daniel
i can honestly say when i was a newbie , browsing other peoples code , and 
also especially the pear packages helped me formulate my own style , in 
particular , the pear packages helped alot to understand the structure and how 
to build classes properly , and phpdocs helped to understand a standardised 
and forumlated way to document code properly.

>= Original Message From Jason Sheets <[EMAIL PROTECTED]> =
>There is a second edition of MySQL and PHP, the first edition was a very
>good book but was written before the super globals were introduced.
>
>I would recommend going on Amazon and bn.com and reading the reviews.
>There is a lot you can learn from the PHP Manual but if you are truly a
>beginner you would benefit from a good PHP book.  O'reilly also has
>published a PHP book now as well.
>
>Jason
>
>Leif K-Brooks wrote:
>
>> I've seen some PHP books, and honestly, the only book I might buy
>> would be a printed copy of the PHP manual.  It's more in-depth than
>> most books.  Exactly what is your problem with it?
>>
>> Beauford.2002 wrote:
>>
>>> My comment was that they do not use manuals, they use books written
>>> by 3rd parties. Why? Because they are more detailed and go into more
>>> depth than the manual. Also keep in mind that different people have
>>> different learning curves - you may find the manual sufficient,
>>> however, I don't. Further note that schools only teach you the
>>> rudimentary base language - to really understand it is to look at
>>> other peoples code and write your own.
>>>
>>> B.
>>>
>>> - Original Message -
>>> From: Leif K-Brooks 
>>> To: Beauford.2002 
>>> Sent: Saturday, March 29, 2003 9:03 AM
>>> Subject: Re: [PHP] Is there a PHP for Dummies?
>>>
>>> Rule #1 im programming: what you learn in school is never right! :)
>>>
>>> Beauford.2002 wrote:
>>>
>>> I don't find manuals particularly usable and as such would rather
>>> have a good reference manual that speaks in plain english. I
>>> don't need to know the technical details - I need to know how it
>>> works, which I don't find manuals provide. I spent four years in
>>> college, and not once did they use the manual as the text of
>>> choice - simply because they are not meant to teach you how to
>>> use whatever it is your after.
>>>  B.
>>>
>>> - Original Message -
>>> From: Leif K-Brooks 
>>> To: Beauford.2002 
>>> Cc: PHP General 
>>> Sent: Friday, March 28, 2003 9:59 PM
>>> Subject: Re: [PHP] Is there a PHP for Dummies?
>>>
>>> I can find an answer to nearly any question I have about PHP
>>> in the manual.  Any examples of what you're unable to find?
>>>
>>> Beauford.2002 wrote:
>>>
 I found that after the fact, but my question was regarding
 tutorials, books,
 or other docs. This was just an example I used. In general I don't
 find the
 PHP manual very helpful - I tend to get more out of the users
 comments than
 the actual manual..

 - Original Message -
 From: "Leif K-Brooks" <[EMAIL PROTECTED]>
 To: "Beauford.2002" <[EMAIL PROTECTED]>
 Cc: <[EMAIL PROTECTED]>
 Sent: Friday, March 28, 2003 9:49 PM
 Subject: Re: [PHP] Is there a PHP for Dummies?




> After a quick search of the php manual, I came upon
> http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which
>

 says:


> Sets the magic_quotes state for GPC (Get/Post/Cookie) operations.
> When
> magic_quotes are on, all ' (single-quote), " (double quote), \
> (backslash) and NUL's are escaped with a backslash automatically.
>
> Seems to explain it pretty nicely.
>
> Beauford.2002 wrote:
>
>
>
>> No,  the name explains absolutely squat. What is a magic quote?
>> Sounds
>>
>
 like


>> something I smoked in the 60's. Maybe to you it makes sense as
>> you know
>>
>
 what


>> it does. To me it means absolutely nothing - nor does the PHP manual
>>
>
 explain


>> it.
>>
>> B.
>>
>>
>> - Original Message -
>> From: "Jennifer Goodie" <[EMAIL PROTECTED]>
>> To: "Beauford.2002" <[EMAIL PROTECTED]>; "PHP General"
>> <[EMAIL PROTECTED]>
>> Sent: Friday, March 28, 2003 5:07 PM
>> Subject: RE: [PHP] Is there a PHP for Dummies?
>>
>>
>>
>>
>>
>>
>>> That is a really, really, really poor example.  Tha name says it
>>> all.
>>>
>>
 It


>>> gets the magic quotes setting for gpc(get, post, cookie).  You can
>>>
>>
 figure


>>> out what most PHP functions do just by looking at their names,
>>> that's
>>> actual

[PHP] excel 2 csv 2 mysql

2003-03-31 Thread daniel
hi guys i am trying to work out how to dynamically be able to upload an excel 
file , export it to csv to be able to import into mysql , is there any 
examples out there ? fopen gave me binary code :|



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] excel 2 csv 2 mysql

2003-03-31 Thread daniel
http://www.ice.ru/~vitus/catdoc/ anyone seen this ? its pretty much wot i 
needed, havent used it yet though
>= Original Message From <[EMAIL PROTECTED]> =
>Yeah... you're going to have to use COM or something similar on a windows
>server to get effective access to the server.
>
>Another option is dynamically adding at as an odbc datasource and querying
>it. Again, this will only work on a windows server...
>
>It's all much easier if you can convince users to upload csv files.
>
>   - jon
>
>-
>jon roig
>senior manager, online production
>epilepsy foundation
>http://jonroig.com
>
>
>-Original Message-
>From: daniel [mailto:[EMAIL PROTECTED]
>Sent: Monday, March 31, 2003 7:48 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP] excel 2 csv 2 mysql
>
>
>hi guys i am trying to work out how to dynamically be able to upload an
>excel
>file , export it to csv to be able to import into mysql , is there any
>examples out there ? fopen gave me binary code :|
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] excel 2 csv 2 mysql

2003-03-31 Thread daniel
ok guys are you ready ,

/www_tools/apache/catdoc/bin/xls2csv test.xls > test2.csv

gave me this


"column1`","column2","column3"
"faffafs","fsafsa","fsafs"
"fssfa","fasfs","fasfs"
"fasaf","fasfs","asffaf"
"fafs","sfafsa","fasfas"
"sfafs","fssfa","fassfa"
"sfasfa","asfafs","fasfas"
"asffas","sfaaf","sfafsa"
"fssaf","asffsa","asffas"
"sfasfa","sfasaf","fasasf"

unfortunately its putting quotes in, have to strip them

>= Original Message From <[EMAIL PROTECTED]> =
>Yeah... you're going to have to use COM or something similar on a windows
>server to get effective access to the server.
>
>Another option is dynamically adding at as an odbc datasource and querying
>it. Again, this will only work on a windows server...
>
>It's all much easier if you can convince users to upload csv files.
>
>   - jon
>
>-
>jon roig
>senior manager, online production
>epilepsy foundation
>http://jonroig.com
>
>
>-Original Message-
>From: daniel [mailto:[EMAIL PROTECTED]
>Sent: Monday, March 31, 2003 7:48 PM
>To: [EMAIL PROTECTED]
>Subject: [PHP] excel 2 csv 2 mysql
>
>
>hi guys i am trying to work out how to dynamically be able to upload an
>excel
>file , export it to csv to be able to import into mysql , is there any
>examples out there ? fopen gave me binary code :|
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] excel 2 csv 2 mysql

2003-03-31 Thread daniel
ok it works now

/www_tools/apache/catdoc/bin/xls2csv -q 0 test.xls > test2.csv


column1`,column2,column3
faffafs,fsafsa,fsafs
fssfa,fasfs,fasfs
fasaf,fasfs,asffaf
fafs,sfafsa,fasfas
sfafs,fssfa,fassfa
sfasfa,asfafs,fasfas
asffas,sfaaf,sfafsa
fssaf,asffsa,asffas
sfasfa,sfasaf,fasasf

then i can load that into mysql using load data into :D, aparantly there are 
some bugs , gotta find them
>= Original Message From daniel <[EMAIL PROTECTED]> =
>ok guys are you ready ,
>
>/www_tools/apache/catdoc/bin/xls2csv test.xls > test2.csv
>
>gave me this
>
>
>"column1`","column2","column3"
>"faffafs","fsafsa","fsafs"
>"fssfa","fasfs","fasfs"
>"fasaf","fasfs","asffaf"
>"fafs","sfafsa","fasfas"
>"sfafs","fssfa","fassfa"
>"sfasfa","asfafs","fasfas"
>"asffas","sfaaf","sfafsa"
>"fssaf","asffsa","asffas"
>"sfasfa","sfasaf","fasasf"
>
>unfortunately its putting quotes in, have to strip them
>
>>= Original Message From <[EMAIL PROTECTED]> =
>>Yeah... you're going to have to use COM or something similar on a windows
>>server to get effective access to the server.
>>
>>Another option is dynamically adding at as an odbc datasource and querying
>>it. Again, this will only work on a windows server...
>>
>>It's all much easier if you can convince users to upload csv files.
>>
>>  - jon
>>
>>-
>>jon roig
>>senior manager, online production
>>epilepsy foundation
>>http://jonroig.com
>>
>>
>>-Original Message-
>>From: daniel [mailto:[EMAIL PROTECTED]
>>Sent: Monday, March 31, 2003 7:48 PM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP] excel 2 csv 2 mysql
>>
>>
>>hi guys i am trying to work out how to dynamically be able to upload an
>>excel
>>file , export it to csv to be able to import into mysql , is there any
>>examples out there ? fopen gave me binary code :|
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] excel 2 csv 2 mysql

2003-03-31 Thread daniel
ok i've built a class to acomplish this now

class Export_Excel {
var $command
function Export_Excel() {
$this->command = "/www_tools/apache/catdoc/bin/xls2csv";
}

function xls2csv($path,$xls_file,$short_name) {
$cmd = escapeshellcmd("$this->command -q 0 $path.$xls_file");
$cmd .= " > $path.$short_name.csv";
@exec($cmd,$stdout,$errocode);
unlink("$path.$xls_file");
if ($errorcode > 0) return $errocode;
}

}


and here is my db class function

function 
insert_file($filename,$table,$col_terminator,$line_terminator,$cols=false,$opt
ions=false,$remove_file=false) {
if ($options) $option = "OPTIONALLY ENCLOSED BY '\"' LINES TERMINATED 
BY 
'\n'";
$this->query("LOAD DATA INFILE '$filename' INTO TABLE $table FIELDS 
TERMINATED BY '$col_terminator' $option $cols");
if ($remove_files) unlink($filename);
}

its just a quicky, twiddling thumbs today i just had to find out how to do it 
:D

>= Original Message From daniel <[EMAIL PROTECTED]> =
>ok it works now
>
>/www_tools/apache/catdoc/bin/xls2csv -q 0 test.xls > test2.csv
>
>
>column1`,column2,column3
>faffafs,fsafsa,fsafs
>fssfa,fasfs,fasfs
>fasaf,fasfs,asffaf
>fafs,sfafsa,fasfas
>sfafs,fssfa,fassfa
>sfasfa,asfafs,fasfas
>asffas,sfaaf,sfafsa
>fssaf,asffsa,asffas
>sfasfa,sfasaf,fasasf
>
>then i can load that into mysql using load data into :D, aparantly there are
>some bugs , gotta find them
>>= Original Message From daniel <[EMAIL PROTECTED]> =
>>ok guys are you ready ,
>>
>>/www_tools/apache/catdoc/bin/xls2csv test.xls > test2.csv
>>
>>gave me this
>>
>>
>>"column1`","column2","column3"
>>"faffafs","fsafsa","fsafs"
>>"fssfa","fasfs","fasfs"
>>"fasaf","fasfs","asffaf"
>>"fafs","sfafsa","fasfas"
>>"sfafs","fssfa","fassfa"
>>"sfasfa","asfafs","fasfas"
>>"asffas","sfaaf","sfafsa"
>>"fssaf","asffsa","asffas"
>>"sfasfa","sfasaf","fasasf"
>>
>>unfortunately its putting quotes in, have to strip them
>>
>>>= Original Message From <[EMAIL PROTECTED]> =
>>>Yeah... you're going to have to use COM or something similar on a windows
>>>server to get effective access to the server.
>>>
>>>Another option is dynamically adding at as an odbc datasource and querying
>>>it. Again, this will only work on a windows server...
>>>
>>>It's all much easier if you can convince users to upload csv files.
>>>
>>> - jon
>>>
>>>-
>>>jon roig
>>>senior manager, online production
>>>epilepsy foundation
>>>http://jonroig.com
>>>
>>>
>>>-Original Message-
>>>From: daniel [mailto:[EMAIL PROTECTED]
>>>Sent: Monday, March 31, 2003 7:48 PM
>>>To: [EMAIL PROTECTED]
>>>Subject: [PHP] excel 2 csv 2 mysql
>>>
>>>
>>>hi guys i am trying to work out how to dynamically be able to upload an
>>>excel
>>>file , export it to csv to be able to import into mysql , is there any
>>>examples out there ? fopen gave me binary code :|
>>>
>>>
>>>
>>>--
>>>PHP General Mailing List (http://www.php.net/)
>>>To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
>>>
>>>--
>>>PHP General Mailing List (http://www.php.net/)
>>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] getimagesize

2003-04-01 Thread daniel
wow wots this



this is a first i never knew you could do that ?

$imagewidth = getimagesize($_FILES['image']);
= Original Message From "Sebastian" <[EMAIL PROTECTED]> =
>little problem with getimagesize function. I have a form upload and want the
>images resized only if greater than 1024, if greater than 1024 then i want
>it to resized, the problem is i do not know if getimagesize is getting the
>form data:
>
>
>
>
>
>
>
>
>// some if's ...
>
>$imagewidth = getimagesize($form_data);
>
>if($imagewidth[0] >= "1024") {
>$img_width  = "1024";
>} else {
>$img_width  = "*";
>}
>
>// rest of the script to resize...
>
>so an i doing it the proper way of getting $form_data?
>
>
>cheers,
>- Sebastian



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] getimagesize

2003-04-01 Thread daniel
well does this not work ? $imagewidth = getimagesize($_FILES['image']);

and i already have mimetypes checking in my modded pear uploader class, so it 
can send error handling bak

>= Original Message From "Sebastian" <[EMAIL PROTECTED]> =
>What? the ACCEPT? yes it can be done :)
>
>http://www.w3.org/TR/REC-html32.html#rfc1867
>
>cheers,
>- Sebastian
>
>- Original Message -
>From: "daniel" <[EMAIL PROTECTED]>
>
>
>| wow wots this
>|
>| 
>|
>| this is a first i never knew you could do that ?
>|
>| $imagewidth = getimagesize($_FILES['image']);
>| = Original Message From "Sebastian" <[EMAIL PROTECTED]> =
>| >little problem with getimagesize function. I have a form upload and want
>the
>| >images resized only if greater than 1024, if greater than 1024 then i
>want
>| >it to resized, the problem is i do not know if getimagesize is getting
>the
>| >form data:
>| >
>| >
>| >name="sendform">
>| >
>| >
>| >
>| >
>| >
>| >// some if's ...
>| >
>| >$imagewidth = getimagesize($form_data);
>| >
>| >if($imagewidth[0] >= "1024") {
>| >$img_width  = "1024";
>| >} else {
>| >$img_width  = "*";
>| >}
>| >
>| >// rest of the script to resize...
>| >
>| >so an i doing it the proper way of getting $form_data?
>| >
>| >
>| >cheers,
>| >- Sebastian
>|
>|
>|
>| --
>| PHP General Mailing List (http://www.php.net/)
>| To unsubscribe, visit: http://www.php.net/unsub.php
>|



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Making it so the .php isn't needed

2003-04-02 Thread daniel
this is funny , you could have any extension u like say , i'm a synth freak , 
i luv the word "303" so on some of my musik pages i have pages called 
something.303

so

AddType application/x-httpd-php .303 :D
>= Original Message From "Sebastian" <[EMAIL PROTECTED]> =
>Hello,
>
>read this:
>http://php.benscom.com/manual/en/security.hiding.php
>
>:)
>
>cheers,
>- Sebastian
>
>- Original Message -
>From: "Teren Sapp" <[EMAIL PROTECTED]>
>
>
>Hi, I had it setup on my server before i reloaded it, but what i need to
>have happen is so that when i'm passing variables to a php file, I don't
>have to include the .php in the link...so i can have
>
>http://www.my-domain.com/page1?var1=3&var2=4
>instead of
>http://www.my-domain.com/page1.php?var1=3&var2=4
>
>Anybody know how i can make this work? THanks
>
>Teren
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php 3 to 4.3

2003-04-03 Thread daniel
hey thats harsh , use $_POST['form_name'] , i am currently having to work with 
php3 even though i code for php4+ usually i hate 3 with a passion so limited.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] php 3 to 4.3

2003-04-03 Thread daniel
if u need it to work for both versions use $HTTP_POST_VARS instead



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] chill out

2003-04-03 Thread daniel
lol , hey boyz and galz lets be professional now, we cant show the windoze ppl 
we are such a loose bunch now can we ? heh :D

>= Original Message From Kevin Waterson <[EMAIL PROTECTED]> =
>This one time, at band camp,
><[EMAIL PROTECTED]> wrote:
>
>> We subscribe to a few email lists on various languages.
>>
>> This list would have to be the worst for anyone learning
>> - the amount of sarcasm and flaming that goes on is huge.
>
>fu2
>
>--
> __
>(_ \
> _) )           
>|  /  / _  ) / _  | / ___) / _  )
>| |  ( (/ / ( ( | |( (___ ( (/ /
>|_|   \) \_||_| \) \)
>Kevin Waterson
>Port Macquarie, Australia
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Right Click

2003-04-05 Thread daniel
man chill out , message me off list and i can give you a jscript example , as 
the description says , "hypertext processor", i dont think jscript even html 
is OT !
>= Original Message From Leif K-Brooks <[EMAIL PROTECTED]> =
>There NEEDS to be a manual page for this!  PHP is SERVER-SIDE!  That
>means that once the page loads (actually, a little before that), PHP is
>done.  IT DOES NOT KEEP RUNNING!  IT RUNS ON THE SERVER'S MACHINE, NOT
>THE CLIENT!  RTFA!
>
>Shantenese Williams wrote:
>
>>Does anyone know if there is a function in PHP that allows you to
>>right-click on an item, and from there a drop down menu pops
>>up and you can go to another screen, preserving that value that was
>>clicked on?
>>
>>
>>
>>If there is no function for right-clicking, then is there a way that
>>when you are selecting something, not on a form, but in a tree,
>>that you can get the value of what you clicked on into the PHP file?
>>
>>Thanks
>>
>>
>>
>>
>
>--
>The above message is encrypted with double rot13 encoding.  Any unauthorized 
attempt to decrypt it will be prosecuted to the full extent of the law.
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



  1   2   3   4   5   6   7   8   9   10   >