[PHP] Help With postgresql

2002-04-18 Thread Jr
se is postgresql. Thanks for any help. Jr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php as cron

2001-12-10 Thread jr
Why not just use lynx to run it? */2 * * * * /usr/local/bin/lynx -dump crontest.php JR > On Monday 10 Dec 2001 5:54 pm, Jay Paulson wrote: > > I'm trying to test php running as a cron job and I have installed php as a > > CGI in /usr/local/bin and I have edited my cr

RE: [PHP] FAQ - was "Attitude of B van Ouwerkerk"

2001-07-31 Thread JR
How I view this subject as a Newbie I don't care about attitudes, language, remarks, or anything of this nature. What I do care about is having a place where I can ask stupid questions (Most of the time) intelligent question (whenever possible) and get an answer. Someday when I can understand t

[PHP] Upload & View Image

2002-01-19 Thread Thomas Edison Jr.
in a Size i want, and not any size. And also the File Size.. i dont' want very heavy images uploaded. Can that be restricted? Thanks, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email

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

2002-01-20 Thread Thomas Edison Jr.
base based PenPal sysem. Basically there has to be some connection between the record entry by the user and the image. Which also be required when this record is displayed, for the corresponding image to be displayed. How migh that work? Thanks again, T. Edison jr. --- Malte Fucks <[EMAIL PROT

[PHP] ReFilling mySQL Database with CSV file!!

2002-02-01 Thread Thomas Edison Jr.
h option should i be choosing? And also, once i have chosen that and saved the lot of .csv files on my computer. What is going to be the process to re-fill the new Database & It's new tables with the data in the saved .csv File? Thanks, T. Edison Jr. ==

[PHP] safe mode/mkdir problem - HELP!

2002-02-05 Thread Roberto P.Martins Jr
Hello! I'm trying to create a directory, let's say: /some/dir. My script (create_dir.cgi) is located at the cgi-bin directory and begins with #!/usr/bin/php. So it's like any other script, isn't it? The problem is: running php in safe mode with the script permissions: rwxr-xr-x 8 ro

[PHP] Script uid/gid

2002-02-07 Thread Roberto P.Martins Jr
Hi! I'd like to know why a php script stored at the cgi-bin directory, with the php binary stored outside the webserver tree, runs with the uid/gid of the parent process, even when the setuid/setgid bits set, ignoring them!!! Thanks in advance, Roberto -- PHP General Mailing List (http://www.p

[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

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

2002-02-12 Thread Thomas Edison Jr.
I have space on a server on the internet. I have mySQL & PHP4 support. And i can easily upload the .CSV files on the server itself. Could you kindly help me out with the php code that would make this possible.. Thanks, T. Edison jr. --- Rick Emery <[EMAIL PROTECTED]> wrote: >

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

2002-02-12 Thread Thomas Edison Jr.
Hi Rick, I tries your code but i'm constantly getting some errors. I modified the line to try and correct the error, and this is the code i'm using : And i'm still getting errors on the mail $query line. Can you say what is wrong? T. Edison Jr. --- Rick Emery <[EMAIL

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

2002-02-13 Thread Thomas Edison Jr.
TED' at line 1 So... what's the problem?? Thanks guys, though. T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com

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.

[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

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.
sword/user! The same file, i just insert any other code than the $query, it works! But if i use the loading data infile code.. it gives me this access denied error! What is happening!! T. Edison jr. --- Darren Gamble <[EMAIL PROTECTED]> wrote: > Good day, > > The proper synta

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 T

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

2002-02-13 Thread Thomas Edison Jr.
e thought process. i have no clue why this is happening on the Load Data Infile command only... T. Edison jr. --- val petruchek <[EMAIL PROTECTED]> wrote: > Enum is not a function; it's a mysql data type. It's > very useful when field > values are from the finite set. &g

[PHP] Access Denied !!

2002-02-15 Thread Thomas Edison Jr.
e : But this gives an "Access Denied" error : Why is this happening? T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [EMAIL PROTECTED]

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] How-to start a file download?

2002-03-02 Thread Ed Fair Jr.
Hello all, This may be an HTML question, I'm not sure. I need to start a file download from within php. The file I wish to download is named INSTALLER.EXE, and is an InstallShield setup program. I know I can use an anchor with an HREF to start a transfer: (A HREF=INSTALLER.EXE)Click here(/A),

[PHP] 5 Records in a row displayed!

2002-03-09 Thread Thomas Edison Jr.
adresses in one line, then the next 5 in the next line and so on. Also, perhaps if these emails are seperated by space, nothing else or more. Can someone help me with a code. Regards, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies

[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

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

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

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

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

2002-03-11 Thread Thomas Edison Jr.
.= "bcc:$b\n"; // BCCs to mail($to,$subject,$message,$headers); } ?> If there are any errors in sending the mail, how can i get those errors, or at least have the alert that an error was there and mail could not be sent, printed on the page? Thanks, T. Edison jr. = Ra

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

[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

[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

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

2002-03-26 Thread Thomas Edison Jr.
on the internet. Really appreciate your help... Thanks! T. Edison jr. --- Steven Dowd <[EMAIL PROTECTED]> wrote: > > > you should try this program , DBTools > > http://www.dbtools.com.br/ > > a.. Import Structure and Data from others Databases > (MS Access, MS FoxP

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

Re: [PHP] Personal web server that runs PHP

2002-03-26 Thread Thomas Edison Jr.
If you look on the net, i'm sure you'll find the PWS. Regards, T. Edison jr. --- Don <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know of a personal web server that I can > installon my Win 98 machine that supports PHP

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

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

2002-04-08 Thread Thomas Edison Jr.
g.gif"! How can i insert an "a" at the end of the name before the "." ? 2. OR.. can i insert the "a" before the "." in the image name in my mySQL database itself. Either of the two solutions can work for me. Thanks, T. Edison Jr.

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

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

2002-04-08 Thread Thomas Edison Jr.
Hi, Thanks.. actually that problem is solved, this is what i used : $myrow[ilmage] = eregi_replace('\.jpg$', 'a.jpg', $myrow[ilmage]); $myrow[ilmage] = eregi_replace('\.gif$', 'a.gif', $myrow[ilmage]); and it's now showing the small image

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

2002-04-15 Thread Thomas Edison Jr.
this : Millenium basket ball Now if someone searches for "basket" or "ball" .. i want this record to show up in search results. How can i make that possible? Can anyone guide me towards this.. Thanks, T. Edison Jr. = Rahul S. Johari (Director) *

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

2002-04-15 Thread Thomas Edison Jr.
i want is that if someone searches for "Game" or "Ball", even then this record should appear. Could someone guide me for the same Thanks, T. Edison Jr. = Rahul S. Johari (Director) ** Abraxas Technologies I

[PHP] Searching a mySQL DB

2002-04-15 Thread Thomas Edison Jr.
is record should appear. Could someone guide me for the same Thanks, T. Edison Jr. __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] importing .dat SQL Data into mySQL

2002-04-16 Thread Thomas Edison Jr.
This data was exported via SQL Server.. using Oracle. I need to use this data in my mySQL Database and work on it through PHP. Can i use phpMyAdmin for this.. or some other method? Thanks, T. Edison Jr. __ Do You Yahoo!? Yahoo! Tax Center

[PHP] File Type not working in Uploaded File

2002-05-10 Thread Thomas Edison Jr.
soon as i put in this particular code to check for File Type, it does NOT upload any file. Help! T. Edison Jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxa

[PHP] Uploaded File OverWriting Old File

2002-05-11 Thread Thomas Edison Jr.
echo " Your Photo : Name - $img1_name | Size - $img1_size | MIME Type - $img1_type "; } else { echo "No photograph uploaded, or wrong Type/Size photograph"; } ?> Thanks a LOT! T. Edison jr. = Rahul S. Johari (Director) ***

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 "

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.
l place.. and so he overwrites while copying..Possibly! Don't know for sure. T. Edison Jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : ht

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.
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/$i

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

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

2002-06-10 Thread Thomas Edison Jr.
ave 2 versions available.. 2.0 & 1.3 .. i just want to know which one i should use, and if PHP is compatible with both.. and that if i do use 2.0, the Install Doc in PHP has given no instructions on how to install php on Apache 2.0, so how will i install it.. Any suggestions most welco

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] PHP not working on Apache at XP Pro.

2002-06-25 Thread Thomas Edison Jr.
T. Edison Jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [EMAIL PROTECTED] Tel : 91-4546512/4522124 *** ___

[PHP] Software on web Accessing mySQL/PHP

2002-07-08 Thread Thomas Edison Jr.
show data to users on the Website. It's something like that. The software involves a lot of processing, decryption, conversion etc. to convert a .dat data into usable mySQL Tables Data. Hope somebody can help. Thanks, T. Edison Jr. __ Do You Ya

[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

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

2002-07-09 Thread Thomas Edison Jr.
ield2 : dsjdkj row1field3 : skljskj row2field1 : dkjhdkj row2field2 : dsjdkj row2field3 : skljskj And so on, apart from the other mail info. Can anyone help me out with this... Thanks, T. Edison Jr. __ Do You Yahoo!? Sign up for SBC Yahoo!

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.
r whatever can accomplish this, to restrict parameters of the window in which add2cart.php opens, at the same time the variables of my form should get submitted into the add2cart.php T. Edison Jr. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First

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

2002-07-09 Thread Thomas Edison Jr.
"; > $realcontent .= "$myrow['q']"; > } > Thanks, T. Edison Jr. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-07-09 Thread Thomas Edison Jr.
, in my PHP/mySQL. Thanks, T. Edison Jr. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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.
$myrow[stuff], that is, coming in from a Database Table. How do i define these values up in the Javascript function in the of the file? Thanks, T. Edison Jr. __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -

[PHP] Resetting ID in mySQL DB

2001-11-11 Thread Thomas Edison Jr.
the entire IDs to reflect the true Number of records after i delete the Empty/Blank Rows & Duplicate Record Rows!! How can i do that! Please help!!!!! Cheers & Glory, Thomas edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc.

RE: [PHP] Resetting ID in mySQL DB

2001-11-19 Thread Thomas Edison Jr.
7;s defeating that and empty records are entering into the DB. I don't know why really!! Thanks a bunch! Cheers & Glory, Thomas Edison jr. --- Jack Dempsey <[EMAIL PROTECTED]> wrote: > Thomas, > > The code i gave can't be copied directly in...you > need to use it as a gu

[PHP] Help needed developing Logic!

2001-11-24 Thread Thomas Edison Jr.
re one can private chat with a user. So that by selecting the User's name, when the person sends a message.. it is displayed only on the Selected User's chat.. and not anyone else.. or perhaps some other way. Can anyone help? Ask me any question if you wish to clarify further

[PHP] PHP script not paring in CGI!!!

2001-12-16 Thread Thomas Edison Jr.
Hi, I'm running a Solaris OS. I have written a CGO function to call common header & footer for pages. All HTML pages are running well with it, however, a PHP3 page is not!! It's contents are not showing up. Nothing i showing up! What do i do? T. Edison jr. = Rahul S. Jo

[PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-19 Thread Thomas Edison Jr.
php3 pages are not being parsed for SSI. I looked up on the web , and found that only one of two can be used at the same time. Can anyone suggest a Possible Solution? We are running a Solaris machine! Thanks, T. Edison Jr. = Rahul S. Johari (Dir

[PHP] How to backup records in mySQL DB?

2001-12-19 Thread Thomas Edison Jr.
n a file) or something. I don't know how to do any of this. I have no idea what to do about it. Can anyone make any suggestions & help? Regards, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxa

[PHP] How to backup records in mySQL DB?

2001-12-19 Thread Thomas Edison Jr.
n a file) or something. I don't know how to do any of this. I have no idea what to do about it. Can anyone make any suggestions & help? Regards, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxa

[PHP] Counting "Views" on records in DB!

2001-12-21 Thread Thomas Edison Jr.
r of times that Record is picked up is counted!! Can anyone guide me as to how this can be achieved? Thanks, T. Edison jr. __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing List (http://w

Re: [PHP] Counting "Views" on records in DB!

2001-12-21 Thread Thomas Edison Jr.
Hi, > UPDATE $table views=views+1 Umm.. can you be a little more specific. I couldn't make much sense, thought i could get the logic. Thanks. T. Edison jr. > > Hi, > > I was just going through some Message Board system > and > > noticed that there is a &qu

[PHP] Changing "From" Info in eMail!

2001-12-24 Thread Thomas Edison Jr.
is what i'm using : mail($to, $subject, $message, "From: $from"); Thanks! T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [E

RE: [PHP] Changing "From" Info in eMail! : SOLVED!!!

2001-12-24 Thread Thomas Edison Jr.
he Headers in the end. They work perfectly. Replace the Server Name and also put in the extra Reply-TO feature! Thanks again! T. Edison Jr. --- Ben Clumeck <[EMAIL PROTECTED]> wrote: > I would try the following: > > mail("$to", "$subject", "$message&

[PHP] PHP & mySQL on Sun Solaris OS

2001-02-06 Thread Thomas Edison Jr.
Does PHP work on Sun Solaris? if so..where can i get the version that needs to be downloaded & installed on solaris machine and the documentation to install it there? same for mySQl? thanks... T. Edison jr. = Rahul S. Johari (Director) ** Abr

Re: [PHP] PHP & mySQL on Sun Solaris OS

2001-02-06 Thread Thomas Edison Jr.
Thanks for the info... we'll download the source .. but how do we install on the Solaris machine? is there any doc available for that? it comes with the source file? Thanks, T. Edison jr. --- "Martin A. Marques" <[EMAIL PROTECTED]> wrote: > El Mar 06 Feb 2001

[PHP] HTTP authentication

2001-02-14 Thread Thomas Edison Jr.
method in ASP before for the same. Can I use it in my OS using PHP? The code I'm entering is: "; echo "You entered $PHP_AUTH_PW as your password."; } ?> Regards, T.Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies

[PHP] HTML Coding in mySQL field

2001-02-15 Thread Thomas Edison Jr.
IN one of the fields being offered to the user, the user is expected to enter HTML tags alongwith the text. How can i display this text as html formatted on my PHP3 page? What should be the field type in the mySQL db? should it be TEXT? Regards, T. Edison jr. = Rahul S. Johari (Director

[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

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

2001-03-04 Thread Thomas Edison Jr.
ntains "Project", it goes. But if it contains "Project One" ... it doesn't work in NETSCAPE. When on to the next page, this $title also has to be sent into the Database. what do i do? regards, T. Edison jr. = Rahul S. Johari (Director) ***

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

2001-03-04 Thread Thomas Edison Jr.
s given in the manual. I tried out almost all!!! HELP T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [EMAIL PROTECTED]

[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

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

[PHP] Working with email piped to PHP

2001-02-04 Thread Roy Wilson, Jr.
Is there something I'm doing wrong? Thanks, Roy Wilson, Jr. Director, Administration/Information Services Aosdic Realm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] uploading file to seperate server

2001-03-10 Thread Thomas Edison Jr.
his be made possible in the script!? well thanks a lot, Cheers, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email : [EMAIL PROTECTED] Tel

[PHP] Booking by Date/Time in mySQL

2001-03-20 Thread Thomas Edison Jr.
if someone's booked a room from 3rd March to 10th March between 4:00 p.m. to 12:00 p.m. , you can't book the same room for the any date between 3rd March to 10th March and between 4 pm & 12 pm. How do i do that? Regards, T. Edison j

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.
insert booking data into the table? Because this is basically picking up data or booking from the Table that fall in this period. What i want to do is to check if any booking has been made for this period that i'm inserting now T. Edison jr. --- Jeff Armstrong <[EMAIL PROTECTED]&g

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

2001-03-20 Thread Thomas Edison Jr.
'$realedate','$realstime','$realetime','$purpose','$res')"; $result = mysql_query($sql) or Die ("An unexpected error occured. Please go back and book again."); echo "Thank you! $rooms, has been booked from

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

2001-03-20 Thread Thomas Edison Jr.
w back The logic is neat and pretty understandable. i'm only having problem in raw codin. but i'm tryin. I think i'm gonna suff in a code and see if it works, and i'll share the stuff with you cheers n thanks, T. Edison jr. --- Jeff Armstrong <[EMAIL PROTE

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

2001-03-20 Thread Thomas Edison Jr.
w back The logic is neat and pretty understandable. i'm only having problem in raw codin. but i'm tryin. I think i'm gonna suff in a code and see if it works, and i'll share the stuff with you cheers n thanks, T. Edison jr. --- Jeff Armstrong <[EMAIL PROTE

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

2001-03-20 Thread Thomas Edison Jr.
7;$realedate','$realstime','$realetime','$purpose','$res')"; $result = mysql_query($sql) or Die ("An unexpected error occured. Please go back and book again."); echo "Thank you! $rooms, has been booked f

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

2001-03-21 Thread Thomas Edison Jr.
_query("select * from booking where ('$realsdate'>=sdate and '$realsdate'<=edate) or ('$realedate'>=sdate and '$realedate'<=edate)",$db); but i dodn't know what changes. Please HELP!! Cheers, T. Edison jr. = Rahul S. Johari (

[PHP] New PHP Coder - needs advice

2001-03-26 Thread Rob McMahan, Jr.
27;m new to the open source community and looking forward to getting involved in PHP. Rob McMahan, Jr. Interlink Group Inc. [EMAIL PROTECTED] (Ph) 480-894-6008 (Cell) 602-284-2385 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] Question from Rookie

2001-03-26 Thread Rob McMahan, Jr.
Thank you, Rob McMahan, Jr. Interlink Group Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Passing Special Characters in Query String

2001-03-27 Thread Thomas Edison Jr.
ntering is done successfully, but getting values back from database to print on the page gives an error. How to work through these special characters in a way that they can be entered & extracted back from database & also passed in query strings as is without errors?? Regards, T. Ed

Re: [PHP] Passing Special Characters in Query String

2001-03-28 Thread Thomas Edison Jr.
I've tried everything : rawurlencode, urldecode, htmlentities, htmlspecialchars - nothing is working. and come 2 think of it - it seems like such a basic problem... Help! T. Edison jr. --- Christian Reiniger <[EMAIL PROTECTED]> wrote: > On Wednesday 28 March 2001 08:36, you wrote:

[PHP] Reading db fetched values from files.

2001-03-31 Thread Thomas Edison Jr.
- but considering yahoo uses his own cgi-perl with his own db, how can my PHP code read those scripts and give the output? cheers, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage : http://www.abraxastech.com Email

  1   2   >