Re: [PHP] Creating a PDF document from an HTML Page

2001-06-26 Thread teo
Hi Boaz! On Tue, 26 Jun 2001, Boaz Yahav wrote: > Hi > > I'm trying to create a receipt in a PDF format. I have the receipt as HTML. > Is there any class or module in PHP or other language that can read an > HTML file and output a PDF file? > if you intend to do it offline, try html2ps && ps2pd

Re: [PHP] MIME type

2001-06-27 Thread teo
Hi Jon! On Sat, 26 May 2001, Jon Yaggie wrote: > is there a function to get the mime of a given file? if so what? > unless you upload it, nope you may try : using `magic' -- really, that one installed by Apache for mod_mime_magic.c parsing 'file' output -- teodor -- PHP General Mai

Re: [PHP] looking for a class that handles cookies and sessions

2001-06-27 Thread teo
Hi PeterOblivion! On Tue, 26 Jun 2001, [EMAIL PROTECTED] wrote: > I need a class that can quickly help me set cookies and sessions, and check > up against them > > anyone have an idea where i can get one like this? > yes http://www.webdev.ro/products/phpx/phpx.tgz luckily enough, Daniel ([EM

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-06-28 Thread teo
Hi adam! On Wed, 27 Jun 2001, adam (dahamsta) wrote: > [Please copy replies off-list.] > > I want to use PHP4 sessions for authentication, but I'm having difficulty > understanding how to get around users spoofing, stealing or linking sessions. > Here's an example: Alice sends Bob a link from

Re: [PHP] how to determine size of gz-handler output

2001-06-30 Thread teo
Hi Sebastian! On Fri, 29 Jun 2001, Sebastian Stadtlich wrote: > Hi all > > I'd like to know how small my content gets when i use > ob_gzhandler. > so far i tried > $cont=ob_get_contents(); > $length=strlen($cont); try using $length = ob_get_length(); instead. > echo "\n"; > > but it outputs

Re: [PHP] Question on Commercial Offerings

2001-06-30 Thread teo
Hi Thomas! On Fri, 29 Jun 2001, Thomas Deliduka wrote: > I don't know quite how to word that subject but here's what we want to do. > > We have a shopping cart softwre (like a million others out there) which > based in windows NT with a COM+ object to guard the source code. > > We mainly offer

Re: [PHP] Convert

2001-06-30 Thread teo
Hi Roman! On Fri, 29 Jun 2001, Roman wrote: > Have you some program for convert Microsoft Access Database (*.mdb) to the > MySQL database ? > Search on MySQL site : dbf2mysql or mssql2mysql on windows you can move your data from Access to a MS-SQL, or to export it as DBF. -- teodor -- PHP Gen

Re: [PHP] Problems upgrading APACHE/PHP/Mysql on remote server

2001-06-30 Thread teo
Hi M! On Thu, 28 Jun 2001, M wrote: > Complete msg subject is "what can developer do when server provider > upgrades any of Apache/PHP/Mysql softwares to newer version and this > causes crash on already working transactions?" > I am posting this also into MySql discussion list. MySQL transation

Re: [PHP] Pricing Advice Needed

2001-06-30 Thread teo
Hi Brad! On Sat, 30 Jun 2001, Brad Hubbard wrote: > On Fri, 29 Jun 2001 01:42, Thomas Deliduka wrote: > > > I think in general it's about $100-$150/hour for programming/database work. > > Yankee dollars? > > Gawwd... I AM being exploited due to geographic disadvantage! > to make you feel

Re: [PHP] Urgent Help: Problem with apache+php

2001-06-30 Thread teo
Hi Imran! On Sat, 30 Jun 2001, Imran Hussain wrote: > hi > > Iam running Freebsd4.3 i hv installed apache-1.3.20,php4.0.5 and > postgres-6.5.3. there was no problem with the configuration of all > the above packages, My problem is when i start apache it gives me this error. > > hub#/usr/

Re: [PHP] apache+php chroot

2001-07-01 Thread teo
Hi Ryan! On Sun, 01 Jul 2001, Ryan wrote: > I have chrooted apache+php but am having simple problems like not being > able to exec uptime. > uptime has been moved to /usr/serv/apache/usr/bin/uptime.. > Well anyways heres my lil php line im tring to get running > > > I get no errors from php, ju

Re: [PHP] Convert

2001-07-02 Thread teo
Hi Roman! On Mon, 02 Jul 2001, Roman wrote: > Have you some program for convert Microsoft Access Database (*.mdb) to the > MySQL database ? > have you tried looking on mysql site? you'll find there dbf2mysql and mssql2mysql (this one I used w/ no problems) -- teodor -- PHP General Mailing Lis

Re: [PHP] sessions and cache

2001-07-02 Thread teo
Hi Adrian! On Mon, 02 Jul 2001, Adrian Ciutureanu wrote: > Hi, > > I have a problem: if I use session_start(), the page will not cache. Is > that normal? > yes, check "session.cache_limiter session.cache_expire" in your php.ini -- teodor -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] qmail-inject: fatal: read error

2001-07-03 Thread teo
Hi Warren! On Tue, 03 Jul 2001, Warren Brundage wrote: > When I try to use PHP to send mail through qmail I get a "qmail-inject: > fatal: read error". I have read through the list and I have seen (and > tried) the following solutions: > > 1. Put /var/qmail/bin/qmail-inject into php.ini instead

Re: [PHP] optimal code

2001-07-05 Thread teo
Hi Richard! On Thu, 05 Jul 2001, Richard Heyes wrote: > > If you are talking about speed, opening a file is expensive > > because it is a kernel call, a directory search and all that. > > Your "some big code" in-line will beat it every time... > > Not in my experience. I have a file which define

Re: [PHP] Must Have Cookies. PHP/JavaScript

2001-07-05 Thread teo
Hi Jeff! On Thu, 05 Jul 2001, Jeff Gannaway wrote: > OK, I'm working on a site that absolutely must use a cookie containing a > session identifier. > > I know how to set a cookie through PHP, but I need to do something else too. > > The same page MUST identifier whether the cookie was accepted

[PHP] (X|GNU)Emacs func-menu mode?

2001-07-05 Thread teo
hi, sorry for the slightly OT question. is there any PHP developer actively using Emacs and by chance :) wrote a func-menu mode for PHP? Or maybe one for the speedbar to be able to browse PHP classes and functions as I am able for C++ code; anything? else it looks like sooner or later I'll add

Re: [PHP] Question about Sessions

2001-07-05 Thread teo
Hi Jay! On Thu, 05 Jul 2001, Jay Paulson wrote: > Hello everyone-- > > I've got a general question about cookies and sessions. I was wondering if > this is how php handles sessions because this is what I want. Is it > possible to set up php so that the session id is the only thing that is set

Re: [PHP] Redirect

2001-07-06 Thread teo
Hi Victor! On Fri, 06 Jul 2001, Victor Spång Arthursson wrote: > Hi! > > Still new on PHP, converting from vb$cript, I wonder how I do a > redirect... > > In vbscript: > > <% > response.redirect("page.extension") > %> > > In PHP??? $response->redirect("page"); where: class Response {

Re: [PHP] iterating over /etc/group

2001-07-05 Thread teo
Hi Arcady! On Wed, 04 Jul 2001, Arcady Genkin wrote: > [EMAIL PROTECTED] writes: > > > On Wed, 04 Jul 2001, Arcady Genkin wrote: > > > > > Does PHP provide no high-level means of iterating over the UNIX > > > /etc/group file, a la getgrent() C function? The task is to figure > > > out all grou

Re: [PHP] How to apply something to every variable

2001-07-07 Thread teo
Hi Chris! On Fri, 06 Jul 2001, Chris Anderson wrote: > I was playing around trying to find a way to addslashes() to all my > variables, and I came up with this snippet. Hope it helps someone > why don't you turn on magic_quotes_gpc then? > $keys = array_keys($HTTP_POST_VARS); > $post_size = s

Re: [PHP] iterating over /etc/group

2001-07-04 Thread teo
Hi Arcady! On Wed, 04 Jul 2001, Arcady Genkin wrote: > Does PHP provide no high-level means of iterating over the UNIX > /etc/group file, a la getgrent() C function? The task is to figure > out all groups that a user is in on a system with PHP in _safe mode_ > (hence, cannot read from /etc/group

Re: [PHP] registering objects as session variables

2001-07-08 Thread teo
Hi mike! On Sat, 07 Jul 2001, mike cullerton wrote: > hey folks, > >i'm trying to register an object as a session variable and feel like i'm > chasing my tail. i either get the define class before starting session > problem or the can't send header error. as soon as i fix one, i cause the >

Re: [PHP] High Ascii chars

2001-07-08 Thread teo
Hi rm! On Sat, 07 Jul 2001, rm wrote: > > php3.x > > We have a large number of people submitting a large > number of docs...I'm having a problem with some docs > coming through with high ascii characters in the text, > apparently the dbm database we're using chokes on some > high ascii chars.

Re: [PHP] passing variables from php to bash script..

2001-07-08 Thread teo
Hi Mark! On Sun, 08 Jul 2001, Mark Lo wrote: > Hi, > > I would like to know. Is it possible to use php to exec a bash script > with variable passing from php to bash. If so how to do this. > either set them in the environment or pass them as arguments. but before that you man want to ty

Re: [PHP] simple question

2001-07-08 Thread teo
Hi ReDucTor! On Mon, 09 Jul 2001, ReDucTor wrote: > is there a function to turn all chars that are not alphanumric to show > \xhh but hh being the hex version of it :)? you mean bin2hex() under String Function section? :) -- teodor -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Global Variables -- why not have them?

2001-07-08 Thread teo
Hi Inércia! On Sun, 08 Jul 2001, Inércia Sensorial wrote: > > You must learn it's way if you want to be effective. Also take a > > look at design features proposed for PHP5. Looks promising and more C++ > like, > > so better compare it with the later one. > > I went to php.net and searched for

Re: [PHP] url without a query string?

2001-07-09 Thread teo
Hi Jon! On Mon, 09 Jul 2001, Jon Yaggie wrote: > the problem > > i have a page that uses a query string to determine content. ie > index.php?id=2 in this page there is a link to a memebership area that > uses a remote service. this service requires that thee be the exact > same refering url.

Re: [PHP] Hiding password in a class file (object-oriented programming)?

2001-07-10 Thread teo
Hi Thomas! On Mon, 09 Jul 2001, Thomas David Kehoe wrote: > How do I put my password into an external file? > > I have dozens of webpages with the line > > mysql_connect (localhost, username, password); > > What if I have to change my password? Rather then change dozens of scripts, > I wa

Re: [PHP] how to hide dbconnect file if its in published directory?

2001-07-10 Thread teo
Hi Thomas! On Tue, 10 Jul 2001, Thomas David Kehoe wrote: > > include ('http://www.friendshipcenter.com/Objects/swordfish.inc'); > echo "Your password is ", PASSWORD; > > it works, i.e., prints "Your password is swordfish." > > When I use the following lines > > include ('http://ww

Re: [PHP] Re: Export to Excel

2001-07-14 Thread teo
Hi Marius! On Fri, 13 Jul 2001, Marius Andreiana wrote: > How do you deal with numeric fields which start with 0 ? > Excel takes the 0s out. > [wild-guess] erm, enclose them in `quotes' ? -- teodor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP] complex objects and sessions

2001-07-14 Thread teo
Hi David! On Sat, 14 Jul 2001, David Brumley wrote: > Hi, > Was the complex object issue ever fixed in PHP 4? works just fine for me (since 4.0.4pl1) > > I'm running 4.0.6 with imap, and have built a class IMAPSession > defined in lib/sessionobject.inc.php. Here is a script: > > $config = ar

Re: [PHP] OOP Problems

2001-07-14 Thread teo
Hi Andrew! On Sat, 14 Jul 2001, Andrew Kirilenko wrote: > Hello! > > I have following problem: > > $container = new ccontainer(); > $container->init(); > $container->test1->foo(); > $container->test2->foo(); > $container->test2->owner->test1->foo(); [*] > $container->test1->owner->test2->foo()

Re: [PHP] Re: OOP Problems

2001-07-14 Thread teo
Hi u007! On Sun, 15 Jul 2001, u007 wrote: > hie.. > it's simply u did not declare ur class variable... > well, actually you don't have to declare them, you can add members as you go (as opposed to C++ for example) > class ctest > { > var $owner; > > function ctest(&$owner) > { >

Re: [PHP] Re: Select IN array?

2001-07-15 Thread teo
by > the first parameter... huh? teo@teo:/x > mysql test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 155 to server versio

Re: [PHP] Variable name declarations?

2001-07-15 Thread teo
Hi Kent! On Sat, 14 Jul 2001, Kent Sandvik wrote: > > > function sum_array( $input_array ) > > { > > var $index; > > var $sum = 0; > > > > for( $index = 0; $index < count( $input_array ); $index++ ) > > $sum += $input_array[ $index ]; > > > > return $sum; > > } > > The a

Re: [PHP] but mysql? (was: postgres and php)

2001-07-15 Thread teo
Hi Nuno! On Sat, 14 Jul 2001, Nuno Silva wrote: > > hi there! > > the operators you want are ~ and ~* and !~ and !~*. > select name from table where name ~* 'test'; any idea of something like this in MySQL? I was used to pg and I have no idea of something equivalent in My. > > to see all oper

Re: [PHP] problem

2001-07-15 Thread teo
Hi zerosumzero! On Sun, 15 Jul 1979, [EMAIL PROTECTED] wrote: > I have a form with a bunch of text fields in it. The name of the fields is > the rowid of items in my data base: > > > > > > > > > > > > Now, I want to change all of the items in the DB where a rowid was submited. > > Is

Re: [PHP] option value

2001-07-16 Thread teo
Hi Michael! On Sun, 15 Jul 2001, Michael Thomas wrote: > > how can i populate an dropdown box useing php & postgresql. > Thanks in advance > if you tell me how you tried by yourself first, I'll help you further ;) it's trivial with Javascript, but if you don't want to use that it's still doabl

Re: [PHP] note to PHP developers

2001-07-17 Thread teo
Hi Michael! On Tue, 17 Jul 2001, Michael Geier, CDM Systems Admin wrote: > I have noticed on the list over the past two months, an increasing number of > problems with the mail() function. > > Mostly, people having this problem don't have sendmail installed. It would > seem that PHP's mail() fu

Re: [PHP] How is the management of memory by PHP?

2001-07-18 Thread teo
Hi Luiz! On Tue, 17 Jul 2001, Luiz Fernando (Tuca) wrote: > Somebody know how it is the management of memory by PHP? > yes, it's quite well done :) what exactly are you interested in? -- teodor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] Hack on Server.

2001-07-19 Thread teo
Hi Jean-Francois! On Thu, 19 Jul 2001, Jean-Francois Jauvin wrote: > Hi, my server with php on it has been "hacked" or something., what > appened is every PHP pages displayed a certain message like "Hacked by blah > blah blah...". > None of the HTML pages were affected, only the PHP ones

Re: [PHP] Using mod_rewrite with PHP

2001-07-20 Thread teo
Hi Miri! On Thu, 19 Jul 2001, Miri wrote: > I'm using this no problem on a server running apache, but we have one > client who insists on IIS and I have not been able to get it to work. Has > anyone been able to get this to work with IIS? If so, any words of wisdom? :) > I am using it w/ success

Re: [PHP] (another, not entirely)sessions question

2001-07-20 Thread teo
Hi Conor! On Fri, 20 Jul 2001, Conor McTernan wrote: > Hey there, > > I'm currently writing a web app using php. I was just looking for some > advice on one aspect. On this site, users will be able to log in and post > messages, or articles, or replies etc, you get the idea. > > Anyway, I am

Re: [PHP] Re: (another, not entirely)sessions question

2001-07-20 Thread teo
Hi Don! On Fri, 20 Jul 2001, Don Read wrote: > > On 20-Jul-2001 Er Galv?o Abbott wrote: > > Just a sugestion here, that may sound strange, but I'd do it like > > this: > > > > Why don't you keep a simle text-counter file for each user? Why this > > HAVE to go trough SQL? > > > > Just creat a t

[PHP] PHP Introduction cource @ IBM

2001-08-27 Thread teo
Sorry for the length of the link: "Using PHP with Web databases" http://www-105.ibm.com/developerworks/education.nsf/web-onlinecourse-bytitle/B363B3AB5700BDE486256AAF003AA401?OpenDocument -- teodor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP] How can I redirect to another php page

2003-01-08 Thread Teo Petralia
Hi All! I would like to redirect the user to another php page accordingly to his/her chosen options, example: if ($Color == "Yellow") { go to page else if ($Color == "Green") go to page } Does anyone knows how to achieve the goal?? Thanks Teo -- PHP Genera

Re: [PHP] Gettnig PHP code out of a DB?

2003-06-12 Thread Ignatius Teo
- Original Message - From: "Ben Houlton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 2:49 PM Subject: [PHP] Gettnig PHP code out of a DB? Er...you need to eval() it to get it to parse/run. > Is there a way to get PHP script/code out of a DB? Becasue, when I e

[PHP] RE: [phplib] Call Time Pass By Reference PROBLEM.

2001-01-15 Thread Ignatius Teo
Hi, I got around this by changing the following two functions below. Basically you can remove the call by reference construct &$str by resetting $str to its returned value: function serialize($prefix, $str) { static $t,$l,$k; ## Determine the type of $$prefix eval("\$t = gettype(\

[PHP] [EMAIL PROTECTED]

2007-09-13 Thread Teo Mattiozzi
[EMAIL PROTECTED]

[PHP] RE: [PHP-WIN] Bug in mktime-function ?

2001-02-15 Thread Ignatius Teo
u using? Ignatius -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: Friday, 16 February 2001 02:16 To: 'Ignatius Teo' Cc: Php (E-mail) Subject: RE: [PHP-WIN] Bug in mktime-function ? > Therefore any date on or before 1 Jan 197

[PHP] Working with files

2004-04-06 Thread Teo Mattiozzi Petralia
into variables or arrays? Thanks Teo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread Singapore Citizen Mr. Teo En Ming (Zhang Enming)
16 May 2011 Monday 7:28 P.M. Singapore Time For Immediate Release SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming) would like to report first hand account of mind intrusion and mind reading. I have been hearing voices for quite some time now but I have not been able to

[PHP] An Invitation to Neuroscientists and Physicists: Singapore Citizen Mr. Teo En Ming (Zhang Enming) Reports First Hand Account of Mind Intrusion and Mind Reading

2011-05-17 Thread Singapore Citizen Mr. Teo En Ming (Zhang Enming)
16 May 2011 Monday 7:28 P.M. Singapore Time For Immediate Release SINGAPORE, SINGAPORE - Singapore Citizen Mr. Teo En Ming (Zhang Enming) would like to report first hand account of mind intrusion and mind reading. I have been hearing voices for quite some time now but I have not been able to