[PHP] Modssl & php 4 fears

2001-07-23 Thread Jason Rennie
Hi again all, I recompiled apache with modssl and it works. (Well the snake oil inc cert's work ;) But i get a warning on apache load about, loading a standard module (php4.so) and how this may crash becasue it isn't compiled to work with EAPI. Please comile with -DEAPI Now the question is, do

[PHP] When did this become the advertising Mailing List

2001-07-23 Thread ReDucTor
When?!? -- 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]

[PHP] date

2001-07-23 Thread Yamin Prabudy
Hi, how do i check that the current date is the end of month ? thanks in advance -- 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]

[PHP] date HELP !!!!!

2001-07-23 Thread Yamin Prabudy
hi, how do i check that the current date is the end of month Thanks in Advance -- 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] date HELP !!!!!

2001-07-23 Thread ReDucTor
$todaydate = date("m"); $tomorrowdate = date("m",time() + 86400); if($todaydate != $tomorrowdate){ echo "Tomorrow is a new month"; } - Original Message - From: Yamin Prabudy <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 5:27 PM Subject: [PHP] date HELP !

Re: [PHP] date HELP !!!!!

2001-07-23 Thread Daniel Rezny
Hello Yamin, Monday, July 23, 2001, 9:27:46 AM, you wrote: YP> hi, YP> how do i check that the current date is the end of month YP> Thanks in Advance If you want to check how long is current month and use this value later you can use this: $month=("m"); //can be like this depend on if you s

Re: [PHP] date HELP !!!!!

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (Reductor) wrote: > $todaydate = date("m"); > $tomorrowdate = date("m",time() + 86400); > if($todaydate != $tomorrowdate){ >echo "Tomorrow is a new month"; >} or if (date("d") == date("j")) echo "last day"; or something else :) > - Original Message --

Re: [PHP] date HELP !!!!!

2001-07-23 Thread James Holloway
Better still, use the date("t"); to find out how many days are in the given month. This part of the date function is a blessing, given the varying days in months, and the fact that we've a leap year every four years. James "Daniel Rezny" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">ne

Re: [PHP] php 4.0.6

2001-07-23 Thread Adrian D'Costa
Hi, It works now. I did a stupid mistake instead of putting --enable-sockets I put --with-sockets Adrian On Sat, 21 Jul 2001, E. Peter K. Chan wrote: > Hi > > Try going to the source directory ie where you unzipped the tarball for php. > May as well upgrade to php4.0.6 - that could save you

[PHP] Re: reg exp help

2001-07-23 Thread James Holloway
Hi Justin, for the username, you can use: if (!preg_match("/^[a-z0-9]*$/", $username)) { // error } else { // ok } The ^ means start of the string, the characters between the [ and ] are ones that we want, the * means however many times, and the $ means the end of the line / string. So

[PHP] Re: Replace ANYTHING between

2001-07-23 Thread James Holloway
Hi Dan, maybe something like: $newvariablethatwewantbetweenthetags = "Long variable!"; $string = preg_replace("/()(.*?)(<\/TAG>)/i", \\1$newvariablethatwewantbetweenthetags\\2, $string)); There should be a " after and before the second part of that statement, but my email proggy strips them.

[PHP] number generator

2001-07-23 Thread Yamin Prabudy
Hi there I would like to generate numbers (random) like a credit card number and can be check is the number valid or not how can i do that.. yamin prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

[PHP] limit items per page

2001-07-23 Thread Steph
Ive got an image gallery, and rather than having one really long page of thumbnails, I'd like to have around 25 thumbnails (5 rows of 5 thumbs) per page. Can you guys point me in the right direction?? Steph

[PHP] Re: limit items per page

2001-07-23 Thread James Holloway
Hi Steph, as the name suggests, use LIMIT ;) Ie, SELECT * FROM TABLE LIMIT 0,25 The 0 (or other number) is optional, and tells the table which row to start limiting from, the secon number is the number of rows to limit to.. So: SELECT * FROM TABLE LIMIT 25,25 Would bring out 25 rows, startin

Re: [PHP] limit items per page

2001-07-23 Thread ReDucTor
What sort of database do you have, and what is your current source?!? - Original Message - From: Steph <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 6:52 PM Subject: [PHP] limit items per page Ive got an image gallery, and rather than having one really long page

[PHP] Re: regex for cleaning up username

2001-07-23 Thread maatt
> thinking it may be easier to parse for only allowed characters. *much* better idea. Try: preg_match('/[^\w]/', $string) to find all non-alphanumeric+underscore -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: [PHP] question about forum

2001-07-23 Thread Sandeep Hundal
have a look at other people's codes. you can start by looking at my forum, which is pretty simple to install and work with : http://www.wde.org/me/php/ /sunny -Original Message- From: Jason Wang [mailto:[EMAIL PROTECTED]] Sent: 23 July 2001 08:06 To: [EMAIL PROTECTED] Subject: [PHP] que

[PHP] Re: limit items per page

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (James Holloway) wrote: > Hi Steph, > > as the name suggests, use LIMIT ;) AFAIK it's mysql specific (at least it does not work with mssql) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] number generat {Luhn algorithm}

2001-07-23 Thread Yamin Prabudy
anybody know about the Luhn algorithm ?? how can i do that in php yamin -- 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]

[PHP] Re: limit items per page

2001-07-23 Thread James Holloway
Perhaps I shouldn't have made the assumption that steph was using mysql :) "Henrik Hansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (James Holloway) wrote: > > > Hi Steph, > > > > as the name suggests, use LIMIT ;) > > AFAIK it's mys

[PHP] Re: number generat {Luhn algorithm}

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (Yamin Prabudy) wrote: > anybody know about the Luhn algorithm ?? > how can i do that in php google is your friend http://px.sklar.com/code-pretty.html?code_id=234 http://perl.about.com/library/weekly/aa073000a.htm http://www.phpbuilder.com/mail/php3-list/199807/2939.php an

[PHP] holding values in a select list on a form

2001-07-23 Thread Mark Bayfield
Some help please... I am creating a select list from a database, and I am trying to hold the value of what has been selected by a user, while I do some error checking. It is searching a mysql db to pull out the list. It will then need to pass values back into the database. The code I am using is

[PHP] User ID's

2001-07-23 Thread Saquib Farooq
Hi all, I need store all the userid's connected to my site, in a database. the database, if the user has closed his browser a php script will check after intervals of a few minutes, if the user is not logged in, then changed relating to that user, will be undone. my quesiotns are , 1) how

[PHP] MySQL PRIVILEGES problem

2001-07-23 Thread Manu Verhaegen
Dear all, I have the following problem : I want change te root password for mysql and we receive the following error message ERROR 1064: parse error near 'FLUSH PRIVILEGES' at line 1 I login to my MySQL server and type the following commands shell> mysql -u root mysql mysql> UPDATE

Re: [PHP] PHP & MySQL

2001-07-23 Thread Steve Brett
'order by text asc' will sort in alphabetical order A-Z .. and your query should be select [campo] from table where campo like 'A%' ... seems like an expensive way of sorting ... i think mysql has natural order sorting functions in there somewhere ... Steve "Marisol díaz e." <[EMAIL PROTECTED

[PHP] mail with html

2001-07-23 Thread Adrian D'Costa
Hi, I know this subject had been discussed here before. Tried searching in list.php.net, I get a message search not setup (or something). I want to send html mails thru php using mail(). Could someone tell me where I can study some scripts or tutorials. TIA Adrian -- PHP General Mailing L

RE: [PHP] mail with html

2001-07-23 Thread Sandeep Hundal
here's a script i wrote a while back. copied and pasted. - http://www.wde.org/me/";); mail($to, $subject, $message, $headers); } else { echo ""; $myemail1 = "nothing <[EMAIL PROTECTED]>"; echo "

[PHP] Re: One2Many Logic Problem - phpMySQL bibliography

2001-07-23 Thread Steve Brett
wouldn't the structure of the database be determined by the fact you have a many to many relationship ? i.e. the two tables would decompose into three with a 'link' table defining the many to may part ? steve "Mike Gifford" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

RE: [PHP] mail with html

2001-07-23 Thread Sandeep Hundal
oh yeah, you might want to tidy up the code a bit... the email has put in line breaks. and replace [EMAIL PROTECTED] with your own email... the mail() command does all the work... the header command redirects the page.. you might want to change the address or remove it. /sunny -Original Me

Re: [PHP] MySQL PRIVILEGES problem

2001-07-23 Thread Balaji Ankem
Hi,   u have to change the database first and then try to update.   Plz do the following. shell> mysql -u root mysql mysql>use mysql; mysql> UPDATE user SET Password=PASSWORD('new_password') where user='root';mysql> FLUSH PRIVILEGES;   Regards -Balaji    - Original Message - Fr

[PHP] Networking

2001-07-23 Thread ReDucTor
Hey does any one know if it is possible to do something like read stuff thro file and printer sharing on a remote pc, i tried \\computer\dir for the dirs but that didn't work any suggestions(btw i did addslashes :D ) so ne ideas...please -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Re: limit items per page

2001-07-23 Thread Martin Cameron
Here's a Quick & Dirty script that I ran up to get a display of 10 items per page with each click on a hyper-linked page returning a new page .. if you know what I mean. I've even included the headers so that any newbies can see the complete script and not just bits. The theory is that the firs

Re: [PHP] User ID's

2001-07-23 Thread Martin Cameron
Try Sessions, bud. That's what they're there for. On Mon, 23 Jul 2001 21:46, you wrote: > Hi all, > I need store all the userid's connected to my site, in a > database. the database, if the user has closed his browser a php script > will check after intervals of a few minutes, if the user i

[PHP] Re: mail with html

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (Adrian D'Costa) wrote: > Hi, > > I know this subject had been discussed here before. Tried searching in > list.php.net, I get a message search not setup (or something). > > I want to send html mails thru php using mail(). Could someone tell me > where I can study som

[PHP] Check for exist function

2001-07-23 Thread ROsen
Hi, How can I check, thath some function is declared and to do not declare it second time ( with "require" ) ? Thanks, Rosen Marinov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

RE: [PHP] mail with html

2001-07-23 Thread Adrian D'Costa
Hi Sandeep, Thanks for your mail but I was looking at something else. This is what I need. I have a table that I will be selecting certian records and mailing to clients that have signed up. The result should be in html and plain text. The plain text is working now but I want to put into a

RE: [PHP] Check for exist function

2001-07-23 Thread Adrian Ciutureanu
http://php.net/require_once > -Original Message- > From: ROsen [mailto:[EMAIL PROTECTED]] > Sent: 23 iulie 2001 14:17 > To: [EMAIL PROTECTED] > Subject: [PHP] Check for exist function > > > Hi, > How can I check, thath some function is declared and to do > not declare it > second time

[PHP] Re: holding values in a select list on a form

2001-07-23 Thread Mark Bayfield
I worked it out by doing something like this... "; $toplist = mysql_query("select * from wr_country where wr_country_enabled = 1 "); echo "Select\n"; while(list($topicid, $topics) = mysql_fetch_row($toplist)) { if ($topicid==$topic) { $sel = "selected "; } echo "$to

[PHP] Re: Check for exist function

2001-07-23 Thread Henrik Hansen
[EMAIL PROTECTED] (Rosen) wrote: > Hi, > How can I check, thath some function is declared and to do not declare it > second time ( with "require" ) ? http://dk.php.net/manual/en/function.function-exists.php -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] mail with html

2001-07-23 Thread Sandeep Hundal
well all you need to do is use part of the script i sent you.. and in the header variable, uncomment the bit which says "text/html" and then you can send html email instead of text email... i'm assuming you've already written the script to sent plain text email. i thought you needed that. /sunny

RE: [PHP] mail with html

2001-07-23 Thread Adrian D'Costa
The question is how do I declare the html coding in the message part. Any samples Adrian On Mon, 23 Jul 2001, Sandeep Hundal wrote: > well all you need to do is use part of the script i sent you.. and in the > header variable, uncomment the bit which says "text/html" and then you can > send ht

RE: [PHP] mail with html

2001-07-23 Thread Sandeep Hundal
you don't. as far as I know, you just put the code in the message like such : $message = " $nameareacode "; and then send off $message using mail(). You might want to stripslashes() as I did. /sunny -Original Message- From: Adrian D'Costa [mailto:[EMAIL PROTECTED]] Sent: 23

[PHP] RE: holding values in a select list on a form

2001-07-23 Thread Tim Ward
"; print "Select"; if($result = mysql_db_query($db, $query)) while($row = mysql_fetch_row($result)) print "{$row[1]}"; echo ""; ?> although personally I use mysql_fetch_array() so I can use the field name to get the appropriate field

Re: [PHP] mail with html

2001-07-23 Thread Jome
Here is an example that I use myself for sending HTML code via email. 127 || ord($char) == "61") $result .= sprintf("=%X", ord($char)); else $result .= $char; } return $result; } $content = ""; $content = qp_encode($content); mail("email","subject",$content,

[PHP] New User - Problem with php and pop3-class...

2001-07-23 Thread Stephan Hübner
Hi all, I'm new to this ML as well as to php, so I have a problem that someone might have a solution for. What I have to do is to get mails from a mail-account and get them into a flash-movie. The latter thing is not the problem, probably. I downloaded the pop3-class from Manuel Lemos. What I

Re: [PHP] php vs Filemaker

2001-07-23 Thread Daniel Rezny
Hello Christian, Monday, July 23, 2001, 3:39:14 PM, you wrote: CSP> This might sound a little strange but I'd like to query a Filmeker CSP> database using CSP> Php. I read in the Filemaker manual that ODBC drivers let us be able to CSP> query the CSP> database using basic SQL calls. Meanwhile, I

Re: [PHP] Unlink Woes

2001-07-23 Thread Sheridan Saint-Michel
Ok that didn't give any output... and I checked in phpinfo() and found safe_mode off. Any other ideas? Sheridan - Original Message - From: Jack Dempsey <[EMAIL PROTECTED]> To: 'Sheridan Saint-Michel' <[EMAIL PROTECTED]> Sent: Friday, July 20, 2001 12:12 PM Subject: RE: [PHP] Unlink Woe

[PHP] Speeding up MySQL querys

2001-07-23 Thread Jome
Hello, for the moment I'm trying to write searchengine kind-of-thing in PHP using MySQL, however MySQL tend to be very slow when searching. My table is about 100 mb and the query is SELECT * FROM search WHERE search.content LIKE '%$keyword%' OR search.filnamn LIKE '%$keyword%' I've tried sett

Re: [PHP] Speeding up MySQL querys

2001-07-23 Thread Miles Thompson
The key to speed with SQL databases is INDEX. You are doing sequential reads of the contents of each of these fields; no matter what database you used performance would be atrocious. Can you break some keywords out of your text, and assign them to fields like keywd1, keywd2, etc.? How often

[PHP] ignore message - test

2001-07-23 Thread Adi Ciutureanu
testing list -- 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] mail with html

2001-07-23 Thread Sheridan Saint-Michel
You just need to have the proper MIME information deopending on what exactly you are trying to do. Also, the HTML must be in Quoted Printable Format. If you have PHP configured with imap you can just run your message through the imap_8bit function (or so I am told... I didn't have that luxury =P

RE: [PHP] date HELP !!!!!

2001-07-23 Thread Andrew Braund
I thought this might do it... if( date("d") == date("d",mktime (0,0,0,date("n"),0,0)) ){ echo "last day"; } But it doesn't seem to handle February in non leap years; 8<== $testMktimeArray = array( "7/23/2001", "1/1/2001", "12/31/2001", "2/28/1999", "2/29/1999", "2/28/1

[PHP] session on win32

2001-07-23 Thread Dieter Stolpmann
Hi, I can't get session_register() to work on a win2k system with IIS4. After creating the session 'session_start()' and registering a variable 'session_register("counter")' which is set a a non zero value, the only thing, the session data file contains is: !counter| The value never gets stored!

[PHP] Send variables from php to dll and back.

2001-07-23 Thread Ryan Marrs
I'm trying to call a VB DLL to run validation checks on user input. I know nothing of VB, or even how to call a DLL for something like this, so I'm going to need to be shown like a newbie. I've already read over Luiz Fernando's request and responses, and they didn't seem to help me. For examp

[PHP] templates

2001-07-23 Thread Kurth Bemis
i've been looking for a template site that i used and never bookmarked. I'll tell you what i remember about the site and hopefully someone will know what site i'm talking about. I've spend the last 5 hours looking for this siteso this is my final stab in the dark. The site had 4 categorie

Re: [PHP] templates

2001-07-23 Thread Jack Sasportas
Your web browser should have a history option, and you can sift through the list of domains you surfed that approximate time frame ago...Also you can search in some applications like netscape the history file, and look for key things like templates... Good Luck Kurth Bemis wrote: > i've been

[PHP] Another how do i question

2001-07-23 Thread Kyle Smith
I made this code for a simple for (the end of it) but what do i change in the $message variable so there is a new line between each other variable in $message (ive tried $name. . $last_name and. happens) -legokiller666- http://www.StupeedStudios.f2s.com New address new site IC

Re: [PHP] templates

2001-07-23 Thread Kurth Bemis
At 11:29 AM 7/23/2001, Jack Sasportas wrote: I last visited this site about 2 months ago...too long for any history :-( >Your web browser should have a history option, and you can sift through the >list of domains you surfed that approximate time frame ago...Also you can >search in some applicat

Re: [PHP] Another how do i question

2001-07-23 Thread Matt Greer
on 7/23/01 6:25 PM, Kyle Smith at [EMAIL PROTECTED] wrote: > I made this code for a simple for (the end of it) but what do i change in the > $message variable so there is a new line between each other variable in > $message (ive tried $name. . $last_name and. happens) > Did you try $na

Re: [PHP] Another how do i question

2001-07-23 Thread Matt Greer
on 7/23/01 10:49 AM, Matt Greer at [EMAIL PROTECTED] wrote: > on 7/23/01 6:25 PM, Kyle Smith at [EMAIL PROTECTED] wrote: > >> I made this code for a simple for (the end of it) but what do i change in the >> $message variable so there is a new line between each other variable in >> $message (ive

[PHP] Resolution

2001-07-23 Thread Kyle Smith
is there a code to show a users screen resolution and/or make a webpage go to a certain page of the site depending on the users screen resolution? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

Re: [PHP] Resolution

2001-07-23 Thread Tyler Longren
I don't believe you can get screen resolution with PHP. You'd need to use something client side, such as Javascript. Tyler - Original Message - From: "Kyle Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 6:45 PM Subject: [PHP] Resolution is there a code

[PHP] Keeping fields out of URL

2001-07-23 Thread Shrout, Ryan
How can I keep fields in a form out of the URL? I am writing a basic PHP/login script to password protect a directory of the web site (if anyone knows of something pre-made, please do let me know). But, the first stumbling block is that when sometypes in their username/password, even when the I

Re: [PHP] templates

2001-07-23 Thread Jack Sasportas
For future purposes you should set your history to expire some ridiculous time in the future. I still reference sites from as far back as 2 years ago... It's really nice to be able to do that. I use netscape and my setting is 999 days.. Jack Kurth Bemis wrote: > At 11:29 AM 7/23/2001, Jack Sa

Re: [PHP] Keeping fields out of URL

2001-07-23 Thread Tyler Longren
You forgot to put method=POST in your Tyler - Original Message - From: "Shrout, Ryan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 10:55 AM Subject: [PHP] Keeping fields out of URL > How can I keep fields in a form out of the URL? > > I am writing a basic PH

RE: [PHP] Resolution

2001-07-23 Thread Gonyou, Austin
If you want to see what you can get from the client, serverside. Please run the following: Put that into some php file, and it will tell you what PHP will allow you to get be default. I feel that the JS answer is about as correct as your going to get. -- Austin Gonyou Systems Architect, CCNA

Re: [PHP] Keeping fields out of URL

2001-07-23 Thread Matt Greer
on 7/23/01 10:55 AM, Shrout, Ryan at [EMAIL PROTECTED] wrote: > How can I keep fields in a form out of the URL? > > I am writing a basic PHP/login script to password protect a directory of the > web site (if anyone knows of something pre-made, please do let me know). > If you're on a unix serv

RE: [PHP] Resolution

2001-07-23 Thread Rudolf Visagie
Hi Kyle, I use the following: password --> password. Thank you Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Why wont this work?

2001-07-23 Thread Dan Krumlauf
news_publish.php *** )(.*?)(<\/NEWS>)/i","\\1$news\\2", $templine)); print ($templine); } fclose ($tempfile); } $template_dir="/php/work/boz"; $template_filename="news"; $news="SOME STUFF GOES HERE BUILD IT AS A VAR"; DoTemplate($template_dir,$template_filename); ?> ***

RE: [PHP] Why wont this work?

2001-07-23 Thread Mark Roedel
> -Original Message- > From: Dan Krumlauf [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 24, 2001 11:24 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Why wont this work? > > > news_publish.php > *** > > [snip] > > $templine = preg_replace("/()(.*?)(<\/NEWS>)/i","\\1$news\\2"

Re: [PHP] Why wont this work?

2001-07-23 Thread PatlsSoda
Your line in in news_publish.php is: while($templine=fgets($tempfile, 4096) ) { if you want to test if $templine is equal to fgets($tempfile, 4096) then you should use 2 equal signs. So, while($templine==fgets($tempfile, 4096) ) { 1 equal sign sets the value of the right side to the left. HTH

RE: [PHP] sleep() function question

2001-07-23 Thread Patrick Lynch
Is output_buffering = On set in the php.ini file? If it is set to on, no content or headers are sent back to the browser until the whole page has been processed by PHP. Best Regards, Patrick Lynch. Eirco Web: http://www.eirco.com -Original Message- From: Andrew Brampton [mailto:[EM

Re: [PHP] number generat {Luhn algorithm}

2001-07-23 Thread Christopher Ostmo
Yamin Prabudy pressed the little lettered thingies in this order... > anybody know about the Luhn algorithm ?? > how can i do that in php > > yamin > http://www.zend.com/codex.php?id=31&single=1 Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutti

[PHP] D d d d database?

2001-07-23 Thread Kyle Smith
ok i dont know the first thing about data bases so could someone please guide me through the process of making a score board for a flash game i have made with the variables $name and $score?? (note: i have hosting at f2s.com so i have to use myADMIN) -legokiller666- http://www.StupeedStudios.f2

[PHP] Zip Code Locator?

2001-07-23 Thread Vincent P. Cocciolone
Hi, Does anyone know where can I find documentation or example scripts for a zip code locator. I'm looking for something that will list other zip codes within a number of miles radius of the zip specified. Thanks! Vince -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

[PHP] Single Digit in Double digit column

2001-07-23 Thread Rehuel Lobato de Mesquita
guys, I don't know If this is the rigth place to ask this question, but please help me! I have a mySQL table, where the ID field is an auto increment number (INT(2)). I have a query that selects 2 colunms in the table and the lists them But only the items with a double digit id are displayd. it

[PHP] Re: Another how do i question

2001-07-23 Thread Rehuel Lobato de Mesquita
Hey Kyle... Try "\r\n" instead of "\n" I had the same problem, and this fixed it for me! (someone on the net tipped me on this one!) Stretsh "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I made this code for a simple for (the end of it) but what

[PHP] Author.class - Does it exist?

2001-07-23 Thread Mike Gifford
Hello, Does anyone know if there's a GPL author class out there? There are online book stores & bibliographies all need to manage author names in a similar way (I would think), and I'd just like to not recreate the wheel if I don't have to. Mike -- Mike Gifford, OpenConcept Consulting, http:

[PHP] Re: One2Many Logic Problem - phpMySQL bibliography

2001-07-23 Thread Mike Gifford
Hello Steve, Thanks for the response. I tried to reply to this earlier, but seems like Mozilla ate it. :( Steve Brett wrote: > wouldn't the structure of the database be determined by the fact you have a > many to many relationship ? > i.e. the two tables would decompose into three with a 'li

RE: [PHP] REPOST: Image color quality problems

2001-07-23 Thread SED
I had the same problem when using JPEG, but having a white pixel in the picture solved it. But that did obviosly not solve your problem. Perhabs this is due to "bug-version" of GD library, have you tried a newer one? Does this also happen if you use JPEG and GIF files? Let us know if you find sol

[PHP] PHP Uploads - Sorry!!!

2001-07-23 Thread Corin Rathbone
Sorry to again bring up the subject, but could somebody please help me with file uploads. I have written the script below, but it doesn't work properly. please help. Alternatively, could somebody give me a simple upload script. My system is Win 98, Apache 1.3.17, php 4.0.5, IE5. The code is below.

[PHP] Using $$ to access a variable

2001-07-23 Thread usenet5
Please forgive my probably newbie question... I am cycling thru my database using a SQL describe statement and then am getting values from a form based upon the field name I find. This is working up 'til I try to read the form data. I have defined a variable like this: $var = $prefix.$ta

[PHP] javascript ?

2001-07-23 Thread Angel Behar
Hi !!! I know maybe this is not the right place to make this question but I have been a PHP user for long time and this list had been very helpful. I want to create a form which once you select a radio button or a drop down menu display the proper fields according to the selection. Let say that

[PHP] Re: [PHP-DEV] Re: IMAP/POP3 Administration API?

2001-07-23 Thread Vlad Krupin
...None of them will. This is not a part of IMAP protocol; it is part of the mail server, and each server does that in its own way. On a brighter note - if you use qmail, there is a very nice patch for it that will allow to store users in a mysql database, so you can use php to add/delete users w

[PHP]include question, WHY doesn't this work...

2001-07-23 Thread Chris Cocuzzo
hey- I have a piece of code which does a simply INSERT query into an mp3 table. I've tested it out, and it completes the query, however there is one bug that I just have no clue about. this code does not work when i try to connect to the db: include("lib/db_config.php"); $connection = db_connec

[PHP] Re: Why wont this work?

2001-07-23 Thread James, Yz
Hi Dan, try changing: $tempfile = fopen ("$filedir" . "/" . "$filename" . ".html", "r") or die To: $tempfile = fopen ($filedir . "/" . $filename . ".html", "r") or die for starters ;) James. "Dan Krumlauf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > ne

[PHP] PHP, Excel, .CSV's, and Regular Expressions Help Needed!

2001-07-23 Thread Jeff Lacy
Hello Everyone, A client of mine is working with excel, and I need to move the data from excel to something php can deal with a little better. Naturally, I figured using .csv would be easiest, but I am running into several problems.I can get around them, but I need a regular expression (and

RE: [PHP] Networking

2001-07-23 Thread Matthew Loff
I don't see why you wouldn't be able to access that share... Did you try escaping the path? e.g. chdir("computer\\dir"); -Original Message- From: ReDucTor [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 6:20 AM To: [EMAIL PROTECTED] Subject: [PHP] Networking Hey does any

RE: [PHP] Single Digit in Double digit column

2001-07-23 Thread Mark Roedel
> -Original Message- > From: Rehuel Lobato de Mesquita [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 23, 2001 12:00 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Single Digit in Double digit column > > > I have a mySQL table, where the ID field is an auto increment > number (INT(2)). I

RE: [PHP] Networking

2001-07-23 Thread Mark Roedel
> -Original Message- > From: ReDucTor [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 23, 2001 5:20 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Networking > > > Hey does any one know if it is possible to do something like > read stuff thro file and printer sharing on a remote pc, i tried

Re: [PHP]include question, WHY doesn't this work...

2001-07-23 Thread Unni
Is the lib direcotory under the working directory, I mean, if your program is excuting under temp directory, the lib directory has to be below temp directory. If you are running this program from the root directory then lib has to be below root directory. Your code looks good to me. One more t

Re: [PHP] PHP, Excel, .CSV's, and Regular Expressions Help Needed!

2001-07-23 Thread Unni
Hi Jeff, I didn't get your question. Can you elobrate little bit more, if possible? What is the input and what is output you are expecting and what do you want to do in the process? Thanks. Jeff Lacy wrote: > Hello Everyone, > > A client of mine is working with excel, and I need to move th

[PHP] keeping track of external image linking with php?

2001-07-23 Thread Matt Greer
I don't think that's the best subject, but I'm not really sure how to phrase it. I'm not familiar with php's image capabilities. I've read about them a bit, but never really used them. I'd like to have an image that when accessed would cause php to kick in and do a few things before sending the

Re: [PHP]include question, WHY doesn't this work...

2001-07-23 Thread Chris Cocuzzo
the lib directory is under the root directory, or the www directory, where all the normal files have been put. i figured out that the include worked better when I specified the entire system path. chris - Original Message - From: Unni <[EMAIL PROTECTED]> To: Chris Cocuzzo <[EMAIL PROTEC

  1   2   >