[PHP] Installing php with gd what a pain!

2003-09-09 Thread Dhaval Desai
Hello Guys, I am trying to install php 4.3.2 with gd support. I have already installed zlib and jpeg-6b. My configure line options are as below: ./configure --with-gd --with-jpeg-dir=/usr/lib it doesn't work. I tried ./configure --with-gd --with-jpeg-dir=/usr/local/bin it still doesn't work

[PHP] Php +Xml?

2003-03-07 Thread Dhaval Desai
Hello people, I want to start using Xml with php. How do I install xml on Apache with Php? I am running redhat 7.2,Apache 1.3.12 and php latest version. How do I install xml? I am totally new to Xmland want to start somewhere... -Dhaval

[PHP] RE: Mysql Date got prob!

2003-03-01 Thread Dhaval Desai
Hi, Thanx for yor reply. Well It worked for me with the same query when I used HAVING instead of where. This is what I got from Mysql Database. However the solution that you have showed is reall good as well. Thanx -Dhaval From: Uttam [EMAIL PROTECTED] To: 'Dhaval Desai' [EMAIL PROTECTED

[PHP] Mysql Date problem...weird..

2003-02-28 Thread Dhaval Desai
Hello, Please read the below query and the information that I have mentioned. This is really weird... select date_format(date_add(arrivaldate1, INTERVAL nights1 DAY), '%Y- %m-%d') as dept_date1 from mytable where ('dept_date1' BETWEEN '2003-02-01' AND '2003-02-10') When it goes to

[PHP] Mysql Date got prob!

2003-02-28 Thread Dhaval Desai
Hello, As related to my earlier question select date_format(date_add(arrivaldate1, INTERVAL nights1 DAY), '%Y- %m-%d') as dept_date1 from mytable where ('dept_date1' BETWEEN '2003-02-01' AND '2003-02-10') The above query is valid but returns 0 because 'dept_date1' is treated as a string. I

[PHP] Checkbox related...

2003-02-16 Thread Dhaval Desai
Hi everybody, I have a form with 5 checkboxes. I want to make sure that a user checks atleast 2 boxes before he can proceed. How can that be made possible. Thank you -Dhaval _ The new MSN 8: smart spam protection and 2 months

RE: [PHP] Checkbox related...

2003-02-16 Thread Dhaval Desai
How do we do it using the first option i.e javascript to count how many boxes are checked...could you give some example... Thanx -Dhaval From: David McInnis [EMAIL PROTECTED] To: 'Dhaval Desai' [EMAIL PROTECTED] Subject: RE: [PHP] Checkbox related... Date: Sun, 16 Feb 2003 10:59:17 -0800

[PHP] Date formating

2003-02-15 Thread Dhaval Desai
Hi, I have a string in this format: 2003-02-15 13:19:02 I want to display it in a more readable format like Staurday, 11 Februardy, 2003, 13:19:02. How can I achieve that. I tried date() function but could not get what I wanted. -Dhaval

[PHP] referer keywords

2003-01-21 Thread Dhaval Desai
Hello ppl, I want to find out what keywords are people exactly using to get to my website and from where are they coming(Which search engine?)...I want to make a custom script, I don't want to use my web server logs or anything... Is it possible..?? - Dhaval

[PHP] Php's future with Asp .NET?

2003-01-15 Thread Dhaval Desai
Hello ppl, I was just wondering what is php's future with something like Asp .Net coming up...I have read many articles by Php guys who think Asp.Net is the future. If that's the true case...is it really worth sticking to Php at all? Thanx! -Dhaval

[PHP] Date Comparison

2003-01-11 Thread Dhaval Desai
Hello ppl, Well, I want to compate date is php, could anybody tell me which is the best way to do so? I have tried various ways but nothing seems consistent. I tried for example: if(2003-1-15 2003-1-11) { echo true; } which doesn't work in some cases... Thank you! Best Regards, Dhaval

[PHP] Multidimensional Array manipluation...

2003-01-02 Thread Dhaval Desai
Hello ppl, I was trying to do something with an array...I guess you could see what I mean from the code below: $test[0] = hey; $test[1] = hi; $test[2] = hello; Now I want to hold various values in $test[0][hey] = 1 and $test[1][hi] = 2 and $test[2][hello] = 3 and then I want to use the

Re: [PHP] Multidimensional Array manipluation...

2003-01-02 Thread Dhaval Desai
it's possible using splice()m I don't know exactly how to use it with Multi Dimensional arrays Also is there any idea on how can we count() the values in a multi dimensional arrays... Thanx From: Chris Shiflett [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Dhaval Desai [EMAIL

Re: [PHP] Multidimensional Array manipluation...

2003-01-02 Thread Dhaval Desai
... for($i=0; $i=count($se5f2254321s65s32s65); $i++) { $se5f2254321s65s32s65[$i][jan_1] = 1 } I want to increment it with 1 and so on for the various other values Thanx Best Regards, Dhaval From: Chris Shiflett [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Dhaval Desai [EMAIL

[PHP] Strange ....Date problem

2002-11-10 Thread Dhaval Desai
Hi! If you try this in php: 2002-01-6 2002-01-10 returns true 2002-01-6 2002-01-9 returns false Jut a leading 0 in the date makes it false...this is really strange.. Any comments? _ Add photos to your messages with MSN 8.

[PHP] Automatic Colspan from database data

2002-11-09 Thread Dhaval Desai
Hi everybody! Well this is how it goes... For the month of January there are 31 days... so there are 2 rows in this table on the top row there are 31 columns showing 31 days...and in the row below this one we will have to generatecolspan based on the below information pulled from the

Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Dhaval Desai
and it can only be modified as 1 entry per registrant per table. the fields in each table will take values ranging rom 1-20. Well that's all about how my tables are in the database. Thank You for your time Dhaval Desai From: Marco Tabini [EMAIL PROTECTED] To: Dhaval Desai [EMAIL

Re: [PHP] Automatic Colspan from database data

2002-11-09 Thread Dhaval Desai
] To: Dhaval Desai [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] Automatic Colspan from database data Date: 09 Nov 2002 15:10:39 -0500 Ouch... well, assuming you have two columns: day_id and value, here's a possible solution: $rs = mysql_query ('select day_id, value from my_table

[PHP] English/Arabic Mysql problem...

2002-04-03 Thread Dhaval Desai
Hello people, I am making a bilingual website English/Arabic. I am facing some problem with this. The problem is that I am not able to insert arabic lanaguage characters ionto Mysql databse. It gets junk characters...when I try to display it... Thank You Best Regards, Dhaval Desai

[PHP] Mysql unique statement help...

2002-04-02 Thread Dhaval Desai
find any function as unique() under Mysql. Could anybody help me out please. Thank You Best Regards, Dhaval Desai _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- PHP

[PHP] Frames creating problems...

2001-12-10 Thread dhaval desai
be greately appreciated. Thanx to all Best Regards, Dhaval Desai __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Html email with Flash content embedded

2001-10-05 Thread Dhaval Desai
Regards, Dhaval Desai __ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Php-Gtk.....does it work ever?

2001-09-25 Thread Dhaval Desai
Hi! I downloaded the Php-Gtk files for Windows 32 Binary and I am trying to make it work on Windows 98. I already have phpdev2 with Apahce, Mysql and Php installed phpdev2 is in C:\phpdev2 1. Now I downloaded php-gtk and I copied the files from php4 folder to php directory. 2. Then I

[PHP] Expire page...

2001-09-10 Thread Dhaval Desai
Hi! Well I would like to expire a page after you move away from that page and the user should not be able to hit the browser's back button and see the contents. I t should show that the page has expired.. In ASp it is very easy to do that but in Php I am looking all over and still can't find

[PHP] Page Expired...!!!

2001-07-19 Thread Dhaval Desai
me how is this possible. Thank You Dhaval Desai __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Code works in reverse order...

2001-07-18 Thread Dhaval Desai
with the code? Thank You Dhaval Desai ?php $connect = mysql_connect(); $query = select email from newsletter where email='$email'; $execute = mysql_db_query(database, $query); $check = mysql_num_rows($execute); if($check!=) { $insert = insert into newsletter (name,email

[PHP] hotmail, yahoo..why can't me?

2001-07-05 Thread Dhaval Desai
of the databases i want a checkbox on the left of each message so that I can delete some of them if i want. Is there a way.. i don't seem to get the logic to do this.. Please help me out... Thank You Dhaval Desai __ Do You Yahoo!? Get personalized email

[PHP] Credit Card Class...how do u access?

2001-04-20 Thread Dhaval Desai
Hi! I have the following class for checking a credit card type.Can anybody tell me how do I access this class. I mean how should I check a credit card type using this class..? Thank you DHaval Desai ?php class credit_card { function clean_no ($cc_no) { // Remove non

[PHP] Credit Card easy script ..how 2 get results?

2001-04-20 Thread Dhaval Desai
Hi! Well the Class that I had sent earlier was really complicated. SO I just found an easier script. Can anybody tell me how this should work. If it returns 1, 0, -1 what should I do?. I am a begineer so please bear with me. THank You ?php function validateCC($ccnum, $type){

[PHP] bcc, cc limit on recepients?

2001-04-07 Thread Dhaval Desai
on the number of recepients? Thank you Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Newsletter on the way..stuck in the moment!

2001-04-06 Thread Dhaval Desai
],[EMAIL PROTECTED] and goes on for 300 entries. Is there any way I can stop this from happening yet the mails reaching their destination. Thank You Cheers!~ Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://pers

[PHP] Emails from database...

2001-04-04 Thread Dhaval Desai
"My Subject", "Line 1\nLine 2\nLine 3"); } Will this send email to all the emails in the database? Is there any otehr wya of doing it? Thank You Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail.

[PHP] php or Mysql for DATE?

2001-03-14 Thread Dhaval Desai
I want to have a posting column wherein people can post their messages and when a new message is posted the Curent date has to be added in the mysql database. Do u think I should use Php to generate the date or should I have mysql to generate the date. I am also going to allow people to search

[PHP] I need the command line...

2001-03-13 Thread Dhaval Desai
Hi! CAn anybody give me the command line of Mysql for doing the following. I want to have three columns id firstname age the id field mu auto_inrement..meaning it should automatically goas 1.2.3.4.5.6 as someone inserts values into firstname and age. Thank You Dhaval Desai

[PHP] Have you ever seen this?

2001-03-12 Thread Dhaval Desai
Hi! I know this is in no way related to Php but I am writing this mail coz I didn't know where to ask this question and I am sure there are a lot of Web Developers and Programmers who can help me out. Well There are some versions of some sites in two languages and both of them work equally well

[PHP] Not Allowing REload or REfresh with this script?

2001-03-06 Thread Dhaval Desai
sers can not refresh a particular a page. Thank You Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

[PHP] File Upload doesn't work with Netscape Serious problem!

2001-03-04 Thread Dhaval Desai
Hi! File upload doesn't work with Netscape Navigato. I have Netscape COmmunicator 4.5. I try to upload files and I get Network Error. If it is working for any of you guys please give me the URL so that I can test it out and check my problem.. Help me out. Thank You! Cheers!~ Dhaval

[PHP] File upload not for Netscape?

2001-03-02 Thread Dhaval Desai
Hi! File upload doesn't seem to work from Netscape. It works with Internet Explorer. In netscape it says Network Error Occured.. Why's that..? Thanl You! Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http

[PHP] found a bug with File Uploads..

2001-02-28 Thread Dhaval Desai
server on Cqhost.com I have seen the same happen there,.too... Is this a bug or a problem..?? Please Reply Cheers!~ Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP

[PHP] Move a file from dir to another or delete file..?

2001-02-27 Thread Dhaval Desai
is tehre any way I can delete a particluar file in a directory.. Thank You! Cheers!~ Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net

[PHP] Move a file from dir to another or delete file..?

2001-02-27 Thread Dhaval Desai
is tehre any way I can delete a particluar file in a directory.. Thank You! Cheers!~ Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net

[PHP] Change dir mode to writable for uploading..

2001-02-24 Thread Dhaval Desai
make the directory writable..? Thank You! Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Upload --Permission denied simple error...

2001-02-23 Thread Dhaval Desai
this error..I tried coyping to D:\ too but the same error.. Can u tell me what could be the problem possibly.. Thank you Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- PHP Genera

[PHP] Link back to where u came from..?

2001-02-20 Thread Dhaval Desai
the login page. 5. When they have logged in., I want the page to automatically go to the link they came from. Is it possible..Please give me some ideas.. Thank You Dhaval Desai __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great

[PHP] Re: Linking back to where you came from..

2001-02-20 Thread Dhaval Desai
login he will again be taken to the page he came from which in this case is inside.php. Can u guide me with some more details please. Thank You! Dhaval Desai --- Bilal Abdul Kader [EMAIL PROTECTED] wrote: Hi Try to use the link to the actual page as a parameter to the Authentication script

[PHP] REgular expression....difficult is it?

2001-02-18 Thread Dhaval Desai
Hi! I am not able to understand this REgular expression. /Wil?/ would match "Winnie", "Wimpy" "Wilson" and "William", though not "Wendy" or "Wolf". Howz taht..? Can anybody explain me please. Thank You! Dhaval Desai _

[PHP] Variable stores incomplete values...

2001-02-18 Thread Dhaval Desai
question is that. If I store the variable in MYSQL dataabse under a particular filed TYPe varchar or TEXT. It doesn't bring up the same kind of format like it was when it was stored.. Is there any way I can get the same output like I stored it.? Thank YOu! Dhaval Desai

[PHP] Where is my directory on server..?

2001-02-16 Thread Dhaval Desai
... Is there a php function to find out the path to my directory..or is there any other way..? Thanx a lot! Dhaval Desai __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com

[PHP] Upload moves the file doesn't copy it..

2001-02-14 Thread Dhaval Desai
* ?php if (copy($userfile, "c:\\upload.txt")) { echo "Succesful"; } else { echo "failure"; } unlink($userfile); ? ** Thank You! Dhaval Desai _

[PHP] realpath() problem....

2001-02-14 Thread Dhaval Desai
Hi! I need some help in using the function $try = realpath("./filename"); I get a blank page when I try to echo. $try Thanx! Dhaval Desai __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a y

[PHP] File Upload stuck in the midst

2001-02-13 Thread Dhaval Desai
get the error: message.. [Possible file upload attack: filename 'none'.] Can anybody tell me what could be the possible reason for this. Thanx a lot! Dhaval Desai __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a y

[PHP] PHP File Uplaod Path

2001-02-07 Thread Dhaval Desai
after uploading to the temporary directory. Please help me out ... Thank You Dhaval Desai __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ -- PHP General Mailing List (http://www.php.net

[PHP] % operator

2001-02-03 Thread Dhaval Desai
Hi! what is the use of % Is it called modulo..what is it's use in PHP.? Thanx! Dhaval Desai __ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -- PHP General Mailing List (http

[PHP] Javascript doesn't work with PHP????

2001-01-29 Thread Dhaval Desai
r td bgcolor="#FF"nbsp;/td td bgcolor="#FF"font face="Arial,Verdana" size="2"Your name/font/td td bgcolor="#FF"font face="Arial,Verdana" size="2"Your Email/font/td /t

[PHP] is 1 a Variable...Discoverd it just now...

2001-01-16 Thread Dhaval Desai
rse error: parse error, expecting `T_VARIABLE' or `'$'' in C:\HTTPD\HTDOCS\preston\sms\send.php WHy is it so..? Is there any other way of doing the above... Please let me know.. Thanx a lot! Dhaval Desai - Do You Yahoo!? Yahoo! Mail Personal Address - Get email at your own domain with Yahoo! Mail.

[PHP] Integers are not Variables..???

2001-01-16 Thread Dhaval Desai
t;5/option /select/form/td /tr /table form action="sendmail.php" ?php if(isset($flag)) { for($i=1; $i=$recepients; $i++) { echo "input type=\"text\" name=\"$i\"" ."br"; } } else { echo "input t

[PHP] SMs

2001-01-13 Thread Dhaval Desai
HI! I am trying to build a SMS(Short message service) mesaging system..can anybody tell me what are the requirements for this... Thanx a lot! Dhaval Desai __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http