[PHP] Problems sending mail to aol with the mail() function

2001-02-22 Thread Steve Kenshalo
thing made any difference. I sent them to myself and they sure look like valid email messages to me. Does anybody else have this problem? What did you do about it? Thanks, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] Problems sending mail to aol with the mail() function

2001-02-23 Thread Steve Werby
"Steve Kenshalo" <[EMAIL PROTECTED]> wrote: > I am working on a PHP script for an e-commerce site that mails out calling > card pin numbers after somebody purchases them online. Turing testing I not > noticed that aol users were not receiving the messages. AOL seems t

Re: [PHP] Location

2001-02-23 Thread Steve Werby
quot;Products"; Then use $SCRIPT_URL or a similar environment variable to display the proper label in the "location bar". If you have a large number of pages (especially dynamically generated "virtual" pages) or sublevels to your site you'll probably want to use a m

Re: [PHP] Using while as for...

2001-02-24 Thread Steve Edberg
ile (($count <= 10) && print 'Number is '.$count++." \n") {} will work too. As will - using alternate while syntax - $count = 0; while ($count <= 10): echo 'Number is '.$count++." \n"; endwhile; Se

Re: [PHP] Newbie: why do I get this error?

2001-02-26 Thread Steve Edberg
Table() function, use $this->attributes[] = array("border", "0"); $this->attributes[] = array("cellpadding", "0"); otherwise, PHP thinks $attributes is a variable local to that function, rather that a class variable. -steve &g

[PHP] Weird Problem

2001-02-26 Thread Steve Segarra
4pl1 on Red Hat 6.2 (I hate redhat, but the bossman says its better supported than slakware. bah.)) Thank you all for your help. steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] mySQL table joins are slow, need rebuild?

2001-02-28 Thread Steve Segarra
It also seems you have a semicolon in your query, mysql_query() specifically states not to have on at the end of your queries, so I am guessing this may be a factor... Steve Joe Stump wrote: > > You need to remember a few things when it comes to joins: > > the joined fields must

Re: [PHP] How to disable some functions?

2001-02-28 Thread Steve Edberg
turned on or off. I presume you could use the php_value disable_functions phpinfo syntax in your httpd.conf or .htaccess (you might need to use php_admin_value instead of php_value). This is available in php 4.0.4; I don't know about availability in earlier versions. I d

Re: [PHP] Need an array parser(CONT)

2001-02-28 Thread Steve Edberg
; address --- city --- austin > address --- state --- Texas > somthing --- somthing_else --- blah1 --- some_value1 > somthing --- somthing_else --- blah1 --- some_value1 var_dump($arr) or print_r($arr) --- see http://www.php.net/manual/en/function.var-dump.php

Re: [PHP] Stripping HTML selectively?

2001-03-04 Thread Steve Edberg
above. Incidentally, the above regexp also removes leading spaces from the tag. Eg, < font style="unreadable"> becomes . If you don't want, that user the regexp '<([[:space:]]*[[:alnum:]]+)[^>]*>' instead. - steve >--- >Outgoi

Re: [PHP] session in php3

2001-03-07 Thread Steve Edberg
use a library like PHPLIB (phplib.netuse.de). -steve >Jack >[EMAIL PROTECTED] >"There is nothing more rewarding than reaching the goal you set for yourself" -- +--- "They've got a cherry pie there, that'll kill ya" --+ | Steve Edber

Re: [PHP] ASP vs PHP

2001-03-11 Thread Steve Edberg
; >Rick That would be 'stacked request handlers'...not possible, AFAIK, with any of the 1.x versions, but supposedly Apache 2.0 can do it. Check out httpd.apache.org; v2.0 is still alpha. - steve > >At 11:28 PM 3/11/01 -0500, Michael Kimsal wrote: >>You'

[PHP] include() suggestion

2001-03-17 Thread Steve Wardell
ingle file. For anyone who has used Cold Fusion, you'll know what I mean by how this should work. This would be a MAJOR improvement for making debugging during development easier. Thanks. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] include() suggestion

2001-03-17 Thread Steve Wardell
that are called but rather sort of merges it in memory into one file to run it seems. Steve "Don Read" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On 17-Mar-01 Steve Wardell wrote: > > I didn't know where else to

[PHP] PHPLIB and Auth

2001-03-19 Thread Steve Haemelinck
Hi Guys, I really have a stupid problem but I don't see it :). I wanted to implement authentification with PHPLIB but it seems I am not able to get it working. What happens: If I want to access a page which needs authentification I first get the loginform, so far so good, but when I enter a use

RE: [PHP] PHPLIB and Auth

2001-03-19 Thread Steve Haemelinck
Can it be that my Apache server is not well configured? I think you have to allow methods like GET and POST ? -Original Message- From: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sent: maandag 19 maart 2001 10:26 To: PHP Mailing Listl (E-mail) Subject:[PHP] PHPLIB and

FW: [PHP] PHPLIB and Auth

2001-03-19 Thread Steve Haemelinck
-Original Message- From: Steve Haemelinck [mailto:[EMAIL PROTECTED]] Sent: maandag 19 maart 2001 11:52 To: 'Steve Haemelinck' Subject:RE: [PHP] PHPLIB and Auth It has certainly got something to do with my config. I just tried a simple form with POST And i

[PHP] Checking if a web, a url really exists ?

2001-03-19 Thread Steve Haemelinck
Anybody got an idea on how to check if a url really exists ? -- 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] HTML and PHP?

2001-04-13 Thread Steve Werby
st make sure you don't indent the closing marker or the parser will miss it! STOP; ?> -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Extract from string

2001-04-14 Thread Steve Edberg
counts 'coffecoffe' as TWO words, not zero. If that's the behavior you want, then it's fine. Now I'm intrigued...I want to find a single regular expression that will NOT match 'coffecoffe'. Perhaps preg_ functions (available on PHP >= 3.0.9). And, I

Re: [PHP] Extract from string, version 2.0

2001-04-14 Thread Steve Edberg
ot zero. If that's the behavior you want, then it's fine. Now I'm intrigued...I want to find a single regular expression that will NOT match 'coffecoffe'. Perhaps preg_ functions (available on PHP >= 3.0.9). And, I tried things like split('[^[:alnum

Re: [PHP] Extract from string, version 3.0

2001-04-14 Thread Steve Edberg
Sheesh! No one should let me reply to email without sufficient caffiene! Now, I actually just read and grokked your question... I haven't tested this. And, I included a line that removes apostrophes (eg; "steve's" becomes "steve"). You can comment that line out i

[PHP] Protecting JavaScripts from being Donwloaded

2001-04-16 Thread Steve Haemelinck
Hi all is it possible to protect your javascripts from being downloaded by visitors ? -- 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] var question

2001-04-16 Thread Steve Edberg
t it would also match www.blah.com?sloginthemud www.blah.com?login0 So, a little regular expression twiddling might be in order. For more info, see: http://www.php.net/manual/en/language.variables.predefined.php http://www.php.net/manual/en/ref.regex.php http://www.php.net/manual/en/ref.pc

Re: [PHP] Running php as a CGI

2001-04-17 Thread Steve Werby
Content-type: text/html" > > Is there any way we can suppress that message? In php.ini change: expose_php = On to expose_php = Off -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Dynamic Pages and Google ???

2001-04-17 Thread Steve Werby
#x27;s AliasMatch directive which allows me to redirect most of the pages on the site to a single PHP file (I call it template_1.php) which uses regular expressions to parse a page's URL and include the proper content. If you want to see it in action take a look at http://www.sexcriminals.com/

Re: [PHP] SQL - Select rand() ?

2001-04-17 Thread Steve Lawson
Sup, In the newer versions of mySQL, you can get random results like SELECT id FROM table ORDER BY rand() LIMIT 0,1 SL. - Original Message - From: "James, Yz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 2:55 PM Subject: [PHP] SQL - Select rand() ? >

Re: [PHP] select question

2001-04-17 Thread Steve Werby
icks (like `ls -1 $prefix*`) to read the files within the directory containing the database. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] Variable variable

2001-04-18 Thread Steve Werby
ckbox variables using: $checkbox_fields = array( 'age_bracket', 'weight', 'gender', 'occupation' ); And then loop through as follows: while( list( , $val ) = each( $checkbox_fields ) ) { // may have to set as $$GLOBALS[$val] if within a function or declare

Re: [PHP] Variable variable

2001-04-18 Thread Steve Werby
exist in future releases of PHP? I prefer to give variables a meaningful name, but since I spend a fair amount of time working with other people's code and clients who sometimes insist on things that aren't preferable, it would be nice to know. -- Steve Werby President, Befriend I

Re: [PHP] Finding the records that are NOT linked

2001-04-18 Thread Steve Werby
hat matches the ID from link_sites and then only show records where there isn't a matching record in link_stats (in which case it's NULL). -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] ACSII in PHP

2001-04-18 Thread Steve Werby
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote: > Is there any function in PHP that I could use to know the number of the > ASCII table of letter "A" for example? It's chr() or ord(). I don't recall which (one is the inverse of the other) s

Re: [PHP] PHP and Double?

2001-04-18 Thread Steve Werby
from the original value to get the decimal component and use substr() to return everything, but the first character. Clearly, the first method is cleaner, but I posed the second option (which I'd never use) just to demonstrate there are plenty of solutions for most situations. -- Steve Werby Pre

Re: [PHP] Add data to three tables at once from one form

2001-04-18 Thread Steve Werby
insert statement? > >$query = "INSERT INTO $table VALUES ('$menu_id', '$server', > '$menunumber', '$menuname')"; > > $result = mysql_db_query($dbname, $query); Add two more sets of statements like those you have for the first query

Re: [PHP] how to scale down image using ImageMagick?

2001-04-19 Thread Steve Werby
ould be covered in the manual pages or --help output of the program. -- -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: [PHP] replace function in a file.

2001-04-19 Thread Steve Werby
'new_string' filename" and you can call it using one of the program execution functions or by enclosing it within backticks. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Advanced Search on MySQL

2001-04-19 Thread Steve Werby
e only contains the fields that are pertinent to the search. Trying to work around that by using the '%' wildcard and including all possible fields in the WHERE clause could greatly increase the time necessary to run the query *and* it's not helping you learn how to program efficiently

Re: [PHP] Which is better coding style...

2001-04-19 Thread Steve Lawson
Personally, I hate trailing {'s I think this function blah() { switch( $bob ) { case 1: $var = "whatever"; break; } } Is much easier to read and follow. As for the exiting question... The "proper" way is to use the breaks. "They" say that multiple returns in any

Re: [PHP] Site Searchable function

2001-04-19 Thread Steve Lawson
Hey, Well, I would write two scripts. One to pregen a reference database and one to search using that database. The pregen could use the readdir function that Matthew Luchak suggested. You could use the fopen command to get the pages. fopen("http://localhost/name-of-file") will return the re

Re: [PHP] Starting PHP script with crontab

2001-04-19 Thread Steve Lawson
Sup, You have to make the output write to a file. Like lynx http://www.page.come > /home/me/bleh.htm SL. - Original Message - From: "Bertjan Schrader" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 19, 2001 4:15 AM Subject: [PHP] Starting PHP script with crontab

Re: [PHP] How do I detect if mysql_connect failes?

2001-04-19 Thread Steve Edberg
HY the connect failed other than not using the '@' and seeing what the mysql_connect error message does. In PHP4, you might be able to catch that message using the output buffering functions, then format that the way you want. See http://www.php.net/manual/en/ref.outcontrol.ph

Re: [PHP] Linux, Apache, PHP and Sendmail

2001-04-20 Thread Steve Werby
evant messages found there, post lines from config files, etc. If Sendmail previously worked on the box, let us know what has changed recently about the setup. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Many email... and just one "mail" function

2001-04-20 Thread Steve Werby
le to take advantage of some of the nice features of your MLM that you should really use for a list this large. FYI, there are also methods for accessing SMTP directly (which avoids the mail() function completely). I know there's a class at http://phpclasses.upperdesign.com/ and there are other

Re: [PHP] Add data to three tables at once from one form

2001-04-20 Thread Steve Werby
to get into (and the DB being used was never stated). -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- 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] PERL vs. PHP

2001-04-20 Thread Steve Lawson
No, you won't. PHP is has very similar syntax to c/c++ and perl but the concepts are extremely different. SL. - Original Message - From: "Jason Caldwell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 3:10 PM Subject: [PHP] PERL vs. PHP > If I know PHP will

[PHP] xml with php

2001-04-19 Thread steve lee
just update the form object lines(e.g. Text, Radio, Check...) Any guidance would be greatly appreciated, Thank, Steve __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- PHP

Re: [PHP] mysql_free_result

2001-04-21 Thread Steve Lawson
Sup, PHP will automatically free results after the script finishes. But, PHP has a memory cap, I think the default is 8megs -- check php.ini. Anyway, so lets say you wanted to pull 2 large results sets. You may get a memory error. So you could pull 1 result, do the necessary calculations,

Re: [PHP] Apache, PHP, Windows XP, MSIE 6, Cheese, and Cookies.

2001-04-22 Thread Steve Lawson
Yea, I got a solution. Choose a flavor of linux, format your HD, install, and run the that server like it was meant to run. Apache is not even 100% on NT much less the XP beta, it's like your running a beta on a beta...That's why it's not working. Here is a good quote from apache.org: "Please

Re: [PHP] problem with storing & displaying image in db

2001-04-22 Thread Steve Lawson
Why not just store the filename? SL. - Original Message - From: "Keyur Kalaria" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 9:52 AM Subject: [PHP] problem with storing & displaying image in db > Hello everybody, > > I am facing a strange problem whi

Re: [PHP] Connecting to a MS Access database

2001-04-22 Thread Steve Maroney
This brings up a question that I always wondered. Does Access have server functionality? Where do you configure these settings ? Thanks, Steve On Sat, 21 Apr 2001, Andrew Hill wrote: > The Access native driver IS an ODBC driver. > That is, I believe, your only option. > >

Re: [PHP] Site Structure

2001-04-23 Thread Steve Werby
e the main include files in the same place. So the include directory (inc) is parallel to my web docs directory. The parent of both is a directory called 'production', which has directories parallel to it called 'development' and 'staging' which allows me to run

[PHP] Re: Method Not Allowed

2001-04-23 Thread Steve Maroney
I just deleted a post that I wanted to reply to. Try reading the FAQ on apache.org Click here or go here -> http://httpd.apache.org/docs/misc/FAQ.html#POSTnotallowed Hope this helps, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] PHP and useradd

2001-04-23 Thread Steve Werby
d by root check it for entries from a cron job and run the commands if entries are found. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: [PHP] getting rows from separate tables stacked in a single array ? (newbie, mysql)

2001-04-24 Thread Steve Lawson
Sup, It can be done...but it will be complicated. First off. You should check out the extract() php command. http://php.net/extract This function makes entries in an array into local variables. Let's say your row array has 2 columns, title and duration. You can do: while( $row = mysql_f

Re: [PHP] random letters and numbers

2001-04-24 Thread Steve Lawson
Sup, I made this and have been using it for about 6 months without problem. mt_rand() is 4 times faster than normal rand(), remember to use mt_srand() to seed. The 8 in the while controls how long the $password will be... $count = 0; mt_srand( (double) microtime() * 100); while( $coun

Re: [PHP] getting rows from separate tables stacked in a single array ? (newbie, mysql)

2001-04-24 Thread Steve Lawson
Doh, I shoulda thought of that, a temp table is the best way to do it. Altho, I don't see why you have a spot_id as a key for that table. Your are probably never going to access that table via that arbitrary number. If anything, you should make item_id the key. The id on your other tables shoul

Re: [PHP] SQL Query time?

2001-04-25 Thread Steve Lawson
Sup, Adding "explain" before the select query will show you how long it will take, along with some other info, but it won't actually give you the results. I use a the function microtime (http://php.net/microtime) to figure execution time. When called, microtime will return a string with mili

Re: [PHP] Transfering an image

2001-04-26 Thread Steve Werby
e's probably a tutorial on zend.com or phpbuilder.com that discusses saving images in a MySQL DB and pulling them out to display on a webpage using PHP so find one of those articles and look near the end. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP

Re: [PHP] What's wrong with Apache + php + mysql on Windows?

2001-04-26 Thread Steve Maroney
I think the question should be what's wrong with Windows? :) Sorry, I can't give you more of an intelligent answer Steve On Thu, 26 Apr 2001, Mig wrote: > Hello, I can't understand the reason apache server running locally on my > Win98 machine delays so much to

Re: [PHP] *.php and the search engienes on the web

2001-04-26 Thread Steve Werby
;w=2 Here are links to other similar threads I've replied to - read all of each thread for the full picture. http://marc.theaimsgroup.com/?l=php-general&m=98754380108909&w=2 http://marc.theaimsgroup.com/?l=php-general&m=96578812203470&w=2 -- Steve Werby President, Befrien

Re: [PHP] math calculations query

2001-04-26 Thread Steve Werby
script which selects description, price and quantity from a mysql > table. > > i have displayed the results on a page in the form of description, price, > quantity but I was wondering how best to go about calculating a total total, > ie. sum of quantitys multiplied by sum

[PHP] Caching & Authentification

2001-04-28 Thread Steve Haemelinck
age displayed is the one of the other user unless he refreshes the page. I thought this was because the page might be cached, but when I set the header("cache-control: no-cache") & the meta tag http-equiv="Expires" content="-1" it still produces the same effect. How can I

[PHP] Browser Caching

2001-04-29 Thread Steve Haemelinck
effect. How can I solve this problem? Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.be:8080/ [EMAIL PROTECTED] Work: MCT IT Consulting - Take consulting 2 the next level Junior IT Consultant http://www.mct.be/ [EMAIL PROTECTED] -- PHP General

Re: [PHP] Command Line

2001-04-30 Thread Steve Werby
"Randy Johnson" <[EMAIL PROTECTED]> wrote: > how do access arguments if I run a script from the command line > > example > php myscript.php arg1, arg2 They'll be located in the global array $argv[]. Include in your script to see how to access them. -- Steve W

Re: [PHP] php 4.04pl1 & ldap

2001-04-30 Thread Steve Werby
"Walgamotte, David" <[EMAIL PROTECTED]> wrote: > Is LDAP support default or are there any ./configure options I need to know Take a look at './configure --help'. You need to configure --with-ldap. -- Steve Werby President, Befriend Internet Services LLC http:

Re: [PHP] Update statement?

2001-04-30 Thread Steve Werby
"$sql"); Add 'echo $sql;' here (no quotes) and look at the output. If the RHS of quantity= is zero, then $quantity passed to modify_quantity is zero and that's the problem. > if there is a value in the db field "quantity" then after the statement is > execute

Re: [PHP] Help: Logging Into Sites (webgames)

2001-04-30 Thread Steve Werby
after installing CURL first. You can also use fsockopen(). -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact t

Re: [PHP] Writing a file with break lines

2001-04-30 Thread Steve Werby
quot;\n" but it didn't worked. "\n" works for me. Perhaps you should post some of your code. Be sure "\n" is within double quotes; if it's in single quotes it won't work. Here's a line of code from a script I wrote that works. fwrite( $fout, "Da

Re: [PHP] Post XML to PHP via XMLHTTP VB Object

2001-05-01 Thread Steve Meyers
Try using the $HTTP_RAW_POST_DATA array. -- Steve Meyers [EMAIL PROTECTED] ""PHP"" <[EMAIL PROTECTED]> wrote in message 9clmgq$2fc$[EMAIL PROTECTED]">news:9clmgq$2fc$[EMAIL PROTECTED]... > Hi, > > I'm trying to the MSXML DOM 3 from Visual Bas

Re: [PHP] MySQL fulltext indices and phrase search

2001-05-02 Thread Steve Werby
7;%foo bar%' Perhaps you should ask on the mysql list. List-Subscribe: <mailto:[EMAIL PROTECTED]> -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- 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: Re[2]: [PHP] Protecting programs

2001-05-03 Thread Steve Werby
er since he is correct in saying these methods aren't the best. An analogy is like leaving a bike unattended on a crowded city street, but typing it up in string. Anyone with time and half a clue can ride the bike away. The Zend compiler is worth looking at. -- Steve Werby President

[PHP] Gettting an XML file through a proxy

2001-05-03 Thread Steve Haemelinck
Hi All Anybody got an idea how I can get an XML file through a proxy. I tried fsockopen with a a GET request but this does not give me what I want :) Thx Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.be:8080/ [EMAIL PROTECTED] Work

Re: [PHP] Even more dynamic page

2001-05-04 Thread Steve Werby
gt; > Or do I have to resort to javascript for such things? Yes, use JS. PHP is server-side. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] Really easy question

2001-05-06 Thread Steve Maroney
ht be turned off, but it should be on by default. Hope this helps, Steve Maroney [EMAIL PROTECTED] On Sun, 6 May 2001, biscut wrote: > How can i check to see if PHP has been enabled, I enabled the modules etc > after they were compiled and i have managed to get Apache working properly >

[PHP] Hit stats

2001-05-08 Thread Steve Wade
wadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

Re: [PHP] cobalt raq4

2001-05-09 Thread Steve Werby
DF source and a test script ./pdftest that creates a test PDF file. Can you get the test file to work? -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
ks heaps :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110

RE: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -Original Message- From: Rares [mailto:[EMAIL PROTECTED]] Sent: Thursday, 10 May 2001 21:33 To: [EMAIL PROTECTED] Subject: Re: [PHP] Newbie redirect/variable question hey

RE: Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
Ahh - thanks - that's helped :-) (Line 9 was the http_referrer line) Now the only trouble is, it seems to still treat $fred as null. The passing line is from index.php: test link Should this work? Thanks, Steve ~~~ Steve Wade Youth Out

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
Thanks - hmm - doesn't seem to do it though. My current code is: which gives an error msg: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/swadie/public_html/redirect.php on line 6 ~~

Re: [PHP] Shopping cart search

2001-05-10 Thread Steve Werby
shopping carts written in PHP. I don't know of a message board or mailing list dedicated to shopping carts. http://www.theexchangeproject.org/ http://www.fishcart.org/ -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://w

Re: [PHP] i need some help with extracting data from mysql

2001-05-10 Thread Steve Werby
ame WHERE approved='yes' > GROUP BY folder ORDER BY folder; You lost me. Where is the field "folder"? Can you output the results of "DESCRIBE tablename" for the table and a few records? -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/

Re: [PHP] i need some help with extracting data from mysql

2001-05-10 Thread Steve Werby
looping through each row it can be compared to $group so that you only display the group name when it doesn't match the $group of the previous row. I think this is what you wanted. If I misinterpreted what you were trying to do let me know. -- Steve Werby President, Befriend Internet Serv

Re[2]: [PHP] Newbie redirect/variable question

2001-05-10 Thread Steve Wade
:-) :-) Got it working - thanks heaps everyone :-) Out of interest - here's my current redirect.php... and the updated referring code... http://www.fusion.org.au";>test link Whew! Now to work on the hits counter bit... swadie ~~~~

RE: Re[2]: [PHP] Newbie redirect/variable question

2001-05-11 Thread Steve Wade
Thanks - the hassle is - my isp doesn't use mysql - so i have to use text files I reckon :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -Original Message-

[PHP] fgetcsv

2001-05-13 Thread Steve Wade
Hi all - just wondering if anyone knows of a function like fputcsv - that is, writes a line to a csv file - opposite of fgetcsv. Any help would be appreciated :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North

RE: [PHP] fgetcsv

2001-05-13 Thread Steve Wade
v) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, 14 May 2001 14:19 To: 'Steve Wade';

RE: [PHP] HallMark uses PHP!!!!

2001-05-13 Thread Steve Wade
Hmm - seems clear to me that PHP *is* some form of drug - judging by the way it seems to affect some people's lives... *grin* ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477

[PHP] File pointers

2001-05-15 Thread Steve Wade
Any easy way to make the file pointer go up one line in a text file? (I am thinking of using ftell(), then working out the length of the line, and then fseek()?) Thanks :-) swadie ~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd

Re: [PHP] Uptime script?

2001-05-16 Thread Steve Werby
e > number of seconds the machine's processes have been idle. I have a function I wrote that displays uptime and takes arguments of time units and decimal places. Have fun. http://www.befriend.com/code_gallery/php/get_uptime/ -- Steve Werby President, Befriend Internet Services LLC http://ww

Re: [PHP] webmaster volunteer

2001-05-17 Thread Steve Werby
gt; consequently it would be desirable to work free-of-charge. Beforehand > thank. Give http://www.sourceforge.com/ a try. There are thousands of projects listed there and I bet a few could use some help. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ --

Re: [PHP] while loops [ newbie ]

2001-05-17 Thread Steve Werby
x27;t match. Then use fwrite to write to a temporary file and copy that file over the original. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- 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] "IF" statements

2001-05-22 Thread Steve Werby
the code within the braces or $date and $hour aren't returning the values you expect. Try echoing them before the if statement to verify they contain the values you expect. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing List (http://w

[PHP] File upload - disappearing variables

2001-05-24 Thread Steve Cook
P_POST_VARS into completely new variables, but nothing seems to work. Has anyone else encountered anything like this? Any suggestions of where I should look to fix this? Cheers for any help ;-) .steve -- http://www.cookstour.org/ http://www.wapwarp.com/ http://www.wap-dev.net/ -- PHP Gener

[PHP] Not PHP but MYSQL

2001-12-27 Thread Steve Maroney
Sorry for the OT, but im trying to figure out something with mysql and need some help. Does anyone know how set the auto_increment value to some other number than 0. I have an order_number coloumn and I want to start it at 1000. So the first record would 1001. Thank you, Steve Maroney

[PHP] Formats with PHP

2001-12-28 Thread Steve Maroney
need something like Perl's Format features but not sure. Any advice ? Thank you, Steve Maroney -- 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: [

Re: [PHP] INI file parsing

2002-01-02 Thread Steve Edberg
AFAIK, it will reread the .ini file every time only if you're running PHP as a CGI, as opposed to an Apache module (or ISAPI or NSAPI module, but I don't think either of those are industrial strength yet). SO, yes, the .ini file will be reread each time PHP is called by IIS. -steve

Re: [PHP] PHP Doesn't Crash but show blank page

2002-01-03 Thread Steve Cayford
h the error_log = ... option. -Steve On Wednesday, January 2, 2002, at 05:11 AM, [@-!-%] wrote: > > Hello everyone! > > I'm having issues with my php pages. When I have errors, Instead of > crashing or showing errors, the browser shows a blank page. > > For example, if I

Re: [PHP] Regular Expression

2002-01-03 Thread Steve Cayford
results[2] \n"); print("all results: "); print_r($results); ?> -Steve On Thursday, January 3, 2002, at 12:15 PM, Jim Lucas [php] wrote: > I have seen this question reposted for the past week. now why don't you > just work with the entire thing. > > get the

Re: [PHP] counting with dates (help!)

2002-01-07 Thread Steve Cayford
Well, I'll chime in as well. I'd recommend doing all your calculations in timestamps in seconds, then convert the results into days, dates, or whatever. If you only have a date to start with then convert to a timestamp, do the calculation, and convert back. You could wrap it in a function like

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