[PHP] How do i add sound + pictures in a MySQL Database and how do i consult it via PHP

2002-08-09 Thread danny
hi, I am new on MySQL en PHP. I'm making a on-line dictionary. I use PHP and a MySQL Database. Now I want to add audio-streaming (MP3) and pictures (JPG) to the database. Can sombody help me out? The database is working well (only text). Danny -- PHP General Mailing List (http://www.ph

[PHP] Pictures and sound in MySQL and access via PHP

2002-08-09 Thread danny
e PHP. Can sombody help me out with a little example-code? The database is working well (only text). Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Pictures and sound in MySQL and access via PHP

2002-08-10 Thread danny
ouldn't store BIG files (like .mp3) into the database. > > If you insist checkout the mysql LOAD_FILE() > > Elias > > "Danny" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > hi, > > > > I al

Re: [PHP] Re: Pictures and sound in MySQL and access via PHP

2002-08-11 Thread danny
clicjk if you want to hear the sound. echo ""; echo "NederlandsOostendsUitleg"; while ($row=mysql_fetch_array($result)) { echo ""; echo $row[woord_nl]. "" . $row[woord_ost]. "" . $row[betekenis_nl]. "" . $row[geluid]; echo ""

[PHP] Re: Pictures and sound in MySQL and access via PHP

2002-08-11 Thread danny
thanks it works fine! :-))) Danny <[EMAIL PROTECTED]> schreef in berichtnieuws [EMAIL PROTECTED] > hi, > > I already posted this message but the time on my computer was wrong (26/07 > so i post it again). > > I am new on MySQL and PHP. > I'm making a on-line d

[PHP] navigatie doesn't work in this script

2002-09-29 Thread danny
I made a MySQL database with a dictionary in it. Above there is a form in wich you can specify some parameters. The problem is that the navigation doesn't work well. I always get the first 5 results. Can somebody help me out? There are about 56 records in the database. The (not quite) working thi

Re: [PHP] navigatie doesn't work in this script

2002-09-29 Thread danny
7;re > only going to get five rows with that in there. > > ---John Holmes... > > > -Original Message- > > From: danny [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, September 29, 2002 3:21 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] navigatie does

Re: [PHP] navigatie doesn't work in this script

2002-09-29 Thread danny
;s the first time this page is called. If a $tot or > $van value is passed in the URL, then you should use that. > > ---John Holmes... > > > -Original Message- > > From: danny [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, September 29, 2002 3:56 PM > > To: [E

[PHP] embedding pdf files in website

2002-10-25 Thread danny
site while reading the pdf documents). I Don't like my visitors to scroll down i rather like to use buttons and How do you do such a thing in php, or wher can i find some info? (i have no solution in html) Danny -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] sessions and sessionfiles

2001-08-22 Thread Danny
il to [EMAIL PROTECTED] Thanks! Happy php-ing! Danny. -- 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] Quick session question

2010-06-24 Thread Danny
some kind of revision. Is this still sufficient or can you guys give some tips on a more "updated" way of starting my sessions? My php.ini file is stock-standard. I am running version 5.2.6-1 with apache 2.2.9 on a Debian 5.04 machine. Thank You Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick session question

2010-06-24 Thread Danny
eave it like it is. Just one more thing, should I always expand the URL's to an absolute path instead of using a session variable like I do? Thnks again guys Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick session question

2010-06-24 Thread Danny
Hi Gaurav, Creating a "local" folder solved the problem. I can now catch the session varaibles. I think that I am too familiar with setting up everything on a local server and forgot that there are "other" things to consider when you work on the internet. Thank You Danny &

Re: [PHP] Quick session question

2010-06-24 Thread Danny
Hi Jim, I followed Gaurav's tips on creating a "folder" to store the session info in and it got solved. I can now catch the session variables but I got A LOT of "include()" file errors which was solved by following your suggestion on expanding my URL's. Thank

Re: [PHP] Quick session question [SOLVED]

2010-06-24 Thread Danny
Hi Guys, Thanks to all of you who helped me with my problem. I can now continue with my life :) . I'm happy and the customer is happy ... Thank you once again. Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick session question

2010-06-24 Thread Danny
Hi Mari, I used "localhost" as a substitute for the real url. My mistake I should've told you guys. Thanks anyway for your input. Danny >On Jun 24 10, Mari Masuda : > > Maybe you need to change > > $_SESSION['server'] = "http://localhost/~

[PHP] $_POST variable

2011-03-11 Thread Danny
e for processing, how would I "catch" the above radio-button's $_POST name since I do not know the name, only that it starts with "radio_" ? Thank You Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Detailed Report

2005-10-27 Thread Danny
Hi All, I´ve got a connection, to a MySQL db, and get the following ResultSet(Category | Name | Code | City) Customers | John | A36 | New York Customers | Jason | B45 | Los Angeles Customers | Max | A36 | Paris Providers | John | A36 | London Providers | Mark | B67 | Madrid And I need the report

Re: [PHP] Detailed Report

2005-10-27 Thread Danny
e ($row = mysql_fetch_array($resultset, MYSQL_NUM)){ > echo"$row[0] | $row[1] | $row[2]"; > } > > Hope this helps, > Ade > > Danny wrote: > > >Hi All, > > I´ve got a connection, to a MySQL db, and get the following > >ResultSet(Category | Name | Code

Re: [PHP] Detailed Report

2005-10-27 Thread Danny
se{ > echo"$row[0]$row[1] | $row[2] | $row[3]"; > } > $group = $row[0]; > } > > Ade > > Danny wrote: > > > Thanks for your help Adrian, but the problem is that I need to show > > row[0] once (Customers text are repeated), and below the details of &g

[PHP] Substr by words

2005-10-29 Thread Danny
Hi, I need to extract 50 words more or less from a description field. How can i do that?. Substr, cuts the words. Is there any other way to that, without using and array? I mean and implemented function in PHP 4.x I´ve been googling around, but wordwrap, and substr is driving me mad... Thanks in

[PHP] [DONE] Substr by words

2005-10-29 Thread Danny
[$wordCounter]; if ( $wordCounter < $count ){ $trimed .= " "; } else { $trimed .= "..."; } } $trimed = trim($trimed); return $trimed; } Usage $string = "one two three four"; echo trim_text($string, 3); -- Forw

[PHP] Retrieve Data Formated from Text field

2005-10-29 Thread Danny
Hi Gurus, I´ve got a problem with the result displaying a "TEXT" type field The data is inserted into db in this way: "Hello, This is a sample of first line. This is another paragraph, blah blah blah Bye" But the result is in one paragraph: "Hello, This is a sample of first line. This is an

[PHP] php5 / php4 - MySQL/SQLite

2005-11-08 Thread Danny
Hi, Let me open a discussion about php5 / php4 Why upgrade? It worth? Benefits? Code programming changes? Is there and end-of-life for php4, in the near/medium future? What about MySQL and SQLite. What is the future of both? I would like to open a discussion about the future of both related to

Re: [PHP] is there a number translation function?

2005-11-08 Thread Danny
http://www.phpguru.org/TextualNumberExample.php?number=3450 Regards. Salu2 On 10/29/05, Linda H <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anyone know of a function for translating a decimal number into an > English number. In other words, if you pass it 1 it will return 'one', if > you pass it

[PHP] Newbie to PHP5

2005-11-15 Thread Danny
Hi there, I´m familiar with PHP syntax, but I´ve been reading some sample scripts, in PHP5 and i´ve seen some "strange" things, like diferent ways to read a collection of rows, magic functions, wrapers, and operators like "::" and "->". I know that all is the manual, but before that anyone nows, a

Re: [PHP] Newbie to PHP5

2005-11-15 Thread Danny
Thanks. Any other source (some resume pdf or something like "What´s new") On 11/15/05, Raz <[EMAIL PROTECTED]> wrote: > > > "->". I know that all is the manual, but before that anyone nows, a > website > > or a simple tutorial or explained samples, in order that the transition > from > > PHP4 and

[PHP] Code generators

2005-11-23 Thread Danny
Hi there, There´s a lot of manufacturers, about PHP code generators. What do you think about that? I mean, it seems like PHP Nuke fashion or other portal systems. Everybody has its portal, but all web pages seems to be the same, because all are under the same design. I would like to gather opini

[PHP] PHP, MySQL and XML for IPodCasting

2005-12-09 Thread Danny
Hi, I´ve got a web project that daily offers 4 o 5 mp3 files recorded by me. >From an web based interface I populate a database with titles, descripcion, images and the path for the mp3 file in the server The cuestion is I would like to offer the content for Ipod, using ipodcasting. Then I have t

Re: [PHP] PHP, MySQL and XML for IPodCasting

2005-12-09 Thread Danny
device? I´ve been googling around, but I don´t know much about those devices, and IPodCasters simulators for PC Thanks again, Best Regards. On 12/9/05, Michael Hulse <[EMAIL PROTECTED]> wrote: > > On Dec 9, 2005, at 3:45 AM, Danny wrote: > > How to proceed > > I recently

[PHP] Infinite subcategories

2005-12-27 Thread Danny
Hi All, Time ago, somebody sent a sample to the list about how to do an "infinite" subcategories, based on parent field. I´ve been googling, and searching my mail history, but cannot find it. The objective is to create a tree with categories and subcategories of documents, but with no limit i

Re: [PHP] money

2003-01-09 Thread Danny Shepherd
http://www.php.net/manual/en/function.number-format.php - Original Message - From: "Wilbert Enserink" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 10:44 AM Subject: [PHP] money Hi all, I'm busy making a swebstore. I have troubles with the format of mone

Re: [PHP] Is this possible with php?

2003-01-10 Thread Danny Shepherd
ve in Windows would probably be the best bet - I think Windows has built in support for mapping WebDAV and FTP servers as shares so this may be a good starting point. HTH Danny. - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> C

Re: [PHP] php5 cvs

2003-01-11 Thread Danny Shepherd
e found at http://www.php.net/ZEND_CHANGES.txt. HTH Danny. - Original Message - From: "electroteque" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, January 11, 2003 6:50 PM Subject: [PHP] php5 cvs > hi guys just noticed php5 cvs in the snaps page , does this ha

Re: [PHP] HTTP_ACCEPT - Reliabilty?

2003-01-14 Thread Danny Shepherd
Hi, No, I wouldn't rely on it at all, I couldn't find a browser that *does* have that mime-type in it's header! - Here's what IE6 sends : Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */* Accept-Language: en-gb Accept-Encoding: gzip, deflate Flash, along with a

Re: [PHP] Question about $_GET

2003-01-15 Thread Danny Shepherd
Try $query = "SELECT Newsheadline, News, Contact FROM news WHERE Newsid = {$_GET['id']}"; HTH Danny. - Original Message - From: "Frank Keessen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 15, 2003 10:50 AM Subject: [PH

Re: [PHP] Random Row...

2003-01-16 Thread Danny Shepherd
Don't make life difficult for yourself :) SELECT * FROM myTable ORDER BY RAND() LIMIT 0,1 HTH Danny. - Original Message - From: "Brian McGarvie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 9:37 AM Subject: [PHP] Random Row..

Re: [PHP] Getting a dynamic IP address

2003-01-16 Thread Danny Shepherd
dress if they're behind a proxy (if this isn't set then they probably aren't behind a proxy so you can use the remote_addr instead) HTH Danny. - Original Message - From: "Kyle Lampkin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesda

[PHP] Re: [SOAP] Re: soap post and http 1.1 100 continue

2003-01-25 Thread Danny Shepherd
wasn't present. :-) I suppose a better solution would be to use the 100-Continue properly (i.e. send headers + with an expect header and no body) or send HTTP/1.0 requests. HTH Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Script under Windows OK, under Linux, not...

2003-01-25 Thread Danny Shepherd
Why are you opening the file in append mode? As the manual says: " a+' - Open for reading and writing; place the file pointer at the end of the file." Try using 'r+' instead or rewind the file pointer before reading. Danny. - Original Message - From: "

Re: [PHP] PHP Framework

2003-02-03 Thread Danny Shepherd
Well, Yahoo! have moved/are moving to Smarty and they get a few million views a day. The killer part with smarty is that it converts the Smarty tags, in your template, to real PHP code - that's what makes it so fast. It's also very easy to extend. Danny. - Original Message

Re: [PHP] Attaining NTLM information from IE browsers.

2003-02-08 Thread Danny Shepherd
There is actually an NTLM Auth module available for Apache. (http://modntlm.sourceforge.net/). If you really need to do it though PHP I'd suggest running a packet sniffer to see what headers IIS sends and what to expect back from IE. HTH Danny Shepherd. - Original Message -

Re: [PHP] What's the scoop on PHP 5?

2003-02-13 Thread Danny Shepherd
The latest cvs snapshots for PHP4.3.x and PHP5.0.x can be found at http://snaps.php.net Danny. - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 8:50 PM Subject: [PHP] What's the scoop on

Re: [PHP] Finally!!! A workaround to mail() in PHP...

2003-02-19 Thread Danny Shepherd
I'd say an even simpler workaround would be to add '[EMAIL PROTECTED]' as the fifth parameter to the mail function - just as in example 3 of the docs. Danny. - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: [PHP] Capitalising Personal Names

2003-02-28 Thread Danny Shepherd
Hi, Well it's hardly rocket science - a flick through the manual and I came up with : $name=ucwords(strtolower($name)); HTH Danny. - Original Message - From: "Geoff Caplan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 10:31 AM

RE: [PHP] Constants and "Here Document" Interpolation

2003-03-01 Thread Danny Shepherd
Hello, It doesn't look like it - a note in the constants manual entry reads: "PHP has no way of recognizing the constant from any other string of characters within the heredoc block" Danny. -Original Message- From: Daniel R. Hansen [mailto:[EMAIL PROTECTED] Sent: 01 M

RE: [PHP] Problem connecting to POP3 accounts

2003-04-03 Thread Danny Shepherd
Try: $strMailServer = "{domain.co.uk:110/pop3}INBOX"; As per the manual. HTH Danny. -Original Message- From: Alec Wallis [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 18:35 To: [EMAIL PROTECTED] Hi I am currently experiencing some problems connecting to POP3 acco

Re: [PHP] FreeBSD 4.6 / PHP 4.2.2 / Apache 2.0.39 install trouble

2002-07-25 Thread Danny Shepherd
Try building apache2 and modphp4 using the FreeBSD ports system - that's how I compiled and it works fine here. HTH Danny. Apache2.0.39/PHP4.2.2/FreeBSD4.6 - Original Message - From: "Chad Day" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Ju

Re: [PHP] Array variable in Javascript & PHP

2002-07-29 Thread Danny Shepherd
Try using: Education Profession That's what I used when doing something pretty similar to you. HTH Danny. - Original Message - From: "Sheni R. Meledath" <[EMAIL PROTECTED]> To: "PHP Masters" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 4:1

Re: [PHP] Re: PostgreSQL

2002-07-29 Thread Danny Shepherd
Checkout this FAQ - http://www.ejip.net/faq/postgresql_win_setup_faq.jsp HTH Danny. - Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Richard Lynch" <[EMAIL PROTECTED]>; "Hadi" <[EMAIL PROTECTED]> Cc: <[EM

Re: [PHP] Encrypting Passwords - Is it really necessary??

2002-07-29 Thread Danny Shepherd
ge occurs. So : The passwords can be encrypted in the database. The system is difficult to abuse. Passwords are never sent out over email. User gets to choose own password. Well it works for me anyway :) HTH Danny. - Original Message - From: "Monty" <[EMAIL PROTECTED]>

[PHP] Sessions - Informed Opinions

2002-07-30 Thread Danny Shepherd
compiled with pretty much everything. Thanks a lot people, Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] apache and php

2002-07-30 Thread Danny Shepherd
For release systems, the recommended setup is Apache 1.3.26 + PHP4.2.2 The developer systems, I'd go for (indeed have gone for) Apache 2.0.39 + PHP4.2.2 HTH Danny. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 11:01

Re: [PHP] Sessions - Informed Opinions

2002-07-30 Thread Danny Shepherd
<< Comments inline >> - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Cc: "PHP-General" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 11:24 AM Subject: Re: [PHP] S

Re: [PHP] apache and php

2002-07-30 Thread Danny Shepherd
- Original Message - From: <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 11:30 AM Subject: Re: [PHP] apache and php > Danny Shepherd wrote: > > > For release systems, the recom

Re: [PHP] Sessions - Informed Opinions

2002-07-30 Thread Danny Shepherd
- Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Cc: "PHP-General" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 11:52 AM Subject: Re: [PHP] Sessions - Informed Opinions > &g

[PHP] Serialised Data & DBs

2002-07-30 Thread Danny Shepherd
Hi, Is it necessary to perform addslashes() on serialised data before inserting it into a database? Thanks, Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Serialised Data & DBs

2002-07-30 Thread Danny Shepherd
- Original Message - From: "1LT John W. Holmes" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]>; "PHP-General" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 8:18 PM Subject: Re: [PHP] Serialised Data & DBs >

Re: [PHP] Trouble Making 4.2.2

2002-07-30 Thread Danny Shepherd
I think your actual error is much further up - the sapi appears because you're building PHP as an Apache module. The actual error will have a (kind of) English description - post that along with your config options and a more detailed description of your setup and maybe we can help.

Re: [PHP] Sessions - Informed Opinions

2002-07-30 Thread Danny Shepherd
- Original Message - From: "Tech Support" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Sent: Tuesday, July 30, 2002 6:44 PM Subject: Re: [PHP] Sessions - Informed Opinions > If you're on a shared system it's very easy for

Re: [PHP] Re: Public Scripts in a commercial product

2002-07-30 Thread Danny Shepherd
res you to make the source available for the LGPL components and any changes you've made to those components but doesn't require you to release the entire project. Like most people I know, I'm totally against the GPL license and totally for Apache/BSD and LGPL licenses. HTH Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Disabling Browser "BACK" button

2002-07-31 Thread Danny Shepherd
aught here. This method will prevent them resubmitting for the length of their session (or until $_SESSION['formIsFilled'] is unset) HTH Danny. - Original Message - From: "Chris Boget" <[EMAIL PROTECTED]> To: "Dan Vande More" <[EMAIL PROTECTED]>; &q

Re: [PHP] Form asking to refresh when I hit the back button

2002-08-01 Thread Danny Shepherd
This is generally caused by using POST as the form's methods. Try using GET instead. Danny. - Original Message - From: "DonPro" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 3:57 PM Subject: [PHP] Form asking

Re: [PHP] web services and PHP

2002-08-01 Thread Danny Shepherd
te promising - but it's behind closed doors atm. Danny. - Original Message - From: "Bob Lockie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 4:09 PM Subject: Re: [PHP] web services and PHP > > >A'la ASP WebServices perh

Re: [PHP] mcrypt

2002-08-01 Thread Danny Shepherd
Just base64 encode the mcrypt output if the non printable chars bother you, though I don't really see what the problem is, unless you're pushing the output to a web page. Danny. - Original Message - From: "Randy Johnson" <[EMAIL PROTECTED]> Cc: <[EMA

Re: [PHP] Problem with "" inside the PHP code, due to "?"

2002-08-01 Thread Danny Shepherd
Try: Apple"; echo $XML; ?> HTH Danny. - Original Message - From: "Scott Fletcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 5:03 PM Subject: [PHP] Problem with "" inside the PHP code, due to "?" &g

Re: [PHP] mcrypt

2002-08-01 Thread Danny Shepherd
Try setting the database field type to 'BLOB' Danny. - Original Message - From: "Randy Johnson" <[EMAIL PROTECTED]> To: "Danny Shepherd" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 4:51 PM Subject: Re: [P

[PHP] attachements in mail()

2002-08-01 Thread Danny wall
I've looked, and can not find out how you send attachments using the mail() function. I find it difficult to believe that this was left out, so obviously I'm missing something right in front of my face. So my question is, how do you send attachments using the mail() fucntion? -Dann

Re: [PHP] Re: attachements in mail()

2002-08-01 Thread Danny wall
Ah ... well that's good. I thought I was just being an idiot. Thanks for the resources, a couple of the classes will do the job nicely. -Danny >From: Philip Hallstrom <[EMAIL PROTECTED]> >To: Danny wall <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: [

Re: [PHP] Readdir

2002-08-01 Thread Danny wall
>if ($handle = opendir('/my/directory')) { > echo "Directory handle: $handle\n"; > echo "Files:\n"; > > > > while (false !== ($file = readdir($handle))) { > echo "$file\n"; > } Everything is good, you just

Re: [PHP] Re: attachements in mail()

2002-08-01 Thread Danny wall
This thing's pretty cool! Thanks! -Danny >From: Manuel Lemos <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [PHP] Re: attachements in mail() >Date: Thu, 01 Aug 2002 17:43:04 -0300 > >Hello, > >On 08/01/2002 03:14 PM, Da

Re: [PHP] PHP Hosting

2002-08-02 Thread Danny Shepherd
Take a look at this directive : http://www.php.net/manual/en/configuration.php#ini.open-basedir Danny. - Original Message - From: "Matt Babineau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 2:04 PM Subject: [PHP] PHP Hosting >

Re: [PHP] Include php code as variable

2002-08-03 Thread Danny Shepherd
http://www.php.net/eval - Original Message - From: "Alawi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 03, 2002 11:41 AM Subject: [PHP] Include php code as variable > How can I Include my php code code as variable and excute it ? > > > -- > PHP General Mailin

Re: [PHP] string questions

2002-08-03 Thread Danny Shepherd
Try, list($test)=explode(' ',$address); HTH Danny - Original Message - From: "webmaster" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 5:35 PM Subject: [PHP] string questions > I know there has to be an easy way to

Re: [PHP] what is equivalent to Response.End ?

2002-08-03 Thread Danny Shepherd
http://php.net/die http://php.net/exit Both will stop your code. Dead. Danny. - Original Message - From: "Ing. Rajesh Kumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 03, 2002 3:50 PM Subject: [PHP] what is equivalent to Response.End ?

Re: [PHP] RegEx (back referencing)

2002-08-03 Thread Danny Shepherd
try \\1 - Original Message - From: "Phil Ewington" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Saturday, August 03, 2002 5:03 PM Subject: [PHP] RegEx (back referencing) > Hi, > > I am am writing a function to color code and indent JavaScript source using > regular e

Re: [PHP] RegEx (back referencing)

2002-08-03 Thread Danny Shepherd
If you're trying to get Lots of javascript to look like Lots of javascript then this will be a start $string = eregi_replace('<(/?)(scr[^>]*)>', '<\\1font color="maroon">',$string); This will produce - Lots of javascript - not perfect, but a

Re: [PHP] RegEx (back referencing)

2002-08-03 Thread Danny Shepherd
What does the input string contain? What does the output look like? It might be a problem with php4.0.4 (I'm using 4.2.2) - why such an old version? Danny. - Original Message - From: "Phil Ewington" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PRO

Re: [PHP] RegEx (back referencing)

2002-08-03 Thread Danny Shepherd
Ok, a very slightly modified version of your first attempt should work then $fcontent = eregi_replace("<(/?)(scr[^>]*)>", "«font color=maroon»\\0«/font»", $fcontent); Note the \\0 instead of \\1 HTH Danny. - Original Message - From: "Phil Ewingt

Re: [PHP] Re: Protect PHP coding

2002-08-03 Thread Danny Shepherd
So, go write JSP for someone then and stop bugging us. - Original Message - From: "Acer" <[EMAIL PROTECTED]> To: "Scott" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, August 03, 2002 10:48 PM Subject: RE: [PHP] Re: Protect PHP coding > Scott wrote: > > You're kidding, righ

Re: [PHP] In version 4.2.1 ereg_replace break Apache

2002-08-12 Thread Danny Shepherd
Have you tried it on a non debug build? Danny - Original Message - From: "Marcello Lupo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 8:14 PM Subject: [PHP] In version 4.2.1 ereg_replace break Apache > ## A simple function to re

Re: [PHP] dates greater than 2002-01-18 create error

2002-08-12 Thread Danny Shepherd
It's a fairly well known problem now but I'm sure we'll all be using (at least) 64bit integers for storing this sort of stuff by 2038. FYI, the current 32bit signed int allows for around 68years - a 64bit signed int will give us a few billion years :) Danny. - Original Mes

Re: [PHP] Whois...

2002-08-12 Thread Danny Shepherd
http://phpbuilder.com/snippet/download.php?type=snippet&id=1086 - This one works pretty well - checks most domain (everything except .tv and such) HTH Danny. - Original Message - From: "David Freeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday

Re: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Danny Shepherd
- if you don't know what the advantages are, you'll probably be better off with Apache 1.3.26 anyway. Danny. - Original Message - From: "pierre.samson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 4:00 PM Subject: Re: [PHP]

Re: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Danny Shepherd
Mod_ssl is part of the standard Apache2 distro now. - Original Message - From: "Jesse Cablek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 4:22 PM Subject: RE: [PHP] Why isn't there much info on apache2? > "Adam Williams" <[EMAIL PROTECTED]> wrote in me

Re: [PHP] Elliptic curve cryptology

2002-09-22 Thread Danny Shepherd
http://www.amazon.com/exec/obidos/ASIN/1884777694/102-5129419-0804910 - Original Message - From: "EjdeR" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, September 22, 2002 11:12 AM Subject: [PHP] Elliptic curve cryptology > i cant find any example about "Elliptic curve cryptol

[PHP] John W. Holmes : User aborting a download and counting the filesize

2002-10-24 Thread Danny Roelofs
I will give it a try and let you know what the results where..

Re: [PHP] OOP-related question

2002-11-14 Thread Danny Shepherd
Hello, Adding the following as the first line of overall->load() should solve your problem. global $$class; HTH, Danny. - Original Message - From: "Tularis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 14, 2002 8:18 PM Subject: [

Re: [PHP] OOP-related question

2002-11-14 Thread Danny Shepherd
I think the error is fairly self explanatory here - you can't pass the parameter by reference. Globalising the $$class var will retain scope. Danny. - Original Message - From: "Tularis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 1

Re: [PHP] Apache 2 and PHP 4.2.3.

2002-11-16 Thread Danny Shepherd
In short - looks as if your version of Apache 2 is out of date. You're using a version from 28th June, the PHP dll was built against a version from 3rd September. Danny. - Original Message - From: "Horst Gassner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [PHP] Re: GD 1.5

2002-11-16 Thread Danny Shepherd
Actually, GD2 can be compiled (after a patch) to read/write GIFs with LZW compression (the LZW algorithm is the root of the legal iffyness), but (AFAIK) you're only legally allowed to enable it if you live outside the US & Canada. AFAIK only FreeBSD's ports system does this atm. - Original Me

Re: [PHP] OO Question

2002-06-10 Thread Danny Shepherd
Yes, you can do that and yes that's how you do it :) Danny. - Original Message - From: "Jay" <[EMAIL PROTECTED]> To: "Php-General (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 5:17 PM Subject: [PHP] OO Question > I was wonderi

Re: [PHP] ForceType hack with Apache 2?

2002-06-10 Thread Danny Shepherd
I ran into this problem too - but there is a conf directive to handle it now (even on FreeBSD, which I use) - http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo Danny - Original Message - From: "a.h.s.boy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

[PHP] Compare 2 resultsets of db-query

2002-06-10 Thread Danny Kruitbosch
es of FIELD1, TOTAL and SUB. Query 1 returns more rows as query 2. Field1 is the same in both queries so I should be able to 'link' the results of both queries together. How do I do this?? Thanks! Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Compare 2 resultsets of db-query

2002-06-12 Thread Danny Kruitbosch
Analysis & Solutions wrote: > Hey Danny: > > On Mon, Jun 10, 2002 at 10:09:12PM +0200, Danny Kruitbosch wrote: > >>Query1: SELECT FIELD1, COUNT(FIELD2) AS TOTAL from TABLE GROUP BY FIELD1 >>Query2: SELECT FIELD1, COUNT(FIELD2) AS SUB from TABLE WHERE FIELD2=1 >&

Re: [PHP] Compare 2 resultsets of db-query

2002-06-12 Thread Danny Kruitbosch
Analysis & Solutions wrote: > On Wed, Jun 12, 2002 at 04:54:30PM +0200, Danny Kruitbosch wrote: > >>Analysis & Solutions wrote: >> >>>Hey Danny: >>> >>>On Mon, Jun 10, 2002 at 10:09:12PM +0200, Danny Kruitbosch wrote: >>> >>>

Re: [PHP] printf()

2002-06-15 Thread Danny Shepherd
On Sunday 16 June 2002 12:46 am, Gerard Samuel wrote: > Im trying to make a dynamic printf(). > By that I mean -> > > function this($foo, $bar) > { > if (strlen($bar) == '0') > { > print($foo); > } > else > { > printf($foo, $bar); > } > } > > Now it works i

Re: [PHP] printf()

2002-06-15 Thread Danny Shepherd
On Sunday 16 June 2002 1:13 am, Gerard Samuel wrote: > check to see if $bar is an array and > feed the array to vprintf() Wow, didn't even know that one existed! Might come in handy though :) Danny. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] md5 php vs. md5 perl

2002-06-16 Thread Danny Kruitbosch
/Perl functions. Thanks! Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] translate perl unpack to php equivalent

2002-06-16 Thread Danny Kruitbosch
Hi, How would I translate this perl unpack statement to the php equiv. my ($salt, $xor) = unpack('a2 a*', $something) Thanks! Danny -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   >