RE: [PHP] using xp home

2004-02-23 Thread Jason Merrique
Hi Danny, If you're going to be using PHP for testing purposes on your home PC, I'd recommend installing EasyPHP. It's basically Apache MySQL and PHP bundled together. It's pretty easy to set up, just run the installer, then start the program and you have a PHP enabled webserver. You should be

RE: [PHP] Re: ftp software

2004-02-23 Thread Jason Merrique
I second that, What I like the most about WSFTP is that you can edit files on the remote site. Very handy! -Original Message- From: Pooya Eslami [mailto:[EMAIL PROTECTED] Sent: 22 February 2004 21:47 To: [EMAIL PROTECTED] Subject: [PHP] Re: ftp software WS FTP is not bad.you

[PHP] SQLite: getting field information (type etc)

2004-02-23 Thread Robert S
I am trying to port a small database application (php, MySQL) to sqlite. How can I find the type of an arbitrary field? In other words, what is the equivalent of mysql_field_type() and mysql_field_flags() in sqlite? I read something on the sqlite group recently that recommended using

Re: [PHP] Re: tow dimenshional arrays

2004-02-23 Thread joe-at
Like I supposed there is no efficient way how to do. Thank you for the functios and the help of all of you. Best regards, joe-at Manuel VáZquez Acosta [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Namaste Adwinwijaya: I meant there's no PHP function neither to get a column

[PHP] read and modified getting data

2004-02-23 Thread Tommi Virtanen
Hi! I have quite simple form (it has textarea input), where I can write for example: Data1 Data2 This is text So, input contains spaces, linefeeds and so on... When I make page, which read data from this textarea-field, data came from without spaces and linefeeds. How to correct

[PHP] read and modified getting data

2004-02-23 Thread Tommi Virtanen
Hi! I have quite simple form (it has textarea input), where I can write for example: Data1 Data2 This is text So, input contains spaces, linefeeds and so on... When I make page, which read data from this textarea-field, data came from without spaces and linefeeds. How to correct

Re: [PHP] read and modified getting data

2004-02-23 Thread Miguel J. Jiménez
You must convert \n to br and spaces to nbsp; You can use strreplace() or some other function that exist in PHP just for that... Tommi Virtanen wrote: Hi! I have quite simple form (it has textarea input), where I can write for example: Data1 Data 2 This is text So, input contains

Re: [PHP] read and modified getting data

2004-02-23 Thread Richard Davey
Hello Tommi, Monday, February 23, 2004, 10:25:10 AM, you wrote: TV So, input contains spaces, linefeeds and so on... TV When I make page, which read data from this textarea-field, data TV came from without spaces and linefeeds. How to correct this TV problem? The characters will still actually

RE: [PHP] read and modified getting data

2004-02-23 Thread Jason Merrique
From: Miguel J. Jiménez [mailto:[EMAIL PROTECTED] You must convert \n to br and spaces to nbsp; You can use strreplace() or some other function that exist in PHP just for that... nl2br() should do that. Usage: nl2br($foo) $foo is your textarea variable. -- PHP General Mailing List

RE: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-23 Thread Dave G
Jason, Have no worries, I'm not looking for anyone to write my code for me. It's precisely because the str_replace command is so simple that I figure if the results are strange that there is something I don't understand. And I want to understand it, not just be given code to copy and

[PHP] Split a string on a space, not in side an HTML tag.

2004-02-23 Thread Stuart Gilbert
Hi, I'm trying to get a 500 character split of a string, I only want about the fist 500 characters, I would like to split on a space, which I have managed to do so far, but I would also like the split to not take place inside an HTML tag, so that I don't end up with weird looking pages. I was

[PHP] Character Encoding Problem

2004-02-23 Thread roland
Hi I'm trying to encode text entered into an html form. In dreamweaver, special characters seem to be encoded as #8220; (a curly quote) for example, which I assume is utf-8. Here is my code snippet: htmlentities(html_entity_decode(strip_tags(stripslashes(trim($data, ENT_QUOTES),

Re: [PHP] Slight cleaning of code needed in str_replace command.

2004-02-23 Thread Jason Wong
On Monday 23 February 2004 19:12, Dave G wrote: So now it's working, and largely thanks to the suggestions you gave. I would never have been able to guess on my own at using var_dump() in order to get at the solution. Please don't assume that just because a query is simple that it means

[PHP] Php and GpG

2004-02-23 Thread Paul Marinas
Those anyone know hoh to use php with gpg. I've tryed gpgext, but doesn't seems to work maybe my php is not compiled with some kind of support. thanks Paul GnuPG Key http://sgi.rdscv.ro/~paulm/paulm.PGP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Character Encoding Problem

2004-02-23 Thread Lucian Cozma
Try multibyte functions (http://www.php.net/manual/en/ref.mbstring.php): mb_decode_numericentity mb_encode_numericentity mb_convert_encoding See below: ?php function n_to_c($str) { return mb_decode_numericentity($str, array(0x0, 0x2, 0, 0x), 'UTF-8'); } function c_to_n($strt) { return

[PHP] Connection handling and output_buffering

2004-02-23 Thread neko
Hi guys, Was reading through: http://uk.php.net/manual/en/features.connection-handling.php And I was wondering how PHP handles script termination when you have 'output_buffering = On' in your php.ini? If I have a long script that does lots of database stuff for example, and is riddled with

[PHP] hello

2004-02-23 Thread gnat
read it immediately! attachment: release.zip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Connection handling and output_buffering

2004-02-23 Thread Matt Matijevich
snip Was reading through: http://uk.php.net/manual/en/features.connection-handling.php And I was wondering how PHP handles script termination when you have 'output_buffering = On' in your php.ini? If I have a long script that does lots of database stuff for example, and is riddled with

Re: [PHP] delete a function

2004-02-23 Thread Michal Migurski
There are two (or more) different functions on my web site, that have the same name (an action). They are called depending on the permittions of the end user. I want to have the code clean so I don't want to put the switch or if operators to it. I will call the wrapper that will check the

[PHP] preg guru again.....

2004-02-23 Thread pete M
Am trying to do a strange thing with php.. Extract the urls from the Internet Explorer index.dat history files (dont ask why!) Here is a snippet ð­ :2002020720020208:[EMAIL PROTECTED]://www.lyricsworld.com/cgi-bin/search.cgi?q=Bruce +Springsteenm=phraseps=20o=0wm=wrdul=wf=1ð­ð­ð­ð­ it

RE: Re[2]: [PHP] Self Submitting Form

2004-02-23 Thread Sam Masiello
Ah ha! I think I found where the problem lies(and also our confusing disconnect). Even though you and I were doing pretty much the same thing, your case worked fine in the instance where the parameter being submitted in the self submitting form was only one word. If you changed your test case

RE: [PHP] Php and GpG

2004-02-23 Thread Sam Masiello
What is the error that you get when you try to use gpgext? --Sam Paul Marinas wrote: Those anyone know hoh to use php with gpg. I've tryed gpgext, but doesn't seems to work maybe my php is not compiled with some kind of support. thanks Paul GnuPG Key

[PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Brian Dunning
This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? $dbname = my_database; $dbconnection = mysql_connect(mysql05.powweb.com,my_user,my_pass); mysql_select_db($dbname, $dbconnection); $query = INSERT INTO invoices

php-general Digest 23 Feb 2004 17:11:59 -0000 Issue 2607

2004-02-23 Thread php-general-digest-help
php-general Digest 23 Feb 2004 17:11:59 - Issue 2607 Topics (messages 178511 through 178540): Re: PHP or MSIE Problem? -- SOLVED 178511 by: Beau Hartshorne Re: using xp home 178512 by: Jason Merrique Re: ftp software 178513 by: Jason Merrique SQLite: getting field

RE: [PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Sam Masiello
What happens if you echo out $query to the browser window and try to copy and paste the query into a command line mysql session (be sure to connect to the database using the same authentication credentials that you have in the script)? Does it work? --Sam Brian Dunning wrote: This inserts

[PHP] Re: Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread pete M
Brian Dunning wrote: This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? $dbname = my_database; $dbconnection = mysql_connect(mysql05.powweb.com,my_user,my_pass); mysql_select_db($dbname, $dbconnection); $query = INSERT INTO invoices

Re: [PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread BAO RuiXian
Brian Dunning wrote: This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? $dbname = my_database; $dbconnection = mysql_connect(mysql05.powweb.com,my_user,my_pass); mysql_select_db($dbname, $dbconnection); $query = INSERT INTO invoices

Re: [PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Adam Voigt
Change your query line to this: $result = mysql_query($query) or die(mysql_error()); What does it output? On Mon, 2004-02-23 at 12:11, Brian Dunning wrote: This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? $dbname = my_database;

Re: [PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Jason Wong
On Tuesday 24 February 2004 01:11, Brian Dunning wrote: This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? mysql_error() -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design

[PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Nicole
Is there a PHP alternative to an IFRAME? Here's what I mean. Is there a way to include a file in my php document that will be positioned where I want it, like an IFRAME? I want to have it aligned right with text wrapping around it and I know IFRAME is not compatible with Netscape browsers.

[PHP] Re: Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Nicole
I don't know if this will help, but I always do: $result = mysql_query($query,$dbconnection); Nicole Brian Dunning [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This inserts nothing into the database, but returns no error that I can see. How come? What's wrong with it? $dbname =

Re: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Richard Davey
Hello Nicole, Monday, February 23, 2004, 5:21:11 PM, you wrote: N Is there a PHP alternative to an IFRAME? Here's what I mean. No, of course not. PHP is a server-side language. IFRAME's (and anything related to page construction/display) is client-side. N Is there a way to include a file in my

[PHP] Re: hello

2004-02-23 Thread Ben Ramsey
I would advise against sending attachments to the list with the message read it immediately. Chances are, it won't be opened or looked at. Please include a description of the problem you are facing, as well as the code you are using in your message body--not in an attachment. [EMAIL

Re: [PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread BAO RuiXian
Brian Dunning wrote: On Feb 23, 2004, at 9:18 AM, BAO RuiXian wrote: Have you tried to insert the same SQL statement manually, i.e., not via your php scirpt? I did the insert in phpmyadmin copied pasted the SQL that it generated, and it's the same, so I'm left scratching my head big

Re: [PHP] Can anyone tell me why this code doesn't insert anything?

2004-02-23 Thread Richard Davey
Hello Brian, Monday, February 23, 2004, 5:11:55 PM, you wrote: BD $query = INSERT INTO invoices BD ('ip','total','creation','first_name','email','session','last_name') BD VALUES BD ('0.0.0.0','0.00',NOW(),'Bob','[EMAIL PROTECTED]','12345','Smith'); You shouldn't wrap the column names in

[PHP] passthru and GET parameters

2004-02-23 Thread Guillouet Nicolas
Hi all, I am trying to use htmldoc with passthru function : passthru(htmldoc -t html --quiet --jpeg --webpage --footer --bottom 0.2cm --left 1.78cm --right 1cm --top 0.2cm '' $options $filename); where $filename is urls, it works fine but not with GET pamameters : if $filename is like

Re: [PHP] Re: hello

2004-02-23 Thread BAO RuiXian
Based on the style of message body (short and shout), and the subject line, and the zip attachment, I conclude it as a virus. It may or may not a virus in face, I immediately delete it anyway:) Best Bao Ben Ramsey wrote: I would advise against sending attachments to the list with the

Re: [PHP] passthru and GET parameters

2004-02-23 Thread Marek Kilimajer
put quotes around: passthru(htmldoc -t html --quiet --jpeg --webpage --footer --bottom 0.2cm --left 1.78cm --right 1cm --top 0.2cm '' $options '$filename'); Guillouet Nicolas wrote: Hi all, I am trying to use htmldoc with passthru function : passthru(htmldoc -t html --quiet --jpeg --webpage

[PHP] E-Commerce Advice? Squirrelcart?

2004-02-23 Thread Matt Hedges
Hello, I am working on using PHP to build a web store. http://www.squirrelcart.com/ looks to be pretty good for a shopping cart- does anyone have any experience with this or others? Also, what suggestions do ya'll have for a payment gateway? thanks matt -- PHP General Mailing List

[PHP] Re: Search Engines || Dynamic Content || Apache Mod_Rewrite....

2004-02-23 Thread CF High
Hey all. I've got a PHP-MySql database driven site setup in a shared hosting environment that does NOT support apache mod_rewrite. Is there a workaround for getting dynamic pages (e.g. index.php?display=contact) indexed in major search engines without using mod_rewrite? Any clues very much

[PHP] preg_guru

2004-02-23 Thread pete M
I'm trying to group matches.. the string is (all one line) :2002020720020208: [EMAIL PROTECTED]://www.azlyrics.com __ continued... /s/springsteen.html?dsd=sadsaetc=tec here the first bit I'm trying to match :2002020720020208: preg_match((:[0-9]{16}:), $contents, $match); and then the default@

Re: [PHP] E-Commerce Advice? Squirrelcart?

2004-02-23 Thread Adam Voigt
PayPal has some pretty impressive inter-active programming API's. Other then that, the only suggestion I could make is try and steer clear of AuthorizeNET. On Mon, 2004-02-23 at 12:53, Matt Hedges wrote: Hello, I am working on using PHP to build a web store. http://www.squirrelcart.com/

RE: [PHP] E-Commerce Advice? Squirrelcart?

2004-02-23 Thread Elliott Mina
I have used OsCommerce, and not had any problems. Original Message Follows From: Matt Hedges [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] E-Commerce Advice? Squirrelcart? Date: Mon, 23 Feb 2004 11:53:14 -0600 Hello, I am working on using PHP to build a web store.

Re: [PHP] E-Commerce Advice? Squirrelcart?

2004-02-23 Thread Richard Baskett
on 2/23/04 9:53, Matt Hedges at [EMAIL PROTECTED] wrote: Hello, I am working on using PHP to build a web store. http://www.squirrelcart.com/ looks to be pretty good for a shopping cart- does anyone have any experience with this or others? Also, what suggestions do ya'll have for a

Re: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Nicole
Your right I was mixing up what I wanted. What I wanted to know I guess was if I use an include and include a file can I format where that file will display. So what I have is a little box with some info in it. I want it to display to the right of the body text and have the body text wrap

RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Chris W. Parker
Nicole mailto:[EMAIL PROTECTED] on Monday, February 23, 2004 10:26 AM said: What I wanted to know I guess was if I use an include and include a file can I format where that file will display. So what I have is a little box with some info in it. I want it to display to the right of the

Re[2]: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Richard Davey
Hello Nicole, Monday, February 23, 2004, 6:26:24 PM, you wrote: N What I wanted to know I guess was if I use an include and include a file can N I format where that file will display. Yes absolutely, but again this is still an HTML issue. N So what I have is a little box with some info in it.

[PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
I'm using a prebuilt Perl form mailer script for a project, but because the form is so long, my client would like to give the user the ability to save the data and come back to finish it later. I was hoping to be able to code this part in PHP (because I don't know Perl), but I'm fairly new to

RE: [PHP] saving form data

2004-02-23 Thread Sam Masiello
If the PHP configuration doesn't have register_globals turned on in the php.ini file, you will be able to access the form variables via the _POST array like this: $_POST[my_form_var] Of course, substitute my_form_var with the correct variable from the form that you are submitting. If the

Re: [PHP] Php and GpG

2004-02-23 Thread Adam Bregenzer
On Mon, 2004-02-23 at 08:35, Paul Marinas wrote: Those anyone know hoh to use php with gpg. I've tryed gpgext, but doesn't seems to work maybe my php is not compiled with some kind of support. You will need to call gpg from your script using either a socket connection[1], something from the

Re: [PHP] Possible to write CRC/MD5 to the file?

2004-02-23 Thread Adam Bregenzer
On Mon, 2004-02-23 at 00:01, Evan Nemerson wrote: What you would have to do is find a collision, which is thankfully difficult to do- if it were easy, MD5 would be useless. Theoretically, you could modify say John The Ripper and have it brute force something, but you may end up waiting a

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
Guys, this isn't THAT stupid of a question is it? From my perspective, the way PHP seems to see it is that I should already know what kind of file I'm looking at. In most cases that's not an unreasonable assumption. Unfortunately, that's only good for most cases. PHP is rich in ways to work

Re: [PHP] Re: hello

2004-02-23 Thread Duncan Hill
On Monday 23 February 2004 17:27, Ben Ramsey wrote: I would advise against sending attachments to the list with the message read it immediately. Chances are, it won't be opened or looked at. Please include a description of the problem you are facing, as well as the code you are using in your

Re: [PHP] Detecting Binaries

2004-02-23 Thread Adam Voigt
Couldn't you just check the extension on the file? On Mon, 2004-02-23 at 14:03, Axel IS Main wrote: Guys, this isn't THAT stupid of a question is it? From my perspective, the way PHP seems to see it is that I should already know what kind of file I'm looking at. In most cases that's not an

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
Yes, and in fact that is what I am doing now. This is a spider bot though, so I'm having to think of every single type of binary file that could be linked to on the web. So far I'm up to 28 with no end in sight. What about a .com file? I can't omit links that end in .com can I? That would be

Re: [PHP] Re: hello

2004-02-23 Thread John Nichel
Ben Ramsey wrote: I would advise against sending attachments to the list with the message read it immediately. Chances are, it won't be opened or looked at. Please include a description of the problem you are facing, as well as the code you are using in your message body--not in an

Re: [PHP] Detecting Binaries

2004-02-23 Thread Jas
Well you can do a check on the mime type of the file. eg. $mimes = array(1 = application/octet-stream, 2: = image/jpeg, etc. For more info... http://us4.php.net/manual/en/ref.filesystem.php Just like the upload file function you can check for the mime types...

Re[2]: [PHP] Detecting Binaries

2004-02-23 Thread Richard Davey
Hello Axel, Monday, February 23, 2004, 7:03:38 PM, you wrote: AIM Guys, this isn't THAT stupid of a question is it? From my perspective, AIM the way PHP seems to see it is that I should already know what kind of AIM file I'm looking at. In most cases that's not an unreasonable AIM assumption.

Re: [PHP] Detecting Binaries

2004-02-23 Thread Adam Voigt
Well actually to check .com, just make sure it contains a / then the .com, that will filter yahoo.com, but keep yahoo.com/downloadme.com On Mon, 2004-02-23 at 14:19, Axel IS Main wrote: Yes, and in fact that is what I am doing now. This is a spider bot though, so I'm having to think of every

RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Robert Sossomon
Just place ?php include box_info.php; ? In your web page in the location where the little box is. Word wrap typically only happens with images though, so you may have to turn your text into an image, in which case you could just use a javascript commands to change the image as needed. If you

[PHP] PHP 5

2004-02-23 Thread Karl Timmermann
Hi, I am new to the list, so sorry if this has been asked before. I was wondering if anyone knew of an approx. date for the final release of PHP 5.0? I ask because I have a project to do semi-soon that uses XML and I would rather wait for PHP 5 and use the SimpleXML extension to make things

Re: [PHP] Possible to write CRC/MD5 to the file?

2004-02-23 Thread Sean McCarthy
Hi, At 04:20 23/02/2004, Simon Fredriksson wrote: I wonder if it's possible to write the MD5 or CRC checksum of my scriptfile to the scriptfile. I know that if I change it, the value will change, but is there any way to calculate what it will be? There's no way you can add the CRC after

[PHP] Send mail with attached

2004-02-23 Thread francesco
Hi all, is possible to send an email, with mail() function, with an attached? I see on www.php.net but there isn't nothing about this. If someone have the solution please send the solution. Thanks in advance. Frank [EMAIL PROTECTED] www.automationsoft.biz

Re: [PHP] Detecting Binaries

2004-02-23 Thread Adam Bregenzer
On Mon, 2004-02-23 at 14:19, Axel IS Main wrote: Yes, and in fact that is what I am doing now. This is a spider bot though, so I'm having to think of every single type of binary file that could be linked to on the web. So far I'm up to 28 with no end in sight. What about a .com file? I

Re: [PHP] Detecting Binaries

2004-02-23 Thread Marek Kilimajer
Generally, binaries have \0 in them, but it is not necessery. Axel IS Main wrote: Guys, this isn't THAT stupid of a question is it? From my perspective, the way PHP seems to see it is that I should already know what kind of file I'm looking at. In most cases that's not an unreasonable

Re: [PHP] PHP 5

2004-02-23 Thread Adam Bregenzer
On Mon, 2004-02-23 at 14:25, Karl Timmermann wrote: I am new to the list, so sorry if this has been asked before. I was wondering if anyone knew of an approx. date for the final release of PHP 5.0? I ask because I have a project to do semi-soon that uses XML and I would rather wait for PHP

Re: [PHP] preg guru again.....

2004-02-23 Thread Adam Bregenzer
On Mon, 2004-02-23 at 11:36, pete M wrote: Here is a snippet ð­ :2002020720020208:[EMAIL PROTECTED]://www.lyricsworld.com/cgi-bin/search.cgi?q=Bruce +Springsteenm=phraseps=20o=0wm=wrdul=wf=1ð­ð­ð­ð­ it breaks down in the following elements the :date: in the format mmddmmdd

Re[2]: [PHP] Detecting Binaries

2004-02-23 Thread Richard Davey
Hello Axel, Monday, February 23, 2004, 7:38:25 PM, you wrote: AIM Thanks, you just gave me the solution, I think. I don't have to strip AIM out every character above standard ascii, I just have to look for them. AIM If one is there, then just get rid of it. It's true that an OS can't AIM tell

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
Thanks, that's very helpful. It beats the heck out of doing it the way I've been doing it. Richard Davey wrote: Hello Axel, Monday, February 23, 2004, 7:38:25 PM, you wrote: AIM Thanks, you just gave me the solution, I think. I don't have to strip AIM out every character above standard ascii,

Re: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Nicole
I'm not having much luck explaining what I want here ... a drawback of emailing. I know how to include files, I just wanted to include it in such a way that my body text still wrapped around it. I think I need to tackle this using HTML. Robert Sossomon [EMAIL PROTECTED] wrote in message

Re: [PHP] delete a function

2004-02-23 Thread Adam Bregenzer
On Sun, 2004-02-22 at 07:25, Sztankó Demeter wrote: I'm not sure that I want to start OOP-ing in my php code, but I will if necessary. Ok, I have below a non-OO response. Personally, while I enjoy the OO methodology, I don't think it is the one true way. I adhere to the philosophy that

[PHP] Embedded MySQL server (libmysqld)?

2004-02-23 Thread user
Howdy -- Would someone point or provide me with an example of PHP + libMysqld (Embedded MySQL server)? My problem is my churchs web site doesn't provide a MySQL database as a default package (add $15.95/mo)for a MySQL Db. TIA, David -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: [PEAR] Re: PEAR DB 1.6.0 has been released

2004-02-23 Thread Justin Patrin
Lukas Smith wrote: Justin Patrin wrote: I think you're confusing the issue. PEAR DB does support many databases, but it only loads the code for the ones that you are currently using. So if you're using one database it is effectively a one database API. Jakes wrote: What is performance like

[PHP] Re: [PHP-DB] Embedded MySQL server (libmysqld)?

2004-02-23 Thread Adam Voigt
Check these guys out: http://spenix.com/WebHostingPlans.aspx Very cheap, very reliable, great features, and support is second to none I've ever experienced, and before you ask, no I'm not now nor have I ever been an employee or shareholder. =) Just a satisfied customer. On Mon, 2004-02-23 at

Re: [PHP] Re: [PEAR] Re: PEAR DB 1.6.0 has been released

2004-02-23 Thread Richard Davey
Hello Justin, Monday, February 23, 2004, 4:11:40 PM, you wrote: JP3) A unified architecture for mysql and Oracle. You don't have to JP remember different functions for use with different databases. That abstraction only abstracts the functions to connect to, select and query the database,

[PHP] Re: [PHP-DB] Embedded MySQL server (libmysqld)?

2004-02-23 Thread user
Adam Voigt wrote: Check these guys out: http://spenix.com/WebHostingPlans.aspx Very cheap, very reliable, great features, and support is second to none I've ever experienced, and before you ask, no I'm not now nor have I ever been an employee or shareholder. =) Just a satisfied customer. Admin

Re: [PHP] Re: [PHP-DB] Embedded MySQL server (libmysqld)?

2004-02-23 Thread Adam Voigt
Alright, well with any txt based system, your probably going to run into problems with multi-users (multiple browsers) updating the DB. Reguardless, if you must use txtbased, I recommend SQL-Lite, it supports SQL statements, and is very small and very fast. http://www.sqlite.com On Mon,

Re: [PHP] Re: [PEAR] Re: PEAR DB 1.6.0 has been released

2004-02-23 Thread Justin Patrin
Richard Davey wrote: Hello Justin, Monday, February 23, 2004, 4:11:40 PM, you wrote: JP3) A unified architecture for mysql and Oracle. You don't have to JP remember different functions for use with different databases. That abstraction only abstracts the functions to connect to, select and

Re[2]: [PHP] Re: [PEAR] Re: PEAR DB 1.6.0 has been released

2004-02-23 Thread Richard Davey
Hello Justin, Monday, February 23, 2004, 5:30:16 PM, you wrote: JP The real hairy part is dealing with joins as the syntax is very JP different across the DBs. This can be solved by simply not doing them or I wish :) JP using a syntax that most use. Or you can try to use DB_DataObject, but JP

RE: [PHP] PHP Alternative to IFRAME?

2004-02-23 Thread Chris W. Parker
Nicole mailto:[EMAIL PROTECTED] on Monday, February 23, 2004 12:06 PM said: I'm not having much luck explaining what I want here ... a drawback of emailing. I know how to include files, I just wanted to include it in such a way that my body text still wrapped around it. myfile.php: ?php

Re: [PHP] Php and GpG

2004-02-23 Thread Evan Nemerson
On Monday 23 February 2004 10:49 am, Adam Bregenzer wrote: On Mon, 2004-02-23 at 08:35, Paul Marinas wrote: Those anyone know hoh to use php with gpg. I've tryed gpgext, but doesn't seems to work maybe my php is not compiled with some kind of support. You will need to call gpg from your

Re: Re[2]: [PHP] Detecting Binaries

2004-02-23 Thread Evan Nemerson
On Monday 23 February 2004 11:55 am, Richard Davey wrote: Hello Axel, Monday, February 23, 2004, 7:38:25 PM, you wrote: AIM Thanks, you just gave me the solution, I think. I don't have to strip AIM out every character above standard ascii, I just have to look for them. AIM If one is there,

[PHP] Re: XSLT in php v5 beta 4

2004-02-23 Thread Ryan C. Creasey
Steve Dieke wrote: | I am guesing that I have installed something incorrectly. I am trying to | use the function xslt_create(). I installed php v5 Beta 4 successfully. | but when I try to use the function xslt_create() I get the following | error: | | Fatal Error: Call to undefined function

Re: [PHP] Send mail with attached

2004-02-23 Thread janet
In a message dated 2/23/2004 11:41:00 AM Pacific Standard Time, [EMAIL PROTECTED] writes: is possible to send an email, with mail() function, with an attached? I see on www.php.net but there isn't nothing about this. If someone have the solution please send the solution. Thanks in advance. Frank

Re: [PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
Sam Masiello wrote: If the PHP configuration doesn't have register_globals turned on in the php.ini file, you will be able to access the form variables via the _POST array like this: $_POST[my_form_var] Of course, substitute my_form_var with the correct variable from the form that you are

Re: [PHP] Re: hello

2004-02-23 Thread Nathan Torkington
On Feb 24, 2004, at 6:45 AM, BAO RuiXian wrote: Based on the style of message body (short and shout), and the subject line, and the zip attachment, I conclude it as a virus. It may or may not a virus in face, I immediately delete it anyway:) Yeah, that's a bloody virus on someone else's machine,

Re[2]: [PHP] saving form data

2004-02-23 Thread Richard Davey
Hello Charlie, Monday, February 23, 2004, 9:27:07 PM, you wrote: CFI Thanks, but how do I get the info submitted to the PHP CFI script to access the data in the first place? Since the CFI target of the form is the Perl script, the submit button CFI submits the form to the Perl script; can I

Re[4]: [PHP] Detecting Binaries

2004-02-23 Thread Richard Davey
Hello Evan, Monday, February 23, 2004, 8:57:43 PM, you wrote: It would be wise to check for characters from 0 to 31, if they appear then it's almost certainly (but not guaranteed) binary. EN Assuming that's decimal, you're including 0x09 0x0a and 0x0d which are, EN respectively, tab, line

Re: [PHP] saving form data

2004-02-23 Thread Charlie Fiskeaux II
Richard Davey wrote: You can't make one form submit to two different scripts sadly, but to be honest if you're going to write a PHP script to capture this information - why not make it do what the Perl formmail script does too? (i.e. send the email) and remove the Perl script from the equation?

[PHP] Problem deleting a cookie...

2004-02-23 Thread Dave O
Hi all. I'm currently experiencing a problem deleting cookies on a test server. Before I go on, here's the server info: Server 1 -- Apache 1.3.29 PHP Version 4.3.4 Server 2 -- Apache 2.0.48 PHP Version 4.3.4 Previously running PHP 5.0.0.a4 I've got a technical support app

Re: [PHP] Re: Problem deleting a cookie...

2004-02-23 Thread Dave O
Forgot to -cc the list. André Cerqueira wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here's what I use to set the cookie. $value=(time() + 9000) . :$uid:$username:$gid:$fullname; SetCookie(Trackookie, $value, 0, , server.mssystems.com ); Here's what I use to delete the cookie.

[PHP] Re: To Separate, or Not to Separate

2004-02-23 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i think if the most accessed fields are much smaller than the hole thing, you can consider splitting it whats the average size of your records? whats the size of the fields you access the most? (check your sql's for that one...) amount of records

[PHP] Finding out the local path to a file.

2004-02-23 Thread Simon Fredriksson
I'm wondering if there's a way for PHP fo know the local path of REQUEST_URI. I've used a script to list directories, in order to replace the looks of the traditional Indexes look (apache). By setting DirectoryIndex to a fixed file (/list/lister.php) that file is now executed whenever there's

[PHP] Re: Problem deleting a cookie...

2004-02-23 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here's what I use to set the cookie. $value=(time() + 9000) . :$uid:$username:$gid:$fullname; SetCookie(Trackookie, $value, 0, , server.mssystems.com ); Here's what I use to delete the cookie. SetCookie(Trackookie, , time()-3600, ,

Re: [PHP] Detecting Binaries

2004-02-23 Thread Axel IS Main
That's not bad, but I found a way to do it simply using chr() and passing it a value. It turns out the if I go 0-31 Almost nothing will get through. Even the simples html has something in there from that list. However, by just looking between 14 and 26, one more than carriage return, and one

RE: [PHP] saving form data

2004-02-23 Thread Gary Sanders
Charlie, Can you make the submit target be the PHP script and have the PHP script call the Perl script to send the email? Gary -Original Message- From: Charlie Fiskeaux II [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 2:15 PM To: PHP General Subject: Re: [PHP] saving

[PHP] system / exec Question...

2004-02-23 Thread Gary Sanders
Title: Message Hello... I'm using with PHP with Windows XP. I just set it up today and terribly new to PHP (1st day). Anyway, I'm having a problem calling an .exe file with system and exec. I can call lots of other programs, but not this one. Can you tell me what's the best way to debug a

Re: [PHP] Finding out the local path to a file.

2004-02-23 Thread Evan Nemerson
On Monday 23 February 2004 04:31 pm, Simon Fredriksson wrote: I'm wondering if there's a way for PHP fo know the local path of REQUEST_URI. I've used a script to list directories, in order to replace the looks of the traditional Indexes look (apache). By setting DirectoryIndex to a fixed file

RE: [PHP] Finding out the local path to a file.

2004-02-23 Thread Chris W. Parker
Evan Nemerson mailto:[EMAIL PROTECTED] on Monday, February 23, 2004 4:33 PM said: dirname($_SERVER['SCRIPT_FILENAME'])? __FILE__ will also do it. ?php echo __FILE__; ? chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] saving form data

2004-02-23 Thread Evan Nemerson
On Monday 23 February 2004 02:51 pm, Charlie Fiskeaux II wrote: Richard Davey wrote: CFI It's just a matter of development time; if there's a way to CFI use the Perl mail script with a PHP data saving script, it CFI would save time. If I do have to rewrite the whole thing in CFI PHP, how

  1   2   >