Re: [PHP] New way to make select boxes auto select

2002-07-25 Thread Roger Thomas
i used the same techniqu a while back when i worked with Fast Template. scenario: - present a user with a form to input - there are several text fields and several select options - if there is/are error(s) upon form submission, we will call the same template file and insert proper error messages a

[PHP] Inserting Processed Data from One Table 2 Another!

2002-07-23 Thread Thomas Edison Jr.
Ok i have simple issue, i'm stuck at one point. I have a table "Clientdetails" which contains ClientID. I have created another table "Authentication" with 2 fields, "ClientID" and "Password". I want to pick up the ClientID from table "Clientdetails" and insert "ClientID" and a Password i have ge

[PHP] Re: Accessing Ports

2002-07-18 Thread Thomas \"omega\" Henning
And what kind of permissions might that be? (server side) "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > >Can i access my paralel or USB port with PHP server side? > > The client's (browser's) parallel or USB port? No. See PHP & HASP thread. > > If the web-serve

[PHP] Accessing Ports

2002-07-18 Thread Thomas \"omega\" Henning
Hello, Can i access my paralel or USB port with PHP server side? Thomas "omega" Henning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why my php can not get values from Form?

2002-07-18 Thread Thomas Edison Jr.
Simple.. just edit your php.ini file in your windows directory. Search for "register_globals" .. it will have "Off" in front of it.. switch it to "On" T. Edison jr. --- ram friend <[EMAIL PROTECTED]> wrote: > hello, > I have just installed apache+php4, but my php can > not get values from form?

Re: [PHP] Importing CSV File : 100000 Rows!

2002-07-17 Thread Thomas Edison Jr.
> I use Windows but the command on Linux is close > > if the file is called mydata.sql > > mysql > \. C:\mydata.sql > > > Hope this works > > Pradeep > > > - Original Message - > From: "Thomas Edison Jr." <[EMAIL PROTECTED]

[PHP] Importing CSV File : 100000 Rows!

2002-07-17 Thread Thomas Edison Jr.
Hi, I have generated a .csv file from a .dat file using a VB program. Now this .csv file needs to be imported into my mySQL Database Table on the internet, using phpMyAdmin. The problem i'm facing is that the file, while uploading, stops somewhere in the middle. The upload just gets stuck. Pos

Re: [PHP] Timer

2002-07-16 Thread Thomas \"omega\" Henning
te the difference between then and how. Store that > value in another file or database. Update the file with a fresh timestamp. > -Kevin > > ----- Original Message - > From: "Thomas "omega" Henning" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>

[PHP] Timer

2002-07-16 Thread Thomas \"omega\" Henning
Is this possible: Im making a bot in PHP and i need a timer. Lets say noone ses anything for 2mins in the channel after that the bot ses something. And if the bot recieves an msg the timer clears. Is this possible 2 be done? Thomas "omega" Henning -- PHP General Mailing

Re: [PHP] Connecting LocalHost & Remote mySQL DB

2002-07-12 Thread Thomas Edison Jr.
bsite mySQL. Thanks, T. Edison Jr. --- Jason Wong <[EMAIL PROTECTED]> wrote: > On Saturday 13 July 2002 13:45, Thomas Edison Jr. > wrote: > > Glory! > > > > Let's say i got a bunch of Data in my mySQL Table > on > > my localhost. I need all this Dat

[PHP] Connecting LocalHost & Remote mySQL DB

2002-07-12 Thread Thomas Edison Jr.
Glory! Let's say i got a bunch of Data in my mySQL Table on my localhost. I need all this Data uploaded on my mySQL on the Server/Internet. Now one way is to use phpMyAdmin, Export the original data on LocalHost to a .CSV file, then use the Server phpMyAdmin to upload the same .CSV file to the t

Re: [PHP] help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
No I only work on *nix platforms "Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You wouldn't happen to be on a windows system? Read the "Warning:" on the > manual page: > http://www.php.net/manual/en/function.mail.php > > --Dan > > -- >

[PHP] Re: help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
under WinNT... > php 4.2.1 The Null String might work under > UNIX too... I haven't tried it... > > Spike... > > "Thomas "Omega" Henning" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello all, &

[PHP] help with mail() function!

2002-07-12 Thread Thomas \"omega\" Henning
11 Jul 2002 13:04:08 - Message-ID: <[EMAIL PROTECTED]> To: Henning Tamas <[EMAIL PROTECTED]>, Root <[EMAIL PROTECTED]>, Subject: [MediaSoft] test //---Header ends here I added this line From: Test List <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] test

[PHP] caching dynamic thumbnail

2002-07-10 Thread Roger Thomas
just would like to confirm here whether thumbnail images that i generated dynamically with gd is cached by browsers. a) i have a html frontend to call the php script that does that thumbnail. this html file, say, view.htm contains these lines: b) the thumbnailing works perfectly. but is thi

Re: [PHP] Submitting form in new window!

2002-07-09 Thread Thomas Edison Jr.
Glory, > Attach a javascript event to the submit button Something like : Wherein wow() defines a the window.open function? > and also attach the form values to the url. How do i do this? Because the 3 or 4 form fields i have, which are Hidden Fields, contain values coming in from $myrow[stu

[PHP] Exporting mySQL Table Data to .csv

2002-07-09 Thread Thomas Edison Jr.
Glory, I use phpMyAdmin which enables me to take dump of mySQL Table Data into Comma Seperated Values file (.csv) Now, i have to create such a program that accomplishes this, without using phpMyAdmin. Can someone guide me to this procedure.. Thanks, T. Edison Jr.

[PHP] Commit/Roll Back Transaction in PHP/mySQL

2002-07-09 Thread Thomas Edison Jr.
Glory! Im creating a .php file that will be uploading & putting in data from a .csv file into mySQL Tables on the server. However, my problem is that if there is any kind of a problem during the transaction, i.e, system shut down, electricity problem, or any reason why the transaction is interrup

RE: [PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread Thomas Edison Jr.
Hi, WOW... THANKS A LOT!! This actually did it .. i was on a slight wrong track.. > $realcontent = ""; > while ($myrow = mysql_fetch_array($result)) > { > $realcontent .= "$myrow['pid']"; > $realcontent .= "$myrow['nm']"; > $realcontent .= "$myrow['q']"; > } > Thanks, T. Edi

Re: [PHP] Submitting form in new window!

2002-07-09 Thread Thomas Edison Jr.
Hi, Ok, let me show some code : Quantity This is the SUBMIT button that submits the form alongwith the Form Variables to a file called "Add2Cart.php" !! But this file simply opens in an unadministered new window. i would like to use the window.open function, or whatever ca

Re: [PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread Thomas Edison Jr.
Thank you for your *extreme* kindness... I do not know where to begin to make this happen. I created a variable and ran the entire do while loop to read contents of the table and tried storing them in the variable, which could be used as Content of the mail. However, i just get the Last Row in m

[PHP] Sending data in table, multiple rows, via mail()

2002-07-09 Thread Thomas Edison Jr.
Hi, Ok i have a bunch of rows in my table, with some data. I want my mail() function to be able to pick up the data from the rows and send to a specified email. Basicall let's say there are 3 fields, and 3 rows, the data sent in email should be something like : row1field1 : dkjhdkj row1field2

[PHP] Submitting form in new window!

2002-07-09 Thread Thomas Edison Jr.
Hi, When i press the Submit button, i would like it to open in a new Javascript Windows with well-defined characteristics like size, width etc. I create a window.open function and gave the name of my PHP page .. but the Form Variables are not passing into it.. Thanks, T. Edison Jr. = R

Re: [PHP] regex for emoticon codes

2002-07-08 Thread Roger Thomas
e("/\[emoticon(\d\d)\]/", "/image/emot/\\1.gif", > $str); > > print $new_str; > > Seems to work? > > Rgds > > John > > - Original Message - > From: "Roger Thomas" <[EMAIL PROTECTED]> > To: <[EMAIL PROT

[PHP] regex for emoticon codes

2002-07-08 Thread Roger Thomas
i have something like $str = "sometext sometext [emoticon01] sometext [emoticon23] sometext"; i would like to use regex to replace those codes into: sometext sometext /images/emot/01.gif sometext /images/emot/23.gif sometext all numerics after the code "emoticon" consisted of exactly 2 digits;

[PHP] Software on web Accessing mySQL/PHP

2002-07-08 Thread Thomas Edison Jr.
Hi, Basically we have created a Software in Visual Basic. Now the software uses mySQL on the internet as Backend. However, our server does not allow Remote Host Connection, which means we cannot access our mySQL Database on the Internet by our Software on a local client. We need the mySQL Databas

[PHP] PHP not working on Apache at XP Pro.

2002-06-25 Thread Thomas Edison Jr.
Glory! I've got Windows XP Pro OS. I installed and am running mySQL on that. However, PHP is not getting configured with Apache on it. I got the latest Apache, 1.3.24 or something, not the Version 2. Anyway, Apache runs perfectly on it. However, when i put in the required PHP lines in httpd.conf

[PHP] netscape 4.x problem

2002-06-23 Thread Thomas E. Ruth
Hi, I'm having trouble getting a script working right in netscape 4.x and was wondering if anybody knew a workaround, or fix. If I have a script called "sendheader.php" with the following: http://blah.com/sendheader.php";); exit; } echo "blah"; ?> Load the script in netscape 4.x with

Re: [PHP] Apache 2.0 or 1.3 for php on windows XP ?

2002-06-10 Thread Thomas Edison Jr.
Ok... i'll go for 1.3.24 Thanks, T. Edison Jr. --- R'twick Niceorgaw <[EMAIL PROTECTED]> wrote: > use apache 1.3.24.. > php has experimental support for apache 2.0.x.. so > don't trust it much > > ----- Original Message - > From: "Thomas E

[PHP] Apache 2.0 or 1.3 for php on windows XP ?

2002-06-10 Thread Thomas Edison Jr.
Glory! I have Windows XP Home Edition.. and i downloaded the latest PHP & mySQL. I have Apache 1.3.19 earlier, which for some reason gives "Service Apache Not Installed" now even when everything is installed, on my windows XP. So i decided to get a new Apache Web Server. They have 2 versions av

Re: [PHP] ******************* Secure product download *******************

2002-05-29 Thread Shaun Thomas
t root, the download location can't even be reverse-engineered. This script is the only way to get that file. -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Administrator | | Phone: (309) 743-0812

[PHP] Re: mysql error

2002-05-17 Thread Thomas Seifert
also try to: echo mysql_error(); after the select-query, it will tell you what went wrong. Thomas On Fri, 17 May 2002 18:45:07 +0100 [EMAIL PROTECTED] (Randum Ian) wrote: > Hi all, > > I have got this code but I can get it to work, it doesnt make sense! > > > &

[PHP] Compiling PHP on Solaris 7

2002-05-15 Thread Thomas Finley
or directory make[1]: *** [zend_language_parser.lo] Error 1 make[1]: Leaving directory `/usr/share/src/php-4.2.1/Zend' make: *** [all-recursive] Error 1 Thomas Finley [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie - Spot the error

2002-05-15 Thread Shaun Thomas
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Shaun M. ThomasINN Database Administrator | | Phone: (309) 743-0812 Fax : (309) 743-0830| | Email: [EMAIL PROTECTED]AIM : trifthen

Re: [PHP] Send html email

2002-05-12 Thread Thomas Seifert
On Sun, 12 May 2002 00:07:57 -0500 (CDT) [EMAIL PROTECTED] (Miguel Cruz) wrote: > On Sat, 11 May 2002, Alex Shi wrote: > > Thanks for all of you who answered my question. But another of > > my stupid question is: what is RTFM? > > RTFM == Read The Flurking Manual Or Read the fine manual (or r

Re: [PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
Glory! T. Edison jr. --- Miguel Cruz <[EMAIL PROTECTED]> wrote: > On Sat, 11 May 2002, Thomas Edison Jr. wrote: > > If i have a filename "room.jpg" in my Upload > > Directory, and someone else comes and uploads a > file > > by the same name, the previous &quo

RE: [PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
WOOO.. i did not know this was possible : file_exists("mjpalpics/$img1_name") And this might actually solve the whole issue!! Let me try this.. Thanks a BUNCH! T. Edison Jr. --- John Holmes <[EMAIL PROTECTED]> wrote: > > > copy("$img1", "mjpalpics/$img1_name") or Die > ("Could > > > not do");

Re: [PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
Well thanks a bunch! --- Nick Wilson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Thomas Edison Jr. declared > > Hmm... possibly when i say > > if(file_exists($img1_name)), he's looking for the >

Re: [PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
Glory! > Well, I don't see any thing in your code that > denotes the directory the images are going in? What about this : copy("$img1", "mjpalpics/$img1_name") or Die ("Could not do"); Sends the images to the mjpalpics Directory! > 'path/to/img/img.jpg' > exists and if so, name the upload im

Re: [PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
Glory & Power! I'm using the following code now... the Error is gone, but it's still overwriting the old file. It's not changing the name.. not doing anything, just uploading this new file and replacing the old one.. "256000") and ($img1_type != "image/pjpeg") or ($img1_type != "image/jpeg"))

Re: [PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
_name = $img1_name+n; } And thanks a lot.. Thus Spake T. Edison Jr. !! --- Nick Wilson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Thomas Edison Jr. declared > > Hi, > > > > If i have a filename "

Re: [PHP] File Type not working in Uploaded File

2002-05-11 Thread Thomas Edison Jr.
Hi, Ok there were a lot of mistakes in that code. IN fact i rubbed it off completely and am using a new code.. Everything works fine now, except that if the filename exists, any new file with the same name overwrites the old file.. What do i do about it? Here is the code i'm using : Thank y

[PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
Hi, If i have a filename "room.jpg" in my Upload Directory, and someone else comes and uploads a file by the same name, the previous "room.jpg" is overwritten by the new one. Any suggestions? This is the code i'm using : Thank you for adding you details. The following has been added to the Dat

Re: [PHP] Alternating Table Rows, Part Deux..

2002-05-10 Thread Shaun Thomas
ot;\n". "\t$aRow[somecolumn]\n". "\t$sCompanyName\n". "\t$line[anothercolumn]\n". "\n"; } - CUT HERE ----- And done. Infinitely more maintainable. -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[PHP] File Type not working in Uploaded File

2002-05-10 Thread Thomas Edison Jr.
Hi, This is my upload form : Please upload your file below: Upload And this is part of my PHP coding, that handles the Upload. Basically the problem is, that my code is not recognising the File Type! I have specified "image/jpeg" as the file type, but even then it does not upload A

[PHP] Bug #16747

2002-05-10 Thread Shaun Thomas
n our devel systems, we have to turn off E_ALL, because of one notice that shouldn't even really be a notice. I can't be the only one this affects. Can one of the developers support this behavior, or is it some kind of arbitrary decision? -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

[PHP] compiling extensions from "HEAD" for 4.1.1?

2002-04-27 Thread Thomas Seifert
Hi folks, I would like to use a extension from the php4-cvs for my current php4.1.1-production-system. Is it possible to use such an extension? if so, how? using phpize produces error messages about the m4-macros. thanks a lot, Thomas -- PHP General Mailing List (http://www.php.net/) To

[PHP] current date query

2002-04-27 Thread Thomas Goeminne
Hi, I am a beginning programmer and I am missing my Mysql/php book for some days so I can't look up what i need. i need a query something like this: query= SELECT from calender WHERE ('$day','$month','$year')= current date i need a script that looks in my database for events that are going do

[PHP] Cgi modules

2002-04-23 Thread Richard Thomas
I have php compiled as both a module and cgi on my server... Running php from the command line works just fine, no unexpected output.. However running it as cgi from the webserver is really wierd... The very first line #!/usr/bin/local/php ALWAYS shows up on the webpage... Its driving me nuts.

Re: [PHP] official statement about PHP file extensions?

2002-04-19 Thread andy thomas
On Fri, 19 Apr 2002 [EMAIL PROTECTED] wrote: > At 19.04.2002 13:32, you wrote: > > > >Hi, > > > >Is there any official statement (by php.net) about which file extension you > >should use when using PHP (1, 2, 3 or 4)? I know that's server related, but > >isn't there a standard? > > > >http://w

[PHP] importing .dat SQL Data into mySQL

2002-04-16 Thread Thomas Edison Jr.
Hi, I have a .dat file.. with some data like this : 02001IN00100213200207120020412200204122002041710002002041720020417 02002IN00100213200207220020415200204152002041810002002041820020418 02003IN00100213200207320020416200204162002041910002002041920020419

[PHP] Re: HELP! Connect or no connect, that's the question...

2002-04-15 Thread Brad Thomas
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all, > > I installed mysql for windows and had to copy some databases (including > mysql standard databases), that I have to use for my php-project. I also > installed the Apache server 1.3 ... > > My problem

[PHP] Searching a mySQL DB

2002-04-15 Thread Thomas Edison Jr.
I'm working on a search program that searches on a mySQL DB and gives back results. I have a table with a column vProName, which let's say, contains a record "Basket Ball Game". Now what i want is that if someone searches for "Game" or "Ball", even then this record should appear. Could someone

[PHP] Search Results, Per Page, Total Results...

2002-04-15 Thread Thomas Edison Jr.
Hi, I'm working on a search program that searches on a mySQL DB and gives back results.. something like this : $sql_text = ("SELECT * FROM searchtb where vCategory='$q' || vSubCategory='$q'"); What i want is that the results should be displayed PageWise.. that is, maybe 15 results per page. So

[PHP] Search Results, Per Page, Total Results!

2002-04-15 Thread Thomas Edison Jr.
Hi, I have a mySQL table on which i'm performing a search.. something like this : $sql_text = ("SELECT * FROM searchtb where vCategory='$q' || vSubCategory='$q'"); Now i want the Search Results to appear per page.. that is, maybe 15 Records per page should appear.. with something like this on

[PHP] Re: file seems b0rken

2002-04-09 Thread Thomas Wentzel
Arhh man, that was embarrasing... Thanks! I guess I didn't get enough coffee this morning :/ T. Cc Zona wrote: > > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Thomas Wentzel) wrote: > > > $test=@file("some_non_existing_file"); > > > >

[PHP] file seems b0rken

2002-04-09 Thread Thomas Wentzel
Hi! $test=@file("some_non_existing_file"); Can somebody explain why count($test) is 1. When $test doesn't hold any data (which ofcourse is correct). Regards Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding "a" in "try.jpg"! SOLVED!!

2002-04-08 Thread Thomas Edison Jr.
s with the "a"!! Thanks AGAIN! T. Edison Jr. --- Miguel Cruz <[EMAIL PROTECTED]> wrote: > (untested) > > $newname = eregi_replace('\.jpg$', 'a.jpg', > $oldname); > > No point messing up your database; just use > something like the above wh

Re: [PHP] Adding "a" in "try.jpg"! Problems!

2002-04-08 Thread Thomas Edison Jr.
g$', 'a.jpg', > $oldname); > > No point messing up your database; just use > something like the above when > you're outputting the image tags for the thumbnails. > > miguel > > On Mon, 8 Apr 2002, Thomas Edison Jr. wrote: > > > I have a new v

[PHP] Adding "a" in "try.jpg"!

2002-04-08 Thread Thomas Edison Jr.
I have a new very intriguing problem at hand. I have the name of my Images stored in my mySQL database in one column. Now when i pick the images, they are displayed as it as. However, they are the big images, and the thumbnails of those images are stored with an "a" at the end of thier names. T

Re: [PHP] Reliability of sessions

2002-04-04 Thread Thomas Deliduka
me and id passed through > the url every single time. There is absolutely no reason to use those > functions since php takes care of that stuff for you. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -

Re: [PHP] Reliability of sessions

2002-04-04 Thread Thomas Deliduka
e I do my link Of course, the sessfield function is for passing the session ID via a form. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reliability of sessions

2002-04-04 Thread Thomas Deliduka
URL on every page so whether or not cookies are set, the session stays intact. I'm thinking that I solved my old problem and I'm going to do it in the database and pass the order number. That's probably the best way. I only have to provide for order clean-up for those that started the

[PHP] Reliability of sessions

2002-04-04 Thread Thomas Deliduka
order starting with shipping info in the database and merely pass the order number that is assigned to them. What is the opinion, are sessions reliable enough to go through the step process? -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst ht

Re: [PHP] Re: Why?

2002-03-30 Thread andy thomas
On Sat, 30 Mar 2002, Michael Kimsal wrote: > Alberto Wagner wrote: > > Why everyone uses $foo or $foobar as examples? > > > > > > > > Why not? They are relatively benign words that are simply to > type and aren't terribly language centric. > > $moo and $moocow would work just as well, or $asdf

Re: [PHP] Personal web server that runs PHP

2002-03-26 Thread Thomas Edison Jr.
In fact, using Apache Win32 Module on a Windows 98 PC is a much better choice & option rather then PWS. Apache server gives greater flexibility & support. I don't see any reason why you should choose PWS over Apache Win32 for your Win 98 PC? T. Edison Jr. --- R'twick Niceorgaw <[EMAIL PROTECT

Re: [PHP] Personal web server that runs PHP

2002-03-26 Thread Thomas Edison Jr.
Hi, Of course. The "Personal Web Server" that is available with Windows 98 as an Add-On totally supports PHP4. I have it configured on my system. I'm not sure if i know of a place where you can download it from.. But it's available as an "Add-On" with Windows 98 CD. If you look on the net, i'm

Re: [PHP] MS Access data => mySQL database

2002-03-26 Thread Thomas Edison Jr.
Thanks... actually the software DBTools from www.dbtools.com.br is excellent for the same purpose, as suggested by someone here. It does the needful pretty efficiently. Cheers! T. Edison Jr. --- Jon Farmer <[EMAIL PROTECTED]> wrote: > > Can anyone tell me how to convert/send data stored > in >

Re: [PHP] MS Access data => mySQL database

2002-03-26 Thread Thomas Edison Jr.
e answer for you if you want to do it > completly with php, but it gets you > to the basic area, and transfers the data.. > > there is at www.hotscripts.com a php access>mysql > converter, i tried it last > year, but found it very buggy. cannot remember what > it was cal

[PHP] MS Access data => mySQL database

2002-03-25 Thread Thomas Edison Jr.
Can anyone tell me how to convert/send data stored in an MS Access database to a mySQL table through PHP?? T. Edison Jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [EMAIL PROTECTED] Tel : 9

Re: [PHP] CLI through PHP

2002-03-14 Thread andy thomas
On Thu, 14 Mar 2002, Liam wrote: > 14/03/2002 10:51:10 PM > > Hi, I was wondering how I'd go about manipulating some command line > software through PHP. For instance, I have an FTP program installed > that allows you to add users through the command line, but it's in this > format: > > -

Re: [PHP] What is needed to test php mail on a local testserver

2002-03-14 Thread andy thomas
On Thu, 14 Mar 2002, andy wrote: > Hi there, > > I am wondering, how I could test the mail functions of php on a local > machine. Do I have to install something like a mailserver, or does this come > with php? If you are using a Unix/Linux type server for your local system, sendmail (or an equ

[PHP] Error Handling!

2002-03-12 Thread Thomas Edison Jr.
I want errors reported on a page when the mail() function for any reason fails to send emails. FOr example, if there is a malformed email address or anything, and the mail is not sent, how can i catch the Error and Display it on the page? Thanks, T. Edison Jr. = Rahul S. Johari (Director)

Re: [PHP] phpMyAdmin

2002-03-11 Thread Thomas Edison Jr.
With the phpMyAdmin, you get a "Config.inc" file. You will have to change the parameters (username, password, database) etc., in order to access your phpMyAdmin. T. Edison Jr. --- "Chuck \"PUP\" Payne" <[EMAIL PROTECTED]> wrote: > I have a client that has install phpMyAdmin but > can't get into

[PHP] Check "@" in Record & show Error in mail() !!

2002-03-11 Thread Thomas Edison Jr.
Hi, I'm using the following code to get Email Address stored in a table in my Database : $myrow[email] "); } while ($myrow = mysql_fetch_array($result)); } else { echo "Sorry, no records matching your criteria were found!"; } ?> But there are some records where the user has enter

Re: [PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hey THANKS! It worked.. just the way i wanted! Thank you so much. T. Edison Jr. --- RIVES Sergio <[EMAIL PROTECTED]> wrote: > i don't know if it will work... i am quite a newbie > in this stuff. > > Hope it could help you > > > "Thomas Edison Jr."

Re: [PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hi, This is the code i'm using so far : $myrow[num] "); } while ($myrow = mysql_fetch_array($result)); } else { echo "Sorry, no records matching your criteria were found!"; } ?> But this displays all records one per line... T. Edison Jr. = Rahul S. Johari (Director) *

Re: [PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
n one line, there should be only 5 usernames, seperates by spaces. Like this : user1 user2 user3 user4 user5 user6 user7 user8 user9 user10 Can you help? Thanks, T. Edison jr. --- RIVES Sergio <[EMAIL PROTECTED]> wrote: > may you give me more explanations ? > thanx > SR > > &

[PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hi, I would like to display 5 records per line on the Results page. Not seperated by a comma, but just seperated by Space. How can i do that? Thanks, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxa

Re: [PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
On Mon, 11 Mar 2002, Jason Wong wrote: > On Monday 11 March 2002 20:18, andy thomas wrote: > > Just wondering but is there any way PHP scripts can be run from the > > command line from a standard Unix shell like, for example, perl rather > > than being invoked via a br

[PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
Just wondering but is there any way PHP scripts can be run from the command line from a standard Unix shell like, for example, perl rather than being invoked via a browser and running web server, etc? Such a feature would be very nice as there are a number of things that can be done better from P

[PHP] 5 Records in a row displayed!

2002-03-09 Thread Thomas Edison Jr.
Hi, I'm looking to display 5 records in one rows, from the database. What i mean is, basically, let's take the "emails" as an example. I have a table with 100s of email addresses. Now i want to display these email addresses on a page, but i want to display only 5 email adresses in one line, the

Re: [PHP] permissions

2002-03-04 Thread andy thomas
On Mon, 4 Mar 2002, John Gurley wrote: > Can someone pleas tell me if there is something funny when it comes to unix > permissions and PHP. When php creates a file in unix the owner is > nobody...does this raise any issues, and if it does could someone please > tell me a web site where I could

[PHP] Re: cursor focus

2002-03-03 Thread Thomas Seifert
yeah, but what you want to do can only be accomplished with JavaScript. PHP is a serverside language and you need a clientside-lang like JS. Thomas Ralph Jarvis wrote: > I am not running Javascript, just PHP/HTML... > THe particular script I am having problems with has several decision

Re: [PHP] Bizarre mail() problem

2002-03-03 Thread andy thomas
On Sun, 3 Mar 2002, andy thomas wrote: > > > On Sat, 2 Mar 2002, Andrey Hristov wrote: > > > check you php.ini if you need to change sendmail -t -i to something other. > > We are still having problems with this. Doing another mailshot, the script > crawled at 1 mess

Re: [PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
ut it will be interesting to see what happens in about half an hour's time. Andy > - Original Message - > From: "andy thomas" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, March 02, 2002 11:04 AM > Subject: [PHP] Bizarre ma

[PHP] PHP4.1.2

2002-03-02 Thread Thomas Holton
Hello, I upgraded my PHP to 4.1.2 from 4.0.6. Now, twig, which uses imap, does not work just returns a popup that says the document contained no data. I have checked other applications using php and they all seem fine. Also, pine, which uses the imap, is functioning normally as well. There

Re: [PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
ending a message a second, so that sendmail was handling 10 messages/second and load average hit 3.5. It must have been a network related problem but it's all running fine now with 1 message a second going out from the original script. cheers, Andy > - Original Message - > From: &q

[PHP] Bizarre mail() problem

2002-03-02 Thread andy thomas
I have written a script to do some massmailing - it extracts an email address from a MySQL database and uses it to send a text file as a mail message. It works but there is a 75 second delay between each message being sent out! This is baffling - there are no delays built into the script and noth

[PHP] Global Variable Change

2002-03-01 Thread Thomas Brodkorb
uot;) ) { $lang= "1031"; } $Language = $lang; if (session_is_registered('Language')) { session_unregister('Language'); } session_register('Language'); } ?> But it doesnt change ANYTHING Please Help Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: create a file

2002-02-28 Thread Thomas Franz
I found it. "Thomas Franz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED].; > good morning, > > i want to create a new file and save it in the current dir. I look in the > manual but only i found how to create a dir. > > Thanks for help.

[PHP] create a file

2002-02-28 Thread Thomas Franz
good morning, i want to create a new file and save it in the current dir. I look in the manual but only i found how to create a dir. Thanks for help. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] unzip with php

2002-02-28 Thread Thomas Franz
that are only 8 characters allowed for the docname. My docnames are longer and often the first 8 characters are the same. I think i need an other zip-program. Is there anybody who can help me or give an idea. Thanx Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] mysql_db_query and the future?

2002-02-23 Thread Thomas Seifert
connection parameters). Is there a speed penalty in using the combination of mysql_select_db();mysql_query ... compared against mysql_db_query? Thanks a lot for already reading this ;-) Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Access Denied !! SOLVED!!

2002-02-15 Thread Thomas Edison Jr.
CLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n' Wether you enter the command directly into the mySQL command line, or through PHP, the error was coming the same, and now with this, it works both ways too! The syntax being missed was "LOCAL" in L

[PHP] Access Denied !!

2002-02-15 Thread Thomas Edison Jr.
Hi, I'm facing a rather tricky problem. The thing is, while connecting to the mySQL database using my php page, i get the "acess denied" error on only One Particular command, and on any other query, the same page, with the same login details works fine! For ex, this works fine : But this giv

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
- 'male' > and 'female' > > the main reason to use it (instead of MySQL) is > speed. The next one could be > data correctness > > Valentin Petruchek (aki Zliy Pes) > *** Cut the beginning *** > http://zliypes.com.ua > mailto:[EMAIL PROTECTED] >

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Val, quite frankly, i'm not quite sure i know what you're talking about. i don't think i know enum() function!! T. Edison jr. --- val petruchek <[EMAIL PROTECTED]> wrote: > > Hi Rick, > > > > Thanks for the support! > > This is the mySQL Table Structure : > > > > $sql = "CREATE table fanlist_tr

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
x is: > > INTO TABLE > > and not: > > INTO > > > Darren Gamble > Planner, Regional Services > Shaw Cablesystems GP > 630 - 3rd Avenue SW > Calgary, Alberta, Canada > T2P 4L4 > (403) 781-4948 > > > -Origi

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
male";"India" 4;"femke dees";"[EMAIL PROTECTED]";"14";"Female";"Netherlands" 5;"bram dees";"[EMAIL PROTECTED]";"48";"Male";"Netherlands" In fact, i'm attaching a portion of the .csv

<    1   2   3   4   5   6   7   8   9   >