Re: [PHP] Fatal error: Call to a member function on a non-object

2004-12-22 Thread Tim Burgan
for this? Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OpenSSL Problem

2005-01-06 Thread Gustafson, Tim
rom parameter 2 The file that is being referenced is a valid certificate, encoded in base-64 format and the path is correct, and OpenSSL is able to sign using this certificate and the corresponding key if I run it directly from the command line. I have also attached the certificate. What am

RE: [PHP] OpenSSL Problem

2005-01-06 Thread Gustafson, Tim
o that it's readable? I would think that the library would have access to the whole system since it's not really part of PHP, but maybe I'm wrong. Either way, it's not complaining about access to openssl.cnf, it's complaining about access to the certificate, so let's ta

RE: [PHP] OpenSSL Problem

2005-01-06 Thread Gustafson, Tim
I figured it out! I had to change the key references to something like this: file://../falconsoft.com.crt Using an absolute path seems to break it. :\ Tim Gustafson MEI Technology Consulting, Inc [EMAIL PROTECTED] (516) 379-0001 Office (516) 480-1870 Mobile/Emergencies (516) 908-4185 Fax http

[PHP] Using the OR operator in an IF statement

2005-01-08 Thread Tim Burgan
work: if ( ($_POST['usertype'] != "student") || ($_POST['usertype'] != "staff") || ($_POST['usertype'] != "admin") ) { // ... } ?> And also: I must be using the OR operator the wrong way. Can someone please correct me on th

[PHP] how to read the path of the current document's url

2005-01-08 Thread Tim Burgan
nk you for your time. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strange sessions

2005-01-10 Thread Tim Burgan
verything returns to normal. Is there something I'm missing here? Thank you for your time. Regards Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strange sessions

2005-01-11 Thread Tim Burgan
in, staff are Joe (username & password are both: joe) and Simon (username & password are both: simon). Students are Tim (username & password both: tim), and Grace (username & password both: grace). Thank you very much for your time and assistance. I cannot thank you enough. Tim Bur

[PHP] php style guides

2005-01-12 Thread Tim Burgan
what reason? What are the advantages/disadvantages to doing it certain ways? Thanks for your time. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] my for loop's gone bananas.. has yours?

2005-01-18 Thread Tim Burgan
e's what I was expecting: 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 Thanks for your time and assistance Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SQL - INSERT INTO booleans

2005-01-19 Thread Tim Burgan
removing the single quotes, but that returns a syntax error. What do I do? Any assistance would be greatly appreciated. Tim PS: For those that are unclear of who COM works, this is my code to connect to the database with a DNS-less connection. /* Open the connection to the database */ $db_con

[PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
array_push($tossed_lines, $line); echo "Rule #4 violation\n"; $tossed_counter++; $total_counter++; break; default: fwrite($output_handle, $line); $counter++; $total_counter++; break; } } -- Tim Boring IT Department, Automotive Distributors Toll Free: 800-421-5556 x3007 Direct: 614-532-4240 E-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 12:59, Richard Lynch wrote: > Tim Boring wrote: > > Hello! I'm having an odd regex problem. Here's a summary of what I'm > > trying to accomplish: > > > switch ($line) > > { > > case ($total_counter <= 5

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 13:41, Jason Wong wrote: > On Friday 21 January 2005 01:52, Tim Boring wrote: > > Well the biggest problem in your code right now is your incomprehensible (to > me anyway) use of the switch construct. For a start I've no idea why you're > using ...

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 14:40, Bret Hughes wrote: > On Thu, 2005-01-20 at 12:43, Jason Wong wrote: > > On Friday 21 January 2005 02:16, Tim Boring wrote: > > > > > It's perfectly legit to use expressions. Now perhaps there is something > > > wrong with th

Re: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 13:43, Jason Wong wrote: > On Friday 21 January 2005 02:16, Tim Boring wrote: > > > It's perfectly legit to use expressions. Now perhaps there is something > > wrong with the regex I'm trying to use, but using a regex in and of > > itsel

RE: [PHP] Seemingly weird regex problem

2005-01-20 Thread Tim Boring
On Thu, 2005-01-20 at 15:13, Michael Sims wrote: > Tim Boring wrote: > > On Thu, 2005-01-20 at 13:41, Jason Wong wrote: > >> I suspect what you want to be doing is something like this: > >> > >> switch (TRUE) { > >>

[PHP] Allow users to upload images to directory

2005-01-20 Thread Tim Burgan
Hello, How can I allow users of my website to upload JPEG's to a set directory, and then have the JPEG scaled-down if they upload some huge image (both in pixel size and resolution)? Is there anything around that clearly (and simply) explains this? Thanks Tim -- PHP General Mailing List

[PHP] [suspicious - maybe spam] Using heredocs

2005-01-21 Thread Tim Burgan
ql); What am I doing wrong? Are there any requirements to using heredocs? I'm using PHP4, Apache, Win XP. [1] <http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc> Thanks Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session errors when uploaded to host

2005-01-22 Thread Tim Burgan
ol: private"); Is there any solution to this? Tim PS. I looked up session_start() in the PHP manual, and found this comment that may offer a solution that I've pasted below. Will this work? Are my problems a bug with PHP and IIS? [START QUOTE] *tech at insights dot net dot au* 17-Oct-

Re: [PHP] Session errors when uploaded to host

2005-01-23 Thread Tim Burgan
Thankyou. That solved the issue. I didn't know that function existed. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image manipulation without GD library

2005-01-25 Thread Tim Burgan
Hello, Is there any way that I can do some image manipulation - resizing - without the GD libraries? Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sending email when sendmail_from & sendmail_path = null.

2005-01-30 Thread Tim Burgan
Hello, My client's web host's PHP configuration for both sendmail_from and sendmail_path are both = null. How do I send email with PHP? What options do I need to set within my code, and what to? Tim

[PHP] Headers already sent error

2005-02-02 Thread Tim Burgan
hed and found that this can be caused by spaces after the closing php tag, but I don't have any. What could this be? Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Writing a PHP Web application

2005-06-30 Thread Tim Burgan
email is then sent to the users as above. How would I scan an email for viruses (or spam?)? And, scan it only once so that system resources are not used to scan unnecessarily for every recipient? Any help would be greatly appreciated. Thanks Tim -- PHP General Mailing List (http://www.php.net

Re: [PHP] using require

2005-07-11 Thread Tim Boring
if I need to change a field in a table, add/delete a field, or add a whole new table, I simply make the change in my schema file, re-generate my PHP classes, and then use the new classes in my app. I don't have to search through a bunch of code to find all the instances of a particular SQL

Re: [PHP] Upgrading PHP 4.2.3 to PHP 4.3.2

2005-08-16 Thread Tim Burgan
Can I extend this.. On a live server I have PHP 4.1. If I upgrade to PHP 5, is something likely to stop working? I've been putting off upgrading for months because of the unknown of something going wrong. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] Problem with php.ini

2005-08-16 Thread Tim Boring
x27;--with-flatfile' '--enable-dio' '--enable-ftp' '--enable-gmp' '--with-unixODBC' '--with-pgsql' '--with-readline' '--enable-soap' '--enable-sockets' '--enable-wddx' '--with-xsl' '--with-pear' Any ideas? Thanks, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [SOLVED]Problem with php.ini

2005-08-16 Thread Tim Boring
On Tue, 2005-08-16 at 17:59 +0200, Torgny Bjers wrote: > Tim Boring wrote: > > >I'm having a problem with php-cli and php_mod reading my php.ini file. > >I've compiled php from source, during which process I set > >"--with-config-file=/etc". Once the

[PHP] Comment on Bug #30153: FATAL erealloc() error when using gzinflate()

2005-09-26 Thread Tim Nufire
script is never the right way to indicate that an error has occurred. Without a fix, gzinflate should only be used when the content comes from a trusted source. If I am missing something here or if there is a workaround to this problem, please let me know. Thanks, Tim -- PHP General Mailing

[PHP] default mail headers ?

2005-10-10 Thread Tim Traver
at is happening. Did it used to be that way ? I could have sworn that I remember it being like that... Thanks, Tim. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] NZ Aegir Users/Developers

2005-10-10 Thread Tim Haines
Hi there, I'm on the hunt for some Aegir users/developers in New Zealand. Please email me offlist - [EMAIL PROTECTED] if you know of any. Cheers, Tim. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pear File_Archive examples or _good_ documentation?

2005-10-21 Thread Tim Rupp
can work off of...unless I'm blind and am completely missing something. Help anyone? Thanks, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Any performance experiences to offer?

2005-11-25 Thread Tim Meader
Are there any benchmarks that people are aware of comparing PHP4|PHP5|PHP5.1 as far as performance is concerned? I mean, it's easy to say that performance is improved... but what's the baseline? Was PHP5 faster than PHP4 for identical code? Thus making PHP5.1 even faster? Or was it a case of PHP5

[PHP] Optimizing Images

2005-12-06 Thread Tim Traver
G's or even PNG's. I can't find much in the way of code on the net about doing this... Does anyone have any suggestions as to maybe some freely available scripts or classes that can help me figure this out ??? Thanks, Tim. -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] Help with the copy command...

2005-12-15 Thread Tim Meader
nyone offer any insight on what the problem might be with this? The "unlink" function seems to accept the variable inputs with absolutely no problem, so I can't understand the discrepancy between the two. Thanks in advance. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with the copy command...

2005-12-16 Thread Tim Meader
What difference are you seeing in the files I give in the example? Are they not identical paths? Thanks. Hristo Yankov wrote: > The two examples you give are not the same? I see > different files. Please, doublecheck. > > --- Tim Meader <[EMAIL PROTECTED]> wrote: > >&

Re: [PHP] Help Desk software

2005-12-21 Thread Tim Boring
rcial package, but it was inexpensive (~$1000 for 150 nodes) and met our needs. Hope that helps! Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] admin variables in CGI version

2006-01-03 Thread Tim Traver
it to actually be set ??? Anyone ??? Thanks, Tim. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP CGI Variables

2006-01-10 Thread Tim Traver
nts to do this. I'm tempted to start looking at the code base and seeing if a simple patch will allow me to do that, but I want to make sure I'm not missing anything... Any PHP Guru's out there ??? Thanks, Tim. -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] question about compositing objects

2006-01-12 Thread Tim Boring
sure the my example above is the best way to go about this...but without knowing exactly what it is you're trying to accomplish I think it at least should point you in the right direction. You'll also need to be aware of the difference between how PHP4 and PHP5 handle objects to know

[PHP] PHP CGI Security

2006-01-17 Thread Tim Traver
llow users to be able to use PHP scripts that need safe mode to be turned off. 9) In the /jail area, all unnecessary binaries have been removed (things like ifconfig, mount, and dev stuff) to make it more secure, but useful binaries were left for scripts to use (things like ls, rm, etc...) Does a

[PHP] Re: php4 vs. php5

2006-02-02 Thread Tim Burgan
Hi Brad Kowalczyk wrote: > Almost > all php4 code will run as expected on php5 (but not the the other way > around) and the benefits of php5 are many. I'm wondering if you can outline, or direct me to a resource that explicitly notes the benefits of php5 over php4.

[PHP] Curl With Certificates As Strings

2006-02-09 Thread Gustafson, Tim
ssoc($UserQuery); curl_setopt($Curl, CURLOPT_SSLCERT, $UserRow["Certificate"]); Is that possible? If it isn't using Curl, is there some other library I could use to accomplish this? All I need to do is simple HTTPS posts and gets. Tim Gustafson MEI Technology Consulting, Inc [EMAIL PROTEC

[PHP] Upgrading from PHP 4 to PHP 5

2006-02-15 Thread Gustafson, Tim
I'm looking for really is if anyone has come across any SNAFU's that I should know about beforehand. Thanks! Tim Gustafson MEI Technology Consulting, Inc [EMAIL PROTECTED] (516) 379-0001 Office (516) 908-4185 Fax http://www.meitech.com/ -- PHP General Mailing List (http://www.ph

RE: [PHP] Clear POST variables

2006-02-16 Thread Gustafson, Tim
on duplicate entries. On the "POST" page I usually add something to the session variables that causes the user to see a "Your changes have been saved" type message on the "GET" page that they're redirected to. Tim Gustafson MEI Technology Consulting, In

[PHP] PHP generated JavaScript

2006-02-19 Thread Tim Burgan
Is is possible to make an external Javascript with PHP. Am I doing this correcT? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] LOOKING FOR CODE LOCATION IN PHP SOURCE....

2001-01-29 Thread Tim Meader
looked through quite a few files in the /ext/standard source directory, to no avail yet. Thank you in advance to any and all for your help Tim Meader [EMAIL PROTECTED] ACS Government Solutions Group -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

[PHP] Nesting 'foreach ()'

2001-01-29 Thread Tim Ward
y the way $fred = array(1,2,3,4,5,6); $fred2 = $fred; foreach ($fred as $fred1) { foreach ($fred2 as $fred2) echo "$fred1 : $fred2"; }; ... doesn't work either which would normally imply that $fred2 is a pointer to $fred rather than a copy. Can this be the case

RE: [PHP] Nesting 'foreach ()'

2001-01-30 Thread Tim Ward
ments in if ... else constructs i.e if (1==1) echo("fred") else echo("bill"): should work but doesn't. Another bug?. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-m

[PHP] RE: Dynamic Variable Creation from Forms

2001-02-01 Thread Tim Ward
this works, you should be able to do something similar assigning $row["checkboxtype"] as the array key. That way you don't need to know what it's called just the array it is an element of. $fvValue) echo("$fvTitle:$fvValue"); }; ?> $gvValue) echo(&q

[PHP] RE: Dynamic Variable Creation from Forms

2001-02-01 Thread Tim Ward
?> $gvValue) echo("$gvTitle"); ?> Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: [ rswfire ] [mail

[PHP] RE: Directory Listing with PHP

2001-02-01 Thread Tim Ward
t;..") continue; // trap . and .. echo("".$ddFile . ""); if (is_dir($ddPath . $ddFile)) sitemap($ddPath . $ddFile . "/"); }; closedir($dhandle); echo(""); }; Tim Ward Senior Systems En

[PHP] RE: php-general Digest 2 Feb 2001 00:51:13 -0000 Issue 487

2001-02-05 Thread Tim Ward
the loop. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: 02 Febr

[PHP] RE: Variables within functions, out?

2001-02-05 Thread Tim Ward
; > > $sql = "UPDATE MyTable > SET > birthday = \"$birthday\" > WHERE id = \"$id\" > "; > > // etc > > ?> > > Even when I KNOW that I have included correct values, the > $birthday variable >

[PHP] RE: Making a object from one class available to all objects in the calling class

2001-02-05 Thread Tim Ward
ass class_x > { > function x { > $n = new $y; > } > > function z { > $n->test(); > } > } > > I need the object of class_y available to the other objects of classx > but I cant figure out how I do this. Any ideas? > >

[PHP] RE: db forms creator?

2001-02-07 Thread Tim Ward
ields from the form. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: Jaxon [mailto:[EMAIL PROTECTED]] > Sent: 04 February 2

[PHP] PHP - CGI Version

2001-02-07 Thread Tim Livers
he output? I have looked through the php.ini file, and php.net but couldn't find anything. Thanks in advance Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP - CGI Version

2001-02-07 Thread Tim Livers
The solution ended up being the need to re-compile php with the "--enable-discard-path" configure option. This removed the "#!/usr/local/bin/php" line from the top of the file. Thanks for the feedback. Tim Tim Livers wrote: > I have installed the CGI version of PHP

Re: [PHP] COM?

2001-02-08 Thread Tim Knip
The magical incantations: "Word.Application" etc.. - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 10:31 AM Subject: Re: [PHP] COM? > > Does Anyone know what needs to be installed on the server other than php > >

[PHP] COM - get existing instance?

2001-02-08 Thread Tim Knip
Is it possible to grab a running instance of for example Word? In VisualBasic-words: can you use 'GetObject' instead of 'CreateObject'? The latter is done by : $word = new Com("Word.Application") this creates a NEW instance, however i want to get an already running instance. Possible? -- PH

RE: [PHP] passthru environment variables

2001-02-12 Thread Tim Ward
fpassthru doesn't include the code in your php code. In just dumps the file to output as it runs. Anything defined in PHP (inluding variables and functions) in the file passed through will not be available to the calling program. You need include(); Tim Ward Senior Sy

[PHP] RE: help: column into array?

2001-02-12 Thread Tim Ward
if ($result = mysql_db_query($database, $sql, $link_id);) { while ($thisrow = mysql_fetch_array($result)) { $array[] = $thisrow("field"); }; }; ... or something like that Tim Ward Senior Systems Engineer Please refer to the following dis

[PHP] RE: A way to duplicate data across databases

2001-02-12 Thread Tim Ward
database so your function becomes one call database copier. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From: Carsten Gehling [mailto:

[PHP] RE: Newbie: Images refs not loading (Broken Icons) How to?

2001-02-13 Thread Tim Ward
gt; > > > > Here's the "tiny" table that feeds it: > > CREATE TABLE indice ( > id int(11) DEFAULT '0' NOT NULL auto_increment, > date text, > indice text, > indice_url varchar(255), > PRIMARY KE

[PHP] RE: OOP in web development

2001-02-14 Thread Tim Ward
even the name of the database or server) just change the class definition. What I wouldn't use classes for is collecting variables together (use associative arrays). Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http:/

[PHP] RE: could anyone please help me with this date coding?

2001-02-14 Thread Tim Ward
t; echo("\t[$ini_date] this looks wrong, in effect you're outputting value = "'2001-02-14'" try just ... echo("\t[$ini_date] > $dis_date\n"); > } > while (++$ini_date <= $max_date); > > - >

Re: [PHP] PDF Functions

2001-02-14 Thread Tim Livers
Here are the directions I used to configure PHP with pdflib. These worked for me. http://www.phpbuilder.net/columns/perugini20001026.php3?page=2 Tim Mike Tuller wrote: > I finally got everything to install on RedHat 7, but I can't do anything > with pdflib like I had expected

[PHP] RE: Count columns in array

2001-02-16 Thread Tim Ward
ount($thisarray) . ""); ... in this case count($array[2]) = 0 but count($array[1]) = 1 ... so be careful. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -

RE: [PHP] True || False ?

2001-02-16 Thread Tim Ward
to take this a step further, PHP doesn't seem to have types at all try ... echo 1 + true; // gives 2 echo 1 . true; // gives 11 true is a constant that seems to equate to 1, false is 0. Or is this just my interpretation? Tim Ward Senior Systems Engineer Please refer t

[PHP] RE: form variables showing blank but query shows non-blank ??

2001-02-16 Thread Tim Ward
I think we need to see the form. It sounds like something is going wrong there. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html > -Original Message- > From:

Re: [PHP] Creative solution with XML,PHP,MYSQL

2001-02-17 Thread Tim Frank
ructs when displaying data from an XML file. The downside is that it currently only works with IE 5 and greater. It might not be the best overall solution, but if you are looking at the issue from a "can it be done" point of view, then yes, it can actually be done. It just might not b

Re: [PHP] .php3 in PHP4?

2001-02-17 Thread Tim Frank
Or you could just put them all on one line like AddType application/x-httpd-php .php .php3 .php4 .phtml if you prefer. Tim Frank >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<&l

[PHP] RE: hmm

2001-02-19 Thread Tim Ward
ahh > -Original Message- > From: Brandon Feldhahn [mailto:[EMAIL PROTECTED]] > Sent: 17 February 2001 11:45 > To: [EMAIL PROTECTED] > Subject: hmm > > > hmm > > -- > GIF89aÔ< > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

[PHP] RE: array - too stupid

2001-02-19 Thread Tim Ward
->order_num ->item_num ->quantity -> ... foreign key order_num reference order Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html

[PHP] RE: compare arrays problem

2001-02-19 Thread Tim Ward
of pages > present > //but only the third checkbox (weather) gets checked, the > first one should > be checked also that's because your array only contains the last row ... > > $x++; > } > } > > //I used the array intersect function to doublecheck what is >

RE: [PHP] Will this work?

2001-02-20 Thread Tim Ward
empty test type input are always available even if empty. checkboxes and radio buttons are not set if empty but text inputs are always there. your test does not check for the fields not having been filled in. Tim Ward Senior Systems Engineer Please refer to the following

RE: [PHP] Libraries

2001-02-20 Thread Tim Ward
> -Original Message- > From: Kath [mailto:[EMAIL PROTECTED]] > Sent: 19 February 2001 22:40 > To: Martin A. Marques > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Libraries > > > I don't exactly try to reinvent a new and better wheel... I > just find that > writing my own libraries makes

[PHP] Stupid question alert

2002-01-04 Thread tim at 10Kv
. Tim Rogers

[PHP] ... [PHP] Stupid question alert

2002-01-06 Thread tim at 10Kv
hat should I be learning about to make this happen? Thanks again, Tim (standing on the shoulders of giants) > Your question is not stupid - it's just uninformed, and that's easily > understandable if you never used PHP. > > The concept is dynamically creating th

[PHP] Stupid Question Alert - part 2

2002-01-07 Thread tim at 10Kv
hat should I be learning about to make this happen? Thanks again, Tim (standing on the shoulders of giants) --- > Your question is not stupid - it's just uninformed, and that's easily > understandable if you never used PHP. > > The concept is dynamically creati

[PHP] Designer adrift in a sea of code - please point me towards land...

2002-01-08 Thread tim at 10Kv
have some code that gives the layer position but rather than then having all the other code describing the layer contents, have some sort of php command that says 'get the contents from file xxx.php'. If this is the case what should I be learning about to make this happen? Thanks again, T

[PHP] Direct output to printer

2001-04-05 Thread Tim Legg-Bagg
7;s LENGTH function be used. 2 This is causing me grief: I want to be able to send a text file directly to the printer without first displaying it and going through the print dialog. Your help will be much appreciated. TIA Tim Legg-Bagg

Re: [PHP] Direct output to printer

2001-04-05 Thread Tim Legg-Bagg
Thank you folks for your speed of light answer. I must get some new specs, I spent a long time searching through Greenspan and Bulgers book for that. No problem finding it now.. The output to printer problem can now be rested Thanks again I owe you one Tim LB ""Knut H. Hass

Re: [PHP] Session handlers

2004-10-02 Thread Tim Van Wassenhove
rs can read from your session.save_path, i'm pretty sure they'll be able to read the credentials you use in the scripts to connect the database too. Which makes the security argument in this case invalid. -- Met vriendelijke groeten, Tim Van Wassenhove <http://www.timvw.info> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need help with a string

2004-10-08 Thread Tim Van Wassenhove
atch_all() is what you want to use. You can easily match > everything up to the time since it's formed with a ":00" at the end > each time. If i'm not mistaken, preg_split on \d{0,2}:\d{2} -- Met vriendelijke groeten, Tim Van Wassenhove <http://www.timvw.info> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: move_uploaded_file() problem

2004-10-08 Thread Tim Van Wassenhove
hown. If you really want another user to be the owner of the files, you could extend your upload script so that it uploads all the files with ftp to localhost. This way they will be owned by the ftp-user. -- Met vriendelijke groeten, Tim Van Wassenhove <http://www.timvw.info> -- PHP Gene

[PHP] Re: Creating a Sequence from Array

2004-10-08 Thread Tim Van Wassenhove
you meet a value that is greater than the current biggest. Now it's only a matter of building the new array, and resetting your index to 0 when it's as big as the biggest found earlier. http://www.php.net/functions http://www.php.net/foreach -- Met vriendelijke groeten, Tim Van Wassenhove <http://www.timvw.info> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fwd: GD library for creating tables

2008-12-13 Thread Tim-Hinnerk Heuer
ve to do is copy/paste the html code and put some php inbetween if you have a designed table with css and all that jazz. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-general@lists.php.net, Tim-Hinnerk Heuer has invited you to open a Google mail account

2009-05-07 Thread Tim-Hinnerk Heuer
providers. ------- Tim-Hinnerk Heuer has invited you to open a free Google Mail account. To accept this invitation and register for your account, visit http://mail.google.com/mail/a-f5f2afb0c7-9207f3d89b-bd8bac4aaf494e87 Once you create your ac

[PHP] Re: PEAR::DB is great but is sooooo SLOW !

2004-05-16 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Greg wrote: > If I compare a script using PEAR::DB with a script using > standard functions (and which supports mysql, pgsql and > sqlite databases), the script using PEAR::DB is 10 times > slower than the other. > > Conclusion : if you want to use PEAR::DB package,

[PHP] Re: create if table not exists

2004-05-16 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, John Taylor-Johnston wrote: > How can I check if a table exists in a mysql db. $query = 'IF NOT EXISTS table CREATE TABLE table (..)'; mysql_query($query); -- Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php> -- PHP G

Re: [PHP] Malicious SQL

2004-07-08 Thread Tim Van Wassenhove
cast it as an int, or check > is_numeric(), etc. ...). Some people check for ';' in the request > variable and if found yell at the user, that can be fun. bugs.php.net > does this. Or use prepared statements with mysqli -- Tim Van Wassenhove <http://home.mysth.be/~ti

Re: [PHP] Client IP

2004-07-08 Thread Tim Van Wassenhove
mple people on a lan (with let's say ip addresses in the 192.168.X.Y range) that use a proxy. You'll see the address of the proxy in $_SERVER['REMOTE_ADDR']. And i doubt that is what you were looking for :) -- Tim Van Wassenhove <http://home.mysth.be/~timvw> --

[PHP] Re: problem with downloading some pdf's

2004-07-09 Thread Tim Van Wassenhove
// but it just didn't work last time...it was always > // taking the 'default:' case Probably because you forgot to put a break. Also this is discussed in the manual. And a lazy programmer would lookup the extension - content-type relationship in a file like /etc/m

[PHP] Re: breadcrumb app...

2004-07-09 Thread Tim Van Wassenhove
the back button after posting a form... -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login Verification

2004-07-10 Thread Tim Van Wassenhove
and > an error told them they logged in incorrectly. Meaby you can have a look at pear::auth ? -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail problem

2004-07-11 Thread Tim Van Wassenhove
In article <[EMAIL PROTECTED]>, Joao Gomes wrote: > [mail function] > ; For Win32 only. > SMTP = [EMAIL PROTECTED] I don't think [EMAIL PROTECTED] is a valid hostname. -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP General Mailing List (http://www.php.n

[PHP] Re: Passing Variables

2004-07-11 Thread Tim Van Wassenhove
l.. and read it again.. and again... http://www.php.net/manual. You can find the answer in the section on variables, predefined variables to be more precise. -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP and HTML Conventions

2004-07-13 Thread Tim Van Wassenhove
clude_once(). Just give > the file a php extension: > > include_once 'pureHTML.php'; readfile is in this case more appropriate imho -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    6   7   8   9   10   11   12   >