Re: [PHP] Weird behaviour with references to objects...

2002-11-08 Thread Tim Molendijk
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message news:5.1.1.6.2.20021108092657.02befe20@;mail.vogelsinger.at... > At 03:36 08.11.2002, Tim Molendijk said: > [snip] > > Ahh - culprit 1: > > You said the containe

Re: [PHP] Weird behaviour with references to objects...

2002-11-08 Thread Tim Molendijk
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message news:5.1.1.6.2.20021108165218.03238948@;mail.vogelsinger.at... > One more: > > True for now, but this is "officially deprecated". Functions or methods > accepting a reference are required to be "prototyped" that way - this helps > you not

Re: [PHP] Weird behaviour with references to objects...

2002-11-08 Thread Tim Molendijk
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message news:5.1.1.6.2.20021108170633.00b8cb60@;mail.vogelsinger.at... > > You might always simply omit the parameter when calling the function > (you'll get a notice about that if enabled). You just cannot pass constants: > > function Product(&$

Re: [PHP] Weird behaviour with references to objects...

2002-11-09 Thread Tim Molendijk
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message news:5.1.1.6.2.20021108175627.00b44880@;mail.vogelsinger.at... > > This is clearly said in your PHP.ini file: > > ; Whether to enable the ability to force arguments to be passed by reference > ; at function call time. This method is depr

[PHP] fopen() using non-standard port

2002-11-09 Thread Tim Lan
Thanks in advance. Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Finding last entry in MySQL database

2002-11-15 Thread Tim Thorburn
simple, but with being up until 5am working on this site - it's slipped by caffeine powered brain. Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: OOP-classes in PHP

2002-11-18 Thread Tim Ward
you can't access $overall->foo because you've never defined it you need: function load($class){ eval("\$this->$class = new $class;"); return true; } Tim > -Original Message- > From: Tularis [mailto:[EMAIL

[PHP] RE: Problem with Class - incomplete object error

2002-11-18 Thread Tim Ward
you've included the class definition at the top of every page, right? and why don't you just use $_SESSION["cart"] directly instead of using $cart? that way you don't have to worry about scoping issues and continually passing $cart through to functions. Tim > -

RE: [PHP] PHP function for listing number of columns in table

2002-06-10 Thread Tim Ward
Just off the top of my head wouldn't describe then mysql_num_rows() be a lot more efficient. Tim Ward www.chessish.com <http://www.chessish.com> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- From: John Holmes [SMTP:[EMAIL PROTECTED]] Sent:

[PHP] RE: simplicity with 2 queries..

2002-06-10 Thread Tim Ward
ure your code a bit if you want the desired result. Tim Ward www.chessish.com <http://www.chessish.com> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- From: Jule Slootbeek [SMTP:[EMAIL PROTECTED]] Sent: 10 June

RE: [PHP] beginner in PHP

2002-06-13 Thread Tim Ward
>From the symptoms it sounds like you're destroying the session okay but leaving the variables In the script. Are you sure you're unsetting them at the appropriate scope level. Tim Ward www.chessish.com <http://www.chessish.com> -- From: Phillip

RE: [PHP] beginner in PHP

2002-06-14 Thread Tim Ward
then destroy the session locally by unsetting that array. If I have a function that I want to change session variables at all I make it take the session in as a parameter and pass it back as the return value. Tim Ward > -Original Message- > From: Phillip Perry [SMTP:[EMAI

[PHP] Re: [PEAR-DEV] phpDocumentor 1.1.0rc2 RELEASE ANNOUNCEMENT

2002-06-18 Thread Tim Gallagher
hey hey hey looks great to me. "can't we all just get along?" :) -timmyg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP include_path

2002-06-27 Thread Tim Nields
I am running php4.2.1. I tried to use a simple include() coommand, but the path that it defaults to is /usr/local/lib/php. Can anyone tell me how to change this? Thanks Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
stead of .html, would did be enough if --enable-trans-sid is used (and php.ini is correctly configured)? It seems to work here, but I want to know if I forgot something important... -- Kind regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
y have started, do I need to re-affirm the session on every page, or will it hold for a few pages, until the session-variables will be used again ... > simply converting your files to .php and compiling with enable-trans-sid > will not give you sessions. ... when I do this? -- Kind re

Re: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
--enable-trans-sid on and (as noted in this mail) session.auto_start. I think this would work? I made a test-site locally, but I need to know the exact options that make this work, so I can inform the provider what to change (very helpful chaps over there, just don't know sh*t about

RE: [PHP] [Session] SID automatically add on all pages?

2002-06-30 Thread Tim Stoop
case, I prefer de php. If anyone knows of a template-engine that can recognise the difference between a custom-tag with <> and a HTML-tag, I'd appreciate the URL :) For now, I'm going to make this work. -- Kind regards, Tim -- PHP General Mailing List (http://www.php.net/)

[PHP] Searching for string in text file help?

2002-07-01 Thread Tim Loepp
t;, "$search_str")) { echo ""; readfile("$target_filename"); echo ""; } Thanks Tim Loepp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Query String...

2002-07-01 Thread Tim Nields
being produced when I echo or print this as $action. Is there a setting that I've missed somewhere? Any help will be much appreciated. Thanks Tim Nields -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Moving a file with 'rename'?

2002-07-04 Thread Tim Stoop
; to 'apache' (the user under which the httpd is running), I can do the following without any error: mv /var/www/html/webfotos/tmp/thumb_phpibmGBF.jpg /var/www/html/foto/0/0/0/0/.thumb.jpg Any ideas on why I get the error and how I can solve it? Tia! -- Kind regards, Tim -- PHP

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Tim Stoop
Marek Kilimajer wrote: > rename can "move" the file only on the same partition, it is realy just > _rename_, not full _move_ So there is no full-features move in PHP? -- Kind regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Moving a file with 'rename'?

2002-07-04 Thread Tim Stoop
Latex Master wrote: > Hello Tim, > Tim why don't you try shell_exec ? As a last resort, I might, but I'd rather do it in PHP... Code-portability, y'know :) -- Kind regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP: Script Security: Best coding practices

2002-07-08 Thread Tim Luoma
olinux wrote: >A little off your request, but may be of interest: > >Top 21 PHP Programming Mistakes from Zend.com >http://www.zend.com/zend/art/mistake1.php >http://www.zend.com/zend/art/mistake2.php > Hrm... I wonder if someone @ Zend has messed up their template for s The titles are coming

[PHP] MS SQL Server and ODBC

2002-07-11 Thread Tim Nields
the database server. I have mulitple databases on my database server. How do I specify the database that I'm trying to reach? Are there any configuration flags that I could be missing to use odbc_connect, etc.? Any help would be greatly appreciated. Tim -- PHP General Mailing List

[PHP] Gainesville, Florida PHP Users? (Re: [PHP-WIN] PHP meetup [CROSS-POST]Meet other PHP Developers in Your Area)

2002-07-12 Thread Tim Luoma
Well I don't see a user group listed for Gainesville, FL... and we could have a cool acronym too PUGG (php users group of gainesville) ok, that's a first attempt, but anyway So are there other Gainesville, Florida folks around? If so please drop me a link and maybe we can form

[PHP] Setting include_path

2002-07-13 Thread Tim Thorburn
to/account/root/" php4_include_path ".:/path/to/account/root/" Could someone please shed some light on this subject? I'm in a sort of bind as my client desperately needs their site up for a week long sporting event that just began this past Friday (yesterday). Thank

[PHP] Dealing with spaces and punctuation in uploaded filenames (tjlq)

2002-07-13 Thread Tim Luoma
I am using this basic example (from the manual iirc) for uploading files Upload this file: What I am trying to do then is to remove any spaces or punctuation that might be in the filename. This is what I am using for the filename: $FILENAME = $_FILES['userfile']['name']; and

[PHP] Re: Variables aren't being passed to php page

2002-07-14 Thread Tim Luoma
Jason Wong wrote: > This list gets at least one question a day on this subject ... And there will be a lot more as people scan the web for example scripts and find ones that assume 'register_globals' is set to on. TjL -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Variables aren't being passed to php page

2002-07-15 Thread Tim Luoma
Jason Wong wrote: > On Monday 15 July 2002 03:55, Tim Luoma wrote: > >>Jason Wong wrote: >> >>>This list gets at least one question a day on this subject ... >> >>And there will be a lot more as people scan the web for example scripts >>and find one

[PHP] Re: Formmail replacement?

2002-07-16 Thread Tim Luoma
JJ Harrison wrote: > Does anyone know a good PHP-based Formmail Replacement(From matt's script > archive)? http://www.google.com/search?q=Formmail+php gave http://www.lumbroso.com/scripts/formmail.php as one of the top results -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Tim Luoma
César Aracena wrote: > I think that the best way you can achieve this, considering all the > troubles and different configurations you will have to make for each > user, is to make them choose the type of connection they want, and set a > cookie in the visitor's browser with a one year life time w

[PHP] Re: Redirect Question

2002-07-21 Thread Tim Luoma
FWIW, a user note at http://www.php.net/manual/en/function.header.php says : There is this nasty bug in IE 5 for Windows prior to service pack 2, described in Microsoft knowledgebase article Q281197 which causes a problem with redirecting.. if you submit a POST form to a page that uses hea

[PHP] OpenSSL and X509 certificates

2003-09-03 Thread Tim Liljendahl
Is there any way to extract 'X509v3 CRL Distribution Points' from a X509v3 certificate in PHP? It does unfortunately not come from the call to openssl_x509_parse - i need the information to check if the certificate has been revoked -- tim liljendahl -- PHP General Mailing

[PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread Tim Baker
know but I want to also block a specific domain rather than a range of IPs (as IP addresses can and do change...) and wondering how/if this was possible? thanks Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread Tim Baker
clever clogs ;-) I didn't think PHP would have something like this...DOH! proven wrong again! ;-) Expensive? In server/processor time, money or bandwidth (doubt the latter?) -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 14:12 To

RE: [PHP] reverse lookup/domain lookup in PHP

2003-09-11 Thread Tim Baker
Is that a major concern only for high-traffic sites? My site is low traffic...so I assume it'd be OK? Just tried the example now - works gret :-) -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: 11 September 2003 14:31 To: Tim Baker; [EMAIL PROTECTED] Su

[PHP] change PHP include directory

2003-09-13 Thread Tim Thorburn
t and into my sites root? This current site isn't all that large, so I could live without changing the include path - but my next job (which is already committed to this same host) is fairly large and will be a necessity for the change to occur. Thanks -Tim -- PHP General Mailing List

[PHP] when clients go bad

2003-09-18 Thread Tim Thorburn
code. I know in the graphics realm, unless the contract specifically states that the original source files will be provided - they are not given. Has anyone had to deal with a similar situation? Any thoughts or opinions? Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] when clients go bad

2003-09-18 Thread Tim Thorburn
As this is a very small market, for this one client I did not create a contract - there was however a very detailed proposal which did not include any source files. Whether it'll stand or not, we also had a verbal agreement that they did not want any source files as at the time that we began o

[PHP] if and like together?

2003-10-26 Thread Tim Thorburn
begin with 'noshow-'. So I'm thinking the easiest way to handle this is if there is something similar to the MySQL 'LIKE' command in PHP ... is there such a beast? TIA -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Show total records based on criteria

2003-11-12 Thread Tim Winters
eye color. Is there a way to do this with out creating several different recordsets. Thanks!! Tim Winters Creative Development Manager Sampling Technologies Incorporated 1600 Bedford Highway, Suite 212 Bedford, Nova Scotia B4A 1E8 www.samplingtechnologies.com [EMAIL PROTECTED] [EMAIL

[PHP] Help with Solaris/iPlanet 4.1 Setup

2003-11-17 Thread Evans, Tim
No luck with this on php-install, so I thought I'd try here. Thanks. > -Original Message- > From: Evans, Tim [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 8:30 AM > To: '[EMAIL PROTECTED]' > Subject: [PHP-INSTALL] Help with Solaris/iPlanet 4

[PHP] SUMMARY: Help with Solaris/iPlanet 4.1 Setup

2003-11-18 Thread Evans, Tim
uot; type="magnus-internal/x-httpd-php" Service fn=php4_execute This resolved the problem. -- Tim Evans | [EMAIL PROTECTED] Social Security Administration | (410) 965-4217 Office of Electronic Services | (410) 597-1187 (FAX) Baltimore, MD 21235 | http://

[PHP] Weird open_basedir behaviour

2003-11-21 Thread Tim Garton
le-path=/usr/local/apache2/php --with-mysql=/usr/local/mysql --with-ldap tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] looking for some software (helpdesk, intranet)

2003-11-21 Thread Tim Garton
RT can be difficult to install, and uses perl rather than php, just fyi. if you do decide to go with it, when i set it up on a redhat 9 box i had to reinstall perl from source due to a bug in the stock perl shipped with rh 9. tim Gabriel Guzman wrote: On Friday 21 November 2003 04:01 pm

[PHP] Re: Running PHP for different virtual domains on different Apaches

2003-11-22 Thread Tim Garton
Philip Mak wrote: Something that I wrote recently that I thought may be of general interest for system administrators running PHP: The web server runs on port 80, with the priviledges of the username "apache". On most webhosts that support PHP, this web server executes the PHP scripts. The PHP scr

Re: [PHP] PHP IDE?

2003-12-13 Thread Tim Nilimaa
Jough Jeaux wrote: Was wondering what everyone's favortie IDE is for coding in PHP. I've got a big PHP project in the works. I'll be doing alot with it and am looking for ways to boost my productivity. --Jough __ Do you Yahoo!? New Yahoo! Photos - easier uploadin

[PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
isplay on the next page after the submit button is pressed, but if I change it 'id' the results do not display. How can I fix this? Thanks Tim Burgan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP forms that are valid XHTML

2003-12-30 Thread Tim Burgan
Thanks for your replies. The name attribute is depreciated in XHTML for use with the input tag and has been replaced with the id attribute. The name element can still be used in the form tag though. What I'm looking for is something similar to ASP's GetElementByID("example")

[PHP] Please help on session_destroy error...

2004-01-01 Thread Tim Meader
the session_destroy function won't be called. But this doesn't seem to ever work. Is there anything I'm missing here? Any help would be appreciated. This is all running on Apache 1.3.29, using Redhat 8 with all current updates, and PHP 4.3.4. Thanks in advance for any h

[PHP] Please help on session_destroy error...

2004-01-01 Thread Tim Meader
the session_destroy function won't be called. But this doesn't seem to ever work. Is there anything I'm missing here? Any help would be appreciated. This is all running on Apache 1.3.29, using Redhat 8 with all current updates, and PHP 4.3.4. Thanks in advance for any h

[PHP] Please help on session_destroy error...

2004-01-01 Thread Tim Meader
sion_destroy function won't be called. But this doesn't seem to ever work. Is there anything I'm missing here? Any help would be appreciated. This is all running on Apache 1.3.29, using Redhat 8 with all current updates, and PHP 4.3.4. Thanks in advance for any help you may have. --- Tim [EMAIL PROTECTED]

[PHP] Apologies for multiple posts.

2004-01-01 Thread Tim Meader
I was getting a posting failure message from this listserv's auto-responder, but they appear to have posted anyway. ------- Tim [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Strange IF(condition) behaviour

2004-01-05 Thread Tim L
view as to what "statement" (as per the manual) actually means. Why can the bracketed version of if conditionaly display html, yet the unbracketed lazy man version cant? Any ideas as to whether or not this is supposed to happen like this or not? Tim -- PHP General Mailing List (http://www

[PHP] Re: developing a plug-in framework

2004-01-05 Thread Tim L
particular about the individual plugins other than what is defined in the IPlugin class. I hope this helps you get started. Email me if you need more help on it. Tim "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I'm struggling to f

[PHP] Re: Getting results from Select Multiple HTML tag

2004-01-05 Thread Tim L
Easiest way is this foreach ($_POST['test'] as $key => $value) { echo $key . '|' . $value . "\n"; } By putting the [] on the end of the variable name in the html, it has turned the variable test into an array. Because test is a post variable, it is now multidimensional. "Tyler Longren" <[E

[PHP] How do I write to an XML file

2004-01-12 Thread Tim Burgan
via a form that is written to the xml file, then have a support person add an answer to the xml file. Any help would be greatly appreciated. Thanks Tim Burgan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] connecting PHP to MS Access

2004-01-19 Thread Tim Thorburn
Access? I've done some searching on Google - most pages say "wow, good luck with that" or something similar - any thoughts? I'm sure someone has had to do this before - am I on the right track or should I be looking elsewhere? Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] connecting PHP to MS Access

2004-01-20 Thread Tim Thorburn
Actually I found an even better program on mysql.com called MyDbConverter - converted the Access database into MySQL in a whole wopping second - now just needs a little cleanup and I can put it into the new table I've already created. Thanks for all the help -Tim At 09:34 AM 1/20/2004, Br

[PHP] PHP and email attachments

2004-01-21 Thread Tim Thorburn
Hi, A client of mine asked today if I could setup their current mass mailer to send out attachments - I've never sent attachments with the mail() function before, but before we get into that ... I wanted to ask an opinion of the group. Would it not be better, rather than sending a file out to

Re: [PHP] Why we love Microsoft (0t)

2004-01-23 Thread Tim Thorburn
At 04:00 PM 1/23/2004, you wrote: Hey all, heres something really interesting about that lovely company called microsoft...(heard of them?) Anyway, a 17yr old kid by the name of Mike Rowe opens up a webdesigning company and names it MikeRoweSoft (say it out loud..if you're really daft not to get it

[PHP] Lost connection to MySQL server during query

2001-01-11 Thread Tim Colles
Solaris 2.6 which I am and that it might be to do with error lookup). It seems there is a very fundamental problem with MySQL here which means it is useless on this platform - does anyone have it working on 2.6? Any help appreciated - otherwise I have to go look at postgresql :( Cheers, Tim. Some

Re: [PHP] mixing HTML and PHP code

2001-01-11 Thread Tim Zickus
d servlet development...and nobody gets spanked for messing up the others' work. :) :) And folks (like me) who do both can still enjoy all the benefits that come from a pure templating environment. - Tim http://www.phptemplates.org -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Lost connection to MySQL server during query

2001-01-12 Thread Tim Colles
To answer my own question and for anyone else that gets stuck with this, configuring with: --with-mysql=/usr/local/mysql (or whatever your mysql installation path is) instead of just --with-mysql seems to fix it for me. Cheers, Tim. On Thu, 11 Jan 2001, Tim Colles wrote: > Can any

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
HTML tools. For Dreamweaver I added a little custom definition that makes a nice icon wherever it sees a template tag in the HTML file. ...and our PHP geeks just stuff a results array into the template. Too easy. - Tim http://www.phptemplates.org > > while (fetch_row_from_query(

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
at least working a lot harder than you need to be. But it doesn't really matter...it's just great that PHP is powerful/flexible enough to let everyone do their own thing The One True Way (tm) (for them). - Tim http://www.phptemplates.org -- PHP General Mailing List (http://www.p

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
> that's why I didn't implement one of those keyword things in binarycloud. > ergh. Pretty soon we're going to have to start limiting you to only mentioning binarycloud 2 times per hour or less. :-) :-) - Tim -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Tim Zickus
gt; Of course, execution times are pretty slow (or worse, depending on > complexity). There are things that can be done to speed things up though...cacheing files at the page level, or even cacheing templated components at the sub-page level where possible can overcome much of the overhead of using t

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Tim Zickus
We use Cisco LocalDirector to do load balancing in our web cluster. It's very configurable and has worked very well (so far!). - Tim > this might be a very silly question, but folks in my > company have now started asking some enterprise > questions like "sure, we'll d

RE: [PHP] load balancing with php/apache?

2001-01-15 Thread Tim Parkin
start at 60k pounds sterling But they are great. Network Attatched Storage at its best (gigabit fibre too) Tim Parkin Didio Communications -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 15, 2001 08:39 To: Alex Black; [EMAIL PROTECTED] Subject: Re

Re: [PHP] Re: [PHP-DEV] cookies and sessions security

2001-01-15 Thread Tim Zickus
u can see the remote address bounce around from number to number, even within the same session, depending on which path the data takes. For more information, see http://webmaster.info.aol.com/ - Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

Re: [PHP] Populating table rows

2001-01-16 Thread Tim Zickus
You need a while loop: $sqlCurrentTraces = sqlExecute(...) while ($result = sqlFetchObject( $sqlCurrentTraces ) { ... your table stuff ... } - Tim http://www.phptemplates.org - Original Message - From: "Wade Halsey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [PHP] Variables in 'friendly' urls

2001-01-16 Thread Tim Zickus
You need to parse some of the environment variables to get this data, $pathArray = explode("/",$HTTP_SERVER_VARS[PATH_INFO]) seems to be particularly helpful. Put a call to phpinfo() into your file and see what's there. - Tim > Is there a way to pass variables as 'fri

Re: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Tim Zickus
path. That way you're not relying on a special apache configuration if you were to move to a new server, etc...your files could become inadvertently unprotected. - Tim http://www.phptemplates.org >can anyone tell me how i get apache to never send out the contents of my >include files

RE: [PHP] Profanity Filter

2001-01-22 Thread Tim Ward
I know someone who had her site rejected for registration with a major search engine because it included info about Tae Kwon Do in Scunthorpe ... you can only go so far with word checking Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of

[PHP] RE: DBase functions

2001-01-23 Thread Tim Ward
ful. Sorry not to answer your question very well. If you can get it to work please let me know how. 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-

[PHP] RE: url hide

2001-01-23 Thread Tim Ward
Surely you can't hide the url the browser requests. the best you can do is hide where that browser gets it's content from ... why not include()? Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdi

Re: [PHP] Sorry! Help needed!

2001-01-23 Thread Tim McGuire
I think you are asking if you can use client side JavaScript to handle a form. www.irt.org has some good examples of this in their JavaScript FAQ section. Try http://developer.irt.org/script/form.htm#10.3 for "Interactions between forms in different frames or windows" >>> Anna <[EMAIL PROTECTE

[PHP] Urgent answers needed for FILE UPLOAD problem....

2001-01-25 Thread Tim Meader
Hello all. I've spent the past month or two implementing a file upload utility for the web based on PHP's http upload method. It works fine for smaller files, and it's been working fine for files I've tried up to and including 400 megs at a time. The problem I'm having is that we want to roll

[PHP] A second question about http File Upload...

2001-01-25 Thread Tim Meader
In my previous message I stated how some uploads were failing past a certain size. What I want to know is, is it possible to force PHP to write the uploaded contents as it receives them, or must they all be written at the end? In other words, does the file you are currently uploading have to c

[PHP] RE: [php_mysql] Creative solution with XML,PHP,MYSQL

2001-02-19 Thread Tim Ward
s you would html. 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: Tom Knight [mailto:[EMAIL PROTECTED]] > Sent: 19 February 2

[PHP] RE: Help?

2001-02-21 Thread Tim Ward
sort of testing should only be done after you've proved the program to satisfy the bean-counters. 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 Messag

[PHP] RE: Can you make a file empty?

2001-02-21 Thread Tim Ward
does this not already do it? according the manual "w" as the second parameters will "place the file pointer at the beginning of the file and truncate the file to zero length". Tim Ward Senior Systems Engineer Please refer to the following disclaimer in res

[PHP] RE: How to get information from

2001-02-22 Thread Tim Ward
use isset($action1) and isset($action2) to test each. the nice way to do it would be for them to have the same name but different values as you would do with alternative submit buttons, but I haven't ever needed to find out how to do that and doesn't seem to be quite that simple.

RE: [PHP] Tough one?

2001-02-22 Thread Tim Ward
key_list)."'"; ... I haven't tested the detail of this but the theory is sound, I'm fairly sure. 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] RE: Can you make a file empty?

2001-02-22 Thread Tim Ward
the manual implies that you don't need to write anything to the file to clear what's in it already, is this not the case? Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-discl

[PHP] RE: How to get information from

2001-02-22 Thread Tim Ward
he code that doesn't work: 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: Tim Ward > Sent: 22 February 2001

[PHP] RE: forms & functions

2001-02-27 Thread Tim Ward
essentially, no. PHP runs server side and the action of a form is generated client-side. To run a PHP function the page needs to be resubmitted. The code you have written will run the function before the page is submitted. try something like ... Tim Ward Senior Systems

[PHP] RE: while loop and modulus?

2001-02-28 Thread Tim Ward
tocount % 3) == 2) { echo "\n\n"; } $photocount++; } // this should add empty cells until the row is complete while ($photocount % 3) { echo(""); $photocount++; } echo "\n"; echo ""; Tim Ward > -Original Message-

[PHP] RE: Move a file from dir to another or delete file..?

2001-02-28 Thread Tim Ward
_______ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e

Re: [PHP] sitemap script

2001-02-28 Thread Tim O'Callaghan
try freshmeat.org http://freshmeat.net/projects/phpsitemapper/ hope it helps :) tim - Original Message - From: "Ali" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 1:16 PM Subject: [PHP] sitemap script > Does anybody

Re: [PHP] sitemap script

2001-02-28 Thread Tim O'Callaghan
ahh my mistake .net, you know what i mean :) tim.. - Original Message - From: "Tim O'Callaghan" <[EMAIL PROTECTED]> To: "Ali" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 1:19 PM Subject: Re: [PHP] si

RE: [PHP] Running php code inside of a string within a php script..

2001-03-05 Thread Tim Ward
Writing the string to a file and then include()ing it would work. It does seem a bit heavy handed, but unless there's a string equivelant of include() this may actually be the best way. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of

[PHP] RE: function questions

2001-03-05 Thread Tim Ward
why are you using this construct instead of echo()? e.g. echo("Hey there " . foo::bar($baz) . " how are you doing?"); Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-

[PHP] RE: Function to compare an array with another array

2001-03-05 Thread Tim Ward
will return an array that is a copy of the first array with only those elements that are not in array2. If you only want the first one either just use the first one( foreach(){ ... break;}) or put a break in the if. Tim Ward Senior Systems Engineer Please refer to the following

RE: [PHP] help gurus: multi-dimensional array problem.

2001-03-05 Thread Tim Ward
uot;name"] . ""); }; } haven't tested this but the principal should be okay and do what you're after Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-

[PHP] RE: Value of if(isset(X)) problem

2001-03-07 Thread Tim Ward
I think you'll find that cmdFinish is only passed through if the form is submitted by pressing the button. Hitting return on any other field will submit the form without sending cmdFinish. It might be sfare to check if one of your text fields is set. Tim Ward Senior Sy

[PHP] RE: explode question

2001-03-08 Thread Tim Ward
imited string? 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: Rol [mailto:[EMAIL PROTECTED]] > Sent: 07 March 2001 19:09

RE: [PHP] RE: Value of if(isset(X)) problem

2001-03-08 Thread Tim Ward
I honestly can't remember when and where I found this happening, but since then I've decided not to rely on submit buttons being posted so I haven't seen them working or not working. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in

<    1   2   3   4   5   6   7   8   9   10   >