Re: [PHP-WIN] mysql dump

2001-05-03 Thread Johan Lundqvist
Sorry if I was a bit fuzzy... You have to escape out the "\" by typing "\\", so in your exaple it would say: LOAD DATA LOCAL INFILE 'c:\\Windows\\Temp\\phpC021.TMP' INTO TABLE my_contact FIELDS TERMINATED BY ';' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\n' Since you get the error:

[PHP-WIN] Installing PHP4 for PWS

2001-05-03 Thread Sven Östring
Hi, I found David Fischer's step-by-step instructions at http://www.faqts.com/ for installing PWS and PHP on my local machine to be very helpful. However, I'm getting the following error when I try to access .php files: [403.1 Forbidden: Execute Access Forbidden: This error can be caused if yo

[PHP-WIN] PHP4 and MS Access

2001-05-03 Thread Net Citizen
Hello: I'm a newbie to PHP. I'm running PHP4 on IIS5 on a Win2K machine. I'd like to query an MS Access table ("SELECT * FROM Member") from the PHP script. The ODBC DSN is already set up properly. Which PHP functions should I use to do the job? Do you know of a tutorial site for this kind of d

php-windows Digest 3 May 2001 07:57:36 -0000 Issue 577

2001-05-03 Thread php-windows-digest-help
php-windows Digest 3 May 2001 07:57:36 - Issue 577 Topics (messages 7220 through 7243): Form & MySQL 7220 by: fipo2001 How to log session cookie? 7221 by: Kevin L GD and Fonts 7222 by: Michael Haggerty trouble with cookies 7223 by: r.gelstharp 7224

[PHP-WIN] R: [PHP-WIN] PHP4 and MS Access

2001-05-03 Thread Ermanno Iannacci
Use ODBC functions. http://www.php.net/manual/en/ref.odbc.php - Original Message - From: Net Citizen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 10:02 AM Subject: [PHP-WIN] PHP4 and MS Access > Hello: > > I'm a newbie to PHP. > > I'm running PHP4 on IIS5 on

Re: [PHP-WIN] php newbie seeks help!

2001-05-03 Thread Johan Lundqvist
Not sure, but it sounds like php_crypt.dll would do the trick. Seth Cox wrote: > > Hey! I just installed PHP on my Sambar server. It works great but I have > one question. While reading a book to learn the PHP scripting language, > it talks about having the encrypt() and decrypt() options with a

[PHP-WIN] 4.0.5 and crypt()

2001-05-03 Thread Haagen Waade
I just upgraded to 4.0.5 on the windows platform. When I now run our script's that uses crypt() function, I get: Warning: crypt() is not supported in this PHP build. I figure it's been removed since 4.0.4pl (cause it worked there!) Why? Is it only Windows specific? Haagen Waade. -- PHP Windo

[PHP-WIN] crypt MySQL password

2001-05-03 Thread [EMAIL PROTECTED]
I have a form that I use for to collect the data in MySQL and I would to crypt my $DBpassword .. Could you help me with an example ? Thank you very much to all Paul -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-WIN] 4.0.5 and crypt()

2001-05-03 Thread Daniel Beulshausen
At 10:34 03.05.2001 +0200, Haagen Waade wrote: >I just upgraded to 4.0.5 on the windows platform. >When I now run our script's that uses crypt() function, I get: >Warning: crypt() is not supported in this PHP build. > >I figure it's been removed since 4.0.4pl (cause it worked there!) Why? >Is it o

Re: [PHP-WIN] 4.0.5 and crypt()

2001-05-03 Thread Haagen Waade
Ok, that's a good reason :) Any chance for an updated (compiled) one with that one in? Just found out about php4win.de. Great one! Hope you'll get it up back soon. Haagen Waade. > At 10:34 03.05.2001 +0200, Haagen Waade wrote: > >I just upgraded to 4.0.5 on the windows platform. > >When I now r

[PHP-WIN] Installation of Pear on Windows

2001-05-03 Thread Haagen Waade
I'm using pear's db solution, and think it works great (except that oci8/oracle give's no useful error's through db/pear). In *nix it's easy to install pear (script), but I've found none. I solved it by: -renaming "PEAR.php.in" to "PEAR.php" -include pear directory path in the include_path Is th

Re: [PHP-WIN] mysql dump

2001-05-03 Thread Giro De Roover
sorry to be so clueless, but i tried as you mentioned and the page reload itseld like i am doing a reset (form type) and nothing happen. let me give you more explanation where i am: I am using phpmyadmin, i go to the table i want to load the data, then i click on "insert textfile into data" There

[PHP-WIN] Don't swf_definebitmap show bitmap in swf? Why??

2001-05-03 Thread cecchini
I try to make a my dinamyc gallery of Jpg in swf format but the swf_definebitmap don't show nothing! Why? WWW.COLORWEBER.IT (the colour on web) :( -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP-WIN] 4.0.5 and crypt()

2001-05-03 Thread Daniel Beulshausen
At 12:44 03.05.2001 +0200, Haagen Waade wrote: >Ok, that's a good reason :) > >Any chance for an updated (compiled) one with that one in? i'll add it to the 4.0.5 version of php4win.de, tough i'm not sure when the site is going up again. >Just found out about php4win.de. Great one! >Hope you'll

[PHP-WIN] new IISConfig.exe, testers needed

2001-05-03 Thread Cynic
Hi there, there's a new version of the installer, if you were affected by the "required OCX not registered" problem, could you please help us testing it? If so, please follow the following instructions. And please, drop me or Phill a note. TIA >From: "Phil Driscoll" <[EMAIL PROTECTED]> >To:

Re: [PHP-WIN] Form & MySQL

2001-05-03 Thread Johannes Janson
Hi, a simple INSERT would do the job. To encrypt password use md5(). Johannes ""fipo2001"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Please, help me. > I need to register the data that I collect with a simple form (FirstName, > SecondName, Email)

Re: [PHP-WIN] Form & MySQL

2001-05-03 Thread Tom Mathews
Johannes is correct, but if you're woried about security remember that MD5 is a one way algorithm - you don't need a key to unscramble it. Tom Johannes Janson wrote: > Hi, > > a simple INSERT would do the job. > To encrypt password use md5(). > > Johannes > > ""fipo2001"" <[EMAIL PROTECTED]> sc

[PHP-WIN] XML-RPC for Windows

2001-05-03 Thread Paul Meagher
I have haven't been able to get Userfulinc's XML-RPC client or server working on windows. It crashes my Apache web server when I try to. It could be because I am running PHP as an Apache module which some have recommeded not doing on windows? Has anybody gotten this piece of software to work?

Re: [PHP-WIN] Form & MySQL

2001-05-03 Thread [EMAIL PROTECTED]
Could you send to me an example code ? Thx Paul > Johannes is correct, but if you're woried about security remember that MD5 is a > one way algorithm - you don't need a key to unscramble it. > > Tom > > Johannes Janson wrote: > > > Hi, > > > > a simple INSERT would do the job. > > To encrypt pass

[PHP-WIN] Oracle fetch array

2001-05-03 Thread Tom Mathews
In MySQL, you can run something like this: - while ($row1=mysql_fetch_array($result_set)){ $name=$row1[Column1]; $desc=$row1[Column3]; echo"$name$desc"; Does anyone know a way of doing the same with oracle - by which I mean refering to the columns in the array by name rather than by index (ie

[PHP-WIN] inserting quotes into a database...

2001-05-03 Thread Kelvin Luck
Hi, I am having trouble inserting single quotes into an mssql database... my queries are taking the form: mssql_query("update discussiontopics set comment = '$comment', title = '$title', zoneid = $zoneID where topicid = $topicID"); If $comment or $title contain any single quote characters I get

Re: [PHP-WIN] inserting quotes into a database...

2001-05-03 Thread Andrian Pervazov
Turn on the magic_quotes_sybase setting in your php.ini file. Or, if you prefer to do it manually, replace all single quotes in the fields with two consecutive single quotes. Andrian Kelvin Luck wrote: > > Hi, > I am having trouble inserting single quotes into an mssql database... my > queries

RE: [PHP-WIN] Required to Trim Variables with MSSQL Module

2001-05-03 Thread Flint Doungchak
Frank, Here's some additional info. The following code snippet does the following: -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 9:56 PM To: Flint Doungchak Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Required to Trim Variables with

RE: [PHP-WIN] Required to Trim Variables with MSSQL Module

2001-05-03 Thread Flint Doungchak
Frank, Let's try that again... Don't know what happened... $row = mssql_fetch_row($result); $questionid=$row[0]; echo "$questionid"; $length = strlen($questionid); echo "length: $length"; $row[0] is defined as an interger. - With compatibility mode on and off the length of the string is 20.

RE: [PHP-WIN] inserting quotes into a database...

2001-05-03 Thread Kelvin Luck
Hi, Thanks for the responses. I'd tried inserting '' instead of ' but I was then addSlashes() afterwards which meant that it didn't work because this had become \'\' before it met the query... It all works fine now, and I have enabled magic_quotes_sybase so I don't have to add any string processin

RE: [PHP-WIN] Javascript

2001-05-03 Thread Dickerson, Monty
John, ?: are you setting a Content-type header in your php script which outputs text/javascript > -Original Message- > From: Ignatius Teo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 02, 2001 10:45 PM > To: 'John'; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] Javascript > > > Th

Re: [PHP-WIN] Oracle fetch array

2001-05-03 Thread Joe Brown
while (ora_fetch_into($curs, &$row1)){ explode($row1); echo "$NAME now = ".$rowl[1]; (I think the function is explode, if not I'm sure it begins with an e, if that helps... ;-) "Tom Mathews" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In MySQL, you can

[PHP-WIN] MicroSoft Visual InterDev

2001-05-03 Thread Steen RAbol
Hi Does anyone use Microsoft Visual Interdev to PHP coding/debugging, If yes, is there a FAQ on how to set it up ? Thanks in advance. Steen -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To con

[PHP-WIN] MicroSoft Visual InterDev

2001-05-03 Thread Steen Rabøl
Hi Does anyone use Microsoft Visual Interdev to PHP coding/debugging, If yes, is there a FAQ on how to set it up ? Thanks in advance. Steen

RE: [PHP-WIN] Form & MySQL

2001-05-03 Thread Ignatius Teo
Why not simply use MySQL's PASSWORD() function? Ignatius Teo Project Manager, Internet Access Services Information Technology Directorate Southern Cross University PO Box 157, Lismore NSW 2480 Email: iteo_at_scu_edu_au Phone: +61 2 6620-3221 Fax : +61 2 6620-3033 -BEGIN GEEK CODE BLOCK---

php-windows Digest 3 May 2001 23:13:05 -0000 Issue 578

2001-05-03 Thread php-windows-digest-help
php-windows Digest 3 May 2001 23:13:05 - Issue 578 Topics (messages 7244 through 7269): R: [PHP-WIN] PHP4 and MS Access 7244 by: Ermanno Iannacci Re: php newbie seeks help! 7245 by: Johan Lundqvist 4.0.5 and crypt() 7246 by: Haagen Waade 7248 by: Daniel Beu

Re: [PHP-WIN] mysql dump

2001-05-03 Thread Giro De Roover
OK I got it but it was painfull. In first place, I read somewhere that the latest release og phpMyadmin had fixes the backslash story and it is not true There is no way of having working now. In first place phpmyadmin keeps referring to a .TMP files which I haven't choose and don't even exist. T

[PHP-WIN] encrypt

2001-05-03 Thread Seth Cox
I've searched everywhere and I cannot find the php_crypt.dll file anywhere. I didn't come with the package when I installed PHP 4.05 on my windows nt Sambar server. If this is the extension that allows the encrypt() and decrypt() functions, does anyone know where I can find that dll, or if that