[PHP] Stopping Multiple Entries in mySQL DB

2002-07-27 Thread Thomas Edison Jr.
Glory! I just want my Adding Into Database script to check if the Name/Country already exists, and if it does, it shouldn't be allowed. If some with Name : Jackson Country : USA exists in my DB, no one with same name/country should be able to add his name/country in the DB. Can anyone hint?

[PHP] Picking up Data of Previous Date from Table

2002-07-29 Thread Thomas Edison Jr.
Glory! I have one Table (Transactions), having a Date Column, with date stored as -MM-DD I have another Table (Holdings), having a Date Column, with date stored as -MM-DD Now i'm joining the two tables, to get data from both the tables and display on the page. The query i'm using is som

RE: [PHP] Stopping Multiple Entries in mySQL DB

2002-07-29 Thread Thomas Edison Jr.
Hi, Ok i cant actully do this. I have many multiple entries already in the table which i do not wish to delete. And it won't alter table with these multiple entries. So what i need is a PHP Engineered solution, where my PHP code would check for existing entries and deny entry Thanks, T. Edi

[PHP] Resetting ID

2002-07-29 Thread Thomas Edison Jr.
Glory! I have a table, with 4 columns. One of the column is ID, a Primary Key, which has Auto_Increment set on it. Now i have a lot of rows deleted and a lot of duplicate rows that will be deleted, and all sorts of stuff happening in the table.. the result is, that the IDs have become inconsist

Re: [PHP] Submitting form in new window!

2002-07-29 Thread Thomas Edison Jr.
essForm.php?textfield=" + > textfield; > > window.open(url); > } > > > OR > > just add this to your form tag. > TARGET="_blank" > > > "Thomas Edison Jr." <[EMAIL PROTECTED]> wrote > in message > [EMAIL P

[PHP] PROBLEM

2002-08-01 Thread Thomas Edison Jr.
hi! i have a problem in my project.the problem is that suppose we have the date for the whole of the month and two different files r there. i have to pick one file of the current date that is say today and the other file of the yesterday.but the problem is that if the current date is monday then t

[PHP] use data-ba_se

2002-08-09 Thread Thomas -Balu- Walter
Hi, I just noticed a little problem(?) while using databases. Some time ago I wrote myself a little class that made it easier to handly my mysql-tasks. The class connected to a database and used a query like "use $database" to switch to the given database. This worked without a problem just as

[PHP] Need a Web Host for php/mySQl

2002-08-13 Thread Thomas Edison Jr.
Glory, I'm looking for a new Web Hosting company, to host my sites. I had been with Aletia, but i'm experiencing some technical flaws with them, so i need a new one. Aletia is very economical, with $7.95 a month for 200 MB, 10 GB Bandwidth, sub-domains, dbs, and a hell a lot of goodies. so i wou

[PHP] Calling info from mySQL inside flash

2002-09-08 Thread Thomas Edison Jr.
I have a mySQL db, and a bunch of tables in it. What i want to do, is to pick up some data, and display in my Flash Movie. For example. I have a table with a list. Now on my main page, i display the total number of people in the list so far (By counting the rows). Now i want to display the same

Re: [PHP] Calling info from mySQL inside flash

2002-09-09 Thread Thomas Edison Jr.
.com/desdev/mx/flash/articles/flashmx_php.html > > HTH > -Brad > > "Thomas Edison Jr." wrote: > > > > I have a mySQL db, and a bunch of tables in it. > > What i want to do, is to pick up some data, and > > display in my Flash Movie. > > > > For e

[PHP] Check which PHP-Version a project needs?

2002-09-19 Thread Thomas -Balu- Walter
Hi all, is there any tool to check which PHP-Version a project needs at minimum? I am looking for something that crawls through the project and notices all php-functions, variables and such and tells which PHP-version is needed to get it running, because it's hard to keep track of e.g. functions

[PHP] open_basedir and ".."?

2002-09-23 Thread Thomas -Balu- Walter
I am not sure how open_basedir restricts myself. In fact I have problems with files that begin with "../". I can not include those files, and get the following Warning: open_basedir restriction in effect. File is in wrong directory in /home/vwww/x/www/htdocs/conpresso/news/aktuelles/index.p

[PHP]dtabase problem

2002-09-24 Thread Thomas Edison Jr.
there is a problem in mysql database.there r two tables.one table is named as transactions and the other is named as the code.the transactions table has got the 12 fields which r the following 1.clientid int 2.date date 3.isinno text 4.debit int 5.credit int 6.desc text 7.dpid1 text

[PHP] Urgent CPU and|or hdd test

2002-11-11 Thread Thomas \"omega\" Henning
Hello, Is there a way i can test the cpu or the hdd for its serial number in php under linux and win? Thanks Thomas "omega" Henning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Urgent CPU and|or hdd test

2002-11-11 Thread Thomas \"omega\" Henning
Thanks for the information but is there a way to get it in windows aswell? Thanks Thomas "omega" Henning "Marco Tabini" <[EMAIL PROTECTED]> wrote in message news:1037025483.12570.155.camel@;localhost.localdomain... > If you're using linux, you can try to ex

[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] 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] 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

[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] 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] 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

[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

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

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.
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

[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

[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.

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] 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] 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, &

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] 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] 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] 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] 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] 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] 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]

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?

[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

[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] output compression and ETags

2003-09-10 Thread Thomas van Gulick
rs and solution for quite some time (a couple of days) and am at a loss at the moment. I can only choose between smaller output files (faster for the user) or etags (allow caching, also faster for users), but would like best of both worlds of course .. Thomas -- -- PHP General Mailing List (htt

[PHP] Deleting mySql records based on dates

2001-02-21 Thread Thomas Edison Jr.
How do I delete records from my mySql database which are three weeks old?? I will be declaring a date field for the records but what coding should I do in order to check if the records are three weeks old and then erase them so that my data is up to date?? Regards, T. Edison jr. = Rahul S. J

[PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Thomas Edison Jr.
I'm passing variables in a query string to my php pages. The variables whose values contain spaces due to multiple words are being passed correctly to the Internet Explorer browser and are working perfectly there. However, they are not working at al in NETSCAPE browser. What should i do? The Inte

[PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Thomas Edison Jr.
The urlencode() is working fine with an echo statement & normal query string. But it's NOT working with complex query string in printf() including $myrow[something] being picked up by mySQL db. this works : this doesn't work : printf("") OR such combinations as given in the manual. I tried

[PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Thomas Edison Jr.
made the urlencode function to work...only part left now... T. Edison jr. --- Julian Wood <[EMAIL PROTECTED]> wrote: > > Try printf(" href=\"pro_page1.php3?title='".urlencode($myrow[title])."'\">") > > J > > on 3/4/01 11:55 AM, Th

[PHP] NETSCAPE screws up query string : more problems!

2001-03-04 Thread Thomas Edison Jr.
Julian, i tried : instead notice the single quote ' missing. And that WORKED!!! It displayed the right value in the next PHP page. Unfortunately there's another problem. it only DISPLAYED the right value...but when it adds the value in the database...it adds with the plus + sign. i.e., it ad

[PHP] NETSCAPE screw query string : THANKS ALL !!!!! SOLVED!!

2001-03-04 Thread Thomas Edison Jr.
Thanks to all of you guys for helpin me out solve this otherwise horrendous task of making the query string work in netscape. much thanks to Julian!! Cheers, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://w

[PHP] Inserting DATE in mySQL!!

2001-03-05 Thread Thomas Edison Jr.
I'm using the following code to insert date into my mySQL table named "Booking". I've created variables that store the date with dashes "-" seperating them. But it's not working. It's giving me an error on the $SQl line. following is the code : ?? Cheers, T. Edison jr. = Rahul S. Johar

[PHP] uploading file to seperate server

2001-03-10 Thread Thomas Edison Jr.
basically i've gotta write a script that uploads the file that user is uploading NOT to the server on which the scripts are - but to a seperate server. Problem is, i'm expecting huge uploads, and i have got ample space, 3 to 400 MB's. but it's on seperate servers from where my site is. When a use

[PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
I'm facing this problem. I have made a room booking application. There is a Start Date & Time and End Date & Time of Booking a room. Problem is that once booked, you can't book a room with a date or time that falls between an Already booked Date & Time. For example, if someone's booked a ro

Re: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
; echo "Thank you! $rooms, has been booked from $realsdate to $realedate. ** Entries will be deleted 2 weeks after the End Date. "; } } while ($myrow = mysql_fetch_array($result)); } ?> Regards, T. Edison jr. --- "Peter Chr. Hansen" <[EM

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
re > ('$start'>=startdate and '$start'<=enddate) or > ('$end'>=startdate and '$end'<=enddate) > > This lets mySQL do the test for you. > If it returns a row you already have a booking. > > > -Original Mess

[PHP] Booking with Date/Time in mySQL : My Code!!

2001-03-20 Thread Thomas Edison Jr.
Jeff, following is the code as it comes out in my page...can u tell me what i'm doin wrong, besides the fact that i have to replace that famous "uh ohh i got a row back()" with an actual snippet : =sdate and '$realsdate'<=edate) or ('$realedate'>=sdate and '$realedate'<=edate)",$db); if (uh_

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
int "You got it!" > insert good bits into database here > > > Of course this is not guaranteed safe, as you can > end up > with double bookings in the pico seconds between the > select > and the insert - but hey, how many hits a second do > you expect. > > &g

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
int "You got it!" > insert good bits into database here > > > Of course this is not guaranteed safe, as you can > end up > with double bookings in the pico seconds between the > select > and the insert - but hey, how many hits a second do > you expect. > > &g

[PHP] Booking by Date/Time in mySQL : my CoDe!!

2001-03-20 Thread Thomas Edison Jr.
Mr. Jeff, following is the code i'm using in my page, could you tell me what i'm doing wrong, besides of course the famous "uh ohh i got a row back()" code that needs to be replaced =sdate and '$realsdate'<=edate) or ('$realedate'>=sdate and '$realedate'<=edate)",$db); if (uh_ohh_I_got_a_r

[PHP] Date solved! And now TIME problems : Booking by Date/Time

2001-03-21 Thread Thomas Edison Jr.
i was able to succesfully check for start dates & end dates before feeding new booking in the database using the following code : =sdate and '$realsdate'<=edate) or ('$realedate'>=sdate and '$realedate'<=edate)",$db); if (mysql_num_rows($result)) { ?> alert('Sorry, the room is already book

[PHP] the SkyBiz matrix|downline program using PHP & mySQL

2001-04-25 Thread Thomas Edison Jr.
we're trying to develop an exact replica of the SkyBiz downline|Matrix system program. But it's getting so complicated & niether is the logic coming out. we're in need of help. Anyone familiar with the skybiz matrix, please help!! It's a 2 X 2 matrix system where a person can have only two legs be

[PHP] HTTP authentication for username & password

2001-04-26 Thread Thomas Edison Jr.
How can I use the HTTP authentication which pops up that little box in the screen asking for username & password for giving access to a page in PHP? regards, T.Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.a

[PHP] PHP as MODULE & CGI Version of PHP

2001-05-01 Thread Thomas Edison Jr.
I was going through this fantastic tutorial on HTTP Authentication at Zend.com! It mentioned that to have this working, PHP must be "Installed as a Module" and NOT as "CGI Version". Because it will not work in CGI version. Tell me something, how and from where can i install PHP as a Module on my

[PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Thomas Edison Jr.
gosh, i just downloaded the new PHP file from www.php.net, the file i downloaded is : *** PHP 4.0.5 [4,590Kb] - 30 April 2001 (CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip) *** i'm using win98 & PWS

Re: [PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Thomas Edison Jr.
i was gonna die until u came along, at least you have given me some hope. i'm not able 2 eat since this happened. anyway, > already have contained the correct stuff - did you > change anything? yes, because the earlier php were in very different folders..i had a pretty pretty early version of PH

[PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
don't know why still my PHP 4.0.5 is NOT working on my PWS 4.0!! the PHP module is now working perfectly on my Apache server (At Last)!! but what is wrong with PWS??? I have left the doc_root field blank in php.ini And the extension_dir points to C:\php4 which actually contains php.exe and only

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
i'm not getting errors, when i do open my page (http://localhost/test.php3) or any php3 page on my PWS, i get an "HTTP 500 - Internal server error". All the HTML files and stuff are running on my PWS. Only php3 is not!! i did not make any changes to my PWS while installing this new php4.0.5 file

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
gn.com > http://www.rossidesigns.net > - Original Message - > From: Thomas Edison Jr. <[EMAIL PROTECTED]> > To: Data Driven Design <[EMAIL PROTECTED]> > Sent: Friday, May 04, 2001 2:33 PM > Subject: Re: [PHP] PHP on PWS not working! > > > > Did bot

Re: [PHP] PHP on PWS not working!

2001-05-05 Thread Thomas Edison Jr.
nothing does seem to work...i don't know what the hell is the problem!! i did put this : > C:\\php\\sapi\\php4isapi.dll in the regedit file and it looks great. everything is just so by the book. where the hell am i going wrong!! can't understand what's different here that was not before coz it w

Re: [PHP] PHP on PWS not working!

2001-05-05 Thread Thomas Edison Jr.
4ts.dll to your windows/system > directory? I think I had > to do that even though it wasn't in the directions > > Data Driven Design > P.O. Box 1084 > Holly Hill, Florida 32125-1084 > > http://www.datadrivendesign.com > http://www.rossidesigns.net > - Original

Re: [PHP] Sorry, what is "PWS"

2001-05-05 Thread Thomas Edison Jr.
PWS is Personal Web Server. It's a web server by Microsoft. Practically it's pretty easy to use. You can install it into any home PC using win98 and configure PHP on it to use. It supports ASP by default so you can do you ASP scripting using it. Latest version of PWS is 4.0! If u're looking for

[PHP] IIS instead of PWS!!! what else can i do..

2001-05-05 Thread Thomas Edison Jr.
i think i'm almost at the verge of giving up...somehow the PWS in my system is ruined forever...i'd done everything..and i mean *EVERYTHING*...but PHP just doesn't seem to be working with my PWS. In fact, even my ASP scripts are not working anymore on PWS. I've uninstalled & reinstalled PWS twice

Re: [PHP] PHP on PWS not working!

2001-05-05 Thread Thomas Edison Jr.
> 1. Rename php.ini-dist to php.ini (if you haven't) > 2. Simplify your script > 3. Try changing your directory properties in PWS: > Read/Execute/Scripts - try different combinations been there, done that, you could say. i think i've tried every possible humanly available option. my \inetpub\www

Re: [PHP] PHP on PWS not working!

2001-05-05 Thread Thomas Edison Jr.
ome ideas: > 1. Rename php.ini-dist to php.ini (if you haven't) > 2. Simplify your script > 3. Try changing your directory properties in PWS: > Read/Execute/Scripts - try different combinations > > > --- "Thomas Edison Jr." <[EMAIL PROTECTED]> > wrote: > &

Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-05 Thread Thomas Edison Jr.
s, T. Edison jr. --- Zak Greant <[EMAIL PROTECTED]> wrote: > You may want to try Xitami (www.imatix.com) as a > fast/free/open source > alternative to the Microsoft products. > > --zak > > > - Original Message - > From: "Thomas Edison Jr." <

Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Thomas Edison Jr.
>Why not install all three servers (IIS/Apache/Jrun) yeah, well i'm already doing that sir. only problem is, since few days my PWS is not working. Fortunately, just minutes ago i was able to fix it so that ASP is running perfectly on PWS now. Only PHP is not. So anyway, i guess i've dropped the i

Re: [PHP] PHP on PWS not working!

2001-05-06 Thread Thomas Edison Jr.
right, i can change to the CGI version immideately, as it is i have the module ver installed on my Apache. Tell me something, to make it back to the CGI ver, the only thing i have to do is to give the path in my regedit as "C:\php4\php.exe %s %s" instead of what i was giving "C:\php4\sapi\(the php

Re: [PHP] PHP on PWS not working! : WORKING NOW!!

2001-05-06 Thread Thomas Edison Jr.
thankx a lot sir, i guess your guessing worked real well...after 5 days of headbanging and trying everything, it workedi did what u said...removed all references to the isapi dll and converted the php module to php cgi and it's working on PWS. i guess i'm gonan use my apache server for the M

Re: [PHP] IIS instead of PWS!!! what else can i do..

2001-05-06 Thread Thomas Edison Jr.
Already Did sir! and am as happy as u would've been. finally i can test http authentication 2. Cheers, T. Edison jr. "We're out of our medicines and out of our minds..." --- MaD dUCK <[EMAIL PROTECTED]> wrote: > also sprach Thomas Edison Jr. (on Sat, 05 May 20

[PHP] HTTP authentication : logout!!!

2001-05-07 Thread Thomas Edison Jr.
i'm using http authentication for my php pages (members area). Once you login correctly, than you can access anypage as the authentication box doesn't pop-up. Now i woul like to create a logout link after clicking on which, whenever you click on a page using auth, the auth box should pop-up agai

Re: [PHP] HTTP Auth

2001-05-09 Thread Thomas Edison Jr.
Try using this : works excellent on any browser, apache server with PHP module. T. Edison jr. --- gary <[EMAIL PROTECTED]> wrote: > Im having a problem with Authentication uisng > $PHP_AUTH_USER and > $PHP_AUTH_PASSWORD works fine connecting via > netscape but automatically > set to false w

[PHP] Upload & View Image

2002-01-19 Thread Thomas Edison Jr.
Hi, I have a penpal system running on a site. I want to add a feature wherein the person can upload his image and when somebody views the PenPal list, the uploaded image is shown next to his ad. Can we also control the Image Width & Height? I mean when the Image is displayed, it should be in a S

Re: [PHP] Upload & View Image : Database Thingy!!!!

2002-01-20 Thread Thomas Edison Jr.
Malte, Thanks a lot. I was going through the File Upload Functions in the manual and i think that's what they were talking about too. Now there's just one thing. I can run the upload scripts and get the image for display too. But like i mentioned, this is for a PenPal system, a database based Pe

[PHP] Memory usage with Apache

2002-01-23 Thread Thomas E. Ruth
Hello, I'm using PHP 4.0.4pl1 with Apache 1.3.14. I have a PHP script that accumulates data for insertion into a database. This script runs in peices and unset()'s variables that contain the data periodically in hopes of freeing memory for the next batch of records. Apparently it's not working t

[PHP] ReFilling mySQL Database with CSV file!!

2002-02-01 Thread Thomas Edison Jr.
I have to shift my site to a new location. I have enormous records in many tables in my database which will be needed 2 be shifted to. The 'phpMyAdmin' at my site allows me make dumps of the Data in the CSV format. I haven't done this before. These are the options it gives me : 1. Structure onl

[PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Thomas Edison Jr.
Glory! I have a bunch of .CSV (Microsoft Excel Comma Seperated Values) Files with me, whose data i want to put back into my mySQL database tables. How can i do that through php? or otherwise... thanks, T. Edison jr. = Rahul S. Johari (Director) ** A

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

2002-02-12 Thread Thomas Edison Jr.
; The file is located on the server and you have > access to it, yes. If the > file is on the client, then no > > -Original Message- > From: Thomas Edison Jr. > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 12:21 PM > To: Rick Emery > Subject: RE: [PHP

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

2002-02-12 Thread Thomas Edison Jr.
ERMINATED BY '\n' "; > > mysql_query($query) or die("error:". mysql_error()); > > -Original Message- > From: Thomas Edison Jr. > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 1:11 PM > To: [EMAIL PROTECTED] > Subject: RE: [PH

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

2002-02-13 Thread Thomas Edison Jr.
Hi, Ok, considering the FULL PATH and the QUOTES thingy, this is the code i'm applying : And this is the error i'm getting : error:You have an error in your SQL syntax near 'fanlist_try FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED' at line 1 So... what's the problem??

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

2002-02-13 Thread Thomas Edison Jr.
DL Neil, OK buddy, let me be more than frank with you.. i don't think i've been quite as confused and having the expression "what the hell are you tryin 2 say" on my lips in a while, as i had when i read your mail. Hmm.. i do hope u can help me though.. T. Edison jr. > Further to David's comm

[PHP] Cheap, PHP, mySQL hosting!

2002-02-13 Thread Thomas Edison Jr.
Hi, Lookin for about 50 Megs with php4, mySQL and the works. Any economical hosts?? thanks.. t. edison jr __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.

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

2002-02-13 Thread Thomas Edison Jr.
Oh yes, definately. With the appropriate columns too. --- Rick Emery <[EMAIL PROTECTED]> wrote: > Has fanlist_try table been created? > > -Original Message- > From: Thomas Edison Jr. > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 10:54 AM

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

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.
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.
- '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] >

[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] 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] 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] 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] 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] 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

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 "

<    3   4   5   6   7   8   9   >