[PHP] Re: [PEAR] PHP 4.4.0 references problems when using PEAR::SOAP

2005-10-07 Thread Justin Patrin
P package. Instead of: return $serializer-> make it: $ret = $serializer->... return $ret; This notice was added because PHP has memory corruption issues when doing this particular thing (it always has). -- Justin Patrin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PEAR] $HTTP_POST_VARS

2004-10-07 Thread Justin Patrin
ript run if your script changes them. Also, you should be using the $_POST superglobal unstead of $HTTP_POST_VARS. Please try to rephrase your question. -- paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fwd: [SPAM] Plan Ahead. Shop For Life Insuranc

2004-09-28 Thread Justin Patrin
l rights reserved. !DSPAM:4158b1bd97816288916596! -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fatal error: Call to undefined function

2004-08-28 Thread Justin Patrin
t; guestbook.php code snippet: > // Connect to DB > $li = mysql_connect($dbHost, $dbUser, $dbPass) or die("Could not connect"); > mysql_select_db($dbDatabase, $li) or die ("could not select DB"); > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > !DSPAM:4130ba8d143217233713689! > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable variables

2004-08-28 Thread Justin Patrin
r foreach($variableNames as $var) { $_REQUEST[$var] } -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dynamic HTML Creation

2004-08-27 Thread Justin Patrin
; NewRow.appendChild NewCell > TableBody.appendChild NewRow > End Sub > > > > Dynamic Table Demo > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > !DSPAM:412fc78a528

Re: [PHP] changed number_format function

2004-08-27 Thread Justin Patrin
On Fri, 27 Aug 2004 18:48:16 +0200, Marek Kilimajer <[EMAIL PROTECTED]> wrote: > Justin Patrin wrote: > > number_format($number, 2); > > > > Does not work. Desired results: > > >> > >>1000 should return 1,000 > >>1000.5 should re

Re: [PHP] changed number_format function

2004-08-27 Thread Justin Patrin
decimal places to the number. > > For example, > > 1000 should return 1,000 > 1000.5 should return 1,000.5 > 1000.25 should return 1,000.25 > so on. > > I am looking at sprintf now. > > Thanks and Best regards, > > Ma SivaKumar > -- DB_DataObject_For

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-26 Thread Justin Patrin
to a "=", like > >the line above, and see if that doesn't help. > > > >-- > >michal migurski- contact info and pgp key: > >sf/cahttp://mike.teczno.com/contact.html > > > > !DSPAM:412e071553131102431894! > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem using fread with https

2004-08-26 Thread Justin Patrin
o > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for help with Forms and Mailing them

2004-08-25 Thread Justin Patrin
http:://www.php.net/mail -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I find out if a string will fit in an area of an image?

2004-08-24 Thread Justin Patrin
bject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] delimiter question?

2004-08-24 Thread Justin Patrin
o.php script, it will > not run. > > Thank You > Steve > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-24 Thread Justin Patrin
ahold of printed statements > > that show the billing address. Any idea how to combat THAT? They are > > using fake IP addresses now so I can't keep up by blocking IP's. > > > > Your clever ideas appreciated. > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] quick globalisation?

2004-08-24 Thread Justin Patrin
akeGlobal($a,$b); > > [/snip] > > > > According to http://us3.php.net/language.variables.scope you could do > > something like > > > > global $a, $b, $c, ...; > > --- > Justin French > http://indent.com.au > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [OFF] - Fraudulent web orders - any ideas?

2004-08-23 Thread Justin Patrin
www.pnicorp.com. Go to the link below and click "Continue Checkout". http://www.pnicorp.com/pniCart/?addItem=60 -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Class Con- and Destructor Inheritance

2004-08-22 Thread Justin Patrin
gt; somewhere? > No, this is not a bug. This means that if you define a new constructor / destructor, the parent class's won't be called unless you put it in the new ones. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: replace value of array by key of array in string variable with pre

2004-08-21 Thread Justin Patrin
tion and may not work (is not tested). > > > > Yingyos > > Why preg_replace? > > Just do extract($message); then you have vars from the keys: > > $name ='My Computer'; > and > $version = '1.0'; > > Then those vars are used in the $strValue var. > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linkpoint API question

2004-08-20 Thread Justin Patrin
now about Linkpoint, but with Verisign, this would be: "Authorization" for the initial check "Delayed Capture" to actually charge the card "Void" to cancel the Authorization -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataO

Re: [PHP] [OFF] Double charges to credit cards

2004-08-20 Thread Justin Patrin
an amount, it puts a hold on the amount on the credit card. When you want to charge, you have to do a "Capture" of the "Authorization". If you instead do a "Sale", the authorization will show up as a block on the credit card. It *should* go away after 30 or so days. -

Re: [PHP] WAHT is my error???

2004-08-20 Thread Justin Patrin
selected>$text\n"; >} >$return .= "\n"; >return $return; > } > You really need to go back and run through some PHP tutorials, it seems you don't really understand the language. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP with CVS...

2004-08-20 Thread Justin Patrin
ng fairly complicated as we have lots of different secionts and applications, but for a simple thing, you could make it a shell alias if you wanted to. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Pa

Re: Re[2]: [PHP] Nonstandard SMTP line terminator

2004-08-19 Thread Justin Patrin
gt; Otherwise, you can look into a different mailing system. > JP> http://pear.php.net/package/Mail > JP> http://pear.php.net/package/Mail_mime > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Nonstandard SMTP line terminator

2004-08-19 Thread Justin Patrin
il http://pear.php.net/package/Mail_mime -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/PearDB works on commandline but not via http....

2004-08-19 Thread Justin Patrin
On Thu, 19 Aug 2004 08:44:39 -0700, pw <[EMAIL PROTECTED]> wrote: > > > Justin Patrin wrote: > > > > > > Did you try: > > if(PEAR::isError($db)) { > > echo $db->getMessage().' '.$db->getUserInfo(); > > } > > > > It&

Re: [PHP] PHP/PearDB works on commandline but not via http....

2004-08-18 Thread Justin Patrin
he module isn't in the PHP that apache is using 2) the postgres module isn't loaded in the PHP that apache is using 3) the postgres module in the PHP that apache is using is connecting via a socket instead of a port (or vice-versa) -- DB_DataObject_FormBuilder - The database at your fing

Re: [PHP] PHP/PearDB works on commandline but not via http....

2004-08-18 Thread Justin Patrin
The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP HTML text editor issues...

2004-08-18 Thread Justin Patrin
lashes() to the string before writing to disk > Don't you mean magic_quotes_runtime? -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OO Theory Question

2004-08-18 Thread Justin Patrin
> each page. > > > > > > Thanks for the idea - any others? > > > > > > > > > > Just store the instance of the class in the session. > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[no subject]

2004-08-18 Thread Justin Patrin
e .htaccess is read at the *beginning* of a request only. --=20 DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pocket php

2004-08-17 Thread Justin Patrin
there's an Apache/PHP build for Pocket PC? I can tell you for sure that it runs on my Sharp Zaurus. ;-) -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www

Re: [PHP] OO Theory Question

2004-08-17 Thread Justin Patrin
n the session. if($loginSuccessful) { $_SESSION['authObj'] = new AuthObj($loginUsername); or $_SESSION['authObj'] =& $existingAuthObj; } -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Pat

Re: [PHP] Inline diff coded in PHP

2004-08-17 Thread Justin Patrin
ke that. It does line changes, but also highlights the changes within the line. Sorry, I know of no in-line PHP diff engine. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP templates

2004-08-17 Thread Justin Patrin
> On 15/08/2004, at 7:02 AM, Octavian Rasnita wrote: > > > > > Hi all, > > > > > > I have seen that there are many templating systems for PHP. Which is > > > the > > > most used and the best you have found? > > > Can you recommend me a free and good templating system? > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] code

2004-08-15 Thread Justin Patrin
en the recursion is not working for more > > > than 1 level. > > > I tested it in windows server. > > > Expecting your help, > > > Expecting your code... > > > Have you looked at the opendir manual page to see if there are any > > examples, there? > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What happend to _SERVER?

2004-08-14 Thread Justin Patrin
Law can go wrong, it will. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > !DSPAM:411e9948260948544259725! > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] auto include?

2004-08-13 Thread Justin Patrin
e at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing Forms???

2004-08-13 Thread Justin Patrin
ou can then use somehting like HTTP_Client to both get the REFERER right and parse the HTML to get the hidden field you need. There is no sure-fire way to check for non-humans. You can use CAPTCHA, but there are programs to break those, too. ;-) CAPTCHAs are actually your best bet. -- DB_DataObjec

Re: [PHP] Ignoring carriage returns from data field

2004-08-13 Thread Justin Patrin
The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Kerberos authentication

2004-08-13 Thread Justin Patrin
server. Now, we use LDAP, which runs on the same domain server. Is it possible to get LDAP access to that server? (I actually know nothing about Kerberos). > > --Matthew > http://www.quabbo.com > > > Quoting Justin Patrin <[EMAIL PROTECTED]>: > > > On T

Re: [PHP] PHP in a Masters of Computer Science Program

2004-08-13 Thread Justin Patrin
his. Not only is PHP relatively new (compared to, say, C or C++), it's also just not great for teaching many programming concepts. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General M

Re: [PHP] Kerberos authentication

2004-08-13 Thread Justin Patrin
k5Ml5vFscHp8AoNg1 > Hsto+UlR9bK0tbrP+X1+M9Ga > =B5p0 > -END PGP SIGNATURE- > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] checking for upper case letter on string

2004-08-12 Thread Justin Patrin
base at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page Referer question

2004-08-12 Thread Justin Patrin
that 99.99% of the people who surf the net do not modify this so > the exception is very minimal. > Except for those with a firewall that blocks this -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page Referer question

2004-08-12 Thread Justin Patrin
red URL. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Justin Patrin
eally > >would > >like to avoid doing that so I don't affect my Red Hat support > >agreements. > >[/snip] > > > >have you done phpinfo() to see if it really compiled? > -- DB_DataObject_FormBuilder - The database at your fingertips http://p

Re: [PHP] str_split()

2004-08-12 Thread Justin Patrin
ot;; > > > echo "$parsed[0]-$parsed[1]-$parsed[2]$parsed[3]"; > > > ?> > > > > > > > > > > What version of php is your webserver running? > > > > -- > > John C. Nichel > > ÜberGeek > > KegWorks.com > > 716.856.9675 > > [EMAIL PROTECTED] > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with mysql_fetch_array

2004-08-12 Thread Justin Patrin
. This loop *is* what you want. Tell us what you're trying to do and we'll try to help. > thanks, > deepak > > > > > Justin Patrin wrote: > > >On Wed, 11 Aug 2004 17:13:49 -0400, Deepak Dhake > ><[EMAIL PROTECTED]> wrote: > > > &g

Re: [PHP] 1.4 second lag before page loads

2004-08-12 Thread Justin Patrin
kind of queries are you running? How much data is there? > The timestamp shows as: > > 21:06:10:215270 - when it hits the page > 21:06:11:646549 - when the page starts loading > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataOb

Re: [PHP] Escaping quotes

2004-08-11 Thread Justin Patrin
aped before with mysql_escape_string() and > probably trimmed as well. The question was about mssql, not mysql. using str_replace("'", "''", $str) should work. > > $fields = array('id','name','age'); > $values = array(1

Re: [PHP] PHP/MySQL based webmail?

2004-08-11 Thread Justin Patrin
with 1GB RAM? Or > > some 2GHz i86 box > > with 1GB running FreeBSD? If not, how are you folks > > worrying the > > scalability issue? > > > > > > While this isn't specifically a PHP question, I > > think scalability of > > PHP applications is germane to the list. > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > __ > Do you Yahoo!? > Yahoo! Mail - Helps protect you from nasty viruses. > http://promotions.yahoo.com/new_mail > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping quotes

2004-08-11 Thread Justin Patrin
} and here's how they quote values: function quoteSmart($in) { if (is_int($in) || is_double($in)) { return $in; } elseif (is_bool($in)) { return $in ? 1 : 0; } elseif (is_null($in)) { return 'NULL'; } else {

Re: [PHP] RE: MySQL & PHP Examples & Training Providers Required

2004-08-11 Thread Justin Patrin
know. > > > > My other question is that I am looking for training in the > > UK, preferably in the North. I have no idea about > > accreditation or certification requirements and wondered if > > anyone could provide any recommendations...? > > > > Thanks for your time guys. > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] scan a text string to pick up certain words

2004-08-11 Thread Justin Patrin
print_r($matches[1]); -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] learning to right objects

2004-08-11 Thread Justin Patrin
uld suggest using this (after fixing the first problem I pointed out): echo $num1->num."\n"; echo $num2->num."\n"; -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Upload Problems

2004-08-11 Thread Justin Patrin
s running? If you're in Linux, use "top" on the command-line. 5) Have you checked the Apache logs? Specifically, look int he error log for crashes. If it's crashing, you've probably hit your memory limit or a bug in PHP or GD. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with mysql_fetch_array

2004-08-11 Thread Justin Patrin
n't what you want, perhaps you should be doing 3 seperate queries in there? Please explain why you have 3 for loops around your fetch; -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL based webmail?

2004-08-11 Thread Justin Patrin
AP. Of course, POP by default will not leave the message on the server and it much more lightweight (less features) than IMAP. It all depends on what you and your app need. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBui

Re: [PHP] OO Question for PHP4

2004-08-11 Thread Justin Patrin
t this as one. In addition, you should have parenthesis on your funciton call: $bar = $foo->bar(); > > Or is there a better design approach I should be reminded of or learn? > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_Dat

Re: [PHP] Re: Load data and Insert

2004-08-11 Thread Justin Patrin
concatenate "load data" with "insert". > I have a file *.cvs that used three fields (a,b,c), my database have four > fields(a,b,c,d). The "insert" have the data for last field. > Regards, > Juan > I assume you means a csv file, not a cvs file. No, you

Re: [PHP] [PHP4] class overload and ref to objects

2004-08-11 Thread Justin Patrin
> Alessandro Vitale > Jr. Software Engineer > Tiscali International Network Spa > +39 070 4601678 > [EMAIL PROTECTED] > *** > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

Re: [PHP] Re: define constants within functions?

2004-08-11 Thread Justin Patrin
uilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] weird error, might be javascript?

2004-08-11 Thread Justin Patrin
iling List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [SPAM] [PHP] Date and tim

2004-08-11 Thread Justin Patrin
www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Justin Patrin
- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PEAR-QA] PEAR SITE IF DOWN FROM MY IP

2004-08-10 Thread Justin Patrin
(http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LDAP Group query examples?

2004-08-10 Thread Justin Patrin
hp.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Read External Directory

2004-08-10 Thread Justin Patrin
General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Cannot redeclare function

2004-08-10 Thread Justin Patrin
> -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hosting provider won't enable ftp_connect()

2004-08-10 Thread Justin Patrin
On Wed, 11 Aug 2004 01:12:40 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > On Wednesday 11 August 2004 00:48, Justin Patrin wrote: > > > I don't see how it would be a security problem. They probably just > > don't understand and think you want FTP access to t

Re: [PHP] SQL Functions

2004-08-10 Thread Justin Patrin
they're all OO, you can extend them (or their drivers) to create a class specific to your needs. I fail to see how any of these classes is inflexible. > -Dan Joseph > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder

Re: [PHP] SQL Functions

2004-08-10 Thread Justin Patrin
has been done so many times in the past. http://pear.php.net/package/DB http://pear.php.net/package/MDB http://pear.php.net/package/MDB2 http://adodb.sourceforge.net/ http://www.phpclasses.org/browse/package/20.html etc.... -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/p

Re: [PHP] preg_match_all but no preg_replace_all?

2004-08-10 Thread Justin Patrin
aObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hosting provider won't enable ftp_connect()

2004-08-10 Thread Justin Patrin
der." > > If it is an issue, does anyone know of a hosting provider that allows these > extensions? > > -Brian Anderson > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormB

Re: [PHP] How PHP handles multiple inclusions of the same file?

2004-08-09 Thread Justin Patrin
hing and such for you. This is really a nasty hack. If you want to use PHP-style syntax, Savant is your friend. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- DB_DataObject_FormBuilder - The database at yo

Re: [PHP] how to configure sessions

2004-08-09 Thread Justin Patrin
w.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > !DSPAM:411806e5291851697419290! > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How PHP handles multiple inclusions of the same file?

2004-08-09 Thread Justin Patrin
On Mon, 9 Aug 2004 15:14:57 -0400, John W. Holmes <[EMAIL PROTECTED]> wrote: > From: "Justin Patrin" <[EMAIL PROTECTED]> > > > eval($script); > > > use_cached_code(); > > > > Ick! eval() is evil! > > You have benchmarks to back that up

Re: [PHP] How PHP handles multiple inclusions of the same file?

2004-08-09 Thread Justin Patrin
visit: http://www.php.net/unsub.php > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] base64_decode an image, works on blank page, not on page where text is..

2004-08-09 Thread Justin Patrin
ript base64_decode the image and display it (with the correct headers). > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Incorrect trans-sid placement in PHP Version 4.3.6

2004-08-09 Thread Justin Patrin
on I use is too old for the bug system. If you encounter > the same bug in a higher version, please report it. Thanks. > > Torsten > Why did you update to an older version of PHP? -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBu

Re: [PHP] Local version works - production breaks

2004-08-07 Thread Justin Patrin
ndre > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-DB] Eval a file, and it gives parse error because it uses a preg_match statement with \$

2004-08-06 Thread Justin Patrin
g.php"), > > > > > $text); > > > > > eval("?>" . $text . " > > > > > > > This is rather an odd thing to do, kinda like taking an html > > > > document converting it to xml, add an element, then turning it back >

Re: [PHP] Re: [PHP-DB] Eval a file, and it gives parse error because it uses a preg_match statement with \$

2004-08-05 Thread Justin Patrin
> > > > To get around your \$ problem.. > > see http://php.net/preg_quote > > > > > > Curt > > -- > > First, let me assure you that this is not one of those shady pyramid > schemes > > you've been hearing about. No, sir. Our model is

Re: [PHP] Why do I keep getting a 501 mail error?

2004-08-05 Thread Justin Patrin
our vote to have it solved in some future version ;) > I put a patch in that bug report that *should* fix it. It's not tested at all, though. If someone can test it, please do: http://bugs.php.net/bug.php?id=28038 -- DB_DataObject_FormBuilder - The database at your fingertips http://pea

Re: [PHP] Outputting Data

2004-08-05 Thread Justin Patrin
t_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-DB] Eval a file, and it gives parse error because it uses a preg_match statement with \$

2004-08-05 Thread Justin Patrin
you wanted it to have. This is obvious as include() doesn't return the code, it runs the file. > but, I am doing this. > > $text = file_get_contents('templateFile.php'); > $text = preg_replace('/something/', file_get_contents("something.php"), >

Re: [PHP] Location header does not work?

2004-08-05 Thread Justin Patrin
> >>&id=159&Itemid=162 to > >> >> >> https://computing.eng.iastate.edu/mambo/index.php?option=content&task=vie > >> >> >>w&id=159&Itemid=162. The only difference between the above two URLs > >> is > >> >> >

Re: [PHP] Passing user entered data to DB

2004-08-05 Thread Justin Patrin
night ;) My Samples where plenty > of mistakes :p > > Thanks for your comments, > Jordi > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-DB] Eval a file, and it gives parse error because it uses a preg_match statement with \$

2004-08-05 Thread Justin Patrin
ons about this). If this is what you are doing, then it sounds like the issue is not in the eval or the included file, but in the preg_replace. Please give us the exact preg_replace line that you are using and what it is supposed to do so we can help with your regex. > > "Justin Patrin

Re: [PHP] Optimizing Tips

2004-08-05 Thread Justin Patrin
2288 2163 Ext 105 > Fax Number: 91-22 - 2288 2809 > Mobile : 91-22-3101 8082 > > http://www.TheArgonCompany.com > > Viruses getting you down? > Get your virus protected mailbox at http://www.tassm.com > > Linux. The Choice of the GNU generation > -- DB_DataObject_For

Re: [PHP] Re: str_replace() problem in PHP5 - RESOLVED

2004-08-05 Thread Justin Patrin
FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: [PHP-DB] Eval a file, and it gives parse error because it uses a preg_match statement with \$

2004-08-05 Thread Justin Patrin
with the eval() call look like? Are you > > doing anything else with $this->The_Template_Sys before it's > eval()'d?? > > > > -- > > > > John Holmes > > > > php|architect - The magazine for PHP professionals - > http://www.phparch.com > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Passing user entered data to DB

2004-08-04 Thread Justin Patrin
var); > > Well, I'd like to know if this can be considered secure enough to pass > the $securevar to the database, or I should consider something more to > be checked before. > > Any help or comment will be really usefull. > -- DB_DataObject_FormBuilder - The database at y

Re: [PHP] Confused...need some programming logic

2004-08-04 Thread Justin Patrin
On Wed, 4 Aug 2004 15:40:03 -0700 (PDT), PHP Gen <[EMAIL PROTECTED]> wrote: > > --- Justin Patrin <[EMAIL PROTECTED]> wrote: > > > > 4: put 100 tags to call 100 images per page > > > (confused here) > > > > I put some code inline below. Should

Re: [PHP] HTTP POST then Redirect?

2004-08-04 Thread Justin Patrin
On Wed, 04 Aug 2004 17:39:51 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote: > > > Justin Patrin wrote: > > On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote: > > > >>I'm using the code below to post form data to an ASP script. B

Re: [PHP] Confused...need some programming logic

2004-08-04 Thread Justin Patrin
keyboard. > - Creativity is great, but plagiarism is faster! > - Smile, everyone loves a moron. :-) > > __ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > !DSPAM:41115bea172812942772655! > > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Location header does not work?

2004-08-04 Thread Justin Patrin
ew' and $id == > >> 159 > >> >> and $Itemid > >> >> == 162) > >> >> { > >> >> session_write_close(); > >> >> header("Location: > >> >> https://computing.eng.iastate.edu/mambo/inde

Re: [PHP] Re: [SPAM] Re: [PHP] Old HTML convert to XHTML Class

2004-08-04 Thread Justin Patrin
On Wed, 04 Aug 2004 23:55:12 +0200, Jay <[EMAIL PROTECTED]> wrote: > Justin Patrin wrote: > > On Wed, 04 Aug 2004 19:02:41 +0200, Jay <[EMAIL PROTECTED]> wrote: > > > >>Jay Blanchard wrote: > >> > >>>[snip] > >>>Is there any c

Re: [PHP] Re: POST superglobal is empty

2004-08-04 Thread Justin Patrin
> ---John Holmes... > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable Variables adn Superglobals

2004-08-04 Thread Justin Patrin
--- > --- In foo7 -- > _ENV > > -- > --- In foo8 ------ > _ENV > > -- > --- In foo9 -- > Windows_NT > -- > > // Version // > > PHP 4.3.7 (cgi-fcgi) (built: Jun 2 2004 15:49:31) > Copyright (c) 1997-2004 The PHP Group > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies > > // End // > > I'm doing something wrong? Or this is the expected behavior? I know > I could use php references, but linking style does confuse me a bit ( > how do you change a reference to point to a new variable if it's > allready referencing another one ? ) > > Thank you in advance > Looks right to me. I guess PHP doesn't support it. You may want to file a bug or look for more on superglobals in the manual or bug reports. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   >