[PHP] Re: phpauction 2.1

2003-06-03 Thread chris prior
ive read the read me file a hundred times ive done everything its says there thankyou for the help Ferhat Bingol [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] pear looks like already installed ... your include diretory is mentined in the error message soput the necassary files

php-general Digest 2 Jun 2003 13:07:18 -0000 Issue 2093

2003-06-03 Thread php-general-digest-help
php-general Digest 2 Jun 2003 13:07:18 - Issue 2093 Topics (messages 149745 through 149787): can't connect to mysql 149745 by: Chin Hui 149767 by: Jason Wong Re: UBB to HTML 149746 by: Manuel Lemos Re: Strange Behaviour of cookies 149747 by: Jaap van

[PHP] Re: phpauction 2.1

2003-06-03 Thread Ferhat BINGOL
can you send it to my address... I mean the whole package... Chris Prior [EMAIL PROTECTED], iletide þunu yazdý news:[EMAIL PROTECTED] ive read the read me file a hundred times ive done everything its says there thankyou for the help Ferhat Bingol [EMAIL PROTECTED] wrote in message

Re: [PHP] Making a PHP Script Very Cache Friendly

2003-06-03 Thread Wendell Brown
On Mon, 02 Jun 2003 02:38:51 -0400, Gerard Samuel wrote: For the life of me, according to the output of ethereal (a network sniffer), this file is always fetched from the server. Have you looked at what is actually coming out in the headers? If not, grab a copy of Sam Spade for windows

[PHP] zip code validation/regular expression

2003-06-03 Thread Jason Paschal
Simply trying to use regular expressions to validate a 5 or 5+4 zip code, excluding 0 and 0-. Looked on http://www.regexlib.com, and that's where I found the pattern below, but it doesn't work. The best I can do on my own is two separate regular expressions, one to match a valid

[PHP] Checking for existing records

2003-06-03 Thread Michael Egan
Hello all, I'm looking for the sort of programming inspiration I suspect I won't find in manuals - I have checked the web first! When saving records to a table I generally do a fairly standard check to ensure that there is not already a record of the same name. I even put a big warning

RE: [PHP] Checking for existing records

2003-06-03 Thread Jay Blanchard
[snip] When saving records to a table I generally do a fairly standard check to ensure that there is not already a record of the same name. I even put a big warning message on the page asking users to check to ensure that a record of a particular name doesn't already exist before they create a

RE: [PHP] Checking for existing records[Scanned]

2003-06-03 Thread Michael Egan
Thanks - I'll try to add these checks. Life would be so much easier if it weren't for the users :-) Michael Egan -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:38 To: Michael Egan; PHP General (E-mail) Subject: RE: [PHP] Checking for existing

RE: [PHP] Checking for existing records[Scanned]

2003-06-03 Thread Michael Egan
I should have looked at the manual a bit more thoroughly. I've just come across the similar_text() function which should do just what I'm after :-) Thanks, Michael Egan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookie security

2003-06-03 Thread daniel
Hi all! I'd like to use cookies in sessions on my backend to eliminate the possibility of session hijacking, but I'm a bit concerned about cookie security. If you set a cookie to last until the browser session is ended, what happens to the cookie if the system/browser crashes? Can I trust every

Re: [PHP] Checking for existing records

2003-06-03 Thread Daniel Stark
You might also look into word stemming (removing suffixes and possibly prefixes) and comparing stemmed titles. Another possibility would be to find a list of commonly misspelled/misused words like (there, their, they're) and substitute all possibilities with one version for the purposes of

[PHP] user (system) authentification

2003-06-03 Thread Duncan
Hi, is there a way, to verify a password via php, if it matches it's entry in /etc/shadow ? I am trying to write a script, which needs a user authentification on a server wide basis and since the users come and go rather fast on the server in question, i thought that the best way would be to

Re: [PHP] Strange Behaviour of cookies

2003-06-03 Thread Marek Kilimajer
I think this is a bug in IE. Try other browsers, and if your code works, all you can do is to use a workaround (metarefresh). Haseeb Iqbal wrote: Hi all, don't know for sure if this is heppening to me only or there are others who faced the same problem here is whats wrong when ever i set a

Re: [PHP] user (system) authentification

2003-06-03 Thread bbonkosk
Well, make sure you tunnel it securly with SSL or the like, but have a look at: http://us3.php.net/manual/en/function.crypt.php -Brad Hi, is there a way, to verify a password via php, if it matches it's entry in /etc/shadow ? I am trying to write a script, which needs a user

RE: [PHP] Checking for existing records[Scanned]

2003-06-03 Thread Michael Egan
Thanks Daniel. I think the approach I'll settle for will be to do an initial check to make sure that no record of exactly the same name exists and then look through the records to see if there are any similar records using the similar_text() function. I'll present the records from the second

RE: [PHP] GEnerating PDF's

2003-06-03 Thread Brian Paulson
Petre, We use the ROS PDF Class its very easy to set up and has a ton of options, best part is that you don't need PDFLIB. http://www.ros.co.nz/pdf Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544-0264 URL:

Re: [PHP] zip code validation/regular expression

2003-06-03 Thread CPT John W. Holmes
Simply trying to use regular expressions to validate a 5 or 5+4 zip code, excluding 0 and 0-. Looked on http://www.regexlib.com, and that's where I found the pattern below, but it doesn't work. The best I can do on my own is two separate regular expressions, one to match a valid

Re: [PHP] Making a PHP Script Very Cache Friendly

2003-06-03 Thread Gerard Samuel
Gerard Samuel wrote: Searching through the archives, most people are running away from caching php scripts. Im trying to do the opposite. I have a script that fetches css files. Im trying to add header() calls to it so that browsers can cache it like a normal css file. This is what I have at

Re: [PHP] I guess I'll give the list a shot

2003-06-03 Thread Marek Kilimajer
Look at www.oscommerce.com and its solution David McGlone wrote: Hi all, I've got a really tough question, I am building an application that allows PayPal's shopping cart to have multiple items, but also multiple prices for the same item, but a different style or size or color, and Im quite

[PHP] problem with apache 2.0

2003-06-03 Thread Franck Collineau
Greeting, I have just change my server to apache 2.0.44 and php 4.3.1 (from mandrake 9.1) and i have a problem now When i pass a numeric parameter to a php script from a form, the parameter is equal zero ! Here is my form: p Modification d'un matériel: /p table tr td

[PHP] howto set an address for a image

2003-06-03 Thread Ferhat BINGOL
Hi, I wan to do something like that, I saw some sites do but how? I wanto code in HTML like that img src=http://www.myserver.com/image.php?id=12321 so it will go and that the image like the id and display it in html.. TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Dillon, John
I have a text box on a web page and submit button. The php code sends the text as an email. If the text includes an inverted comma/apostrophe the email will include a backslash before it, thus: \'. I know how to str_replace in php, but what do I need to replace the apostrophe with to avoid the

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Adam Voigt
Umm, try this: $body = str_replace('\'','#39;',stripslashes($_POST['message'])); mail($to,$subject,$body,Content-type:text/html\r\n); On Mon, 2003-06-02 at 11:12, Dillon, John wrote: I have a text box on a web page and submit button. The php code sends the text as an email. If the text

[PHP] Re: howto set an address for a image

2003-06-03 Thread Ferhat BINGOL
? $r = 255; $g = 0; $b = 0; header(Content-Length: 43); header(Content-Type: image/gif); printf(GIF89a\1\0\1\0%c\0\0%c%c%c\0\0\0%s,\0\0\0\0\1\0\1\0\0%c%c%c\1\0;, 144, $r, $g, $b, pack(c8,33,249,4,5,16,0,0,0), 2,2,4 ); ? this works fine... a 1x1 transperant GIF file -- PHP General

[PHP] Re: problem with apache 2.0

2003-06-03 Thread sven
php.ini: register_globals = off? look at $_POST['id']. ciao Franck Collineau [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Greeting, I have just change my server to apache 2.0.44 and php 4.3.1 (from mandrake 9.1) and i have a problem now When i pass a numeric parameter to

Re: [PHP] Cookies - recomendation please

2003-06-03 Thread Justin French
http://au3.php.net/manual/en/features.cookies.php (not intended as a smart-arse post) on 01/06/03 11:56 PM, Ryan A ([EMAIL PROTECTED]) wrote: Hi everyone, Some time back I had no idea about sessions and I asked this list to give me a few links on the web where i can learn about them,

Re: [PHP] session

2003-06-03 Thread Justin French
on 02/06/03 9:55 PM, Aris Santillan ([EMAIL PROTECTED]) wrote: ? session_start(); $_SESSION['name'] = $_POST['name']; echo $_SESSION['name']; ? Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] howto set an address for a image

2003-06-03 Thread Wendell Brown
On Mon, 2 Jun 2003 17:07:17 +0200, Ferhat BINGOL wrote: I wan to do something like that, I saw some sites do but how? I wanto code in HTML like that img src=http://www.myserver.com/image.php?id=12321 so it will go and that the image like the id and display it in html.. Are you intending to

Re: [PHP] session

2003-06-03 Thread Justin French
on 02/06/03 6:03 PM, Adrian Portsmouth ([EMAIL PROTECTED]) wrote: The value isn't available until the next page Huh It's available straight away. Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] user login idle timeout feature

2003-06-03 Thread Justin French
on 02/06/03 8:06 PM, electroteque ([EMAIL PROTECTED]) wrote: thats what i was thinking of logic but i may be having about 10 users logged in doing full text searching on a 200 meg + database will that affect it ? the issue shouldn't be your full text searching... the issue should be your

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Hardik Doshi
Hi there, I think you need to check magic quotes setting under php.ini. I guess it should be on. Try to make it off and try your mail function. Thanks Hardik Doshi --- Dillon, John [EMAIL PROTECTED] wrote: I have a text box on a web page and submit button. The php code sends the text as an

Re: [PHP] UBB to HTML

2003-06-03 Thread Steve Keller
At 6/1/2003 09:05 PM, zavaboy wrote: How can I strip ALL HTML tags, then turn UBB code to HTML. And I also want to know how to turn the HTML back to UBB? http://us3.php.net/manual/en/function.strip-tags.php http://promoxy.mirrors.phpclasses.org/browse.html/package/818.html Google is your

Re: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Marek Kilimajer
You have magic_quotes on, with this setting php runs addslashes() on every $_REQUEST variable (so you can use them in sql queries right away). So you need to use stripslashes() before sending it as mail. Dillon, John wrote: I have a text box on a web page and submit button. The php code sends

[PHP] DB2 at Win32

2003-06-03 Thread ef
Hi everyone Someone know how to set PHP work with DB2 on Win32 ? Thanks in advanced -- EF. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Shipping Rates

2003-06-03 Thread Jim Lucas
is this correct? wouldn't you want the array to be like this? $rates = array('7.45'=20, '8.45'=35, '9.45'=55, '10.45'=80, '11.45'=100, '13.45'=150,

[PHP] Sessions and redirections - Strange behaviour!

2003-06-03 Thread Benja
Hi all, I noticed a strange behaviour of Explorer with HTTP redirections (301/302) and sessions. 2 web sites, A and B. Web site A set cookie session and redirect (HTTP 302) directly to web site B that uses simple sessions. When going directly to site B, session is kept during all the navigation

Re: [PHP] Shipping Rates

2003-06-03 Thread Jim Lucas
Answering my own answer. I see now how you are extracting the sub array information. My mistake. Jim Lucas - Original Message - From: Jim Lucas [EMAIL PROTECTED] To: Rasmus Lerdorf [EMAIL PROTECTED]; Ralph [EMAIL PROTECTED] Cc: PHP General Mailing List [EMAIL PROTECTED] Sent: Monday,

Re: [PHP] I guess I'll give the list a shot

2003-06-03 Thread Steve Keller
At 5/30/2003 09:47 PM, David McGlone wrote: Basically what Im trying to do is when lets say black is selected from the dropdown, then the price for a black shirt is grabbed from the database and inserted into a hidden field. If you want this to happen dynamically, as the user is on the page,

Re: [PHP] Apache problem:PHP will not execute

2003-06-03 Thread Kjell Hansen
Sorry for the delay... Yes, it is set (I even removed the IfModule mod_php4.c directives) but it's still no executing but acting more like downloads :( Any suggestions? /Kjell - Original Message - From: electroteque [EMAIL PROTECTED] To: Kjell Hansen [EMAIL PROTECTED]; [EMAIL

[PHP] Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])

2003-06-03 Thread Steve Keller
Just wanted to pass a little warning on to the list. I sent a reply to David McGlone ([EMAIL PROTECTED]) and my email got forwarded to an address at Bonzi.com. I'm not sure if they're using list replies to harvest email addresses or not, but I'll definitely be watching my in-box. From:

Re: [PHP] howto set an address for a image

2003-06-03 Thread Ferhat BINGOL
that helped a lot .. thanks.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache problem:PHP will not execute

2003-06-03 Thread Kjell Hansen
Sorry, for the delay in responding and for not indicating my OS... Linux SuSE8.1 is where I can't get i working, on my w2k it's functioning like it's supposed. /Kjell - Original Message - From: Gurhan Ozen [EMAIL PROTECTED] To: Kjell Hansen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: [PHP] Apache problem:PHP will not execute

2003-06-03 Thread R'twick Niceorgaw
Make sure your have the following line in your apache config file (usually httpd.conf). If its not there then add it somewhere and restart apache. AddType application-x-httpd-php .php HTH R'twick - Original Message - From: Kjell Hansen [EMAIL PROTECTED] To: Gurhan Ozen [EMAIL

[PHP] general questions

2003-06-03 Thread Dale
I am new to php and I just have some general questions. 1. when you create a new variable such as an integer, is it automatically initialized or is it considered empty similar to asp? 2. If I were to create an array and filled the array with a Boolean value, a string, and an integer what type

Re: [PHP] general questions

2003-06-03 Thread Jordan S. Jones
Dale, 1. If my memory serves me correctly, when you initialize a variable, it is given the default value of NULL until something is assigned to it. 2. PHP is not a strongly typed language, meaning that your array would act as so: $arr_test[0] = 1; /// Integer

[PHP] Re: general questions

2003-06-03 Thread DvDmanDT
You create a variable by assigning a value to it sorta... Am I misstaken or would every value be considered as different types? Don't think you would get problems with it... Maybe string... In PHP, it doesn't really matter all that much if a number is int or string as they are automaticly

[PHP] Re: Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])

2003-06-03 Thread DvDmanDT
That mail came to me as well... We must get rid of them! Only one mail was painful enough... Steve Keller [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Just wanted to pass a little warning on to the list. I sent a reply to David McGlone ([EMAIL PROTECTED]) and my email got

[PHP] preg_replace: literal / in pattern string

2003-06-03 Thread ROBERT MCPEAK
Search through the docs/archive and can't figure this one out. Surely I'm overlooking something obvious. I can't figure out how to escape a literal / in $q. Adding the line: $q=str_replace(/, \/, $q); yields a literal \/ in $content. $q_upper=strtoupper($q); $q_lower=strtolower($q);

[PHP] update question

2003-06-03 Thread Matt Hedges
Hello, I am new to PHP and would greatly appreciate any help. I am building a webpage for my sister's sorority- http://olemissddd.com. I have built a page that allows them to update the officers each year- http://hedges.org/ddd/olemiss/updateofficers.php and then view those officers-

Re: [PHP] update question

2003-06-03 Thread Ernest E Vogelsinger
At 21:12 02.06.2003, Matt Hedges said: [snip] Hello, I am new to PHP and would greatly appreciate any help. I am building a webpage for my sister's sorority- http://olemissddd.com. I have built a page that allows them to update the officers each year-

[PHP] Dynamic value lookups

2003-06-03 Thread Vijay Avarachen
Ok I am attempting to do something very simple and I know it can be done, but I have been told otherwise. I have two select menu's, Products and Components. There is a one to many relationship between them (one product can have many components). I just want it so that when the user selects

Re: [PHP] Dynamic value lookups

2003-06-03 Thread Steve Keller
At 6/2/2003 02:44 PM, Vijay Avarachen wrote: I know I gotta do somethign with onchange= That's Javascript, not PHP. I was thinking perhaps I can just do somthing like onchange=PHP_SELF?product=value. No I know thats not the syntax but you get the idea =) That won't dynamically load

Re: [PHP] Dynamic value lookups

2003-06-03 Thread ROBERT MCPEAK
I agree that you will probably have to build all possible select value arrays on pageload if you want the select list to switch without a page reload. PHP is parsed by the webserver and then sent to the page. Javascript is parsed by the browser. You can use PHP to dynamically generate

[PHP] Oracle support under PHP / 8i or 9 and a RedHat 9 / Apache 1.3.X machine

2003-06-03 Thread Robert Mena
Hi, I have a server (currently 7.1) with apache + php compiled with oracle (mcrypt, imap, gettext) support. In order to do so I've installed the 8i linux versions, make a tar.gz of the libs directory and installed in my server. I runs fine accessing a remote (not mantained by me) oracle

[PHP] php affiliate and other php based affiliate programs

2003-06-03 Thread hui zhang
hi, i am looking for an affiliate program (good freeware or good cheap commercail software). i went to http://www.hotscripts.com to look in its php scripts - affiliate category. not too many to select from. anyone has experience in any of them or other php based affiliate program? please share

[PHP] Namespace like C++

2003-06-03 Thread Steven Walker
Hi, I was wondering if there is a way in PHP to define namespaces (as in C++ or some similar scope classification technique). I didn't find any related documentation. Is it possible? Steven J. Walker Walker Effects www.walkereffects.com [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] foreach and mysql_fetch_array problem

2003-06-03 Thread Bix
Hi all, I am trying to build up a table using values from a db as follows... mysql_select_db($db, $sql_connection); $result = mysql_query(SELECT * FROM $table WHERE $query LIMIT $limit,$sql_connection); $output = table border=\0\ cellpadding=\0\ cellspacing=\0\ width=\370\\n;

Re: [PHP] update question [T20030602013J]

2003-06-03 Thread Ernest E Vogelsinger
At 21:41 02.06.2003, you said: [snip] This is an automatic reply to acknowledge that your message has been received. PLEASE DO NOT REPLY TO THIS MESSAGE. -- Dear [EMAIL PROTECTED],

[PHP] Object-Oriented PHP with MySQL

2003-06-03 Thread Liam Gibbs
Is it efficient to load objects with data from MySQL for PHP? I'm looking into the OO-ness of PHP, and I have an idea of making objects, but would like the data loaded from a SQL source. Is this a good idea?

Re: [PHP] Namespace like C++

2003-06-03 Thread Weston Houghton
Nope. They've been looking to add it in the next version of the Zend Engine, but to be honest, it isn't working out well for a language like PHP. As of last week, the decision was actually to remove the somewhat dubious namespace support that had already been added. Cheers, Wes On Monday, June

Re: [PHP] update question [T20030602013J]

2003-06-03 Thread Bix
Whenever I sign up to a new news service/website or the like, I give them their own alias at my domain, so i can see how my email address is used ;o) Hence the [EMAIL PROTECTED] Hate spammers. No need. Bix. Ernest E Vogelsinger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At

Fw: [PHP] zip code validation/regular expression

2003-06-03 Thread pop
This didnt make it to the list earlier. Maybe I need some email lessons. Leonard. - Original Message - From: pop [EMAIL PROTECTED] To: Jason Paschal [EMAIL PROTECTED] Sent: Monday, June 02, 2003 10:58 AM Subject: Re: [PHP] zip code validation/regular expression Since you are only

Re: [PHP] Use of undefined constant PHP_SELF - assumed 'PHP_SELF'

2003-06-03 Thread Leif K-Brooks
http://us3.php.net/types.array#language.types.array.foo-bar Øystein Håland wrote: What's the difference (and what's correct)? With the use of error_reporting = E_ALL in php.ini I get an error as mentioned above. In the code I use $_SERVER[PHP_SELF]. Changing this to $_SERVER['PHP_SELF'] report

[PHP] Re: php affiliate and other php based affiliate programs

2003-06-03 Thread hui zhang
name space guys, you posted not related questions as the response to my original question. could any one post to answer my original question? thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to get rid off this auto repsonse from TechSupport@bonzi.com?

2003-06-03 Thread hui zhang
how to get rid off this auto repsonse from [EMAIL PROTECTED] everytime i post in this news group i got auto repsonse from bonzi. is this bonzi the host of this newsgroup? so we have to accept their e-mail? if it is not, are there anything we can do to get rid off it? thanks -- PHP General

[PHP] Re: Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])

2003-06-03 Thread hui zhang
guys, did you find the reasons and how to get rid off it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to get rid off this auto repsonse from TechSupport@bonzi.com?

2003-06-03 Thread Leif K-Brooks
My guess is that some moron subscribed [EMAIL PROTECTED] to the list. I'm sure a moderator will remove it soon enough. hui zhang wrote: how to get rid off this auto repsonse from [EMAIL PROTECTED] everytime i post in this news group i got auto repsonse from bonzi. is this bonzi the host of

[PHP] Re: Object-Oriented PHP with MySQL

2003-06-03 Thread DvDmanDT
I'm not sure at all and I'm most likely wrong, but think about mysql_fetch_object... Isn't that what you want sorta? Liam Gibbs [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Is it efficient to load objects with data from MySQL for PHP? I'm looking into the OO-ness of PHP, and I have

[PHP] php auction 2.1

2003-06-03 Thread chris prior
im tring to find out if there is a addon to PHPAUCTION 2.1 to aloow listing fee's and closeing fee's ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fulltext mysql search formatting and preg_replace question

2003-06-03 Thread daniel
hi there i am creating a fulltext mysql search engine, i am generating the sql query from form inputs , within a fulltext text field , i can input exact matches like so something1 something2 something3 something4 , although there is a problem with this , the server defaults space between words to

Re: [PHP] fulltext mysql search formatting and preg_replace question

2003-06-03 Thread daniel
i'll be less vague here is my regex $value = preg_replace(/\\\[A-z]/,+\$2,$value); i just need the quote before a character as i dont want a plus before the last quote :\ this chops off the first character and itsnt returning it hi there i am creating a fulltext mysql search engine, i am

[PHP] Planning a new job

2003-06-03 Thread Tim Burgan
Hello, I'm wondering what processes everyone has before quoting a web programming / design job? Do you have a face-to-face meeting with the client? What questions do you ask? What information should be found-out about the job? Do I then go away and draw up a quote? or a quote and a proposal?

[PHP] Re: Matching titles from distinct data sources

2003-06-03 Thread James Robertson
That's great, thanks David :-) For anyone who is interested I also got some helpful responses in, news://comp.ai.fuzzy Cheers James David Robley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hello Does anyone know of an

[PHP] A recommended barcode program

2003-06-03 Thread Todd Cary
I would like to have a reccommendation for a PHP class that generates a barcode. Many thanks... Todd --

[PHP] simple password protect script

2003-06-03 Thread Matt Hedges
Hello, Can anyone tell me the basic PHP script to password protect a php page? thanks mh -- ___ | Matt Hedges | http://hedgesinnovations.com | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Planning a new job

2003-06-03 Thread Justin French
That's really beyond the scope of this list, but: on 03/06/03 10:45 AM, Tim Burgan ([EMAIL PROTECTED]) wrote: Do you have a face-to-face meeting with the client? It depends if they're in my capital city, or if the job is big enough to warrant me flying interstate What questions do you ask?

Re: [PHP] simple password protect script

2003-06-03 Thread Ernest E Vogelsinger
At 02:50 03.06.2003, Matt Hedges said: [snip] Hello, Can anyone tell me the basic PHP script to password protect a php page? [snip] Have a look at http://www.vogelsinger.at/protected.html, maybe this is what you're

Re: [PHP] foreach and mysql_fetch_array problem

2003-06-03 Thread Justin French
This is correct: while($myrow = mysql_fetch_array($result)) { // ... } The iteration of the while loop represents one returned row from the mysql result, with $myrow being an array of values returned. Rather than a SELECT * query, let's look at a something where we know the column

[PHP] affiliate program? please share your experience - i need as much as possible

2003-06-03 Thread hui zhang
Any people can recommend to me any affiliate programs, such as php affiliate and others in the hotscripts/php/affilate category? share your experience? thanks. Sorry if you see this post by me before. My original post was followed and answered by non related response and it is not answered.

[PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Kurosh Burris
Hi Everyone, I'm trying to get a very simple sum of the values in an MySQL database field column. I have very little experience with PHP and SQL, but I learn quickly. :) Our resident PHP expert who built the full script is really busy, so I've been trying to do this myself. The farthest I

[PHP] How to delete a line in a TXT-file

2003-06-03 Thread poetbox
Hi all, I've been having trouble to delete a line from a TXT-file for days. The content of the text file just like below: ---begin== 00145|test|line1 00255|test|line1 01143|test|line1 00469|test|line1 10146|test|line1 --==end Every line

[PHP] Re: A recommended barcode program

2003-06-03 Thread Manuel Lemos
Hello, On 06/02/2003 09:30 PM, Todd Cary wrote: I would like to have a reccommendation for a PHP class that generates a barcode. Have you seen these? Class: Barcode128 pattern compute class http://www.phpclasses.org/barcode128 Class: BarcodeI25 http://www.phpclasses.org/barcode -- Regards,

RE: [PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread John W. Holmes
I'm trying to get a very simple sum of the values in an MySQL database field column. I have very little experience with PHP and SQL, but I learn quickly. :) Our resident PHP expert who built the full script is really busy, so I've been trying to do this myself. The farthest I could get

[PHP] Session to Secure Form

2003-06-03 Thread Ralph
I'm setting up a payment form on same server but different domain name, and I need to pass the customers id that I have stored in a session so that I can use it on the secure form to query the database for the customers order. What would be the best way for me to go about this? -- PHP

[PHP] Classes vs. functions?

2003-06-03 Thread Vijay Avarachen
I have been mostly using function in my php code, and lately I have been curious about classes. I have a vague idea of classes from my C++ class that I took a few years back. Can someone please explain to me when is a class useful over a set of functions? I have seen very few code with

Re: [PHP] Planning a new job

2003-06-03 Thread Jaap van Ganswijk
At 2003-06-03 09:15 +0930, Tim Burgan wrote: I'm wondering what processes everyone has before quoting a web programming / design job? Do you have a face-to-face meeting with the client? What questions do you ask? What information should be found-out about the job? Do I then go away and draw up

[PHP] write to a CSV file

2003-06-03 Thread hui zhang
we have a php function fgetcsv to read from a csv file. is there any scripts available to do the reverse, write to a csv file. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Planning a new job

2003-06-03 Thread Ralph
Tim, This is really beyond the scope of this list, but I can help then it doesn't matter. :-) A few months ago I was asking myself the same questions you are asking now. I found the following articles: http://www.sitepoint.com/article/913 http://www.sitepoint.com/article/677

[PHP] session not persisting

2003-06-03 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running the latest version of php. And have both register_globals and track_vars set to ON. Well, the first script prints out the session var fine, but not the

[PHP] php session not persisting

2003-06-03 Thread Eric D.
Hi, I have two very simple php scripts and the second srcipt is not seeing the variables session_registered by the first script. I'm running the latest version of php. And have both register_globals and track_vars set to ON. Well, the first script prints out the session var fine, but not the

Re: [PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Hugh Danaher
try something simpler and see if it passes: $SelectQuery=SELECT SUM(GiftSubscriptions) AS GiftSubs FROM Registration; $Result = mysql_query($SelectQuery) or die(Something died in here! .mysql_error()); - Original Message - From: Kurosh Burris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] Classes vs. functions?

2003-06-03 Thread Steven Walker
Can someone please explain to me when is a class useful over a set of functions? Almost always. Object oriented programming offers many many advantages (that I cannot get into depth on here). There are a few exceptions where you would not use classes, such as utility functions like max() and

[PHP] IDENTIFICATON

2003-06-03 Thread Dale
I have the following scenario: I have this timeclock program that my employees access by logging into and the program pretty much allows them to clock-in and clock-out. The problem is that I noticed some of the employees were clocking-in and clocking-out from their home. The main problem is that

[PHP] LoadModule Help

2003-06-03 Thread tmcclelland
Hi all, As you will guess from this question I'm new to all this. Firstly I hope this is the right list. I have installed the latest version of Apache, and the latest version of PHP, on Windows 2000. I can start the server fine but as soon as I change the httpd.conf file and add the LoadModule

[PHP] Fw: What Visual PHP Edit ?

2003-06-03 Thread agus
hi everyone, i want to know what the good software for PHP Editor Programing, like Visual Age For Java, or Visual .NET from Microsoft...

RE: [PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Kurosh Burris
Hi Hugh, Thanks, so far so good... no error messages. What next to get it to display the total properly? BTW, I changed $SelectQuery to $TestSub since $SelectQuery is used repeatedly in this script, and I figured it might conflict if I didn't use the new Query part. Kurosh -Original

[PHP] Broken links report

2003-06-03 Thread Kjell Hansen
Hi, On a link page I have I'd like to show if the links are valid (=exists) I tried to do a pOpen (http://www.whatever.com/index.html,r;) and if it exists everything is fine but if it's not there I get a warning failed to create stream: HTTP request failed! HTTP/1.1 404 Object Not Found Opening

RE: [PHP] Broken links report

2003-06-03 Thread Kjell Hansen
Thanx Chris, this is exactly what I do. And I get Warning: fopen(http://www.whatever.com/index.html) [function.fopen]: failed to create stream: HTTP request failed! HTTP/1.1 404 Object Not Found I don't want to get the warning. I know I can switch it off but there are other warnings I would like

RE: [PHP] Supplied argument is not a valid MySQL result resource

2003-06-03 Thread Kurosh Burris
Hi Hugh, I added back in the other two lines, and it's working now... not sure why, though. Thanks, Kurosh -Original Message- From: Hugh Danaher [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 12:53 AM To: Kurosh Burris Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Supplied argument

Re: [PHP] Cookies and Sessions: What's the Best Recipe?

2003-06-03 Thread Monty
I have a member site that uses sessions. People who have their browser cookies turned off, however, cannot use our site. I read somewhere that to avoid this, I'd have to manually append the PHPSESSID var to every URL when redirecting in a script. One way around this would be to write a

  1   2   >