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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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 {
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
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
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
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
>
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.
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
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
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
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.
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
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
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
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
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()
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)
> {
>
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
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
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
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
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
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
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
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
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
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
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
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
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
- 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
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(\
[EMAIL PROTECTED]
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
into variables
or arrays?
Thanks
Teo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
54 matches
Mail list logo