[PHP] Re: Create table with varying results

2002-05-23 Thread Tim Greenleaf
d see if the results are different. Thanks for the help. Tim "Tim Greenleaf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a search page that creates a dynamic table of results from MS SQL > Server. The table created

[PHP] PHP Include directory

2002-05-27 Thread Tim Thorburn
g wrong? Here's my setup: Apache 1.3.12 PHP 3.0.18 Sun Solaris Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP command for redirect?

2002-05-29 Thread Tim Thorburn
;t all that enlightening. Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP command for redirect?

2002-05-29 Thread Tim Thorburn
I've been trying to add an extra feature to the form - sending an email to the admins if the form doesn't get entered into the database, but even when I take the email part out its still giving this error message. Any ideas? Thanks -Tim

[PHP] header solved

2002-05-29 Thread Tim Thorburn
Hi, Just wanted to thank you for your responses ... I solved my header problem - I wasn't using the full address (I left out the http:// bit) Thanks again ... must be working at 3.30am thats not so good for the brain ... -Tim -- PHP General Mailing List (http://www.php.net

[PHP] RE: odd class/session/db behaviour

2002-05-29 Thread Tim Ward
the case above but the connection isn't. This may not have anything to do with your problem but it's something that tripped me up when I started doing OOP stuff in PHP. Tim Ward www.chessish.com <http://www.chessish.com> -- From: Nick Wilson [SMTP:[EMAIL

[PHP] RE: your philosophy on php-design

2002-05-30 Thread Tim Ward
(); echo(""); echo(" Footer(); echo(""); echo(""); } } you get the idea Tim Ward www.chessish.com <http://www.chessish.com> -- From: Wilbert Enserink [SMTP:[EMAI

[PHP] RE: Global variables

2002-05-30 Thread Tim Ward
What about storing them in database or (below root) flat files? Tim Ward www.chessish.com <http://www.chessish.com> -- From: serge gedeon [SMTP:[EMAIL PROTECTED]] Sent: 29 May 2002 14:35 To: [EMAIL PROTECTED] Subject: Global var

[PHP] RE: Month Values in UNIX timestamps and workaround(Newbie)

2002-05-30 Thread Tim Ward
If you just want the number of seconds in each month then ... function SecondsInMonth($month, $year) { return mktime(0,0,0,$month + 1, 1, $year) - mktime(0,0,0,$month, 1, $year); } ... works, although you may need to play around with the is_dst parameter to fine tune it. Tim ward

[PHP] Setting PHP Include Dir

2002-06-02 Thread Tim Thorburn
nternal Server Error. My site is using Apache 1.3.12 and PHP 3.0.18, any thoughts on how I might get this to work? Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: timestamp confusion

2002-02-21 Thread Tim Ward
Time() returns unix timestamp (which is GMT), date() is interpreting that according to the local time zone. Tim Ward internet chess at www.chessish.com <http://www.chessish.com> -- From: Justin French [SMTP:[EMAIL PROTECTED]] Sent: 21 February 2002

RE: [PHP] overwriting PHP_SELF and PHP_AUTH_xxxx

2002-02-22 Thread Tim Ward
Forgive me if I'm treating pseudo as real but surely print ""; should be print ""; same goes for the array element in the sql statement Tim Ward Internet chess www.chessish.com <http://www.chessish.com> -- From:

[PHP] Entering data into MySQL

2002-02-24 Thread Tim Thorburn
that will work on an older version of PHP such as 3.0.16? I'd be eternally grateful for any prompt replies as its already 2.38am and my deadline is 9am :P Thank you -Tim Thorburn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] magic_quotes_gpc

2002-02-25 Thread Tim Thorburn
content management system I'm working on. Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: str_replace and associative arrays

2002-02-26 Thread Tim Ward
as the subject the search and replace was performed on the string "array". Tim Ward Internet chess www.chessish.com <http://www.chessish.com> -- From: Michael Crowl [SMTP:[EMAIL PROTECTED]] Sent: 25 February 2002 22:01 To: [EMAIL PROTE

RE: [PHP] Re: php - assigning date variables

2002-02-26 Thread Tim Ward
arlier then make the startdate blank, etc. Tim Ward Internet chess www.chessish.com <http://www.chessish.com> -- From: Craig Westerman [SMTP:[EMAIL PROTECTED]] Sent: 25 February 2002 19:32 To: Lerp Cc: [EMAIL PROTECTED] Subject: RE

[PHP] RE: word wrapping again

2002-02-26 Thread Tim Ward
This is really an html issue. HTML will only text wrap (in a compliant browser) on white space. If you want a server side solution to solve this you'll need to break up long words with a space or line-break. Tim Ward Internet chess www.chessish.com <http://www.ches

Re: [PHP] is PHP4.0.3 on a commercial webserver Justifiable ?

2002-02-26 Thread Tim Thorburn
Hi, Consider yourself lucky - my hosting company is still using 3.0.16. Even though at least once a month I complain about this bitterly (the client has already paid several years in advance so moving is not in the cards). They tell me that there are major security issues with PHP version 4 a

[PHP] cannot see LDAP userPassword and createTimestamp attr

2002-02-26 Thread tim tom
... Data for 1 items returned: dn is: uid=tim,ou=subdept,o=dept,dc=myorg,dc=com first cn entry is: Tim Tom first email entry is: [EMAIL PROTECTED] first createTimestamp entry is: first userPassword entry is: Closing connection why can't i see the createTimestamp and userPassword bcos i d

[PHP] RE: Sessions and switching between php and htm documents

2002-02-27 Thread Tim Ward
I haven't experienced this myself, but I'd have thought that if you're propagating the session via the URL rather than a cookie then it won't get added if the page isn't parsed. If it's not passed on just once it's lost. Tim Ward Internet chess www.ch

[PHP] RE: Help with showing tables in DB

2002-02-27 Thread Tim Ward
} I think you'll find the field you want is something like "Tables_in_dbname". Tim Ward www.chessish.com <http://www.chessish.com> -- From: Ron Clark [SMTP:[EMAIL PROTECTED]] Sent: 26 February 2002 21:02 To: [EMAIL PROTECTED]

[PHP] apostrphe's entered into MySQL database

2002-02-27 Thread Tim Thorburn
Apache 1.3.12 and PHP 3.0.16 with MySQL 3.22.32 Thanks in advance, -Tim "; echo "ADD A RECORD"; } elseif ($delete) { // delete a record $sql = "DELETE FROM ai_data WHERE id=$id"; $result = mysql_query($sql);

[PHP] a question of syntax ...

2002-02-27 Thread Tim Thorburn
e the addslashes() command, or if I don't need it, should I not use it? Thanks again, -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reuse variables?

2002-02-28 Thread Tim Thorburn
here is nothing left over - and vice versa. Is it not possible to do two things with the same form data? Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] comparing string values, etc

2002-03-03 Thread Tim Martens
Hi - I'm a major newbie. - I have a file that pulls an include into a for a user to edit - before pulling the include, I'd like to open it and check it's value - if the include's value is exactly equal to the string: Hello World then I want to overwrite that string with nothing; close the inc

RE: [PHP] Does anyone follow?

2002-03-05 Thread Tim Ward
" "); echo($author.""); echo("(". count[$ids] .") ["); foreach ($ids as $id) echo($id); // need something a bit fancier here, but you get the idea echo("]\n"); } Tim Ward Internet chess www.chessish.

RE: [PHP] Re: User accounts

2002-03-08 Thread Tim Ward
Surely an empty string is == false. In fact I'd be interested if anyone can come up with a situation where !$x doesn't return the same as empty($x) i.e. can anyone get a value of $x such that !$x !== empty($x) Tim Ward Internet Chess www.chessish.com <http://www

[PHP] PHP based search engine

2002-03-10 Thread Tim Thorburn
abase that are DATE formatted. Is it even possible to have a PHP search engine search a site that is mixed with MySQL and static pages? Thanks -Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Tim Ward
uot; ... if you mean sort all records but don't sort past the first letter then "SELECT ..., LEFT(lastname, 1) AS lastname_first ... ORDER BY lastname_first" or you might even be able to do " ... ORDER BY LEFT(lastname, 1)" you'll have to experiment with t

Re: [PHP] Re: PHP based search engine

2002-03-13 Thread Tim Thorburn
ng I'm not allowed to do. I think I've got the Fluid Dynamics search engine working fairly well now - its not perfect, but it'll do until I can come up with something better. Thanks -Tim At 11:39 AM 3/13/2002 +0100, you wrote: >David Robley wrote: >>PHP from around 4.05 ha

RE: [PHP] OBJECT£ºWHAT'S THE RALATION BETWEEN A,B AND C?

2002-03-18 Thread Tim Ward
The line you've marked prints the "value" attribute of $a->b->a, which is a pointer to the base object ($a). You have just changed the "value" attribute of this to 11 and it prints 11 ... what's wrong? Tim Ward Internet Chess www.c

[PHP] RE: Invalid Argument ??? Not sure how to debug this

2002-03-18 Thread Tim Ward
Try ... If ($result = ...) { ... ... } else echo(mysql_error()); I always do querying like this anyway (without the error echo in live stuff obviously) Tim Ward Internet Chess www.chessish.com <http://www.chessish.com> -- From: Daniel Negron/KBE

RE: [PHP] Re: Return the column names of MySQL table?

2002-03-20 Thread Tim Ward
ield as $key => $val) { echo "$key : $val |"; } echo(""); } } Tim Ward Internet Chess www.chessish.com <http://www.chessish.com> -- From: Kevin Stone [SMTP:[EMAIL PROTECTED]]

[PHP] RE: Browser Detection without use of browsecap.ini file

2002-03-22 Thread Tim Ward
$HTTP_ENV_VARS["HTTP_USER_AGENT"] contains this info if it's been sent Tim Ward Internet Chess www.chessish.com <http://www.chessish.com> -- From: R'twick Niceorgaw [SMTP:[EMAIL PROTECTED]] Sent: 21 March 2002 17:06

RE: [PHP] check form - save arrays in hidden fields?

2002-03-26 Thread Tim Ward
Why in a scalar? Why not pass the array through, i.e. Foreach($test as $element) { echo(""); } Tim Ward Internet Chess www.chessish.com <http://www.chessish.com> -- From: Fabian Krumbholz - 2k web solutions [SMTP:[EMAIL PROTECTED]] Sent

[PHP] RE: simple question

2002-04-03 Thread Tim Ward
vailable as variables in the php page the form submits to (the action property of the form tag, which can be the same page). Tim Ward Internet Chess www.chessish.com <http://www.chessish.com> -- From: Denis L. Menezes [SMTP:[EMAIL PROTECTED]] Sent: 0

RE: [PHP] Re: mysql

2002-04-11 Thread Tim Ward
That's not quite right, if (!$result = mysql_query($sql, $db)) { echo "Query failed"; } else { if (!$row = mysql_fetch_row($result)) { echo "No records found."; } } Tim Ward Internet Che

RE: [PHP] Is While needed in MySQL Result with a Limit of 1

2002-04-11 Thread Tim Ward
Why not just use an if instead of a while? This way you test for a result and get it at the same time If ($array = mysql_fetch_array($result)) { foreach($array as $key=?$value) echo("$key=?$value"); } else echo("sorry didn't get anything"); Tim Ward Internet Che

Re: [PHP] stop time out

2001-10-23 Thread Tim Zickus
On Tue, 2001-10-23 at 15:34, Gary wrote: > On sending a large number of newsletters out, how would you stop php > from timing out if you do not have access to the .ini file? http://www.php.net/manual/en/function.set-time-limit.php -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] socket question

2001-10-24 Thread Tim Ballantine
e actual information instead of just "phpcredits()". I have tried with $credits = phpcredits(); and placed the $credits in the line above, but that seemed to echo it to my console then send the number 1 through the socket. Any help on this would be greatly appreciated :) Tim --

[PHP] Re: socket question

2001-10-25 Thread Tim Ballantine
That seems to just give me the first line, of: PHP Credits but nothing else after that. Any ideas? :) Tim "James Cave" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > There is some source code on the php.net site which capt

[PHP] Re: socket question

2001-10-25 Thread Tim Ballantine
That is, using a socket, that it gives me the one line. echo'ing it gives the whole thing. Tim "Tim Ballantine" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > That seems to just give me the first line, of: > PHP Credits

[PHP] RE: URL variables

2001-10-25 Thread Tim Ward
They're just there ... If the link is Then in yourpage.php ... echo($yourvar); the only way you may go wrong with this is with scoping, $yourvar isn't available in a function inside yourpage.php. Tim Ward -- From: Clint Tredway [SMTP:[EMAIL PROTECTED]]

[PHP] RE: PHP object communication

2001-10-25 Thread Tim Ward
new Error(); ... } } at the end of the day, both these are ways of getting around the lack of multiple inheritance Tim Ward -- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: 24 October 2001 22:45 To: [EMAIL PROTECTED] Subject: P

[PHP] RE: PHP object communication

2001-10-25 Thread Tim Ward
see below for comments 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] [SMTP:[EMAIL PROTECTED]] > Sent:

[PHP] RE: Array

2001-10-29 Thread Tim Ward
ion"); while ($array = Mysql_fetch_array($result)) $values[] = $array; ... you van then do ... foreach($values as $row) { echo(" {$row["field1"]}, {$row["field1"]}, {$row["field1"]}"); // or whatever you want to do } Tim Ward --

[PHP] RE: php & mysql prob...

2001-10-31 Thread Tim Ward
Your query is invalid, hence $test is false rather than a result set. I usually do if ($test = mysql_db_query( ... )) to trap this. Don't put quotes around table or field names, in your case 'Port$p' should be just Port$p and 'Port$p'.date just Port$p.date. Tim

[PHP] RE: setting member variables out of class

2001-11-01 Thread Tim Ward
1. $telefono is an array (as has already been pointed out) so you need to reference an element 2. you're never actually setting the property in the constructor, your constructor lines should be: $this->telefono = array("Teléfono","Phone"

[PHP] Problems with the fopen() function

2001-11-10 Thread Tim Harvey
Can somebody PLEASE help me with this problem I'm having. This is a script to search the web. It sends the parematers "q,c & i" to the "SeacrhHippo" server using the fopen function. When the script executes the following error messages are displayed: Warning: php_hostconnect: connect failed in /

[PHP] RE: How do I convert from perl to php?

2001-11-21 Thread Tim Ward
left one empty"); that's quicker, unless you need the values in a hash list for some other reason. Tim -- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: 20 November 2001 22:10 To: [EMAIL PROTECTED] Subject: How do I convert from perl to ph

[PHP] Pulling information out of a MySQL database

2001-11-25 Thread Tim Thorburn
Hi, I'm having some new troubles pulling information out of a MySQL database. The page I'm currently working on has a simple form, that asks the user to select a month and year from two dropdown menu's then forwards their choices on to a new page which displays community events for the chosen

Re: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread Tim Thorburn
detailed display works perfectly. How can I get both the basic and detailed event listings working at the same time? Thanks -Tim "; echo ""; echo "Event: "; echo ""; echo ($myrow["EventName

RE: [PHP] Pulling information out of a MySQL database

2001-11-25 Thread Tim Thorburn
or anything ... just one of those things that would be nice. Thanks again -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] Multidimensional array construction

2001-12-07 Thread Tim Ward
llow you to access the original element. foreach($array as $key1=>$value1) { foreach($array as $key2=>$value2) { $array[$key1][$key2] = "fred"; } } Tim http://www.chessish.com <http://www.chessish.com> -- From: Darren Gamble [SMTP:[EMAI

[PHP] RE: "trigger" words

2001-12-07 Thread Tim Ward
Yes, use a combination of file and string (or regex) functions to scan the file for the string you want. Tim -- From: Deron [SMTP:[EMAIL PROTECTED]] Sent: 07 December 2001 02:21 To: [EMAIL PROTECTED] Subject: "trigger" words

[PHP] RE: @file problems w/ remote files

2001-12-11 Thread Tim Ward
How about wrapping the "@file(...);" in an "if(file_exists(...)) {...}" Doesn't seem to give an error at all , even without the @. I've tested this on non-existant domain names and with my firewall internet connection blocked. Tim http://www.chessish

RE: [PHP] Logo proposal

2001-12-11 Thread Tim Ward
Chinchillas are fluffy, and I don't think anyone is using them for their logo. -- From: Valentin V. Petruchek [SMTP:[EMAIL PROTECTED]] Sent: 10 December 2001 16:58 To: PHP Subject: [PHP] Logo proposal Hello world of php-programmers!

[PHP] RE: Help with Sessions - Should be easy =]

2001-12-21 Thread Tim Ward
<http://www.php.net/manual/en/ref.session.php> . Tim Ward www.chessish.com <http://www.chessish.com> -- From: Tomasz Jachimczak [SMTP:[EMAIL PROTECTED]] Sent: 20 December 2001 14:53 To: [EMAIL PROTECTED] Subject: Help with Sessions - Should b

[PHP] RE: [Q] Parser behavior in a string

2001-03-21 Thread Tim Ward
'] is therefore lees ambiguous and so safer (and may even be a nano second faster). 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: [Q] Parser behavior in a string

2001-03-21 Thread Tim Ward
'] is therefore lees ambiguous and so safer (and may even be a nano second faster). 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] Central Inbox

2001-03-21 Thread Tim Haynes
Collect your email anytime and anywhere with http://www.centralinbox.co.uk, if you register you can check upto 5 email accounts, allowing you to read your emails and attachments as well as sending email with attachments. Their is also a calendar that you can enter important dates so you don't miss

[PHP] Problems getting php to restart samba

2001-03-27 Thread Tim Churchward
erver I have to quit and restart my browser. madness!!! It's like php just refuses to allow connections from that browser after this command is run??? I've no idea where to begin trouble shooting this one. I've tried everything I can think of and I'm out of ideas. So

RE: [PHP] Blah I'm Stupid

2001-03-27 Thread Tim Ward
if (isset($url) && isset($text)) { $fp = fopen("file.txt", "w"); $anothervar = fputs($fp, "$text", "r+"); $anothervar = fclose($fp); } echo ""; echo ""; echo ""; echo ""; echo "&

Re: [PHP] About php

2001-03-28 Thread Tim McGuire
Here is a post from a few months ago that has an idea about your question: Tim __ Quick answer: Nothing, if it works. Which browser supports it? Anthony -Original Message- From: Ignacio Vazquez-Abrams [mailto:[EMAIL PROTECTED

RE: [PHP] Easy HTML PHP question

2001-03-28 Thread Tim Ward
he's right, but what about using the onclick event of the image to store a value in a hidden field (I haven't tried this but there's no reason to think it won't work) Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect o

[PHP] RE: Protect images in directory

2001-03-28 Thread Tim Ward
how about keeping the images off of the root and getting php to create copies just for the request. I haven't really thought this through, but it sounds plausible. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message:

RE: [PHP] Easy HTML PHP question

2001-03-29 Thread Tim Ward
seudo code) 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: Paulson, Joseph V. "Jay" [mailto:[EMAIL PROTECTED]] > Sent: 29 Mar

Re: [PHP] Problems getting php to restart samba

2001-03-30 Thread Tim Churchward
nyone thinks they can help but needs better details ask me some specific questions and I'll try and answer them as best I can. Thank, -Tim Churchward -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] RE: Page Counter

2001-04-03 Thread Tim Ward
i have a file with something like this which I include at the top of every page ... 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- >

RE: [PHP] column names

2001-04-05 Thread Tim Ward
SHOW COLUMNS FROM tablename is the MySQL query 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: Steve Werby [mailto:[EMAIL PRO

[PHP] RE: better functionality in query ?

2001-04-06 Thread Tim Ward
your ORDER BY, for an exact imnput, an exact match will always show first. haven't tried this at all but seems sound sql. 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: list files in a diretory

2001-04-10 Thread Tim Ward
ot;); if (is_dir($ddPath . $ddFile)) sitemap($ddPath . $ddFile . "/"); }; closedir($dhandle); echo(""); }; just call it by passing in the path to the directory you want to list and it'll give you a full listing below that point

[PHP] RE: radio groups in loop form

2001-04-11 Thread Tim Ward
will vary. I'm not sure quite what your problem is or whether this will fix it but it should help the form work as intended. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-discl

RE: [PHP] foreach vs. while(list() = each())

2001-04-12 Thread Tim Ward
you can't nest foreach as you should be able to. Ecah foreach is supposed to have it's own pointer in the array, but it doesn't ... this is a known bug. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of thi

[PHP] RE: Javascript issue

2001-04-12 Thread Tim Ward
all the javascript cares about is the page after it is sent by php. browse the page and view source will show you what the problem is. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail

RE: [PHP] Updating a value in a session

2001-04-12 Thread Tim Ward
another good way is to use an associative array $session[] as your only session variable, that way you don't need to worry abopout session variables overwriting local or vice versa, so $value as a session variable becomes $session["value"] Tim Ward Senior Systems E

RE: Re[2]: [PHP] foreach vs. while(list() = each())

2001-04-12 Thread Tim Ward
manual says that the foreach creates it's own pointer which it obviously doesn't. I can't remember what I was trying to do when I found this, it might have been writing a recursive function Tim Ward Senior Systems Engineer Please refer to the following disclaimer in

[PHP] email forms

2001-06-18 Thread Tim Thorburn
ered the information as a confirmation that we received their message. Here is a sample of the script I'm using: I've spoken to the hosting company, they say they will not provide any assistance to PHP script related problems. They are running on Solaris servers with PHP 3.0.16. Thanks -Tim

[PHP] list of included file names

2001-06-19 Thread Tim McGuire
Hi, I searched the archives for this. For debugging purposes, I want to see a list of the included files on a page in HTML comments. PHP_SELF and HTTP_SERVER_VARS["SCRIPT FILENAME"] only returns the name + path of the file calling the included files. I want each included file to contribute i

[PHP] List of included file names.

2001-06-20 Thread Tim McGuire
Hi, I searched the archives for this. For debugging purposes, I want to see a list of the included files on a page in HTML comments. PHP_SELF and HTTP_SERVER_VARS["SCRIPT FILENAME"] only returns the name + path of the file calling the included files. I want each included file to contribute i

Re: [PHP] PHP Interact with DreamWaver

2001-06-20 Thread Tim Thorburn
;ll design the site in UD, and any scripting that it won't handle (and even some that it will) I'll use a text web editor such as HotDog or Homesite to add the necessary code. I'm also looking forward to the day UD supports PHP :) Thanks -Tim

[PHP] RE: passing values to a javascript variable

2001-06-22 Thread Tim Ward
have you viewed the source? - could be something to do with the semi-colons or, more likely, what addslashes($data_data) evaluates to. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail

[PHP] Percentages

2001-06-24 Thread Tim Thorburn
Hi, Working on a site that needs some billing information. Once upon a time done in ASP where we had the option to use the FormatPercent command - is there an equivalent command within PHP? Using PHP 3.0.16 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

Re: [PHP] PHP Uptime error

2001-06-25 Thread Tim Zickus
Check the permissions on the files in /proc, which is where uptime gets its info from, most likely. You could probably even read the pseudo-file '/proc/loadavg' as 'nobody' directly from PHP given the appropriate file permissions. - Tim http://www.phptemplates.org >

Re: [PHP] Php Files on Browser

2001-06-26 Thread Tim McGuire
Hi Ted, There is an installer available for free that will painlessly install apache, php, and mysql on your windows system. Good tool for trying out stuff locally or hosting an intranet application on a windows box. PHPTriad available from www.phpgeek.com Can't praise it enough. Tim Mc

[PHP] RE: Enter to BR

2001-06-26 Thread Tim Ward
nl2br(). Translating \n to would need str_replace() or some sort of reg exp function. Two carriage returns will be interpreted as which is actually what html does with the tag anyway. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this

[PHP] RE: Remove value from array

2001-06-26 Thread Tim Ward
are you sure it has not been deleted. If you check to see what's in it and it doesn't exist you'll get the answer that it contains a null value (same as any other non-exitsant variable). Did you do a foreach to check what is actually in the array? Tim Ward Senior S

[PHP] Mail slow

2001-06-27 Thread Tim Ward
plain text. I'm sure I've seen reference to this problem somewhere but can't remember (or find) where it was. Can anyone out there help? Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-

RE: [PHP] Mail slow

2001-06-29 Thread Tim Ward
That sounds like a unix answer, I should probably have said that my web server is NT running Apache. 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 Mess

[PHP] Replacing colors in an image?

2001-07-01 Thread Tim Taubert
is it possible to create an image on a website and then to replace colors or parts of this image with another color? imagine we have a left and a right part. they're both white at the beginning. now i randomly choose a color and now the right part becomes green and the left part red... is it pos

AW: [PHP] Replacing colors in an image?

2001-07-01 Thread Tim Taubert
t familiar with the internals of any image format. hope this helps, Papp Gyozo - [EMAIL PROTECTED] - Original Message - From: "Tim Taubert" <[EMAIL PROTECTED]> To: "PHP Mailingliste" <[EMAIL PROTECTED]> Sent: 2001. július 1. 18:11 Subject: [PHP] Replacing c

RE: [PHP] mail function fails

2001-07-02 Thread Tim Taubert
hey ryan try something like this mail("[EMAIL PROTECTED]", "Quote Request", $message, "From: [EMAIL PROTECTED]\nX-Mailer: PHP/" . phpversion()); hope this helps cya tim --------- Tim Taub

RE: [PHP] mail function fails

2001-07-02 Thread Tim Taubert
mh.. this worked successfully... don't have any other ideas.. bye tim - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - -Ori

RE: [PHP] poor HTML syntax crashing (!) netscape

2001-07-03 Thread Tim Taubert
don't know any bugs but could be helpful if we could see your code... but.. maybe you think we shouldn't see it ;) Tim Taubert --------- Tim Taubert | [EMAIL PROTECTED] | http://www.shogu

RE: [PHP] Help Please

2001-07-03 Thread Tim Taubert
yes there is one $HTTP_REFERER but it isn't supported by all browsers... bye Tim - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.c

RE: [PHP] Sina.com

2001-07-03 Thread Tim Taubert
i'm getting this like you... only unreadable messages.. - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - -Original Message-

RE: [PHP] Sina.com

2001-07-04 Thread Tim Taubert
lol you're right :) - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - -Original Message- From: Don Read [mailto:[EMAIL PROT

RE: [PHP] Security of PHP code

2001-07-04 Thread Tim Taubert
i think that you can't attack php code because it's a server side scripting language... just with *echo*(and others) you send some code to the browser... i guess it's secure ;) Tim Taubert ----- Tim Taubert | [

RE: [PHP] Security of PHP code

2001-07-04 Thread Tim Taubert
yes i had this problem too... it's easier to rename your .inc files to .inc.php3 ... so nobody can see your code but the output maybe null or some crazy code... but it's not your php code... Tim Taubert --------- T

RE: [PHP] Security of PHP code

2001-07-04 Thread Tim Taubert
you're totally right.. look at this http://www.ssw.uni-linz.ac.at/Teaching/Lectures/Sem/2000/Alexander/source.ph p3?url=/etc/passwd *no comment* and not my site... Tim Taubert - Tim Taubert | [EMAIL PROTECTED] |

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